diff --git a/azure-rest-api-specs b/azure-rest-api-specs index 4ac3bbf09ebb..8afb86737a4e 160000 --- a/azure-rest-api-specs +++ b/azure-rest-api-specs @@ -1 +1 @@ -Subproject commit 4ac3bbf09ebb741fd56445c668566b56e80fbcae +Subproject commit 8afb86737a4e792aa5d90280461e3cca4a2a9f52 diff --git a/provider/cmd/pulumi-resource-azure-nextgen/metadata.json b/provider/cmd/pulumi-resource-azure-nextgen/metadata.json index 1ee40c8a73a5..eb4a1c67f909 100644 --- a/provider/cmd/pulumi-resource-azure-nextgen/metadata.json +++ b/provider/cmd/pulumi-resource-azure-nextgen/metadata.json @@ -273035,24 +273035,24 @@ "rampDownNotificationMessage": { "type": "string" }, - "rampDownNotificationMinutes": { - "type": "integer" - }, "rampDownStartTime": { "type": "string" }, "rampDownStopHostsWhen": { "type": "string" }, - "rampUpAlgorithm": { - "type": "string" + "rampDownWaitTimeMinutes": { + "type": "integer" }, "rampUpCapacityThresholdPct": { "type": "integer", "minimum": 0, "maximum": 100 }, - "rampUpMinimumHostPct": { + "rampUpLoadBalancingAlgorithm": { + "type": "string" + }, + "rampUpMinimumHostsPct": { "type": "integer", "minimum": 0, "maximum": 100 @@ -273079,12 +273079,12 @@ "rampDownLoadBalancingAlgorithm": {}, "rampDownMinimumHostsPct": {}, "rampDownNotificationMessage": {}, - "rampDownNotificationMinutes": {}, "rampDownStartTime": {}, "rampDownStopHostsWhen": {}, - "rampUpAlgorithm": {}, + "rampDownWaitTimeMinutes": {}, "rampUpCapacityThresholdPct": {}, - "rampUpMinimumHostPct": {}, + "rampUpLoadBalancingAlgorithm": {}, + "rampUpMinimumHostsPct": {}, "rampUpStartTime": {} } }, @@ -307076,6 +307076,787 @@ "title" ] }, + "azure-nextgen:edgeorder/v20201201preview:AdditionalErrorInfoResponse": { + "properties": { + "info": { + "$ref": "pulumi.json#/Any" + }, + "type": {} + } + }, + "azure-nextgen:edgeorder/v20201201preview:AddressDetails": { + "properties": { + "shippingAddress": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:AddressProperties" + } + }, + "required": [ + "shippingAddress" + ] + }, + "azure-nextgen:edgeorder/v20201201preview:AddressDetailsResponse": { + "properties": { + "returnAddress": { + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:AddressPropertiesResponse" + }, + "shippingAddress": { + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:AddressPropertiesResponse" + } + }, + "required": [ + "shippingAddress" + ] + }, + "azure-nextgen:edgeorder/v20201201preview:AddressProperties": { + "properties": { + "contactDetails": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:ContactDetails" + }, + "shippingAddress": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:ShippingAddress" + } + }, + "required": [ + "contactDetails" + ] + }, + "azure-nextgen:edgeorder/v20201201preview:AddressPropertiesResponse": { + "properties": { + "contactDetails": { + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:ContactDetailsResponse" + }, + "shippingAddress": { + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:ShippingAddressResponse" + } + }, + "required": [ + "contactDetails" + ] + }, + "azure-nextgen:edgeorder/v20201201preview:AvailabilityInformationResponse": { + "properties": { + "availabilityStage": {}, + "disabledReason": {}, + "disabledReasonMessage": {} + } + }, + "azure-nextgen:edgeorder/v20201201preview:BillingModelResponse": { + "properties": { + "model": {} + } + }, + "azure-nextgen:edgeorder/v20201201preview:CloudErrorResponse": { + "properties": { + "additionalInfo": { + "items": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:AdditionalErrorInfoResponse" + } + }, + "code": {}, + "details": { + "items": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:CloudErrorResponse" + } + }, + "message": {}, + "target": {} + } + }, + "azure-nextgen:edgeorder/v20201201preview:ConfigurationFilters": { + "properties": { + "filterableProperty": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:FilterableProperty" + }, + "hierarchyInformation": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:HierarchyInformation" + } + } + }, + "azure-nextgen:edgeorder/v20201201preview:ConfigurationResponse": { + "properties": { + "availabilityInformation": { + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:AvailabilityInformationResponse", + "containers": [ + "properties" + ] + }, + "costInformation": { + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:CostInformationResponse", + "containers": [ + "properties" + ] + }, + "description": { + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:DescriptionResponse", + "containers": [ + "properties" + ] + }, + "displayName": { + "containers": [ + "properties" + ] + }, + "filterableProperties": { + "items": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:FilterablePropertyResponse" + }, + "containers": [ + "properties" + ] + }, + "hierarchyInformation": { + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:HierarchyInformationResponse", + "containers": [ + "properties" + ] + }, + "imageInformation": { + "items": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:ImageInformationResponse" + }, + "containers": [ + "properties" + ] + }, + "specifications": { + "items": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:SpecificationResponse" + }, + "containers": [ + "properties" + ] + } + } + }, + "azure-nextgen:edgeorder/v20201201preview:ContactDetails": { + "properties": { + "contactName": { + "type": "string" + }, + "mobile": { + "type": "string" + }, + "phone": { + "type": "string" + }, + "phoneExtension": { + "type": "string" + } + }, + "required": [ + "contactName", + "phone" + ] + }, + "azure-nextgen:edgeorder/v20201201preview:ContactDetailsResponse": { + "properties": { + "contactName": {}, + "mobile": {}, + "phone": {}, + "phoneExtension": {} + }, + "required": [ + "contactName", + "phone" + ] + }, + "azure-nextgen:edgeorder/v20201201preview:CostInformationResponse": { + "properties": { + "meterDetails": { + "items": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:MeterDetailsResponse" + } + }, + "primaryMeterType": {} + } + }, + "azure-nextgen:edgeorder/v20201201preview:CustomerSubscriptionDetails": { + "properties": { + "locationPlacementId": { + "type": "string" + }, + "quotaId": { + "type": "string" + }, + "registeredFeatures": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:CustomerSubscriptionRegisteredFeatures" + } + } + }, + "required": [ + "quotaId" + ] + }, + "azure-nextgen:edgeorder/v20201201preview:CustomerSubscriptionRegisteredFeatures": { + "properties": { + "name": { + "type": "string" + }, + "state": { + "type": "string" + } + } + }, + "azure-nextgen:edgeorder/v20201201preview:DescriptionResponse": { + "properties": { + "attributes": { + "items": { + "type": "string" + } + }, + "descriptionType": {}, + "keywords": { + "items": { + "type": "string" + } + }, + "links": { + "items": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:LinkResponse" + } + }, + "longDescription": {}, + "shortDescription": {} + } + }, + "azure-nextgen:edgeorder/v20201201preview:DeviceDetailsResponse": { + "properties": { + "deviceHistory": { + "items": { + "type": "string" + } + }, + "serialNumber": {} + } + }, + "azure-nextgen:edgeorder/v20201201preview:FilterableProperty": { + "properties": { + "supportedValues": { + "type": "array", + "items": { + "type": "string" + } + }, + "type": { + "type": "string" + } + }, + "required": [ + "type" + ] + }, + "azure-nextgen:edgeorder/v20201201preview:FilterablePropertyResponse": { + "properties": { + "supportedValues": { + "items": { + "type": "string" + } + }, + "type": {} + }, + "required": [ + "type" + ] + }, + "azure-nextgen:edgeorder/v20201201preview:HierarchyInformation": { + "properties": { + "configurationName": { + "type": "string" + }, + "productFamilyName": { + "type": "string" + }, + "productLineName": { + "type": "string" + }, + "productName": { + "type": "string" + } + } + }, + "azure-nextgen:edgeorder/v20201201preview:HierarchyInformationResponse": { + "properties": { + "configurationName": {}, + "productFamilyName": {}, + "productLineName": {}, + "productName": {} + } + }, + "azure-nextgen:edgeorder/v20201201preview:ImageInformationResponse": { + "properties": { + "imageType": {}, + "imageUrl": {} + } + }, + "azure-nextgen:edgeorder/v20201201preview:LinkResponse": { + "properties": { + "linkType": {}, + "linkUrl": {} + } + }, + "azure-nextgen:edgeorder/v20201201preview:MeterDetailsResponse": { + "properties": { + "billingModel": { + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:BillingModelResponse" + }, + "meterId": {}, + "meterType": {} + } + }, + "azure-nextgen:edgeorder/v20201201preview:NotificationPreference": { + "properties": { + "sendNotification": { + "type": "boolean" + }, + "stageName": { + "type": "string" + } + }, + "required": [ + "sendNotification", + "stageName" + ] + }, + "azure-nextgen:edgeorder/v20201201preview:NotificationPreferenceResponse": { + "properties": { + "sendNotification": {}, + "stageName": {} + }, + "required": [ + "sendNotification", + "stageName" + ] + }, + "azure-nextgen:edgeorder/v20201201preview:OrderDetails": { + "properties": { + "notificationEmailList": { + "type": "array", + "items": { + "type": "string" + } + }, + "orderType": { + "type": "string" + }, + "preferences": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:Preferences" + }, + "productDetails": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:ProductDetails" + } + }, + "required": [ + "orderType", + "productDetails" + ] + }, + "azure-nextgen:edgeorder/v20201201preview:OrderDetailsResponse": { + "properties": { + "cancellationReason": {}, + "cancellationStatus": {}, + "currentStatus": { + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:OrderStatusDetailsResponse" + }, + "deletionStatus": {}, + "error": { + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:CloudErrorResponse" + }, + "forwardShippingDetails": { + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:ShippingDetailsResponse" + }, + "managementRpDetails": { + "$ref": "pulumi.json#/Any" + }, + "notificationEmailList": { + "items": { + "type": "string" + } + }, + "orderStatusHistory": { + "items": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:OrderStatusDetailsResponse" + } + }, + "orderType": {}, + "preferences": { + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:PreferencesResponse" + }, + "productDetails": { + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:ProductDetailsResponse" + }, + "returnReason": {}, + "returnStatus": {}, + "reverseShippingDetails": { + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:ShippingDetailsResponse" + } + }, + "required": [ + "orderType", + "productDetails" + ] + }, + "azure-nextgen:edgeorder/v20201201preview:OrderStatusDetailsResponse": { + "properties": { + "lastUpdatedTime": {}, + "orderStatus": {} + } + }, + "azure-nextgen:edgeorder/v20201201preview:Preferences": { + "properties": { + "notificationPreferences": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:NotificationPreference" + } + }, + "transportPreferences": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:TransportPreferences" + } + } + }, + "azure-nextgen:edgeorder/v20201201preview:PreferencesResponse": { + "properties": { + "notificationPreferences": { + "items": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:NotificationPreferenceResponse" + } + }, + "transportPreferences": { + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:TransportPreferencesResponse" + } + } + }, + "azure-nextgen:edgeorder/v20201201preview:ProductDetails": { + "properties": { + "count": { + "type": "integer" + }, + "hierarchyInformation": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:HierarchyInformation" + } + }, + "required": [ + "hierarchyInformation" + ] + }, + "azure-nextgen:edgeorder/v20201201preview:ProductDetailsResponse": { + "properties": { + "count": {}, + "deviceDetails": { + "items": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:DeviceDetailsResponse" + } + }, + "hierarchyInformation": { + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:HierarchyInformationResponse" + } + }, + "required": [ + "hierarchyInformation" + ] + }, + "azure-nextgen:edgeorder/v20201201preview:ProductFamilyResponse": { + "properties": { + "availabilityInformation": { + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:AvailabilityInformationResponse", + "containers": [ + "properties" + ] + }, + "costInformation": { + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:CostInformationResponse", + "containers": [ + "properties" + ] + }, + "description": { + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:DescriptionResponse", + "containers": [ + "properties" + ] + }, + "displayName": { + "containers": [ + "properties" + ] + }, + "filterableProperties": { + "items": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:FilterablePropertyResponse" + }, + "containers": [ + "properties" + ] + }, + "hierarchyInformation": { + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:HierarchyInformationResponse", + "containers": [ + "properties" + ] + }, + "imageInformation": { + "items": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:ImageInformationResponse" + }, + "containers": [ + "properties" + ] + }, + "productLines": { + "items": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:ProductLineResponse" + }, + "containers": [ + "properties" + ] + } + } + }, + "azure-nextgen:edgeorder/v20201201preview:ProductLineResponse": { + "properties": { + "availabilityInformation": { + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:AvailabilityInformationResponse", + "containers": [ + "properties" + ] + }, + "costInformation": { + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:CostInformationResponse", + "containers": [ + "properties" + ] + }, + "description": { + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:DescriptionResponse", + "containers": [ + "properties" + ] + }, + "displayName": { + "containers": [ + "properties" + ] + }, + "filterableProperties": { + "items": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:FilterablePropertyResponse" + }, + "containers": [ + "properties" + ] + }, + "hierarchyInformation": { + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:HierarchyInformationResponse", + "containers": [ + "properties" + ] + }, + "imageInformation": { + "items": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:ImageInformationResponse" + }, + "containers": [ + "properties" + ] + }, + "products": { + "items": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:ProductResponse" + }, + "containers": [ + "properties" + ] + } + } + }, + "azure-nextgen:edgeorder/v20201201preview:ProductResponse": { + "properties": { + "availabilityInformation": { + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:AvailabilityInformationResponse", + "containers": [ + "properties" + ] + }, + "configurations": { + "items": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:ConfigurationResponse" + }, + "containers": [ + "properties" + ] + }, + "costInformation": { + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:CostInformationResponse", + "containers": [ + "properties" + ] + }, + "description": { + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:DescriptionResponse", + "containers": [ + "properties" + ] + }, + "displayName": { + "containers": [ + "properties" + ] + }, + "filterableProperties": { + "items": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:FilterablePropertyResponse" + }, + "containers": [ + "properties" + ] + }, + "hierarchyInformation": { + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:HierarchyInformationResponse", + "containers": [ + "properties" + ] + }, + "imageInformation": { + "items": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:ImageInformationResponse" + }, + "containers": [ + "properties" + ] + } + } + }, + "azure-nextgen:edgeorder/v20201201preview:ShippingAddress": { + "properties": { + "addressType": { + "type": "string" + }, + "city": { + "type": "string" + }, + "companyName": { + "type": "string" + }, + "country": { + "type": "string" + }, + "postalCode": { + "type": "string" + }, + "stateOrProvince": { + "type": "string" + }, + "streetAddress1": { + "type": "string" + }, + "streetAddress2": { + "type": "string" + }, + "streetAddress3": { + "type": "string" + }, + "zipExtendedCode": { + "type": "string" + } + }, + "required": [ + "country", + "streetAddress1" + ] + }, + "azure-nextgen:edgeorder/v20201201preview:ShippingAddressResponse": { + "properties": { + "addressType": {}, + "city": {}, + "companyName": {}, + "country": {}, + "postalCode": {}, + "stateOrProvince": {}, + "streetAddress1": {}, + "streetAddress2": {}, + "streetAddress3": {}, + "zipExtendedCode": {} + }, + "required": [ + "country", + "streetAddress1" + ] + }, + "azure-nextgen:edgeorder/v20201201preview:ShippingDetailsResponse": { + "properties": { + "carrierDisplayName": {}, + "carrierName": {}, + "trackingId": {}, + "trackingUrl": {} + } + }, + "azure-nextgen:edgeorder/v20201201preview:SpecificationResponse": { + "properties": { + "name": {}, + "value": {} + } + }, + "azure-nextgen:edgeorder/v20201201preview:SystemDataResponse": { + "properties": { + "createdAt": {}, + "createdBy": {}, + "createdByType": {}, + "lastModifiedAt": {}, + "lastModifiedBy": {}, + "lastModifiedByType": {} + } + }, + "azure-nextgen:edgeorder/v20201201preview:TransportPreferences": { + "properties": { + "preferredShipmentType": { + "type": "string" + } + }, + "required": [ + "preferredShipmentType" + ] + }, + "azure-nextgen:edgeorder/v20201201preview:TransportPreferencesResponse": { + "properties": { + "preferredShipmentType": {} + }, + "required": [ + "preferredShipmentType" + ] + }, "azure-nextgen:engagementfabric/v20180901preview:ChannelTypeDescriptionResponse": { "properties": { "channelDescription": {}, @@ -316444,6 +317225,9 @@ "location": { "type": "string" }, + "privateIPAddress": { + "type": "string" + }, "publicPort": { "type": "integer" } @@ -316453,6 +317237,7 @@ "properties": { "destinationPort": {}, "location": {}, + "privateIPAddress": {}, "publicPort": {} } }, @@ -316951,6 +317736,7 @@ "location": {}, "name": {}, "port": {}, + "privateIPAddress": {}, "protocol": {} } }, @@ -317769,6 +318555,25 @@ "objectId" ] }, + "azure-nextgen:healthcareapis/latest:ServiceAcrConfigurationInfo": { + "properties": { + "loginServers": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "azure-nextgen:healthcareapis/latest:ServiceAcrConfigurationInfoResponse": { + "properties": { + "loginServers": { + "items": { + "type": "string" + } + } + } + }, "azure-nextgen:healthcareapis/latest:ServiceAuthenticationConfigurationInfo": { "properties": { "audience": { @@ -317879,6 +318684,10 @@ "$ref": "#/types/azure-nextgen:healthcareapis/latest:ServiceAccessPolicyEntry" } }, + "acrConfiguration": { + "type": "object", + "$ref": "#/types/azure-nextgen:healthcareapis/latest:ServiceAcrConfigurationInfo" + }, "authenticationConfiguration": { "type": "object", "$ref": "#/types/azure-nextgen:healthcareapis/latest:ServiceAuthenticationConfigurationInfo" @@ -317915,6 +318724,9 @@ "$ref": "#/types/azure-nextgen:healthcareapis/latest:ServiceAccessPolicyEntryResponse" } }, + "acrConfiguration": { + "$ref": "#/types/azure-nextgen:healthcareapis/latest:ServiceAcrConfigurationInfoResponse" + }, "authenticationConfiguration": { "$ref": "#/types/azure-nextgen:healthcareapis/latest:ServiceAuthenticationConfigurationInfoResponse" }, @@ -317951,6 +318763,16 @@ "type": {} } }, + "azure-nextgen:healthcareapis/latest:SystemDataResponse": { + "properties": { + "createdAt": {}, + "createdBy": {}, + "createdByType": {}, + "lastModifiedAt": {}, + "lastModifiedBy": {}, + "lastModifiedByType": {} + } + }, "azure-nextgen:healthcareapis/v20180820preview:ServiceAccessPolicyEntry": { "properties": { "objectId": { @@ -318181,7 +319003,187 @@ } } }, - "azure-nextgen:healthcareapis/v20190916:ServiceCorsConfigurationInfoResponse": { + "azure-nextgen:healthcareapis/v20190916:ServiceCorsConfigurationInfoResponse": { + "properties": { + "allowCredentials": {}, + "headers": { + "items": { + "type": "string" + } + }, + "maxAge": {}, + "methods": { + "items": { + "type": "string" + } + }, + "origins": { + "items": { + "type": "string" + } + } + } + }, + "azure-nextgen:healthcareapis/v20190916:ServiceCosmosDbConfigurationInfo": { + "properties": { + "offerThroughput": { + "type": "integer", + "minimum": 400, + "maximum": 10000 + } + } + }, + "azure-nextgen:healthcareapis/v20190916:ServiceCosmosDbConfigurationInfoResponse": { + "properties": { + "offerThroughput": {} + } + }, + "azure-nextgen:healthcareapis/v20190916:ServiceExportConfigurationInfo": { + "properties": { + "storageAccountName": { + "type": "string" + } + } + }, + "azure-nextgen:healthcareapis/v20190916:ServiceExportConfigurationInfoResponse": { + "properties": { + "storageAccountName": {} + } + }, + "azure-nextgen:healthcareapis/v20190916:ServicesProperties": { + "properties": { + "accessPolicies": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/types/azure-nextgen:healthcareapis/v20190916:ServiceAccessPolicyEntry" + } + }, + "authenticationConfiguration": { + "type": "object", + "$ref": "#/types/azure-nextgen:healthcareapis/v20190916:ServiceAuthenticationConfigurationInfo" + }, + "corsConfiguration": { + "type": "object", + "$ref": "#/types/azure-nextgen:healthcareapis/v20190916:ServiceCorsConfigurationInfo" + }, + "cosmosDbConfiguration": { + "type": "object", + "$ref": "#/types/azure-nextgen:healthcareapis/v20190916:ServiceCosmosDbConfigurationInfo" + }, + "exportConfiguration": { + "type": "object", + "$ref": "#/types/azure-nextgen:healthcareapis/v20190916:ServiceExportConfigurationInfo" + } + } + }, + "azure-nextgen:healthcareapis/v20190916:ServicesPropertiesResponse": { + "properties": { + "accessPolicies": { + "items": { + "type": "object", + "$ref": "#/types/azure-nextgen:healthcareapis/v20190916:ServiceAccessPolicyEntryResponse" + } + }, + "authenticationConfiguration": { + "$ref": "#/types/azure-nextgen:healthcareapis/v20190916:ServiceAuthenticationConfigurationInfoResponse" + }, + "corsConfiguration": { + "$ref": "#/types/azure-nextgen:healthcareapis/v20190916:ServiceCorsConfigurationInfoResponse" + }, + "cosmosDbConfiguration": { + "$ref": "#/types/azure-nextgen:healthcareapis/v20190916:ServiceCosmosDbConfigurationInfoResponse" + }, + "exportConfiguration": { + "$ref": "#/types/azure-nextgen:healthcareapis/v20190916:ServiceExportConfigurationInfoResponse" + }, + "provisioningState": {} + } + }, + "azure-nextgen:healthcareapis/v20200315:ResourceIdentity": { + "properties": { + "type": { + "type": "string" + } + } + }, + "azure-nextgen:healthcareapis/v20200315:ResourceResponseIdentity": { + "properties": { + "principalId": {}, + "tenantId": {}, + "type": {} + } + }, + "azure-nextgen:healthcareapis/v20200315:ServiceAccessPolicyEntry": { + "properties": { + "objectId": { + "type": "string", + "pattern": "^(([0-9A-Fa-f]{8}[-]?(?:[0-9A-Fa-f]{4}[-]?){3}[0-9A-Fa-f]{12}){1})+$" + } + }, + "required": [ + "objectId" + ] + }, + "azure-nextgen:healthcareapis/v20200315:ServiceAccessPolicyEntryResponse": { + "properties": { + "objectId": {} + }, + "required": [ + "objectId" + ] + }, + "azure-nextgen:healthcareapis/v20200315:ServiceAuthenticationConfigurationInfo": { + "properties": { + "audience": { + "type": "string" + }, + "authority": { + "type": "string" + }, + "smartProxyEnabled": { + "type": "boolean" + } + } + }, + "azure-nextgen:healthcareapis/v20200315:ServiceAuthenticationConfigurationInfoResponse": { + "properties": { + "audience": {}, + "authority": {}, + "smartProxyEnabled": {} + } + }, + "azure-nextgen:healthcareapis/v20200315:ServiceCorsConfigurationInfo": { + "properties": { + "allowCredentials": { + "type": "boolean" + }, + "headers": { + "type": "array", + "items": { + "type": "string" + } + }, + "maxAge": { + "type": "integer", + "minimum": 0, + "maximum": 99999 + }, + "methods": { + "type": "array", + "items": { + "type": "string" + } + }, + "origins": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "azure-nextgen:healthcareapis/v20200315:ServiceCorsConfigurationInfoResponse": { "properties": { "allowCredentials": {}, "headers": { @@ -318202,8 +319204,11 @@ } } }, - "azure-nextgen:healthcareapis/v20190916:ServiceCosmosDbConfigurationInfo": { + "azure-nextgen:healthcareapis/v20200315:ServiceCosmosDbConfigurationInfo": { "properties": { + "keyVaultKeyUri": { + "type": "string" + }, "offerThroughput": { "type": "integer", "minimum": 400, @@ -318211,88 +319216,141 @@ } } }, - "azure-nextgen:healthcareapis/v20190916:ServiceCosmosDbConfigurationInfoResponse": { + "azure-nextgen:healthcareapis/v20200315:ServiceCosmosDbConfigurationInfoResponse": { "properties": { + "keyVaultKeyUri": {}, "offerThroughput": {} } }, - "azure-nextgen:healthcareapis/v20190916:ServiceExportConfigurationInfo": { + "azure-nextgen:healthcareapis/v20200315:ServiceExportConfigurationInfo": { "properties": { "storageAccountName": { "type": "string" } } }, - "azure-nextgen:healthcareapis/v20190916:ServiceExportConfigurationInfoResponse": { + "azure-nextgen:healthcareapis/v20200315:ServiceExportConfigurationInfoResponse": { "properties": { "storageAccountName": {} } }, - "azure-nextgen:healthcareapis/v20190916:ServicesProperties": { + "azure-nextgen:healthcareapis/v20200315:ServicesProperties": { "properties": { "accessPolicies": { "type": "array", "items": { "type": "object", - "$ref": "#/types/azure-nextgen:healthcareapis/v20190916:ServiceAccessPolicyEntry" + "$ref": "#/types/azure-nextgen:healthcareapis/v20200315:ServiceAccessPolicyEntry" } }, "authenticationConfiguration": { "type": "object", - "$ref": "#/types/azure-nextgen:healthcareapis/v20190916:ServiceAuthenticationConfigurationInfo" + "$ref": "#/types/azure-nextgen:healthcareapis/v20200315:ServiceAuthenticationConfigurationInfo" }, "corsConfiguration": { "type": "object", - "$ref": "#/types/azure-nextgen:healthcareapis/v20190916:ServiceCorsConfigurationInfo" + "$ref": "#/types/azure-nextgen:healthcareapis/v20200315:ServiceCorsConfigurationInfo" }, "cosmosDbConfiguration": { "type": "object", - "$ref": "#/types/azure-nextgen:healthcareapis/v20190916:ServiceCosmosDbConfigurationInfo" + "$ref": "#/types/azure-nextgen:healthcareapis/v20200315:ServiceCosmosDbConfigurationInfo" }, "exportConfiguration": { "type": "object", - "$ref": "#/types/azure-nextgen:healthcareapis/v20190916:ServiceExportConfigurationInfo" + "$ref": "#/types/azure-nextgen:healthcareapis/v20200315:ServiceExportConfigurationInfo" } } }, - "azure-nextgen:healthcareapis/v20190916:ServicesPropertiesResponse": { + "azure-nextgen:healthcareapis/v20200315:ServicesPropertiesResponse": { "properties": { "accessPolicies": { "items": { "type": "object", - "$ref": "#/types/azure-nextgen:healthcareapis/v20190916:ServiceAccessPolicyEntryResponse" + "$ref": "#/types/azure-nextgen:healthcareapis/v20200315:ServiceAccessPolicyEntryResponse" } }, "authenticationConfiguration": { - "$ref": "#/types/azure-nextgen:healthcareapis/v20190916:ServiceAuthenticationConfigurationInfoResponse" + "$ref": "#/types/azure-nextgen:healthcareapis/v20200315:ServiceAuthenticationConfigurationInfoResponse" }, "corsConfiguration": { - "$ref": "#/types/azure-nextgen:healthcareapis/v20190916:ServiceCorsConfigurationInfoResponse" + "$ref": "#/types/azure-nextgen:healthcareapis/v20200315:ServiceCorsConfigurationInfoResponse" }, "cosmosDbConfiguration": { - "$ref": "#/types/azure-nextgen:healthcareapis/v20190916:ServiceCosmosDbConfigurationInfoResponse" + "$ref": "#/types/azure-nextgen:healthcareapis/v20200315:ServiceCosmosDbConfigurationInfoResponse" }, "exportConfiguration": { - "$ref": "#/types/azure-nextgen:healthcareapis/v20190916:ServiceExportConfigurationInfoResponse" + "$ref": "#/types/azure-nextgen:healthcareapis/v20200315:ServiceExportConfigurationInfoResponse" }, "provisioningState": {} } }, - "azure-nextgen:healthcareapis/v20200315:ResourceIdentity": { + "azure-nextgen:healthcareapis/v20200330:PrivateEndpointConnection": { "properties": { - "type": { + "privateLinkServiceConnectionState": { + "type": "object", + "$ref": "#/types/azure-nextgen:healthcareapis/v20200330:PrivateLinkServiceConnectionState", + "containers": [ + "properties" + ] + } + }, + "required": [ + "privateLinkServiceConnectionState" + ] + }, + "azure-nextgen:healthcareapis/v20200330:PrivateEndpointConnectionResponse": { + "properties": { + "id": {}, + "name": {}, + "privateEndpoint": { + "$ref": "#/types/azure-nextgen:healthcareapis/v20200330:PrivateEndpointResponse", + "containers": [ + "properties" + ] + }, + "privateLinkServiceConnectionState": { + "$ref": "#/types/azure-nextgen:healthcareapis/v20200330:PrivateLinkServiceConnectionStateResponse", + "containers": [ + "properties" + ] + }, + "provisioningState": { + "containers": [ + "properties" + ] + }, + "type": {} + }, + "required": [ + "privateLinkServiceConnectionState" + ] + }, + "azure-nextgen:healthcareapis/v20200330:PrivateEndpointResponse": { + "properties": { + "id": {} + } + }, + "azure-nextgen:healthcareapis/v20200330:PrivateLinkServiceConnectionState": { + "properties": { + "actionsRequired": { + "type": "string" + }, + "description": { + "type": "string" + }, + "status": { "type": "string" } } }, - "azure-nextgen:healthcareapis/v20200315:ResourceResponseIdentity": { + "azure-nextgen:healthcareapis/v20200330:PrivateLinkServiceConnectionStateResponse": { "properties": { - "principalId": {}, - "tenantId": {}, - "type": {} + "actionsRequired": {}, + "description": {}, + "status": {} } }, - "azure-nextgen:healthcareapis/v20200315:ServiceAccessPolicyEntry": { + "azure-nextgen:healthcareapis/v20200330:ServiceAccessPolicyEntry": { "properties": { "objectId": { "type": "string", @@ -318303,7 +319361,7 @@ "objectId" ] }, - "azure-nextgen:healthcareapis/v20200315:ServiceAccessPolicyEntryResponse": { + "azure-nextgen:healthcareapis/v20200330:ServiceAccessPolicyEntryResponse": { "properties": { "objectId": {} }, @@ -318311,7 +319369,7 @@ "objectId" ] }, - "azure-nextgen:healthcareapis/v20200315:ServiceAuthenticationConfigurationInfo": { + "azure-nextgen:healthcareapis/v20200330:ServiceAuthenticationConfigurationInfo": { "properties": { "audience": { "type": "string" @@ -318324,14 +319382,14 @@ } } }, - "azure-nextgen:healthcareapis/v20200315:ServiceAuthenticationConfigurationInfoResponse": { + "azure-nextgen:healthcareapis/v20200330:ServiceAuthenticationConfigurationInfoResponse": { "properties": { "audience": {}, "authority": {}, "smartProxyEnabled": {} } }, - "azure-nextgen:healthcareapis/v20200315:ServiceCorsConfigurationInfo": { + "azure-nextgen:healthcareapis/v20200330:ServiceCorsConfigurationInfo": { "properties": { "allowCredentials": { "type": "boolean" @@ -318361,7 +319419,7 @@ } } }, - "azure-nextgen:healthcareapis/v20200315:ServiceCorsConfigurationInfoResponse": { + "azure-nextgen:healthcareapis/v20200330:ServiceCorsConfigurationInfoResponse": { "properties": { "allowCredentials": {}, "headers": { @@ -318382,7 +319440,7 @@ } } }, - "azure-nextgen:healthcareapis/v20200315:ServiceCosmosDbConfigurationInfo": { + "azure-nextgen:healthcareapis/v20200330:ServiceCosmosDbConfigurationInfo": { "properties": { "keyVaultKeyUri": { "type": "string" @@ -318394,79 +319452,110 @@ } } }, - "azure-nextgen:healthcareapis/v20200315:ServiceCosmosDbConfigurationInfoResponse": { + "azure-nextgen:healthcareapis/v20200330:ServiceCosmosDbConfigurationInfoResponse": { "properties": { "keyVaultKeyUri": {}, "offerThroughput": {} } }, - "azure-nextgen:healthcareapis/v20200315:ServiceExportConfigurationInfo": { + "azure-nextgen:healthcareapis/v20200330:ServiceExportConfigurationInfo": { "properties": { "storageAccountName": { "type": "string" } } }, - "azure-nextgen:healthcareapis/v20200315:ServiceExportConfigurationInfoResponse": { + "azure-nextgen:healthcareapis/v20200330:ServiceExportConfigurationInfoResponse": { "properties": { "storageAccountName": {} } }, - "azure-nextgen:healthcareapis/v20200315:ServicesProperties": { + "azure-nextgen:healthcareapis/v20200330:ServicesProperties": { "properties": { "accessPolicies": { "type": "array", "items": { "type": "object", - "$ref": "#/types/azure-nextgen:healthcareapis/v20200315:ServiceAccessPolicyEntry" + "$ref": "#/types/azure-nextgen:healthcareapis/v20200330:ServiceAccessPolicyEntry" } }, "authenticationConfiguration": { "type": "object", - "$ref": "#/types/azure-nextgen:healthcareapis/v20200315:ServiceAuthenticationConfigurationInfo" + "$ref": "#/types/azure-nextgen:healthcareapis/v20200330:ServiceAuthenticationConfigurationInfo" }, "corsConfiguration": { "type": "object", - "$ref": "#/types/azure-nextgen:healthcareapis/v20200315:ServiceCorsConfigurationInfo" + "$ref": "#/types/azure-nextgen:healthcareapis/v20200330:ServiceCorsConfigurationInfo" }, "cosmosDbConfiguration": { "type": "object", - "$ref": "#/types/azure-nextgen:healthcareapis/v20200315:ServiceCosmosDbConfigurationInfo" + "$ref": "#/types/azure-nextgen:healthcareapis/v20200330:ServiceCosmosDbConfigurationInfo" }, "exportConfiguration": { "type": "object", - "$ref": "#/types/azure-nextgen:healthcareapis/v20200315:ServiceExportConfigurationInfo" + "$ref": "#/types/azure-nextgen:healthcareapis/v20200330:ServiceExportConfigurationInfo" + }, + "privateEndpointConnections": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/types/azure-nextgen:healthcareapis/v20200330:PrivateEndpointConnection" + } + }, + "publicNetworkAccess": { + "type": "string" } } }, - "azure-nextgen:healthcareapis/v20200315:ServicesPropertiesResponse": { + "azure-nextgen:healthcareapis/v20200330:ServicesPropertiesResponse": { "properties": { "accessPolicies": { "items": { "type": "object", - "$ref": "#/types/azure-nextgen:healthcareapis/v20200315:ServiceAccessPolicyEntryResponse" + "$ref": "#/types/azure-nextgen:healthcareapis/v20200330:ServiceAccessPolicyEntryResponse" } }, "authenticationConfiguration": { - "$ref": "#/types/azure-nextgen:healthcareapis/v20200315:ServiceAuthenticationConfigurationInfoResponse" + "$ref": "#/types/azure-nextgen:healthcareapis/v20200330:ServiceAuthenticationConfigurationInfoResponse" }, "corsConfiguration": { - "$ref": "#/types/azure-nextgen:healthcareapis/v20200315:ServiceCorsConfigurationInfoResponse" + "$ref": "#/types/azure-nextgen:healthcareapis/v20200330:ServiceCorsConfigurationInfoResponse" }, "cosmosDbConfiguration": { - "$ref": "#/types/azure-nextgen:healthcareapis/v20200315:ServiceCosmosDbConfigurationInfoResponse" + "$ref": "#/types/azure-nextgen:healthcareapis/v20200330:ServiceCosmosDbConfigurationInfoResponse" }, "exportConfiguration": { - "$ref": "#/types/azure-nextgen:healthcareapis/v20200315:ServiceExportConfigurationInfoResponse" + "$ref": "#/types/azure-nextgen:healthcareapis/v20200330:ServiceExportConfigurationInfoResponse" }, - "provisioningState": {} + "privateEndpointConnections": { + "items": { + "type": "object", + "$ref": "#/types/azure-nextgen:healthcareapis/v20200330:PrivateEndpointConnectionResponse" + } + }, + "provisioningState": {}, + "publicNetworkAccess": {} } }, - "azure-nextgen:healthcareapis/v20200330:PrivateEndpointConnection": { + "azure-nextgen:healthcareapis/v20200330:ServicesResourceIdentity": { + "properties": { + "type": { + "type": "string" + } + } + }, + "azure-nextgen:healthcareapis/v20200330:ServicesResourceResponseIdentity": { + "properties": { + "principalId": {}, + "tenantId": {}, + "type": {} + } + }, + "azure-nextgen:healthcareapis/v20210111:PrivateEndpointConnection": { "properties": { "privateLinkServiceConnectionState": { "type": "object", - "$ref": "#/types/azure-nextgen:healthcareapis/v20200330:PrivateLinkServiceConnectionState", + "$ref": "#/types/azure-nextgen:healthcareapis/v20210111:PrivateLinkServiceConnectionState", "containers": [ "properties" ] @@ -318476,18 +319565,18 @@ "privateLinkServiceConnectionState" ] }, - "azure-nextgen:healthcareapis/v20200330:PrivateEndpointConnectionResponse": { + "azure-nextgen:healthcareapis/v20210111:PrivateEndpointConnectionResponse": { "properties": { "id": {}, "name": {}, "privateEndpoint": { - "$ref": "#/types/azure-nextgen:healthcareapis/v20200330:PrivateEndpointResponse", + "$ref": "#/types/azure-nextgen:healthcareapis/v20210111:PrivateEndpointResponse", "containers": [ "properties" ] }, "privateLinkServiceConnectionState": { - "$ref": "#/types/azure-nextgen:healthcareapis/v20200330:PrivateLinkServiceConnectionStateResponse", + "$ref": "#/types/azure-nextgen:healthcareapis/v20210111:PrivateLinkServiceConnectionStateResponse", "containers": [ "properties" ] @@ -318503,12 +319592,12 @@ "privateLinkServiceConnectionState" ] }, - "azure-nextgen:healthcareapis/v20200330:PrivateEndpointResponse": { + "azure-nextgen:healthcareapis/v20210111:PrivateEndpointResponse": { "properties": { "id": {} } }, - "azure-nextgen:healthcareapis/v20200330:PrivateLinkServiceConnectionState": { + "azure-nextgen:healthcareapis/v20210111:PrivateLinkServiceConnectionState": { "properties": { "actionsRequired": { "type": "string" @@ -318521,14 +319610,14 @@ } } }, - "azure-nextgen:healthcareapis/v20200330:PrivateLinkServiceConnectionStateResponse": { + "azure-nextgen:healthcareapis/v20210111:PrivateLinkServiceConnectionStateResponse": { "properties": { "actionsRequired": {}, "description": {}, "status": {} } }, - "azure-nextgen:healthcareapis/v20200330:ServiceAccessPolicyEntry": { + "azure-nextgen:healthcareapis/v20210111:ServiceAccessPolicyEntry": { "properties": { "objectId": { "type": "string", @@ -318539,7 +319628,7 @@ "objectId" ] }, - "azure-nextgen:healthcareapis/v20200330:ServiceAccessPolicyEntryResponse": { + "azure-nextgen:healthcareapis/v20210111:ServiceAccessPolicyEntryResponse": { "properties": { "objectId": {} }, @@ -318547,7 +319636,26 @@ "objectId" ] }, - "azure-nextgen:healthcareapis/v20200330:ServiceAuthenticationConfigurationInfo": { + "azure-nextgen:healthcareapis/v20210111:ServiceAcrConfigurationInfo": { + "properties": { + "loginServers": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "azure-nextgen:healthcareapis/v20210111:ServiceAcrConfigurationInfoResponse": { + "properties": { + "loginServers": { + "items": { + "type": "string" + } + } + } + }, + "azure-nextgen:healthcareapis/v20210111:ServiceAuthenticationConfigurationInfo": { "properties": { "audience": { "type": "string" @@ -318560,14 +319668,14 @@ } } }, - "azure-nextgen:healthcareapis/v20200330:ServiceAuthenticationConfigurationInfoResponse": { + "azure-nextgen:healthcareapis/v20210111:ServiceAuthenticationConfigurationInfoResponse": { "properties": { "audience": {}, "authority": {}, "smartProxyEnabled": {} } }, - "azure-nextgen:healthcareapis/v20200330:ServiceCorsConfigurationInfo": { + "azure-nextgen:healthcareapis/v20210111:ServiceCorsConfigurationInfo": { "properties": { "allowCredentials": { "type": "boolean" @@ -318597,7 +319705,7 @@ } } }, - "azure-nextgen:healthcareapis/v20200330:ServiceCorsConfigurationInfoResponse": { + "azure-nextgen:healthcareapis/v20210111:ServiceCorsConfigurationInfoResponse": { "properties": { "allowCredentials": {}, "headers": { @@ -318618,7 +319726,7 @@ } } }, - "azure-nextgen:healthcareapis/v20200330:ServiceCosmosDbConfigurationInfo": { + "azure-nextgen:healthcareapis/v20210111:ServiceCosmosDbConfigurationInfo": { "properties": { "keyVaultKeyUri": { "type": "string" @@ -318630,54 +319738,58 @@ } } }, - "azure-nextgen:healthcareapis/v20200330:ServiceCosmosDbConfigurationInfoResponse": { + "azure-nextgen:healthcareapis/v20210111:ServiceCosmosDbConfigurationInfoResponse": { "properties": { "keyVaultKeyUri": {}, "offerThroughput": {} } }, - "azure-nextgen:healthcareapis/v20200330:ServiceExportConfigurationInfo": { + "azure-nextgen:healthcareapis/v20210111:ServiceExportConfigurationInfo": { "properties": { "storageAccountName": { "type": "string" } } }, - "azure-nextgen:healthcareapis/v20200330:ServiceExportConfigurationInfoResponse": { + "azure-nextgen:healthcareapis/v20210111:ServiceExportConfigurationInfoResponse": { "properties": { "storageAccountName": {} } }, - "azure-nextgen:healthcareapis/v20200330:ServicesProperties": { + "azure-nextgen:healthcareapis/v20210111:ServicesProperties": { "properties": { "accessPolicies": { "type": "array", "items": { "type": "object", - "$ref": "#/types/azure-nextgen:healthcareapis/v20200330:ServiceAccessPolicyEntry" + "$ref": "#/types/azure-nextgen:healthcareapis/v20210111:ServiceAccessPolicyEntry" } }, + "acrConfiguration": { + "type": "object", + "$ref": "#/types/azure-nextgen:healthcareapis/v20210111:ServiceAcrConfigurationInfo" + }, "authenticationConfiguration": { "type": "object", - "$ref": "#/types/azure-nextgen:healthcareapis/v20200330:ServiceAuthenticationConfigurationInfo" + "$ref": "#/types/azure-nextgen:healthcareapis/v20210111:ServiceAuthenticationConfigurationInfo" }, "corsConfiguration": { "type": "object", - "$ref": "#/types/azure-nextgen:healthcareapis/v20200330:ServiceCorsConfigurationInfo" + "$ref": "#/types/azure-nextgen:healthcareapis/v20210111:ServiceCorsConfigurationInfo" }, "cosmosDbConfiguration": { "type": "object", - "$ref": "#/types/azure-nextgen:healthcareapis/v20200330:ServiceCosmosDbConfigurationInfo" + "$ref": "#/types/azure-nextgen:healthcareapis/v20210111:ServiceCosmosDbConfigurationInfo" }, "exportConfiguration": { "type": "object", - "$ref": "#/types/azure-nextgen:healthcareapis/v20200330:ServiceExportConfigurationInfo" + "$ref": "#/types/azure-nextgen:healthcareapis/v20210111:ServiceExportConfigurationInfo" }, "privateEndpointConnections": { "type": "array", "items": { "type": "object", - "$ref": "#/types/azure-nextgen:healthcareapis/v20200330:PrivateEndpointConnection" + "$ref": "#/types/azure-nextgen:healthcareapis/v20210111:PrivateEndpointConnection" } }, "publicNetworkAccess": { @@ -318685,50 +319797,63 @@ } } }, - "azure-nextgen:healthcareapis/v20200330:ServicesPropertiesResponse": { + "azure-nextgen:healthcareapis/v20210111:ServicesPropertiesResponse": { "properties": { "accessPolicies": { "items": { "type": "object", - "$ref": "#/types/azure-nextgen:healthcareapis/v20200330:ServiceAccessPolicyEntryResponse" + "$ref": "#/types/azure-nextgen:healthcareapis/v20210111:ServiceAccessPolicyEntryResponse" } }, + "acrConfiguration": { + "$ref": "#/types/azure-nextgen:healthcareapis/v20210111:ServiceAcrConfigurationInfoResponse" + }, "authenticationConfiguration": { - "$ref": "#/types/azure-nextgen:healthcareapis/v20200330:ServiceAuthenticationConfigurationInfoResponse" + "$ref": "#/types/azure-nextgen:healthcareapis/v20210111:ServiceAuthenticationConfigurationInfoResponse" }, "corsConfiguration": { - "$ref": "#/types/azure-nextgen:healthcareapis/v20200330:ServiceCorsConfigurationInfoResponse" + "$ref": "#/types/azure-nextgen:healthcareapis/v20210111:ServiceCorsConfigurationInfoResponse" }, "cosmosDbConfiguration": { - "$ref": "#/types/azure-nextgen:healthcareapis/v20200330:ServiceCosmosDbConfigurationInfoResponse" + "$ref": "#/types/azure-nextgen:healthcareapis/v20210111:ServiceCosmosDbConfigurationInfoResponse" }, "exportConfiguration": { - "$ref": "#/types/azure-nextgen:healthcareapis/v20200330:ServiceExportConfigurationInfoResponse" + "$ref": "#/types/azure-nextgen:healthcareapis/v20210111:ServiceExportConfigurationInfoResponse" }, "privateEndpointConnections": { "items": { "type": "object", - "$ref": "#/types/azure-nextgen:healthcareapis/v20200330:PrivateEndpointConnectionResponse" + "$ref": "#/types/azure-nextgen:healthcareapis/v20210111:PrivateEndpointConnectionResponse" } }, "provisioningState": {}, "publicNetworkAccess": {} } }, - "azure-nextgen:healthcareapis/v20200330:ServicesResourceIdentity": { + "azure-nextgen:healthcareapis/v20210111:ServicesResourceIdentity": { "properties": { "type": { "type": "string" } } }, - "azure-nextgen:healthcareapis/v20200330:ServicesResourceResponseIdentity": { + "azure-nextgen:healthcareapis/v20210111:ServicesResourceResponseIdentity": { "properties": { "principalId": {}, "tenantId": {}, "type": {} } }, + "azure-nextgen:healthcareapis/v20210111:SystemDataResponse": { + "properties": { + "createdAt": {}, + "createdBy": {}, + "createdByType": {}, + "lastModifiedAt": {}, + "lastModifiedBy": {}, + "lastModifiedByType": {} + } + }, "azure-nextgen:hybridcompute/latest:AssignmentInfoResponse": { "properties": { "configuration": { @@ -392601,6 +393726,56 @@ "type": {} } }, + "azure-nextgen:mixedreality/latest:Sku": { + "properties": { + "capacity": { + "type": "integer" + }, + "family": { + "type": "string" + }, + "name": { + "type": "string" + }, + "size": { + "type": "string" + }, + "tier": { + "type": "string", + "enum": [ + "Free", + "Basic", + "Standard", + "Premium" + ] + } + }, + "required": [ + "name" + ] + }, + "azure-nextgen:mixedreality/latest:SkuResponse": { + "properties": { + "capacity": {}, + "family": {}, + "name": {}, + "size": {}, + "tier": {} + }, + "required": [ + "name" + ] + }, + "azure-nextgen:mixedreality/latest:SystemDataResponse": { + "properties": { + "createdAt": {}, + "createdBy": {}, + "createdByType": {}, + "lastModifiedAt": {}, + "lastModifiedBy": {}, + "lastModifiedByType": {} + } + }, "azure-nextgen:mixedreality/v20190228preview:Identity": { "properties": { "type": { @@ -392669,6 +393844,73 @@ "type": {} } }, + "azure-nextgen:mixedreality/v20210101:Identity": { + "properties": { + "type": { + "type": "string", + "enum": [ + "SystemAssigned" + ] + } + } + }, + "azure-nextgen:mixedreality/v20210101:IdentityResponse": { + "properties": { + "principalId": {}, + "tenantId": {}, + "type": {} + } + }, + "azure-nextgen:mixedreality/v20210101:Sku": { + "properties": { + "capacity": { + "type": "integer" + }, + "family": { + "type": "string" + }, + "name": { + "type": "string" + }, + "size": { + "type": "string" + }, + "tier": { + "type": "string", + "enum": [ + "Free", + "Basic", + "Standard", + "Premium" + ] + } + }, + "required": [ + "name" + ] + }, + "azure-nextgen:mixedreality/v20210101:SkuResponse": { + "properties": { + "capacity": {}, + "family": {}, + "name": {}, + "size": {}, + "tier": {} + }, + "required": [ + "name" + ] + }, + "azure-nextgen:mixedreality/v20210101:SystemDataResponse": { + "properties": { + "createdAt": {}, + "createdBy": {}, + "createdByType": {}, + "lastModifiedAt": {}, + "lastModifiedBy": {}, + "lastModifiedByType": {} + } + }, "azure-nextgen:netapp/latest:ActiveDirectory": { "properties": { "activeDirectoryId": { @@ -407464,6 +408706,11 @@ "priority" ] }, + "azure-nextgen:network/latest:SecurityPolicyLinkResponse": { + "properties": { + "id": {} + } + }, "azure-nextgen:network/latest:SecurityRule": { "properties": { "access": { @@ -658964,6 +660211,11 @@ "id": {} } }, + "azure-nextgen:network/v20201101:SecurityPolicyLinkResponse": { + "properties": { + "id": {} + } + }, "azure-nextgen:network/v20201101:Sku": { "properties": { "name": { @@ -962948,12 +964200,6 @@ "properties" ] }, - "ssoContext": { - "type": "string", - "containers": [ - "properties" - ] - }, "ssoSecretType": { "type": "string", "containers": [ @@ -963073,11 +964319,6 @@ "properties" ] }, - "ssoContext": { - "containers": [ - "properties" - ] - }, "ssoSecretType": { "containers": [ "properties" @@ -1003057,6 +1004298,314 @@ }, "defaultBody": null }, + "azure-nextgen:edgeorder/v20201201preview:AddressByName": { + "apiVersion": "2020-12-01-preview", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EdgeOrder/addresses/{addressName}", + "PUT": [ + { + "name": "addressName", + "location": "path", + "required": true, + "value": { + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[-\\w\\.]+$" + } + }, + { + "name": "subscriptionId", + "location": "path", + "required": true, + "value": { + "type": "string", + "minLength": 1 + } + }, + { + "name": "resourceGroupName", + "location": "path", + "required": true, + "value": { + "type": "string", + "minLength": 1, + "maxLength": 90, + "pattern": "^[-\\w\\._\\(\\)]+$" + } + }, + { + "name": "addressResource", + "location": "body", + "required": true, + "value": {}, + "body": { + "properties": { + "contactDetails": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:ContactDetails", + "containers": [ + "properties" + ] + }, + "location": { + "type": "string", + "forceNew": true + }, + "shippingAddress": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:ShippingAddress", + "containers": [ + "properties" + ] + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "required": [ + "contactDetails", + "location" + ] + } + } + ], + "response": { + "contactDetails": { + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:ContactDetailsResponse", + "containers": [ + "properties" + ] + }, + "id": {}, + "location": {}, + "name": {}, + "shippingAddress": { + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:ShippingAddressResponse", + "containers": [ + "properties" + ] + }, + "systemData": { + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:SystemDataResponse" + }, + "tags": { + "additionalProperties": { + "type": "string" + } + }, + "type": {} + }, + "defaultBody": null, + "putAsyncStyle": "azure-async-operation", + "deleteAsyncStyle": "azure-async-operation" + }, + "azure-nextgen:edgeorder/v20201201preview:OrderByName": { + "apiVersion": "2020-12-01-preview", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EdgeOrder/orders/{orderName}", + "PUT": [ + { + "name": "orderName", + "location": "path", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "subscriptionId", + "location": "path", + "required": true, + "value": { + "type": "string", + "minLength": 1 + } + }, + { + "name": "resourceGroupName", + "location": "path", + "required": true, + "value": { + "type": "string", + "minLength": 1, + "maxLength": 90, + "pattern": "^[-\\w\\._\\(\\)]+$" + } + }, + { + "name": "orderResource", + "location": "body", + "required": true, + "value": {}, + "body": { + "properties": { + "addressDetails": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:AddressDetails", + "containers": [ + "properties" + ] + }, + "location": { + "type": "string", + "forceNew": true + }, + "orderDetails": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:OrderDetails", + "containers": [ + "properties" + ] + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "required": [ + "addressDetails", + "location", + "orderDetails" + ] + } + } + ], + "response": { + "addressDetails": { + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:AddressDetailsResponse", + "containers": [ + "properties" + ] + }, + "id": {}, + "location": {}, + "name": {}, + "orderCollectionId": { + "containers": [ + "properties" + ] + }, + "orderDetails": { + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:OrderDetailsResponse", + "containers": [ + "properties" + ] + }, + "startTime": { + "containers": [ + "properties" + ] + }, + "systemData": { + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:SystemDataResponse" + }, + "tags": { + "additionalProperties": { + "type": "string" + } + }, + "type": {} + }, + "defaultBody": null, + "putAsyncStyle": "azure-async-operation", + "deleteAsyncStyle": "azure-async-operation" + }, + "azure-nextgen:edgeorder/v20201201preview:OrderCollectionByName": { + "apiVersion": "2020-12-01-preview", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EdgeOrder/orderCollections/{orderCollectionName}", + "PUT": [ + { + "name": "orderCollectionName", + "location": "path", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "subscriptionId", + "location": "path", + "required": true, + "value": { + "type": "string", + "minLength": 1 + } + }, + { + "name": "resourceGroupName", + "location": "path", + "required": true, + "value": { + "type": "string", + "minLength": 1, + "maxLength": 90, + "pattern": "^[-\\w\\._\\(\\)]+$" + } + }, + { + "name": "orderCollectionResource", + "location": "body", + "required": true, + "value": {}, + "body": { + "properties": { + "location": { + "type": "string", + "forceNew": true + }, + "orderIds": { + "type": "array", + "items": { + "type": "string" + }, + "containers": [ + "properties" + ] + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "required": [ + "location", + "orderIds" + ] + } + } + ], + "response": { + "id": {}, + "location": {}, + "name": {}, + "orderIds": { + "items": { + "type": "string" + }, + "containers": [ + "properties" + ] + }, + "systemData": { + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:SystemDataResponse" + }, + "tags": { + "additionalProperties": { + "type": "string" + } + }, + "type": {} + }, + "defaultBody": null, + "putAsyncStyle": "azure-async-operation", + "deleteAsyncStyle": "azure-async-operation" + }, "azure-nextgen:engagementfabric/v20180901preview:Account": { "apiVersion": "2018-09-01-preview", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EngagementFabric/Accounts/{accountName}", @@ -1013845,7 +1015394,179 @@ }, "sku": { "type": "object", - "$ref": "#/types/azure-nextgen:healthbot/v20201020preview:Sku" + "$ref": "#/types/azure-nextgen:healthbot/v20201020preview:Sku" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "required": [ + "location" + ] + } + } + ], + "response": { + "id": {}, + "location": {}, + "name": {}, + "properties": { + "$ref": "#/types/azure-nextgen:healthbot/v20201020preview:HealthBotPropertiesResponse" + }, + "sku": { + "$ref": "#/types/azure-nextgen:healthbot/v20201020preview:SkuResponse" + }, + "systemData": { + "$ref": "#/types/azure-nextgen:healthbot/v20201020preview:SystemDataResponse" + }, + "tags": { + "additionalProperties": { + "type": "string" + } + }, + "type": {} + }, + "defaultBody": null, + "putAsyncStyle": "azure-async-operation" + }, + "azure-nextgen:healthbot/v20201208:Bot": { + "apiVersion": "2020-12-08", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthBot/healthBots/{botName}", + "PUT": [ + { + "name": "subscriptionId", + "location": "path", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "resourceGroupName", + "location": "path", + "required": true, + "value": { + "type": "string", + "minLength": 2, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_.-]*$" + } + }, + { + "name": "botName", + "location": "path", + "required": true, + "value": { + "type": "string", + "minLength": 2, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_.-]*$" + } + }, + { + "name": "parameters", + "location": "body", + "required": true, + "value": {}, + "body": { + "properties": { + "location": { + "type": "string", + "forceNew": true + }, + "sku": { + "type": "object", + "$ref": "#/types/azure-nextgen:healthbot/v20201208:Sku" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "required": [ + "location", + "sku" + ] + } + } + ], + "response": { + "id": {}, + "location": {}, + "name": {}, + "properties": { + "$ref": "#/types/azure-nextgen:healthbot/v20201208:HealthBotPropertiesResponse" + }, + "sku": { + "$ref": "#/types/azure-nextgen:healthbot/v20201208:SkuResponse" + }, + "systemData": { + "$ref": "#/types/azure-nextgen:healthbot/v20201208:SystemDataResponse" + }, + "tags": { + "additionalProperties": { + "type": "string" + } + }, + "type": {} + }, + "defaultBody": null, + "putAsyncStyle": "azure-async-operation", + "deleteAsyncStyle": "azure-async-operation" + }, + "azure-nextgen:healthbot/v20201208preview:Bot": { + "apiVersion": "2020-12-08-preview", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthBot/healthBots/{botName}", + "PUT": [ + { + "name": "subscriptionId", + "location": "path", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "resourceGroupName", + "location": "path", + "required": true, + "value": { + "type": "string", + "minLength": 2, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_.-]*$" + } + }, + { + "name": "botName", + "location": "path", + "required": true, + "value": { + "type": "string", + "minLength": 2, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_.-]*$" + } + }, + { + "name": "parameters", + "location": "body", + "required": true, + "value": {}, + "body": { + "properties": { + "location": { + "type": "string", + "forceNew": true + }, + "sku": { + "type": "object", + "$ref": "#/types/azure-nextgen:healthbot/v20201208preview:Sku" }, "tags": { "type": "object", @@ -1013865,13 +1015586,13 @@ "location": {}, "name": {}, "properties": { - "$ref": "#/types/azure-nextgen:healthbot/v20201020preview:HealthBotPropertiesResponse" + "$ref": "#/types/azure-nextgen:healthbot/v20201208preview:HealthBotPropertiesResponse" }, "sku": { - "$ref": "#/types/azure-nextgen:healthbot/v20201020preview:SkuResponse" + "$ref": "#/types/azure-nextgen:healthbot/v20201208preview:SkuResponse" }, "systemData": { - "$ref": "#/types/azure-nextgen:healthbot/v20201020preview:SystemDataResponse" + "$ref": "#/types/azure-nextgen:healthbot/v20201208preview:SystemDataResponse" }, "tags": { "additionalProperties": { @@ -1013881,11 +1015602,12 @@ "type": {} }, "defaultBody": null, - "putAsyncStyle": "azure-async-operation" + "putAsyncStyle": "azure-async-operation", + "deleteAsyncStyle": "azure-async-operation" }, - "azure-nextgen:healthbot/v20201208:Bot": { - "apiVersion": "2020-12-08", - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthBot/healthBots/{botName}", + "azure-nextgen:healthcareapis/latest:PrivateEndpointConnection": { + "apiVersion": "2021-01-11", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/services/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}", "PUT": [ { "name": "subscriptionId", @@ -1013901,68 +1015623,72 @@ "required": true, "value": { "type": "string", - "minLength": 2, - "maxLength": 64, - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_.-]*$" + "minLength": 1, + "maxLength": 90, + "pattern": "^[-\\w\\._\\(\\)]+$" } }, { - "name": "botName", + "name": "resourceName", "location": "path", "required": true, "value": { "type": "string", - "minLength": 2, - "maxLength": 64, - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_.-]*$" + "minLength": 3, + "maxLength": 24 } }, { - "name": "parameters", + "name": "privateEndpointConnectionName", + "location": "path", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "properties", "location": "body", "required": true, "value": {}, "body": { "properties": { - "location": { - "type": "string", - "forceNew": true - }, - "sku": { - "type": "object", - "$ref": "#/types/azure-nextgen:healthbot/v20201208:Sku" - }, - "tags": { + "privateLinkServiceConnectionState": { "type": "object", - "additionalProperties": { - "type": "string" - } + "$ref": "#/types/azure-nextgen:healthcareapis/latest:PrivateLinkServiceConnectionState", + "containers": [ + "properties" + ] } }, "required": [ - "location", - "sku" + "privateLinkServiceConnectionState" ] } } ], "response": { "id": {}, - "location": {}, "name": {}, - "properties": { - "$ref": "#/types/azure-nextgen:healthbot/v20201208:HealthBotPropertiesResponse" + "privateEndpoint": { + "$ref": "#/types/azure-nextgen:healthcareapis/latest:PrivateEndpointResponse", + "containers": [ + "properties" + ] }, - "sku": { - "$ref": "#/types/azure-nextgen:healthbot/v20201208:SkuResponse" + "privateLinkServiceConnectionState": { + "$ref": "#/types/azure-nextgen:healthcareapis/latest:PrivateLinkServiceConnectionStateResponse", + "containers": [ + "properties" + ] }, - "systemData": { - "$ref": "#/types/azure-nextgen:healthbot/v20201208:SystemDataResponse" + "provisioningState": { + "containers": [ + "properties" + ] }, - "tags": { - "additionalProperties": { - "type": "string" - } + "systemData": { + "$ref": "#/types/azure-nextgen:healthcareapis/latest:SystemDataResponse" }, "type": {} }, @@ -1013970,9 +1015696,9 @@ "putAsyncStyle": "azure-async-operation", "deleteAsyncStyle": "azure-async-operation" }, - "azure-nextgen:healthbot/v20201208preview:Bot": { - "apiVersion": "2020-12-08-preview", - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthBot/healthBots/{botName}", + "azure-nextgen:healthcareapis/latest:Service": { + "apiVersion": "2021-01-11", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/services/{resourceName}", "PUT": [ { "name": "subscriptionId", @@ -1013988,36 +1015714,50 @@ "required": true, "value": { "type": "string", - "minLength": 2, - "maxLength": 64, - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_.-]*$" + "minLength": 1, + "maxLength": 90, + "pattern": "^[-\\w\\._\\(\\)]+$" } }, { - "name": "botName", + "name": "resourceName", "location": "path", "required": true, "value": { "type": "string", - "minLength": 2, - "maxLength": 64, - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_.-]*$" + "minLength": 3, + "maxLength": 24 } }, { - "name": "parameters", + "name": "serviceDescription", "location": "body", "required": true, "value": {}, "body": { "properties": { + "etag": { + "type": "string" + }, + "identity": { + "type": "object", + "$ref": "#/types/azure-nextgen:healthcareapis/latest:ServicesResourceIdentity" + }, + "kind": { + "type": "string", + "enum": [ + "fhir", + "fhir-Stu3", + "fhir-R4" + ] + }, "location": { "type": "string", "forceNew": true }, - "sku": { + "properties": { "type": "object", - "$ref": "#/types/azure-nextgen:healthbot/v20201208preview:Sku" + "$ref": "#/types/azure-nextgen:healthcareapis/latest:ServicesProperties" }, "tags": { "type": "object", @@ -1014027,23 +1015767,26 @@ } }, "required": [ + "kind", "location" ] } } ], "response": { + "etag": {}, "id": {}, + "identity": { + "$ref": "#/types/azure-nextgen:healthcareapis/latest:ServicesResourceResponseIdentity" + }, + "kind": {}, "location": {}, "name": {}, "properties": { - "$ref": "#/types/azure-nextgen:healthbot/v20201208preview:HealthBotPropertiesResponse" - }, - "sku": { - "$ref": "#/types/azure-nextgen:healthbot/v20201208preview:SkuResponse" + "$ref": "#/types/azure-nextgen:healthcareapis/latest:ServicesPropertiesResponse" }, "systemData": { - "$ref": "#/types/azure-nextgen:healthbot/v20201208preview:SystemDataResponse" + "$ref": "#/types/azure-nextgen:healthcareapis/latest:SystemDataResponse" }, "tags": { "additionalProperties": { @@ -1014056,9 +1015799,9 @@ "putAsyncStyle": "azure-async-operation", "deleteAsyncStyle": "azure-async-operation" }, - "azure-nextgen:healthcareapis/latest:PrivateEndpointConnection": { - "apiVersion": "2020-03-30", - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/services/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}", + "azure-nextgen:healthcareapis/v20180820preview:Service": { + "apiVersion": "2018-08-20-preview", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/services/{resourceName}", "PUT": [ { "name": "subscriptionId", @@ -1014090,53 +1015833,58 @@ } }, { - "name": "privateEndpointConnectionName", - "location": "path", - "required": true, - "value": { - "type": "string" - } - }, - { - "name": "properties", + "name": "serviceDescription", "location": "body", "required": true, "value": {}, "body": { "properties": { - "privateLinkServiceConnectionState": { - "type": "object", - "$ref": "#/types/azure-nextgen:healthcareapis/latest:PrivateLinkServiceConnectionState", - "containers": [ - "properties" + "etag": { + "type": "string" + }, + "kind": { + "type": "string", + "enum": [ + "fhir", + "fhir-Stu3", + "fhir-R4" ] + }, + "location": { + "type": "string", + "forceNew": true + }, + "properties": { + "type": "object", + "$ref": "#/types/azure-nextgen:healthcareapis/v20180820preview:ServicesProperties" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + } } }, "required": [ - "privateLinkServiceConnectionState" + "kind", + "location" ] } } ], "response": { + "etag": {}, "id": {}, + "kind": {}, + "location": {}, "name": {}, - "privateEndpoint": { - "$ref": "#/types/azure-nextgen:healthcareapis/latest:PrivateEndpointResponse", - "containers": [ - "properties" - ] - }, - "privateLinkServiceConnectionState": { - "$ref": "#/types/azure-nextgen:healthcareapis/latest:PrivateLinkServiceConnectionStateResponse", - "containers": [ - "properties" - ] + "properties": { + "$ref": "#/types/azure-nextgen:healthcareapis/v20180820preview:ServicesPropertiesResponse" }, - "provisioningState": { - "containers": [ - "properties" - ] + "tags": { + "additionalProperties": { + "type": "string" + } }, "type": {} }, @@ -1014144,8 +1015892,8 @@ "putAsyncStyle": "azure-async-operation", "deleteAsyncStyle": "azure-async-operation" }, - "azure-nextgen:healthcareapis/latest:Service": { - "apiVersion": "2020-03-30", + "azure-nextgen:healthcareapis/v20190916:Service": { + "apiVersion": "2019-09-16", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/services/{resourceName}", "PUT": [ { @@ -1014189,7 +1015937,7 @@ }, "identity": { "type": "object", - "$ref": "#/types/azure-nextgen:healthcareapis/latest:ServicesResourceIdentity" + "$ref": "#/types/azure-nextgen:healthcareapis/v20190916:ResourceIdentity" }, "kind": { "type": "string", @@ -1014205,7 +1015953,7 @@ }, "properties": { "type": "object", - "$ref": "#/types/azure-nextgen:healthcareapis/latest:ServicesProperties" + "$ref": "#/types/azure-nextgen:healthcareapis/v20190916:ServicesProperties" }, "tags": { "type": "object", @@ -1014225,13 +1015973,13 @@ "etag": {}, "id": {}, "identity": { - "$ref": "#/types/azure-nextgen:healthcareapis/latest:ServicesResourceResponseIdentity" + "$ref": "#/types/azure-nextgen:healthcareapis/v20190916:ResourceResponseIdentity" }, "kind": {}, "location": {}, "name": {}, "properties": { - "$ref": "#/types/azure-nextgen:healthcareapis/latest:ServicesPropertiesResponse" + "$ref": "#/types/azure-nextgen:healthcareapis/v20190916:ServicesPropertiesResponse" }, "tags": { "additionalProperties": { @@ -1014244,8 +1015992,8 @@ "putAsyncStyle": "azure-async-operation", "deleteAsyncStyle": "azure-async-operation" }, - "azure-nextgen:healthcareapis/v20180820preview:Service": { - "apiVersion": "2018-08-20-preview", + "azure-nextgen:healthcareapis/v20200315:Service": { + "apiVersion": "2020-03-15", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/services/{resourceName}", "PUT": [ { @@ -1014287,6 +1016035,10 @@ "etag": { "type": "string" }, + "identity": { + "type": "object", + "$ref": "#/types/azure-nextgen:healthcareapis/v20200315:ResourceIdentity" + }, "kind": { "type": "string", "enum": [ @@ -1014301,7 +1016053,7 @@ }, "properties": { "type": "object", - "$ref": "#/types/azure-nextgen:healthcareapis/v20180820preview:ServicesProperties" + "$ref": "#/types/azure-nextgen:healthcareapis/v20200315:ServicesProperties" }, "tags": { "type": "object", @@ -1014320,11 +1016072,14 @@ "response": { "etag": {}, "id": {}, + "identity": { + "$ref": "#/types/azure-nextgen:healthcareapis/v20200315:ResourceResponseIdentity" + }, "kind": {}, "location": {}, "name": {}, "properties": { - "$ref": "#/types/azure-nextgen:healthcareapis/v20180820preview:ServicesPropertiesResponse" + "$ref": "#/types/azure-nextgen:healthcareapis/v20200315:ServicesPropertiesResponse" }, "tags": { "additionalProperties": { @@ -1014337,9 +1016092,9 @@ "putAsyncStyle": "azure-async-operation", "deleteAsyncStyle": "azure-async-operation" }, - "azure-nextgen:healthcareapis/v20190916:Service": { - "apiVersion": "2019-09-16", - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/services/{resourceName}", + "azure-nextgen:healthcareapis/v20200330:PrivateEndpointConnection": { + "apiVersion": "2020-03-30", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/services/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}", "PUT": [ { "name": "subscriptionId", @@ -1014371,65 +1016126,53 @@ } }, { - "name": "serviceDescription", + "name": "privateEndpointConnectionName", + "location": "path", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "properties", "location": "body", "required": true, "value": {}, "body": { "properties": { - "etag": { - "type": "string" - }, - "identity": { + "privateLinkServiceConnectionState": { "type": "object", - "$ref": "#/types/azure-nextgen:healthcareapis/v20190916:ResourceIdentity" - }, - "kind": { - "type": "string", - "enum": [ - "fhir", - "fhir-Stu3", - "fhir-R4" + "$ref": "#/types/azure-nextgen:healthcareapis/v20200330:PrivateLinkServiceConnectionState", + "containers": [ + "properties" ] - }, - "location": { - "type": "string", - "forceNew": true - }, - "properties": { - "type": "object", - "$ref": "#/types/azure-nextgen:healthcareapis/v20190916:ServicesProperties" - }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - } } }, "required": [ - "kind", - "location" + "privateLinkServiceConnectionState" ] } } ], "response": { - "etag": {}, "id": {}, - "identity": { - "$ref": "#/types/azure-nextgen:healthcareapis/v20190916:ResourceResponseIdentity" - }, - "kind": {}, - "location": {}, "name": {}, - "properties": { - "$ref": "#/types/azure-nextgen:healthcareapis/v20190916:ServicesPropertiesResponse" + "privateEndpoint": { + "$ref": "#/types/azure-nextgen:healthcareapis/v20200330:PrivateEndpointResponse", + "containers": [ + "properties" + ] }, - "tags": { - "additionalProperties": { - "type": "string" - } + "privateLinkServiceConnectionState": { + "$ref": "#/types/azure-nextgen:healthcareapis/v20200330:PrivateLinkServiceConnectionStateResponse", + "containers": [ + "properties" + ] + }, + "provisioningState": { + "containers": [ + "properties" + ] }, "type": {} }, @@ -1014437,8 +1016180,8 @@ "putAsyncStyle": "azure-async-operation", "deleteAsyncStyle": "azure-async-operation" }, - "azure-nextgen:healthcareapis/v20200315:Service": { - "apiVersion": "2020-03-15", + "azure-nextgen:healthcareapis/v20200330:Service": { + "apiVersion": "2020-03-30", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/services/{resourceName}", "PUT": [ { @@ -1014482,7 +1016225,7 @@ }, "identity": { "type": "object", - "$ref": "#/types/azure-nextgen:healthcareapis/v20200315:ResourceIdentity" + "$ref": "#/types/azure-nextgen:healthcareapis/v20200330:ServicesResourceIdentity" }, "kind": { "type": "string", @@ -1014498,7 +1016241,7 @@ }, "properties": { "type": "object", - "$ref": "#/types/azure-nextgen:healthcareapis/v20200315:ServicesProperties" + "$ref": "#/types/azure-nextgen:healthcareapis/v20200330:ServicesProperties" }, "tags": { "type": "object", @@ -1014518,13 +1016261,13 @@ "etag": {}, "id": {}, "identity": { - "$ref": "#/types/azure-nextgen:healthcareapis/v20200315:ResourceResponseIdentity" + "$ref": "#/types/azure-nextgen:healthcareapis/v20200330:ServicesResourceResponseIdentity" }, "kind": {}, "location": {}, "name": {}, "properties": { - "$ref": "#/types/azure-nextgen:healthcareapis/v20200315:ServicesPropertiesResponse" + "$ref": "#/types/azure-nextgen:healthcareapis/v20200330:ServicesPropertiesResponse" }, "tags": { "additionalProperties": { @@ -1014537,8 +1016280,8 @@ "putAsyncStyle": "azure-async-operation", "deleteAsyncStyle": "azure-async-operation" }, - "azure-nextgen:healthcareapis/v20200330:PrivateEndpointConnection": { - "apiVersion": "2020-03-30", + "azure-nextgen:healthcareapis/v20210111:PrivateEndpointConnection": { + "apiVersion": "2021-01-11", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/services/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}", "PUT": [ { @@ -1014587,7 +1016330,7 @@ "properties": { "privateLinkServiceConnectionState": { "type": "object", - "$ref": "#/types/azure-nextgen:healthcareapis/v20200330:PrivateLinkServiceConnectionState", + "$ref": "#/types/azure-nextgen:healthcareapis/v20210111:PrivateLinkServiceConnectionState", "containers": [ "properties" ] @@ -1014603,13 +1016346,13 @@ "id": {}, "name": {}, "privateEndpoint": { - "$ref": "#/types/azure-nextgen:healthcareapis/v20200330:PrivateEndpointResponse", + "$ref": "#/types/azure-nextgen:healthcareapis/v20210111:PrivateEndpointResponse", "containers": [ "properties" ] }, "privateLinkServiceConnectionState": { - "$ref": "#/types/azure-nextgen:healthcareapis/v20200330:PrivateLinkServiceConnectionStateResponse", + "$ref": "#/types/azure-nextgen:healthcareapis/v20210111:PrivateLinkServiceConnectionStateResponse", "containers": [ "properties" ] @@ -1014619,14 +1016362,17 @@ "properties" ] }, + "systemData": { + "$ref": "#/types/azure-nextgen:healthcareapis/v20210111:SystemDataResponse" + }, "type": {} }, "defaultBody": null, "putAsyncStyle": "azure-async-operation", "deleteAsyncStyle": "azure-async-operation" }, - "azure-nextgen:healthcareapis/v20200330:Service": { - "apiVersion": "2020-03-30", + "azure-nextgen:healthcareapis/v20210111:Service": { + "apiVersion": "2021-01-11", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/services/{resourceName}", "PUT": [ { @@ -1014670,7 +1016416,7 @@ }, "identity": { "type": "object", - "$ref": "#/types/azure-nextgen:healthcareapis/v20200330:ServicesResourceIdentity" + "$ref": "#/types/azure-nextgen:healthcareapis/v20210111:ServicesResourceIdentity" }, "kind": { "type": "string", @@ -1014686,7 +1016432,7 @@ }, "properties": { "type": "object", - "$ref": "#/types/azure-nextgen:healthcareapis/v20200330:ServicesProperties" + "$ref": "#/types/azure-nextgen:healthcareapis/v20210111:ServicesProperties" }, "tags": { "type": "object", @@ -1014706,13 +1016452,16 @@ "etag": {}, "id": {}, "identity": { - "$ref": "#/types/azure-nextgen:healthcareapis/v20200330:ServicesResourceResponseIdentity" + "$ref": "#/types/azure-nextgen:healthcareapis/v20210111:ServicesResourceResponseIdentity" }, "kind": {}, "location": {}, "name": {}, "properties": { - "$ref": "#/types/azure-nextgen:healthcareapis/v20200330:ServicesPropertiesResponse" + "$ref": "#/types/azure-nextgen:healthcareapis/v20210111:ServicesPropertiesResponse" + }, + "systemData": { + "$ref": "#/types/azure-nextgen:healthcareapis/v20210111:SystemDataResponse" }, "tags": { "additionalProperties": { @@ -1071998,8 +1073747,120 @@ "putAsyncStyle": "azure-async-operation", "deleteAsyncStyle": "azure-async-operation" }, + "azure-nextgen:mixedreality/latest:RemoteRenderingAccount": { + "apiVersion": "2021-01-01", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MixedReality/remoteRenderingAccounts/{accountName}", + "PUT": [ + { + "name": "subscriptionId", + "location": "path", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "resourceGroupName", + "location": "path", + "required": true, + "value": { + "type": "string", + "minLength": 1, + "maxLength": 90, + "pattern": "^[-\\w\\._\\(\\)]+$" + } + }, + { + "name": "accountName", + "location": "path", + "required": true, + "value": { + "type": "string", + "minLength": 1, + "maxLength": 90, + "pattern": "^[-\\w\\._\\(\\)]+$" + } + }, + { + "name": "remoteRenderingAccount", + "location": "body", + "required": true, + "value": {}, + "body": { + "properties": { + "identity": { + "type": "object", + "$ref": "#/types/azure-nextgen:mixedreality/latest:Identity" + }, + "kind": { + "type": "object", + "$ref": "#/types/azure-nextgen:mixedreality/latest:Sku" + }, + "location": { + "type": "string", + "forceNew": true + }, + "plan": { + "type": "object", + "$ref": "#/types/azure-nextgen:mixedreality/latest:Identity" + }, + "sku": { + "type": "object", + "$ref": "#/types/azure-nextgen:mixedreality/latest:Sku" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "required": [ + "location" + ] + } + } + ], + "response": { + "accountDomain": { + "containers": [ + "properties" + ] + }, + "accountId": { + "containers": [ + "properties" + ] + }, + "id": {}, + "identity": { + "$ref": "#/types/azure-nextgen:mixedreality/latest:IdentityResponse" + }, + "kind": { + "$ref": "#/types/azure-nextgen:mixedreality/latest:SkuResponse" + }, + "location": {}, + "name": {}, + "plan": { + "$ref": "#/types/azure-nextgen:mixedreality/latest:IdentityResponse" + }, + "sku": { + "$ref": "#/types/azure-nextgen:mixedreality/latest:SkuResponse" + }, + "systemData": { + "$ref": "#/types/azure-nextgen:mixedreality/latest:SystemDataResponse" + }, + "tags": { + "additionalProperties": { + "type": "string" + } + }, + "type": {} + }, + "defaultBody": null + }, "azure-nextgen:mixedreality/latest:SpatialAnchorsAccount": { - "apiVersion": "2020-05-01", + "apiVersion": "2021-01-01", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MixedReality/spatialAnchorsAccounts/{accountName}", "PUT": [ { @@ -1072043,10 +1073904,22 @@ "type": "object", "$ref": "#/types/azure-nextgen:mixedreality/latest:Identity" }, + "kind": { + "type": "object", + "$ref": "#/types/azure-nextgen:mixedreality/latest:Sku" + }, "location": { "type": "string", "forceNew": true }, + "plan": { + "type": "object", + "$ref": "#/types/azure-nextgen:mixedreality/latest:Identity" + }, + "sku": { + "type": "object", + "$ref": "#/types/azure-nextgen:mixedreality/latest:Sku" + }, "tags": { "type": "object", "additionalProperties": { @@ -1072075,8 +1073948,20 @@ "identity": { "$ref": "#/types/azure-nextgen:mixedreality/latest:IdentityResponse" }, + "kind": { + "$ref": "#/types/azure-nextgen:mixedreality/latest:SkuResponse" + }, "location": {}, "name": {}, + "plan": { + "$ref": "#/types/azure-nextgen:mixedreality/latest:IdentityResponse" + }, + "sku": { + "$ref": "#/types/azure-nextgen:mixedreality/latest:SkuResponse" + }, + "systemData": { + "$ref": "#/types/azure-nextgen:mixedreality/latest:SystemDataResponse" + }, "tags": { "additionalProperties": { "type": "string" @@ -1072209,7 +1074094,471 @@ } }, { - "name": "remoteRenderingAccount", + "name": "remoteRenderingAccount", + "location": "body", + "required": true, + "value": {}, + "body": { + "properties": { + "identity": { + "type": "object", + "$ref": "#/types/azure-nextgen:mixedreality/v20191202preview:Identity" + }, + "location": { + "type": "string", + "forceNew": true + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "required": [ + "location" + ] + } + } + ], + "response": { + "accountDomain": { + "containers": [ + "properties" + ] + }, + "accountId": { + "containers": [ + "properties" + ] + }, + "id": {}, + "identity": { + "$ref": "#/types/azure-nextgen:mixedreality/v20191202preview:IdentityResponse" + }, + "location": {}, + "name": {}, + "tags": { + "additionalProperties": { + "type": "string" + } + }, + "type": {} + }, + "defaultBody": null + }, + "azure-nextgen:mixedreality/v20191202preview:SpatialAnchorsAccount": { + "apiVersion": "2019-12-02-preview", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MixedReality/spatialAnchorsAccounts/{accountName}", + "PUT": [ + { + "name": "subscriptionId", + "location": "path", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "resourceGroupName", + "location": "path", + "required": true, + "value": { + "type": "string", + "minLength": 1, + "maxLength": 90, + "pattern": "^[-\\w\\._\\(\\)]+$" + } + }, + { + "name": "accountName", + "location": "path", + "required": true, + "value": { + "type": "string", + "minLength": 1, + "maxLength": 90, + "pattern": "^[-\\w\\._\\(\\)]+$" + } + }, + { + "name": "spatialAnchorsAccount", + "location": "body", + "required": true, + "value": {}, + "body": { + "properties": { + "identity": { + "type": "object", + "$ref": "#/types/azure-nextgen:mixedreality/v20191202preview:Identity" + }, + "location": { + "type": "string", + "forceNew": true + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "required": [ + "location" + ] + } + } + ], + "response": { + "accountDomain": { + "containers": [ + "properties" + ] + }, + "accountId": { + "containers": [ + "properties" + ] + }, + "id": {}, + "identity": { + "$ref": "#/types/azure-nextgen:mixedreality/v20191202preview:IdentityResponse" + }, + "location": {}, + "name": {}, + "tags": { + "additionalProperties": { + "type": "string" + } + }, + "type": {} + }, + "defaultBody": null + }, + "azure-nextgen:mixedreality/v20200406preview:RemoteRenderingAccount": { + "apiVersion": "2020-04-06-preview", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MixedReality/remoteRenderingAccounts/{accountName}", + "PUT": [ + { + "name": "subscriptionId", + "location": "path", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "resourceGroupName", + "location": "path", + "required": true, + "value": { + "type": "string", + "minLength": 1, + "maxLength": 90, + "pattern": "^[-\\w\\._\\(\\)]+$" + } + }, + { + "name": "accountName", + "location": "path", + "required": true, + "value": { + "type": "string", + "minLength": 1, + "maxLength": 90, + "pattern": "^[-\\w\\._\\(\\)]+$" + } + }, + { + "name": "remoteRenderingAccount", + "location": "body", + "required": true, + "value": {}, + "body": { + "properties": { + "identity": { + "type": "object", + "$ref": "#/types/azure-nextgen:mixedreality/v20200406preview:RemoteRenderingAccountIdentity" + }, + "location": { + "type": "string", + "forceNew": true + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "required": [ + "location" + ] + } + } + ], + "response": { + "accountDomain": { + "containers": [ + "properties" + ] + }, + "accountId": { + "containers": [ + "properties" + ] + }, + "id": {}, + "identity": { + "$ref": "#/types/azure-nextgen:mixedreality/v20200406preview:RemoteRenderingAccountResponseIdentity" + }, + "location": {}, + "name": {}, + "tags": { + "additionalProperties": { + "type": "string" + } + }, + "type": {} + }, + "defaultBody": null + }, + "azure-nextgen:mixedreality/v20200501:SpatialAnchorsAccount": { + "apiVersion": "2020-05-01", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MixedReality/spatialAnchorsAccounts/{accountName}", + "PUT": [ + { + "name": "subscriptionId", + "location": "path", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "resourceGroupName", + "location": "path", + "required": true, + "value": { + "type": "string", + "minLength": 1, + "maxLength": 90, + "pattern": "^[-\\w\\._\\(\\)]+$" + } + }, + { + "name": "accountName", + "location": "path", + "required": true, + "value": { + "type": "string", + "minLength": 1, + "maxLength": 90, + "pattern": "^[-\\w\\._\\(\\)]+$" + } + }, + { + "name": "spatialAnchorsAccount", + "location": "body", + "required": true, + "value": {}, + "body": { + "properties": { + "identity": { + "type": "object", + "$ref": "#/types/azure-nextgen:mixedreality/v20200501:Identity" + }, + "location": { + "type": "string", + "forceNew": true + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "required": [ + "location" + ] + } + } + ], + "response": { + "accountDomain": { + "containers": [ + "properties" + ] + }, + "accountId": { + "containers": [ + "properties" + ] + }, + "id": {}, + "identity": { + "$ref": "#/types/azure-nextgen:mixedreality/v20200501:IdentityResponse" + }, + "location": {}, + "name": {}, + "tags": { + "additionalProperties": { + "type": "string" + } + }, + "type": {} + }, + "defaultBody": null + }, + "azure-nextgen:mixedreality/v20210101:RemoteRenderingAccount": { + "apiVersion": "2021-01-01", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MixedReality/remoteRenderingAccounts/{accountName}", + "PUT": [ + { + "name": "subscriptionId", + "location": "path", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "resourceGroupName", + "location": "path", + "required": true, + "value": { + "type": "string", + "minLength": 1, + "maxLength": 90, + "pattern": "^[-\\w\\._\\(\\)]+$" + } + }, + { + "name": "accountName", + "location": "path", + "required": true, + "value": { + "type": "string", + "minLength": 1, + "maxLength": 90, + "pattern": "^[-\\w\\._\\(\\)]+$" + } + }, + { + "name": "remoteRenderingAccount", + "location": "body", + "required": true, + "value": {}, + "body": { + "properties": { + "identity": { + "type": "object", + "$ref": "#/types/azure-nextgen:mixedreality/v20210101:Identity" + }, + "kind": { + "type": "object", + "$ref": "#/types/azure-nextgen:mixedreality/v20210101:Sku" + }, + "location": { + "type": "string", + "forceNew": true + }, + "plan": { + "type": "object", + "$ref": "#/types/azure-nextgen:mixedreality/v20210101:Identity" + }, + "sku": { + "type": "object", + "$ref": "#/types/azure-nextgen:mixedreality/v20210101:Sku" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "required": [ + "location" + ] + } + } + ], + "response": { + "accountDomain": { + "containers": [ + "properties" + ] + }, + "accountId": { + "containers": [ + "properties" + ] + }, + "id": {}, + "identity": { + "$ref": "#/types/azure-nextgen:mixedreality/v20210101:IdentityResponse" + }, + "kind": { + "$ref": "#/types/azure-nextgen:mixedreality/v20210101:SkuResponse" + }, + "location": {}, + "name": {}, + "plan": { + "$ref": "#/types/azure-nextgen:mixedreality/v20210101:IdentityResponse" + }, + "sku": { + "$ref": "#/types/azure-nextgen:mixedreality/v20210101:SkuResponse" + }, + "systemData": { + "$ref": "#/types/azure-nextgen:mixedreality/v20210101:SystemDataResponse" + }, + "tags": { + "additionalProperties": { + "type": "string" + } + }, + "type": {} + }, + "defaultBody": null + }, + "azure-nextgen:mixedreality/v20210101:SpatialAnchorsAccount": { + "apiVersion": "2021-01-01", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MixedReality/spatialAnchorsAccounts/{accountName}", + "PUT": [ + { + "name": "subscriptionId", + "location": "path", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "resourceGroupName", + "location": "path", + "required": true, + "value": { + "type": "string", + "minLength": 1, + "maxLength": 90, + "pattern": "^[-\\w\\._\\(\\)]+$" + } + }, + { + "name": "accountName", + "location": "path", + "required": true, + "value": { + "type": "string", + "minLength": 1, + "maxLength": 90, + "pattern": "^[-\\w\\._\\(\\)]+$" + } + }, + { + "name": "spatialAnchorsAccount", "location": "body", "required": true, "value": {}, @@ -1072217,187 +1074566,23 @@ "properties": { "identity": { "type": "object", - "$ref": "#/types/azure-nextgen:mixedreality/v20191202preview:Identity" + "$ref": "#/types/azure-nextgen:mixedreality/v20210101:Identity" }, - "location": { - "type": "string", - "forceNew": true - }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - } - } - }, - "required": [ - "location" - ] - } - } - ], - "response": { - "accountDomain": { - "containers": [ - "properties" - ] - }, - "accountId": { - "containers": [ - "properties" - ] - }, - "id": {}, - "identity": { - "$ref": "#/types/azure-nextgen:mixedreality/v20191202preview:IdentityResponse" - }, - "location": {}, - "name": {}, - "tags": { - "additionalProperties": { - "type": "string" - } - }, - "type": {} - }, - "defaultBody": null - }, - "azure-nextgen:mixedreality/v20191202preview:SpatialAnchorsAccount": { - "apiVersion": "2019-12-02-preview", - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MixedReality/spatialAnchorsAccounts/{accountName}", - "PUT": [ - { - "name": "subscriptionId", - "location": "path", - "required": true, - "value": { - "type": "string" - } - }, - { - "name": "resourceGroupName", - "location": "path", - "required": true, - "value": { - "type": "string", - "minLength": 1, - "maxLength": 90, - "pattern": "^[-\\w\\._\\(\\)]+$" - } - }, - { - "name": "accountName", - "location": "path", - "required": true, - "value": { - "type": "string", - "minLength": 1, - "maxLength": 90, - "pattern": "^[-\\w\\._\\(\\)]+$" - } - }, - { - "name": "spatialAnchorsAccount", - "location": "body", - "required": true, - "value": {}, - "body": { - "properties": { - "identity": { + "kind": { "type": "object", - "$ref": "#/types/azure-nextgen:mixedreality/v20191202preview:Identity" + "$ref": "#/types/azure-nextgen:mixedreality/v20210101:Sku" }, "location": { "type": "string", "forceNew": true }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - } - } - }, - "required": [ - "location" - ] - } - } - ], - "response": { - "accountDomain": { - "containers": [ - "properties" - ] - }, - "accountId": { - "containers": [ - "properties" - ] - }, - "id": {}, - "identity": { - "$ref": "#/types/azure-nextgen:mixedreality/v20191202preview:IdentityResponse" - }, - "location": {}, - "name": {}, - "tags": { - "additionalProperties": { - "type": "string" - } - }, - "type": {} - }, - "defaultBody": null - }, - "azure-nextgen:mixedreality/v20200406preview:RemoteRenderingAccount": { - "apiVersion": "2020-04-06-preview", - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MixedReality/remoteRenderingAccounts/{accountName}", - "PUT": [ - { - "name": "subscriptionId", - "location": "path", - "required": true, - "value": { - "type": "string" - } - }, - { - "name": "resourceGroupName", - "location": "path", - "required": true, - "value": { - "type": "string", - "minLength": 1, - "maxLength": 90, - "pattern": "^[-\\w\\._\\(\\)]+$" - } - }, - { - "name": "accountName", - "location": "path", - "required": true, - "value": { - "type": "string", - "minLength": 1, - "maxLength": 90, - "pattern": "^[-\\w\\._\\(\\)]+$" - } - }, - { - "name": "remoteRenderingAccount", - "location": "body", - "required": true, - "value": {}, - "body": { - "properties": { - "identity": { + "plan": { "type": "object", - "$ref": "#/types/azure-nextgen:mixedreality/v20200406preview:RemoteRenderingAccountIdentity" + "$ref": "#/types/azure-nextgen:mixedreality/v20210101:Identity" }, - "location": { - "type": "string", - "forceNew": true + "sku": { + "type": "object", + "$ref": "#/types/azure-nextgen:mixedreality/v20210101:Sku" }, "tags": { "type": "object", @@ -1072425,98 +1074610,22 @@ }, "id": {}, "identity": { - "$ref": "#/types/azure-nextgen:mixedreality/v20200406preview:RemoteRenderingAccountResponseIdentity" + "$ref": "#/types/azure-nextgen:mixedreality/v20210101:IdentityResponse" + }, + "kind": { + "$ref": "#/types/azure-nextgen:mixedreality/v20210101:SkuResponse" }, "location": {}, "name": {}, - "tags": { - "additionalProperties": { - "type": "string" - } - }, - "type": {} - }, - "defaultBody": null - }, - "azure-nextgen:mixedreality/v20200501:SpatialAnchorsAccount": { - "apiVersion": "2020-05-01", - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MixedReality/spatialAnchorsAccounts/{accountName}", - "PUT": [ - { - "name": "subscriptionId", - "location": "path", - "required": true, - "value": { - "type": "string" - } - }, - { - "name": "resourceGroupName", - "location": "path", - "required": true, - "value": { - "type": "string", - "minLength": 1, - "maxLength": 90, - "pattern": "^[-\\w\\._\\(\\)]+$" - } - }, - { - "name": "accountName", - "location": "path", - "required": true, - "value": { - "type": "string", - "minLength": 1, - "maxLength": 90, - "pattern": "^[-\\w\\._\\(\\)]+$" - } - }, - { - "name": "spatialAnchorsAccount", - "location": "body", - "required": true, - "value": {}, - "body": { - "properties": { - "identity": { - "type": "object", - "$ref": "#/types/azure-nextgen:mixedreality/v20200501:Identity" - }, - "location": { - "type": "string", - "forceNew": true - }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - } - } - }, - "required": [ - "location" - ] - } - } - ], - "response": { - "accountDomain": { - "containers": [ - "properties" - ] + "plan": { + "$ref": "#/types/azure-nextgen:mixedreality/v20210101:IdentityResponse" }, - "accountId": { - "containers": [ - "properties" - ] + "sku": { + "$ref": "#/types/azure-nextgen:mixedreality/v20210101:SkuResponse" }, - "id": {}, - "identity": { - "$ref": "#/types/azure-nextgen:mixedreality/v20200501:IdentityResponse" + "systemData": { + "$ref": "#/types/azure-nextgen:mixedreality/v20210101:SystemDataResponse" }, - "location": {}, - "name": {}, "tags": { "additionalProperties": { "type": "string" @@ -1091484,6 +1093593,15 @@ "properties" ] }, + "securityPolicyLinks": { + "items": { + "type": "object", + "$ref": "#/types/azure-nextgen:network/latest:SecurityPolicyLinkResponse" + }, + "containers": [ + "properties" + ] + }, "sku": { "$ref": "#/types/azure-nextgen:network/latest:SkuResponse" }, @@ -1336617,6 +1338735,15 @@ "properties" ] }, + "securityPolicyLinks": { + "items": { + "type": "object", + "$ref": "#/types/azure-nextgen:network/v20201101:SecurityPolicyLinkResponse" + }, + "containers": [ + "properties" + ] + }, "sku": { "$ref": "#/types/azure-nextgen:network/v20201101:SkuResponse" }, @@ -1339312,9 +1341439,9 @@ }, "defaultBody": null }, - "azure-nextgen:operationalinsights/latest:AlertRule": { + "azure-nextgen:operationalinsights/latest:Action": { "apiVersion": "2020-01-01", - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRules/{ruleId}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRules/{ruleId}/actions/{actionId}", "PUT": [ { "name": "subscriptionId", @@ -1339355,7 +1341482,15 @@ } }, { - "name": "alertRule", + "name": "actionId", + "location": "path", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "action", "location": "body", "required": true, "value": {}, @@ -1339364,12 +1341499,21 @@ "etag": { "type": "string" }, - "kind": { - "type": "string" + "logicAppResourceId": { + "type": "string", + "containers": [ + "properties" + ] + }, + "triggerUri": { + "type": "string", + "containers": [ + "properties" + ] } }, "required": [ - "kind" + "logicAppResourceId" ] } } @@ -1339377,15 +1341521,24 @@ "response": { "etag": {}, "id": {}, - "kind": {}, + "logicAppResourceId": { + "containers": [ + "properties" + ] + }, "name": {}, - "type": {} + "type": {}, + "workflowId": { + "containers": [ + "properties" + ] + } }, "defaultBody": null }, - "azure-nextgen:operationalinsights/latest:AlertRuleAction": { + "azure-nextgen:operationalinsights/latest:AlertRule": { "apiVersion": "2020-01-01", - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRules/{ruleId}/actions/{actionId}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRules/{ruleId}", "PUT": [ { "name": "subscriptionId", @@ -1339426,15 +1341579,7 @@ } }, { - "name": "actionId", - "location": "path", - "required": true, - "value": { - "type": "string" - } - }, - { - "name": "action", + "name": "alertRule", "location": "body", "required": true, "value": {}, @@ -1339443,21 +1341588,12 @@ "etag": { "type": "string" }, - "logicAppResourceId": { - "type": "string", - "containers": [ - "properties" - ] - }, - "triggerUri": { - "type": "string", - "containers": [ - "properties" - ] + "kind": { + "type": "string" } }, "required": [ - "logicAppResourceId" + "kind" ] } } @@ -1339465,18 +1341601,9 @@ "response": { "etag": {}, "id": {}, - "logicAppResourceId": { - "containers": [ - "properties" - ] - }, + "kind": {}, "name": {}, - "type": {}, - "workflowId": { - "containers": [ - "properties" - ] - } + "type": {} }, "defaultBody": null }, @@ -1342272,9 +1344399,9 @@ }, "defaultBody": null }, - "azure-nextgen:operationalinsights/v20200101:AlertRule": { + "azure-nextgen:operationalinsights/v20200101:Action": { "apiVersion": "2020-01-01", - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRules/{ruleId}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRules/{ruleId}/actions/{actionId}", "PUT": [ { "name": "subscriptionId", @@ -1342315,7 +1344442,15 @@ } }, { - "name": "alertRule", + "name": "actionId", + "location": "path", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "action", "location": "body", "required": true, "value": {}, @@ -1342324,12 +1344459,21 @@ "etag": { "type": "string" }, - "kind": { - "type": "string" + "logicAppResourceId": { + "type": "string", + "containers": [ + "properties" + ] + }, + "triggerUri": { + "type": "string", + "containers": [ + "properties" + ] } }, "required": [ - "kind" + "logicAppResourceId" ] } } @@ -1342337,15 +1344481,24 @@ "response": { "etag": {}, "id": {}, - "kind": {}, + "logicAppResourceId": { + "containers": [ + "properties" + ] + }, "name": {}, - "type": {} + "type": {}, + "workflowId": { + "containers": [ + "properties" + ] + } }, "defaultBody": null }, - "azure-nextgen:operationalinsights/v20200101:AlertRuleAction": { + "azure-nextgen:operationalinsights/v20200101:AlertRule": { "apiVersion": "2020-01-01", - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRules/{ruleId}/actions/{actionId}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRules/{ruleId}", "PUT": [ { "name": "subscriptionId", @@ -1342386,15 +1344539,7 @@ } }, { - "name": "actionId", - "location": "path", - "required": true, - "value": { - "type": "string" - } - }, - { - "name": "action", + "name": "alertRule", "location": "body", "required": true, "value": {}, @@ -1342403,21 +1344548,12 @@ "etag": { "type": "string" }, - "logicAppResourceId": { - "type": "string", - "containers": [ - "properties" - ] - }, - "triggerUri": { - "type": "string", - "containers": [ - "properties" - ] + "kind": { + "type": "string" } }, "required": [ - "logicAppResourceId" + "kind" ] } } @@ -1342425,18 +1344561,9 @@ "response": { "etag": {}, "id": {}, - "logicAppResourceId": { - "containers": [ - "properties" - ] - }, + "kind": {}, "name": {}, - "type": {}, - "workflowId": { - "containers": [ - "properties" - ] - } + "type": {} }, "defaultBody": null }, @@ -1352332,6 +1354459,11 @@ } ], "response": { + "endpointUri": { + "containers": [ + "properties" + ] + }, "id": {}, "identity": { "$ref": "#/types/azure-nextgen:quantum/v20191104preview:QuantumWorkspaceResponseIdentity" @@ -1372254,9 +1374386,9 @@ }, "defaultBody": null }, - "azure-nextgen:securityinsights/v20190101preview:AlertRule": { + "azure-nextgen:securityinsights/v20190101preview:Action": { "apiVersion": "2019-01-01-preview", - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRules/{ruleId}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRules/{ruleId}/actions/{actionId}", "PUT": [ { "name": "subscriptionId", @@ -1372305,7 +1374437,15 @@ } }, { - "name": "alertRule", + "name": "actionId", + "location": "path", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "action", "location": "body", "required": true, "value": {}, @@ -1372314,28 +1374454,43 @@ "etag": { "type": "string" }, - "kind": { - "type": "string" + "logicAppResourceId": { + "type": "string", + "containers": [ + "properties" + ] + }, + "triggerUri": { + "type": "string", + "containers": [ + "properties" + ] } - }, - "required": [ - "kind" - ] + } } } ], "response": { "etag": {}, "id": {}, - "kind": {}, + "logicAppResourceId": { + "containers": [ + "properties" + ] + }, "name": {}, - "type": {} + "type": {}, + "workflowId": { + "containers": [ + "properties" + ] + } }, "defaultBody": null }, - "azure-nextgen:securityinsights/v20190101preview:AlertRuleAction": { + "azure-nextgen:securityinsights/v20190101preview:AlertRule": { "apiVersion": "2019-01-01-preview", - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRules/{ruleId}/actions/{actionId}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRules/{ruleId}", "PUT": [ { "name": "subscriptionId", @@ -1372384,15 +1374539,7 @@ } }, { - "name": "actionId", - "location": "path", - "required": true, - "value": { - "type": "string" - } - }, - { - "name": "action", + "name": "alertRule", "location": "body", "required": true, "value": {}, @@ -1372401,37 +1374548,22 @@ "etag": { "type": "string" }, - "logicAppResourceId": { - "type": "string", - "containers": [ - "properties" - ] - }, - "triggerUri": { - "type": "string", - "containers": [ - "properties" - ] + "kind": { + "type": "string" } - } + }, + "required": [ + "kind" + ] } } ], "response": { "etag": {}, "id": {}, - "logicAppResourceId": { - "containers": [ - "properties" - ] - }, + "kind": {}, "name": {}, - "type": {}, - "workflowId": { - "containers": [ - "properties" - ] - } + "type": {} }, "defaultBody": null }, @@ -1630543,11 +1632675,6 @@ "properties" ] }, - "ssoContext": { - "containers": [ - "properties" - ] - }, "ssoSecretType": { "containers": [ "properties" @@ -1661935,6 +1664062,320 @@ } } }, + "azure-nextgen:edgeorder/v20201201preview:getAddressByName": { + "apiVersion": "2020-12-01-preview", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EdgeOrder/addresses/{addressName}", + "GET": [ + { + "name": "addressName", + "location": "path", + "required": true, + "value": { + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[-\\w\\.]+$" + } + }, + { + "name": "subscriptionId", + "location": "path", + "required": true, + "value": { + "type": "string", + "minLength": 1 + } + }, + { + "name": "resourceGroupName", + "location": "path", + "required": true, + "value": { + "type": "string", + "minLength": 1, + "maxLength": 90, + "pattern": "^[-\\w\\._\\(\\)]+$" + } + } + ], + "POST": null, + "response": { + "contactDetails": { + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:ContactDetailsResponse", + "containers": [ + "properties" + ] + }, + "id": {}, + "location": {}, + "name": {}, + "shippingAddress": { + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:ShippingAddressResponse", + "containers": [ + "properties" + ] + }, + "systemData": { + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:SystemDataResponse" + }, + "tags": { + "additionalProperties": { + "type": "string" + } + }, + "type": {} + } + }, + "azure-nextgen:edgeorder/v20201201preview:getOrderByName": { + "apiVersion": "2020-12-01-preview", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EdgeOrder/orders/{orderName}", + "GET": [ + { + "name": "orderName", + "location": "path", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "subscriptionId", + "location": "path", + "required": true, + "value": { + "type": "string", + "minLength": 1 + } + }, + { + "name": "resourceGroupName", + "location": "path", + "required": true, + "value": { + "type": "string", + "minLength": 1, + "maxLength": 90, + "pattern": "^[-\\w\\._\\(\\)]+$" + } + } + ], + "POST": null, + "response": { + "addressDetails": { + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:AddressDetailsResponse", + "containers": [ + "properties" + ] + }, + "id": {}, + "location": {}, + "name": {}, + "orderCollectionId": { + "containers": [ + "properties" + ] + }, + "orderDetails": { + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:OrderDetailsResponse", + "containers": [ + "properties" + ] + }, + "startTime": { + "containers": [ + "properties" + ] + }, + "systemData": { + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:SystemDataResponse" + }, + "tags": { + "additionalProperties": { + "type": "string" + } + }, + "type": {} + } + }, + "azure-nextgen:edgeorder/v20201201preview:getOrderCollectionByName": { + "apiVersion": "2020-12-01-preview", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EdgeOrder/orderCollections/{orderCollectionName}", + "GET": [ + { + "name": "orderCollectionName", + "location": "path", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "subscriptionId", + "location": "path", + "required": true, + "value": { + "type": "string", + "minLength": 1 + } + }, + { + "name": "resourceGroupName", + "location": "path", + "required": true, + "value": { + "type": "string", + "minLength": 1, + "maxLength": 90, + "pattern": "^[-\\w\\._\\(\\)]+$" + } + } + ], + "POST": null, + "response": { + "id": {}, + "location": {}, + "name": {}, + "orderIds": { + "items": { + "type": "string" + }, + "containers": [ + "properties" + ] + }, + "systemData": { + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:SystemDataResponse" + }, + "tags": { + "additionalProperties": { + "type": "string" + } + }, + "type": {} + } + }, + "azure-nextgen:edgeorder/v20201201preview:listConfigurations": { + "apiVersion": "2020-12-01-preview", + "path": "/subscriptions/{subscriptionId}/providers/Microsoft.EdgeOrder/listConfigurations", + "GET": null, + "POST": [ + { + "name": "subscriptionId", + "location": "path", + "required": true, + "value": { + "type": "string", + "minLength": 1 + } + }, + { + "name": "$skipToken", + "location": "query", + "value": { + "type": "string", + "sdkName": "skipToken" + } + }, + { + "name": "configurationsRequest", + "location": "body", + "required": true, + "value": {}, + "body": { + "properties": { + "configurationFilters": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:ConfigurationFilters" + } + }, + "customerSubscriptionDetails": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:CustomerSubscriptionDetails" + } + }, + "required": [ + "configurationFilters" + ] + } + } + ], + "response": { + "nextLink": {}, + "value": { + "items": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:ConfigurationResponse" + } + } + } + }, + "azure-nextgen:edgeorder/v20201201preview:listProductFamilies": { + "apiVersion": "2020-12-01-preview", + "path": "/subscriptions/{subscriptionId}/providers/Microsoft.EdgeOrder/listProductFamilies", + "GET": null, + "POST": [ + { + "name": "subscriptionId", + "location": "path", + "required": true, + "value": { + "type": "string", + "minLength": 1 + } + }, + { + "name": "$expand", + "location": "query", + "value": { + "type": "string", + "sdkName": "expand" + } + }, + { + "name": "$skipToken", + "location": "query", + "value": { + "type": "string", + "sdkName": "skipToken" + } + }, + { + "name": "productFamiliesRequest", + "location": "body", + "required": true, + "value": {}, + "body": { + "properties": { + "customerSubscriptionDetails": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:CustomerSubscriptionDetails" + }, + "filterableProperties": { + "type": "object", + "additionalProperties": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:FilterableProperty" + } + } + }, + "required": [ + "filterableProperties" + ] + } + } + ], + "response": { + "nextLink": {}, + "value": { + "items": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:ProductFamilyResponse" + } + } + } + }, "azure-nextgen:engagementfabric/v20180901preview:getAccount": { "apiVersion": "2018-09-01-preview", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EngagementFabric/Accounts/{accountName}", @@ -1670588,13 +1673029,184 @@ "location": {}, "name": {}, "properties": { - "$ref": "#/types/azure-nextgen:healthbot/latest:HealthBotPropertiesResponse" + "$ref": "#/types/azure-nextgen:healthbot/latest:HealthBotPropertiesResponse" + }, + "sku": { + "$ref": "#/types/azure-nextgen:healthbot/latest:SkuResponse" + }, + "systemData": { + "$ref": "#/types/azure-nextgen:healthbot/latest:SystemDataResponse" + }, + "tags": { + "additionalProperties": { + "type": "string" + } + }, + "type": {} + } + }, + "azure-nextgen:healthbot/v20201020:getgetbot": { + "apiVersion": "2020-10-20", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthBot/healthBots/{resourceName}", + "GET": [ + { + "name": "subscriptionId", + "location": "path", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "resourceGroupName", + "location": "path", + "required": true, + "value": { + "type": "string", + "minLength": 2, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_.-]*$" + } + }, + { + "name": "resourceName", + "location": "path", + "required": true, + "value": { + "type": "string", + "minLength": 2, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_.-]*$" + } + } + ], + "POST": null, + "response": { + "id": {}, + "location": {}, + "name": {}, + "properties": { + "$ref": "#/types/azure-nextgen:healthbot/v20201020:HealthBotPropertiesResponse" + }, + "sku": { + "$ref": "#/types/azure-nextgen:healthbot/v20201020:SkuResponse" + }, + "systemData": { + "$ref": "#/types/azure-nextgen:healthbot/v20201020:SystemDataResponse" + }, + "tags": { + "additionalProperties": { + "type": "string" + } + }, + "type": {} + } + }, + "azure-nextgen:healthbot/v20201020preview:getgetbot": { + "apiVersion": "2020-10-20-preview", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthBot/healthBots/{resourceName}", + "GET": [ + { + "name": "subscriptionId", + "location": "path", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "resourceGroupName", + "location": "path", + "required": true, + "value": { + "type": "string", + "minLength": 2, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_.-]*$" + } + }, + { + "name": "resourceName", + "location": "path", + "required": true, + "value": { + "type": "string", + "minLength": 2, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_.-]*$" + } + } + ], + "POST": null, + "response": { + "id": {}, + "location": {}, + "name": {}, + "properties": { + "$ref": "#/types/azure-nextgen:healthbot/v20201020preview:HealthBotPropertiesResponse" + }, + "sku": { + "$ref": "#/types/azure-nextgen:healthbot/v20201020preview:SkuResponse" + }, + "systemData": { + "$ref": "#/types/azure-nextgen:healthbot/v20201020preview:SystemDataResponse" + }, + "tags": { + "additionalProperties": { + "type": "string" + } + }, + "type": {} + } + }, + "azure-nextgen:healthbot/v20201208:getBot": { + "apiVersion": "2020-12-08", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthBot/healthBots/{botName}", + "GET": [ + { + "name": "subscriptionId", + "location": "path", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "resourceGroupName", + "location": "path", + "required": true, + "value": { + "type": "string", + "minLength": 2, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_.-]*$" + } + }, + { + "name": "botName", + "location": "path", + "required": true, + "value": { + "type": "string", + "minLength": 2, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_.-]*$" + } + } + ], + "POST": null, + "response": { + "id": {}, + "location": {}, + "name": {}, + "properties": { + "$ref": "#/types/azure-nextgen:healthbot/v20201208:HealthBotPropertiesResponse" }, "sku": { - "$ref": "#/types/azure-nextgen:healthbot/latest:SkuResponse" + "$ref": "#/types/azure-nextgen:healthbot/v20201208:SkuResponse" }, "systemData": { - "$ref": "#/types/azure-nextgen:healthbot/latest:SystemDataResponse" + "$ref": "#/types/azure-nextgen:healthbot/v20201208:SystemDataResponse" }, "tags": { "additionalProperties": { @@ -1670604,9 +1673216,9 @@ "type": {} } }, - "azure-nextgen:healthbot/v20201020:getgetbot": { - "apiVersion": "2020-10-20", - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthBot/healthBots/{resourceName}", + "azure-nextgen:healthbot/v20201208preview:getBot": { + "apiVersion": "2020-12-08-preview", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthBot/healthBots/{botName}", "GET": [ { "name": "subscriptionId", @@ -1670628,7 +1673240,7 @@ } }, { - "name": "resourceName", + "name": "botName", "location": "path", "required": true, "value": { @@ -1670645,13 +1673257,13 @@ "location": {}, "name": {}, "properties": { - "$ref": "#/types/azure-nextgen:healthbot/v20201020:HealthBotPropertiesResponse" + "$ref": "#/types/azure-nextgen:healthbot/v20201208preview:HealthBotPropertiesResponse" }, "sku": { - "$ref": "#/types/azure-nextgen:healthbot/v20201020:SkuResponse" + "$ref": "#/types/azure-nextgen:healthbot/v20201208preview:SkuResponse" }, "systemData": { - "$ref": "#/types/azure-nextgen:healthbot/v20201020:SystemDataResponse" + "$ref": "#/types/azure-nextgen:healthbot/v20201208preview:SystemDataResponse" }, "tags": { "additionalProperties": { @@ -1670661,9 +1673273,9 @@ "type": {} } }, - "azure-nextgen:healthbot/v20201020preview:getgetbot": { - "apiVersion": "2020-10-20-preview", - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthBot/healthBots/{resourceName}", + "azure-nextgen:healthcareapis/latest:getPrivateEndpointConnection": { + "apiVersion": "2021-01-11", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/services/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}", "GET": [ { "name": "subscriptionId", @@ -1670679,9 +1673291,9 @@ "required": true, "value": { "type": "string", - "minLength": 2, - "maxLength": 64, - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_.-]*$" + "minLength": 1, + "maxLength": 90, + "pattern": "^[-\\w\\._\\(\\)]+$" } }, { @@ -1670690,94 +1673302,49 @@ "required": true, "value": { "type": "string", - "minLength": 2, - "maxLength": 64, - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_.-]*$" - } - } - ], - "POST": null, - "response": { - "id": {}, - "location": {}, - "name": {}, - "properties": { - "$ref": "#/types/azure-nextgen:healthbot/v20201020preview:HealthBotPropertiesResponse" - }, - "sku": { - "$ref": "#/types/azure-nextgen:healthbot/v20201020preview:SkuResponse" - }, - "systemData": { - "$ref": "#/types/azure-nextgen:healthbot/v20201020preview:SystemDataResponse" - }, - "tags": { - "additionalProperties": { - "type": "string" + "minLength": 3, + "maxLength": 24 } }, - "type": {} - } - }, - "azure-nextgen:healthbot/v20201208:getBot": { - "apiVersion": "2020-12-08", - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthBot/healthBots/{botName}", - "GET": [ { - "name": "subscriptionId", + "name": "privateEndpointConnectionName", "location": "path", "required": true, "value": { "type": "string" } - }, - { - "name": "resourceGroupName", - "location": "path", - "required": true, - "value": { - "type": "string", - "minLength": 2, - "maxLength": 64, - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_.-]*$" - } - }, - { - "name": "botName", - "location": "path", - "required": true, - "value": { - "type": "string", - "minLength": 2, - "maxLength": 64, - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_.-]*$" - } } ], "POST": null, "response": { "id": {}, - "location": {}, "name": {}, - "properties": { - "$ref": "#/types/azure-nextgen:healthbot/v20201208:HealthBotPropertiesResponse" + "privateEndpoint": { + "$ref": "#/types/azure-nextgen:healthcareapis/latest:PrivateEndpointResponse", + "containers": [ + "properties" + ] }, - "sku": { - "$ref": "#/types/azure-nextgen:healthbot/v20201208:SkuResponse" + "privateLinkServiceConnectionState": { + "$ref": "#/types/azure-nextgen:healthcareapis/latest:PrivateLinkServiceConnectionStateResponse", + "containers": [ + "properties" + ] }, - "systemData": { - "$ref": "#/types/azure-nextgen:healthbot/v20201208:SystemDataResponse" + "provisioningState": { + "containers": [ + "properties" + ] }, - "tags": { - "additionalProperties": { - "type": "string" - } + "systemData": { + "$ref": "#/types/azure-nextgen:healthcareapis/latest:SystemDataResponse" }, "type": {} } }, - "azure-nextgen:healthbot/v20201208preview:getBot": { - "apiVersion": "2020-12-08-preview", - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthBot/healthBots/{botName}", + "azure-nextgen:healthcareapis/latest:getService": { + "apiVersion": "2021-01-11", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/services/{resourceName}", "GET": [ { "name": "subscriptionId", @@ -1670793,36 +1673360,37 @@ "required": true, "value": { "type": "string", - "minLength": 2, - "maxLength": 64, - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_.-]*$" + "minLength": 1, + "maxLength": 90, + "pattern": "^[-\\w\\._\\(\\)]+$" } }, { - "name": "botName", + "name": "resourceName", "location": "path", "required": true, "value": { "type": "string", - "minLength": 2, - "maxLength": 64, - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_.-]*$" + "minLength": 3, + "maxLength": 24 } } ], "POST": null, "response": { + "etag": {}, "id": {}, + "identity": { + "$ref": "#/types/azure-nextgen:healthcareapis/latest:ServicesResourceResponseIdentity" + }, + "kind": {}, "location": {}, "name": {}, "properties": { - "$ref": "#/types/azure-nextgen:healthbot/v20201208preview:HealthBotPropertiesResponse" - }, - "sku": { - "$ref": "#/types/azure-nextgen:healthbot/v20201208preview:SkuResponse" + "$ref": "#/types/azure-nextgen:healthcareapis/latest:ServicesPropertiesResponse" }, "systemData": { - "$ref": "#/types/azure-nextgen:healthbot/v20201208preview:SystemDataResponse" + "$ref": "#/types/azure-nextgen:healthcareapis/latest:SystemDataResponse" }, "tags": { "additionalProperties": { @@ -1670832,9 +1673400,9 @@ "type": {} } }, - "azure-nextgen:healthcareapis/latest:getPrivateEndpointConnection": { - "apiVersion": "2020-03-30", - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/services/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}", + "azure-nextgen:healthcareapis/v20180820preview:getService": { + "apiVersion": "2018-08-20-preview", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/services/{resourceName}", "GET": [ { "name": "subscriptionId", @@ -1670864,42 +1673432,28 @@ "minLength": 3, "maxLength": 24 } - }, - { - "name": "privateEndpointConnectionName", - "location": "path", - "required": true, - "value": { - "type": "string" - } } ], "POST": null, "response": { + "etag": {}, "id": {}, + "kind": {}, + "location": {}, "name": {}, - "privateEndpoint": { - "$ref": "#/types/azure-nextgen:healthcareapis/latest:PrivateEndpointResponse", - "containers": [ - "properties" - ] - }, - "privateLinkServiceConnectionState": { - "$ref": "#/types/azure-nextgen:healthcareapis/latest:PrivateLinkServiceConnectionStateResponse", - "containers": [ - "properties" - ] + "properties": { + "$ref": "#/types/azure-nextgen:healthcareapis/v20180820preview:ServicesPropertiesResponse" }, - "provisioningState": { - "containers": [ - "properties" - ] + "tags": { + "additionalProperties": { + "type": "string" + } }, "type": {} } }, - "azure-nextgen:healthcareapis/latest:getService": { - "apiVersion": "2020-03-30", + "azure-nextgen:healthcareapis/v20190916:getService": { + "apiVersion": "2019-09-16", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/services/{resourceName}", "GET": [ { @@ -1670937,13 +1673491,13 @@ "etag": {}, "id": {}, "identity": { - "$ref": "#/types/azure-nextgen:healthcareapis/latest:ServicesResourceResponseIdentity" + "$ref": "#/types/azure-nextgen:healthcareapis/v20190916:ResourceResponseIdentity" }, "kind": {}, "location": {}, "name": {}, "properties": { - "$ref": "#/types/azure-nextgen:healthcareapis/latest:ServicesPropertiesResponse" + "$ref": "#/types/azure-nextgen:healthcareapis/v20190916:ServicesPropertiesResponse" }, "tags": { "additionalProperties": { @@ -1670953,8 +1673507,8 @@ "type": {} } }, - "azure-nextgen:healthcareapis/v20180820preview:getService": { - "apiVersion": "2018-08-20-preview", + "azure-nextgen:healthcareapis/v20200315:getService": { + "apiVersion": "2020-03-15", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/services/{resourceName}", "GET": [ { @@ -1670991,11 +1673545,14 @@ "response": { "etag": {}, "id": {}, + "identity": { + "$ref": "#/types/azure-nextgen:healthcareapis/v20200315:ResourceResponseIdentity" + }, "kind": {}, "location": {}, "name": {}, "properties": { - "$ref": "#/types/azure-nextgen:healthcareapis/v20180820preview:ServicesPropertiesResponse" + "$ref": "#/types/azure-nextgen:healthcareapis/v20200315:ServicesPropertiesResponse" }, "tags": { "additionalProperties": { @@ -1671005,9 +1673562,9 @@ "type": {} } }, - "azure-nextgen:healthcareapis/v20190916:getService": { - "apiVersion": "2019-09-16", - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/services/{resourceName}", + "azure-nextgen:healthcareapis/v20200330:getPrivateEndpointConnection": { + "apiVersion": "2020-03-30", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/services/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}", "GET": [ { "name": "subscriptionId", @@ -1671037,31 +1673594,42 @@ "minLength": 3, "maxLength": 24 } + }, + { + "name": "privateEndpointConnectionName", + "location": "path", + "required": true, + "value": { + "type": "string" + } } ], "POST": null, "response": { - "etag": {}, "id": {}, - "identity": { - "$ref": "#/types/azure-nextgen:healthcareapis/v20190916:ResourceResponseIdentity" - }, - "kind": {}, - "location": {}, "name": {}, - "properties": { - "$ref": "#/types/azure-nextgen:healthcareapis/v20190916:ServicesPropertiesResponse" + "privateEndpoint": { + "$ref": "#/types/azure-nextgen:healthcareapis/v20200330:PrivateEndpointResponse", + "containers": [ + "properties" + ] }, - "tags": { - "additionalProperties": { - "type": "string" - } + "privateLinkServiceConnectionState": { + "$ref": "#/types/azure-nextgen:healthcareapis/v20200330:PrivateLinkServiceConnectionStateResponse", + "containers": [ + "properties" + ] + }, + "provisioningState": { + "containers": [ + "properties" + ] }, "type": {} } }, - "azure-nextgen:healthcareapis/v20200315:getService": { - "apiVersion": "2020-03-15", + "azure-nextgen:healthcareapis/v20200330:getService": { + "apiVersion": "2020-03-30", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/services/{resourceName}", "GET": [ { @@ -1671099,13 +1673667,13 @@ "etag": {}, "id": {}, "identity": { - "$ref": "#/types/azure-nextgen:healthcareapis/v20200315:ResourceResponseIdentity" + "$ref": "#/types/azure-nextgen:healthcareapis/v20200330:ServicesResourceResponseIdentity" }, "kind": {}, "location": {}, "name": {}, "properties": { - "$ref": "#/types/azure-nextgen:healthcareapis/v20200315:ServicesPropertiesResponse" + "$ref": "#/types/azure-nextgen:healthcareapis/v20200330:ServicesPropertiesResponse" }, "tags": { "additionalProperties": { @@ -1671115,8 +1673683,8 @@ "type": {} } }, - "azure-nextgen:healthcareapis/v20200330:getPrivateEndpointConnection": { - "apiVersion": "2020-03-30", + "azure-nextgen:healthcareapis/v20210111:getPrivateEndpointConnection": { + "apiVersion": "2021-01-11", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/services/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}", "GET": [ { @@ -1671162,13 +1673730,13 @@ "id": {}, "name": {}, "privateEndpoint": { - "$ref": "#/types/azure-nextgen:healthcareapis/v20200330:PrivateEndpointResponse", + "$ref": "#/types/azure-nextgen:healthcareapis/v20210111:PrivateEndpointResponse", "containers": [ "properties" ] }, "privateLinkServiceConnectionState": { - "$ref": "#/types/azure-nextgen:healthcareapis/v20200330:PrivateLinkServiceConnectionStateResponse", + "$ref": "#/types/azure-nextgen:healthcareapis/v20210111:PrivateLinkServiceConnectionStateResponse", "containers": [ "properties" ] @@ -1671178,11 +1673746,14 @@ "properties" ] }, + "systemData": { + "$ref": "#/types/azure-nextgen:healthcareapis/v20210111:SystemDataResponse" + }, "type": {} } }, - "azure-nextgen:healthcareapis/v20200330:getService": { - "apiVersion": "2020-03-30", + "azure-nextgen:healthcareapis/v20210111:getService": { + "apiVersion": "2021-01-11", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/services/{resourceName}", "GET": [ { @@ -1671220,13 +1673791,16 @@ "etag": {}, "id": {}, "identity": { - "$ref": "#/types/azure-nextgen:healthcareapis/v20200330:ServicesResourceResponseIdentity" + "$ref": "#/types/azure-nextgen:healthcareapis/v20210111:ServicesResourceResponseIdentity" }, "kind": {}, "location": {}, "name": {}, "properties": { - "$ref": "#/types/azure-nextgen:healthcareapis/v20200330:ServicesPropertiesResponse" + "$ref": "#/types/azure-nextgen:healthcareapis/v20210111:ServicesPropertiesResponse" + }, + "systemData": { + "$ref": "#/types/azure-nextgen:healthcareapis/v20210111:SystemDataResponse" }, "tags": { "additionalProperties": { @@ -1716757,8 +1719331,81 @@ "type": {} } }, + "azure-nextgen:mixedreality/latest:getRemoteRenderingAccount": { + "apiVersion": "2021-01-01", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MixedReality/remoteRenderingAccounts/{accountName}", + "GET": [ + { + "name": "subscriptionId", + "location": "path", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "resourceGroupName", + "location": "path", + "required": true, + "value": { + "type": "string", + "minLength": 1, + "maxLength": 90, + "pattern": "^[-\\w\\._\\(\\)]+$" + } + }, + { + "name": "accountName", + "location": "path", + "required": true, + "value": { + "type": "string", + "minLength": 1, + "maxLength": 90, + "pattern": "^[-\\w\\._\\(\\)]+$" + } + } + ], + "POST": null, + "response": { + "accountDomain": { + "containers": [ + "properties" + ] + }, + "accountId": { + "containers": [ + "properties" + ] + }, + "id": {}, + "identity": { + "$ref": "#/types/azure-nextgen:mixedreality/latest:IdentityResponse" + }, + "kind": { + "$ref": "#/types/azure-nextgen:mixedreality/latest:SkuResponse" + }, + "location": {}, + "name": {}, + "plan": { + "$ref": "#/types/azure-nextgen:mixedreality/latest:IdentityResponse" + }, + "sku": { + "$ref": "#/types/azure-nextgen:mixedreality/latest:SkuResponse" + }, + "systemData": { + "$ref": "#/types/azure-nextgen:mixedreality/latest:SystemDataResponse" + }, + "tags": { + "additionalProperties": { + "type": "string" + } + }, + "type": {} + } + }, "azure-nextgen:mixedreality/latest:getSpatialAnchorsAccount": { - "apiVersion": "2020-05-01", + "apiVersion": "2021-01-01", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MixedReality/spatialAnchorsAccounts/{accountName}", "GET": [ { @@ -1716808,8 +1719455,20 @@ "identity": { "$ref": "#/types/azure-nextgen:mixedreality/latest:IdentityResponse" }, + "kind": { + "$ref": "#/types/azure-nextgen:mixedreality/latest:SkuResponse" + }, "location": {}, "name": {}, + "plan": { + "$ref": "#/types/azure-nextgen:mixedreality/latest:IdentityResponse" + }, + "sku": { + "$ref": "#/types/azure-nextgen:mixedreality/latest:SkuResponse" + }, + "systemData": { + "$ref": "#/types/azure-nextgen:mixedreality/latest:SystemDataResponse" + }, "tags": { "additionalProperties": { "type": "string" @@ -1716818,8 +1719477,49 @@ "type": {} } }, + "azure-nextgen:mixedreality/latest:listRemoteRenderingAccountKeys": { + "apiVersion": "2021-01-01", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MixedReality/remoteRenderingAccounts/{accountName}/listKeys", + "GET": null, + "POST": [ + { + "name": "subscriptionId", + "location": "path", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "resourceGroupName", + "location": "path", + "required": true, + "value": { + "type": "string", + "minLength": 1, + "maxLength": 90, + "pattern": "^[-\\w\\._\\(\\)]+$" + } + }, + { + "name": "accountName", + "location": "path", + "required": true, + "value": { + "type": "string", + "minLength": 1, + "maxLength": 90, + "pattern": "^[-\\w\\._\\(\\)]+$" + } + } + ], + "response": { + "primaryKey": {}, + "secondaryKey": {} + } + }, "azure-nextgen:mixedreality/latest:listSpatialAnchorsAccountKeys": { - "apiVersion": "2020-05-01", + "apiVersion": "2021-01-01", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MixedReality/spatialAnchorsAccounts/{accountName}/listKeys", "GET": null, "POST": [ @@ -1717016,34 +1719716,238 @@ } } ], - "POST": null, + "POST": null, + "response": { + "accountDomain": { + "containers": [ + "properties" + ] + }, + "accountId": { + "containers": [ + "properties" + ] + }, + "id": {}, + "identity": { + "$ref": "#/types/azure-nextgen:mixedreality/v20191202preview:IdentityResponse" + }, + "location": {}, + "name": {}, + "tags": { + "additionalProperties": { + "type": "string" + } + }, + "type": {} + } + }, + "azure-nextgen:mixedreality/v20200406preview:getRemoteRenderingAccount": { + "apiVersion": "2020-04-06-preview", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MixedReality/remoteRenderingAccounts/{accountName}", + "GET": [ + { + "name": "subscriptionId", + "location": "path", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "resourceGroupName", + "location": "path", + "required": true, + "value": { + "type": "string", + "minLength": 1, + "maxLength": 90, + "pattern": "^[-\\w\\._\\(\\)]+$" + } + }, + { + "name": "accountName", + "location": "path", + "required": true, + "value": { + "type": "string", + "minLength": 1, + "maxLength": 90, + "pattern": "^[-\\w\\._\\(\\)]+$" + } + } + ], + "POST": null, + "response": { + "accountDomain": { + "containers": [ + "properties" + ] + }, + "accountId": { + "containers": [ + "properties" + ] + }, + "id": {}, + "identity": { + "$ref": "#/types/azure-nextgen:mixedreality/v20200406preview:RemoteRenderingAccountResponseIdentity" + }, + "location": {}, + "name": {}, + "tags": { + "additionalProperties": { + "type": "string" + } + }, + "type": {} + } + }, + "azure-nextgen:mixedreality/v20200406preview:listRemoteRenderingAccountKeys": { + "apiVersion": "2020-04-06-preview", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MixedReality/remoteRenderingAccounts/{accountName}/listKeys", + "GET": null, + "POST": [ + { + "name": "subscriptionId", + "location": "path", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "resourceGroupName", + "location": "path", + "required": true, + "value": { + "type": "string", + "minLength": 1, + "maxLength": 90, + "pattern": "^[-\\w\\._\\(\\)]+$" + } + }, + { + "name": "accountName", + "location": "path", + "required": true, + "value": { + "type": "string", + "minLength": 1, + "maxLength": 90, + "pattern": "^[-\\w\\._\\(\\)]+$" + } + } + ], + "response": { + "primaryKey": {}, + "secondaryKey": {} + } + }, + "azure-nextgen:mixedreality/v20200501:getSpatialAnchorsAccount": { + "apiVersion": "2020-05-01", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MixedReality/spatialAnchorsAccounts/{accountName}", + "GET": [ + { + "name": "subscriptionId", + "location": "path", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "resourceGroupName", + "location": "path", + "required": true, + "value": { + "type": "string", + "minLength": 1, + "maxLength": 90, + "pattern": "^[-\\w\\._\\(\\)]+$" + } + }, + { + "name": "accountName", + "location": "path", + "required": true, + "value": { + "type": "string", + "minLength": 1, + "maxLength": 90, + "pattern": "^[-\\w\\._\\(\\)]+$" + } + } + ], + "POST": null, + "response": { + "accountDomain": { + "containers": [ + "properties" + ] + }, + "accountId": { + "containers": [ + "properties" + ] + }, + "id": {}, + "identity": { + "$ref": "#/types/azure-nextgen:mixedreality/v20200501:IdentityResponse" + }, + "location": {}, + "name": {}, + "tags": { + "additionalProperties": { + "type": "string" + } + }, + "type": {} + } + }, + "azure-nextgen:mixedreality/v20200501:listSpatialAnchorsAccountKeys": { + "apiVersion": "2020-05-01", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MixedReality/spatialAnchorsAccounts/{accountName}/listKeys", + "GET": null, + "POST": [ + { + "name": "subscriptionId", + "location": "path", + "required": true, + "value": { + "type": "string" + } + }, + { + "name": "resourceGroupName", + "location": "path", + "required": true, + "value": { + "type": "string", + "minLength": 1, + "maxLength": 90, + "pattern": "^[-\\w\\._\\(\\)]+$" + } + }, + { + "name": "accountName", + "location": "path", + "required": true, + "value": { + "type": "string", + "minLength": 1, + "maxLength": 90, + "pattern": "^[-\\w\\._\\(\\)]+$" + } + } + ], "response": { - "accountDomain": { - "containers": [ - "properties" - ] - }, - "accountId": { - "containers": [ - "properties" - ] - }, - "id": {}, - "identity": { - "$ref": "#/types/azure-nextgen:mixedreality/v20191202preview:IdentityResponse" - }, - "location": {}, - "name": {}, - "tags": { - "additionalProperties": { - "type": "string" - } - }, - "type": {} + "primaryKey": {}, + "secondaryKey": {} } }, - "azure-nextgen:mixedreality/v20200406preview:getRemoteRenderingAccount": { - "apiVersion": "2020-04-06-preview", + "azure-nextgen:mixedreality/v20210101:getRemoteRenderingAccount": { + "apiVersion": "2021-01-01", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MixedReality/remoteRenderingAccounts/{accountName}", "GET": [ { @@ -1717091,10 +1719995,22 @@ }, "id": {}, "identity": { - "$ref": "#/types/azure-nextgen:mixedreality/v20200406preview:RemoteRenderingAccountResponseIdentity" + "$ref": "#/types/azure-nextgen:mixedreality/v20210101:IdentityResponse" + }, + "kind": { + "$ref": "#/types/azure-nextgen:mixedreality/v20210101:SkuResponse" }, "location": {}, "name": {}, + "plan": { + "$ref": "#/types/azure-nextgen:mixedreality/v20210101:IdentityResponse" + }, + "sku": { + "$ref": "#/types/azure-nextgen:mixedreality/v20210101:SkuResponse" + }, + "systemData": { + "$ref": "#/types/azure-nextgen:mixedreality/v20210101:SystemDataResponse" + }, "tags": { "additionalProperties": { "type": "string" @@ -1717103,11 +1720019,10 @@ "type": {} } }, - "azure-nextgen:mixedreality/v20200406preview:listRemoteRenderingAccountKeys": { - "apiVersion": "2020-04-06-preview", - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MixedReality/remoteRenderingAccounts/{accountName}/listKeys", - "GET": null, - "POST": [ + "azure-nextgen:mixedreality/v20210101:getSpatialAnchorsAccount": { + "apiVersion": "2021-01-01", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MixedReality/spatialAnchorsAccounts/{accountName}", + "GET": [ { "name": "subscriptionId", "location": "path", @@ -1717139,15 +1720054,49 @@ } } ], + "POST": null, "response": { - "primaryKey": {}, - "secondaryKey": {} + "accountDomain": { + "containers": [ + "properties" + ] + }, + "accountId": { + "containers": [ + "properties" + ] + }, + "id": {}, + "identity": { + "$ref": "#/types/azure-nextgen:mixedreality/v20210101:IdentityResponse" + }, + "kind": { + "$ref": "#/types/azure-nextgen:mixedreality/v20210101:SkuResponse" + }, + "location": {}, + "name": {}, + "plan": { + "$ref": "#/types/azure-nextgen:mixedreality/v20210101:IdentityResponse" + }, + "sku": { + "$ref": "#/types/azure-nextgen:mixedreality/v20210101:SkuResponse" + }, + "systemData": { + "$ref": "#/types/azure-nextgen:mixedreality/v20210101:SystemDataResponse" + }, + "tags": { + "additionalProperties": { + "type": "string" + } + }, + "type": {} } }, - "azure-nextgen:mixedreality/v20200501:getSpatialAnchorsAccount": { - "apiVersion": "2020-05-01", - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MixedReality/spatialAnchorsAccounts/{accountName}", - "GET": [ + "azure-nextgen:mixedreality/v20210101:listRemoteRenderingAccountKeys": { + "apiVersion": "2021-01-01", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MixedReality/remoteRenderingAccounts/{accountName}/listKeys", + "GET": null, + "POST": [ { "name": "subscriptionId", "location": "path", @@ -1717179,34 +1720128,13 @@ } } ], - "POST": null, "response": { - "accountDomain": { - "containers": [ - "properties" - ] - }, - "accountId": { - "containers": [ - "properties" - ] - }, - "id": {}, - "identity": { - "$ref": "#/types/azure-nextgen:mixedreality/v20200501:IdentityResponse" - }, - "location": {}, - "name": {}, - "tags": { - "additionalProperties": { - "type": "string" - } - }, - "type": {} + "primaryKey": {}, + "secondaryKey": {} } }, - "azure-nextgen:mixedreality/v20200501:listSpatialAnchorsAccountKeys": { - "apiVersion": "2020-05-01", + "azure-nextgen:mixedreality/v20210101:listSpatialAnchorsAccountKeys": { + "apiVersion": "2021-01-01", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MixedReality/spatialAnchorsAccounts/{accountName}/listKeys", "GET": null, "POST": [ @@ -1729552,6 +1732480,15 @@ "properties" ] }, + "securityPolicyLinks": { + "items": { + "type": "object", + "$ref": "#/types/azure-nextgen:network/latest:SecurityPolicyLinkResponse" + }, + "containers": [ + "properties" + ] + }, "sku": { "$ref": "#/types/azure-nextgen:network/latest:SkuResponse" }, @@ -1884694,6 +1887631,15 @@ "properties" ] }, + "securityPolicyLinks": { + "items": { + "type": "object", + "$ref": "#/types/azure-nextgen:network/v20201101:SecurityPolicyLinkResponse" + }, + "containers": [ + "properties" + ] + }, "sku": { "$ref": "#/types/azure-nextgen:network/v20201101:SkuResponse" }, @@ -1886826,9 +1889772,9 @@ "type": {} } }, - "azure-nextgen:operationalinsights/latest:getAlertRule": { + "azure-nextgen:operationalinsights/latest:getAction": { "apiVersion": "2020-01-01", - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRules/{ruleId}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRules/{ruleId}/actions/{actionId}", "GET": [ { "name": "subscriptionId", @@ -1886867,20 +1889813,37 @@ "value": { "type": "string" } + }, + { + "name": "actionId", + "location": "path", + "required": true, + "value": { + "type": "string" + } } ], "POST": null, "response": { "etag": {}, "id": {}, - "kind": {}, + "logicAppResourceId": { + "containers": [ + "properties" + ] + }, "name": {}, - "type": {} + "type": {}, + "workflowId": { + "containers": [ + "properties" + ] + } } }, - "azure-nextgen:operationalinsights/latest:getAlertRuleAction": { + "azure-nextgen:operationalinsights/latest:getAlertRule": { "apiVersion": "2020-01-01", - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRules/{ruleId}/actions/{actionId}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRules/{ruleId}", "GET": [ { "name": "subscriptionId", @@ -1886919,32 +1889882,15 @@ "value": { "type": "string" } - }, - { - "name": "actionId", - "location": "path", - "required": true, - "value": { - "type": "string" - } } ], "POST": null, "response": { "etag": {}, "id": {}, - "logicAppResourceId": { - "containers": [ - "properties" - ] - }, + "kind": {}, "name": {}, - "type": {}, - "workflowId": { - "containers": [ - "properties" - ] - } + "type": {} } }, "azure-nextgen:operationalinsights/latest:getBookmark": { @@ -1888810,9 +1891756,9 @@ "type": {} } }, - "azure-nextgen:operationalinsights/v20200101:getAlertRule": { + "azure-nextgen:operationalinsights/v20200101:getAction": { "apiVersion": "2020-01-01", - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRules/{ruleId}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRules/{ruleId}/actions/{actionId}", "GET": [ { "name": "subscriptionId", @@ -1888851,20 +1891797,37 @@ "value": { "type": "string" } + }, + { + "name": "actionId", + "location": "path", + "required": true, + "value": { + "type": "string" + } } ], "POST": null, "response": { "etag": {}, "id": {}, - "kind": {}, + "logicAppResourceId": { + "containers": [ + "properties" + ] + }, "name": {}, - "type": {} + "type": {}, + "workflowId": { + "containers": [ + "properties" + ] + } } }, - "azure-nextgen:operationalinsights/v20200101:getAlertRuleAction": { + "azure-nextgen:operationalinsights/v20200101:getAlertRule": { "apiVersion": "2020-01-01", - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRules/{ruleId}/actions/{actionId}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRules/{ruleId}", "GET": [ { "name": "subscriptionId", @@ -1888903,32 +1891866,15 @@ "value": { "type": "string" } - }, - { - "name": "actionId", - "location": "path", - "required": true, - "value": { - "type": "string" - } } ], "POST": null, "response": { "etag": {}, "id": {}, - "logicAppResourceId": { - "containers": [ - "properties" - ] - }, + "kind": {}, "name": {}, - "type": {}, - "workflowId": { - "containers": [ - "properties" - ] - } + "type": {} } }, "azure-nextgen:operationalinsights/v20200101:getBookmark": { @@ -1896353,6 +1899299,11 @@ ], "POST": null, "response": { + "endpointUri": { + "containers": [ + "properties" + ] + }, "id": {}, "identity": { "$ref": "#/types/azure-nextgen:quantum/v20191104preview:QuantumWorkspaceResponseIdentity" @@ -1910637,9 +1913588,9 @@ "type": {} } }, - "azure-nextgen:securityinsights/v20190101preview:getAlertRule": { + "azure-nextgen:securityinsights/v20190101preview:getAction": { "apiVersion": "2019-01-01-preview", - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRules/{ruleId}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRules/{ruleId}/actions/{actionId}", "GET": [ { "name": "subscriptionId", @@ -1910686,20 +1913637,37 @@ "value": { "type": "string" } + }, + { + "name": "actionId", + "location": "path", + "required": true, + "value": { + "type": "string" + } } ], "POST": null, "response": { "etag": {}, "id": {}, - "kind": {}, + "logicAppResourceId": { + "containers": [ + "properties" + ] + }, "name": {}, - "type": {} + "type": {}, + "workflowId": { + "containers": [ + "properties" + ] + } } }, - "azure-nextgen:securityinsights/v20190101preview:getAlertRuleAction": { + "azure-nextgen:securityinsights/v20190101preview:getAlertRule": { "apiVersion": "2019-01-01-preview", - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRules/{ruleId}/actions/{actionId}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRules/{ruleId}", "GET": [ { "name": "subscriptionId", @@ -1910746,32 +1913714,15 @@ "value": { "type": "string" } - }, - { - "name": "actionId", - "location": "path", - "required": true, - "value": { - "type": "string" - } } ], "POST": null, "response": { "etag": {}, "id": {}, - "logicAppResourceId": { - "containers": [ - "properties" - ] - }, + "kind": {}, "name": {}, - "type": {}, - "workflowId": { - "containers": [ - "properties" - ] - } + "type": {} } }, "azure-nextgen:securityinsights/v20190101preview:getBookmark": { diff --git a/provider/cmd/pulumi-resource-azure-nextgen/schema.json b/provider/cmd/pulumi-resource-azure-nextgen/schema.json index 1c14a87f9e57..de92b2668cfd 100644 --- a/provider/cmd/pulumi-resource-azure-nextgen/schema.json +++ b/provider/cmd/pulumi-resource-azure-nextgen/schema.json @@ -133916,10 +133916,6 @@ "type": "string", "description": "Notification message for users during ramp down period." }, - "rampDownNotificationMinutes": { - "type": "integer", - "description": "Number of minutes to wait to stop hosts during ramp down period." - }, "rampDownStartTime": { "type": "string", "description": "Starting time for ramp down period." @@ -133935,7 +133931,15 @@ ], "description": "Specifies when to stop hosts during ramp down period." }, - "rampUpAlgorithm": { + "rampDownWaitTimeMinutes": { + "type": "integer", + "description": "Number of minutes to wait to stop hosts during ramp down period." + }, + "rampUpCapacityThresholdPct": { + "type": "integer", + "description": "Capacity threshold for ramp up period." + }, + "rampUpLoadBalancingAlgorithm": { "oneOf": [ { "type": "string" @@ -133946,11 +133950,7 @@ ], "description": "Load balancing algorithm for ramp up period." }, - "rampUpCapacityThresholdPct": { - "type": "integer", - "description": "Capacity threshold for ramp up period." - }, - "rampUpMinimumHostPct": { + "rampUpMinimumHostsPct": { "type": "integer", "description": "Minimum host percentage for ramp up period." }, @@ -134011,10 +134011,6 @@ "type": "string", "description": "Notification message for users during ramp down period." }, - "rampDownNotificationMinutes": { - "type": "integer", - "description": "Number of minutes to wait to stop hosts during ramp down period." - }, "rampDownStartTime": { "type": "string", "description": "Starting time for ramp down period." @@ -134023,15 +134019,19 @@ "type": "string", "description": "Specifies when to stop hosts during ramp down period." }, - "rampUpAlgorithm": { - "type": "string", - "description": "Load balancing algorithm for ramp up period." + "rampDownWaitTimeMinutes": { + "type": "integer", + "description": "Number of minutes to wait to stop hosts during ramp down period." }, "rampUpCapacityThresholdPct": { "type": "integer", "description": "Capacity threshold for ramp up period." }, - "rampUpMinimumHostPct": { + "rampUpLoadBalancingAlgorithm": { + "type": "string", + "description": "Load balancing algorithm for ramp up period." + }, + "rampUpMinimumHostsPct": { "type": "integer", "description": "Minimum host percentage for ramp up period." }, @@ -142086,6 +142086,1337 @@ "title" ] }, + "azure-nextgen:edgeorder/v20201201preview:AdditionalErrorInfoResponse": { + "properties": { + "info": { + "$ref": "pulumi.json#/Any" + }, + "type": { + "type": "string" + } + }, + "type": "object" + }, + "azure-nextgen:edgeorder/v20201201preview:AddressDetails": { + "description": "Address details for an order.", + "properties": { + "shippingAddress": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:AddressProperties", + "description": "Customer address and contact details. It should be address resource" + } + }, + "type": "object", + "required": [ + "shippingAddress" + ] + }, + "azure-nextgen:edgeorder/v20201201preview:AddressDetailsResponse": { + "description": "Address details for an order.", + "properties": { + "returnAddress": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:AddressPropertiesResponse", + "description": "Return shipping address" + }, + "shippingAddress": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:AddressPropertiesResponse", + "description": "Customer address and contact details. It should be address resource" + } + }, + "type": "object", + "required": [ + "returnAddress", + "shippingAddress" + ] + }, + "azure-nextgen:edgeorder/v20201201preview:AddressProperties": { + "description": "Address Properties", + "properties": { + "contactDetails": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:ContactDetails", + "description": "Contact details for the address" + }, + "shippingAddress": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:ShippingAddress", + "description": "Shipping details for the address" + } + }, + "type": "object", + "required": [ + "contactDetails" + ] + }, + "azure-nextgen:edgeorder/v20201201preview:AddressPropertiesResponse": { + "description": "Address Properties", + "properties": { + "contactDetails": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:ContactDetailsResponse", + "description": "Contact details for the address" + }, + "shippingAddress": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:ShippingAddressResponse", + "description": "Shipping details for the address" + } + }, + "type": "object", + "required": [ + "contactDetails" + ] + }, + "azure-nextgen:edgeorder/v20201201preview:AddressType": { + "description": "Type of address.", + "type": "string", + "enum": [ + { + "description": "Address type not known.", + "value": "None" + }, + { + "description": "Residential Address.", + "value": "Residential" + }, + { + "description": "Commercial Address.", + "value": "Commercial" + } + ] + }, + "azure-nextgen:edgeorder/v20201201preview:AvailabilityInformationResponse": { + "description": "Availability information of a product system.", + "properties": { + "availabilityStage": { + "type": "string", + "description": "Current availability stage of the product. Availability stage" + }, + "disabledReason": { + "type": "string", + "description": "Reason why the product is disabled." + }, + "disabledReasonMessage": { + "type": "string", + "description": "Message for why the product is disabled." + } + }, + "type": "object", + "required": [ + "availabilityStage", + "disabledReason", + "disabledReasonMessage" + ] + }, + "azure-nextgen:edgeorder/v20201201preview:BillingModelResponse": { + "description": "Model to represent the billing cycle", + "properties": { + "model": { + "type": "string", + "description": "String to represent the billing model" + } + }, + "type": "object", + "required": [ + "model" + ] + }, + "azure-nextgen:edgeorder/v20201201preview:CloudErrorResponse": { + "properties": { + "additionalInfo": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:AdditionalErrorInfoResponse" + } + }, + "code": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:CloudErrorResponse" + } + }, + "message": { + "type": "string" + }, + "target": { + "type": "string" + } + }, + "type": "object", + "required": [ + "additionalInfo", + "details" + ] + }, + "azure-nextgen:edgeorder/v20201201preview:ConfigurationFilters": { + "description": "Configuration filters", + "properties": { + "filterableProperty": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:FilterableProperty", + "description": "Filters specific to product" + }, + "hierarchyInformation": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:HierarchyInformation", + "description": "Product hierarchy information" + } + }, + "type": "object" + }, + "azure-nextgen:edgeorder/v20201201preview:ConfigurationResponse": { + "description": "Configuration object.", + "properties": { + "availabilityInformation": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:AvailabilityInformationResponse", + "description": "Availability information of the product system." + }, + "costInformation": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:CostInformationResponse", + "description": "Cost information for the product system." + }, + "description": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:DescriptionResponse", + "description": "Description related to the product system." + }, + "displayName": { + "type": "string", + "description": "Display Name for the product system." + }, + "filterableProperties": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:FilterablePropertyResponse" + }, + "description": "list of filters supported for a product" + }, + "hierarchyInformation": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:HierarchyInformationResponse", + "description": "Hierarchy information of the product system." + }, + "imageInformation": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:ImageInformationResponse" + }, + "description": "Image information for the product system." + }, + "specifications": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:SpecificationResponse" + }, + "description": "Specifications of the configuration" + } + }, + "type": "object", + "required": [ + "availabilityInformation", + "costInformation", + "description", + "displayName", + "filterableProperties", + "hierarchyInformation", + "imageInformation", + "specifications" + ] + }, + "azure-nextgen:edgeorder/v20201201preview:ContactDetails": { + "description": "Contact Details.", + "properties": { + "contactName": { + "type": "string", + "description": "Contact name of the person." + }, + "mobile": { + "type": "string", + "description": "Mobile number of the contact person." + }, + "phone": { + "type": "string", + "description": "Phone number of the contact person." + }, + "phoneExtension": { + "type": "string", + "description": "Phone extension number of the contact person." + } + }, + "type": "object", + "required": [ + "contactName", + "phone" + ] + }, + "azure-nextgen:edgeorder/v20201201preview:ContactDetailsResponse": { + "description": "Contact Details.", + "properties": { + "contactName": { + "type": "string", + "description": "Contact name of the person." + }, + "mobile": { + "type": "string", + "description": "Mobile number of the contact person." + }, + "phone": { + "type": "string", + "description": "Phone number of the contact person." + }, + "phoneExtension": { + "type": "string", + "description": "Phone extension number of the contact person." + } + }, + "type": "object", + "required": [ + "contactName", + "phone" + ] + }, + "azure-nextgen:edgeorder/v20201201preview:CostInformationResponse": { + "description": "Cost information for the product system", + "properties": { + "meterDetails": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:MeterDetailsResponse" + }, + "description": "Details on the various billing aspects for the product system." + }, + "primaryMeterType": { + "type": "string", + "description": "Primary meter i.e. basic billing type for the product system." + } + }, + "type": "object", + "required": [ + "meterDetails", + "primaryMeterType" + ] + }, + "azure-nextgen:edgeorder/v20201201preview:CustomerSubscriptionDetails": { + "properties": { + "locationPlacementId": { + "type": "string", + "description": "Location placement Id of a subscription" + }, + "quotaId": { + "type": "string", + "description": "Quota ID of a subscription" + }, + "registeredFeatures": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:CustomerSubscriptionRegisteredFeatures" + }, + "description": "List of registered feature flags for subscription" + } + }, + "type": "object", + "required": [ + "quotaId" + ] + }, + "azure-nextgen:edgeorder/v20201201preview:CustomerSubscriptionRegisteredFeatures": { + "properties": { + "name": { + "type": "string", + "description": "Name of subscription registered feature" + }, + "state": { + "type": "string", + "description": "State of subscription registered feature" + } + }, + "type": "object" + }, + "azure-nextgen:edgeorder/v20201201preview:DescriptionResponse": { + "description": "Description related properties of a product system.", + "properties": { + "attributes": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Attributes for the product system." + }, + "descriptionType": { + "type": "string", + "description": "Type of description." + }, + "keywords": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Keywords for the product system." + }, + "links": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:LinkResponse" + }, + "description": "Links for the product system." + }, + "longDescription": { + "type": "string", + "description": "Long description of the product system." + }, + "shortDescription": { + "type": "string", + "description": "Short description of the product system." + } + }, + "type": "object", + "required": [ + "attributes", + "descriptionType", + "keywords", + "links", + "longDescription", + "shortDescription" + ] + }, + "azure-nextgen:edgeorder/v20201201preview:DeviceDetailsResponse": { + "description": "Device details.", + "properties": { + "deviceHistory": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Package Shipping details" + }, + "serialNumber": { + "type": "string", + "description": "device serial number" + } + }, + "type": "object", + "required": [ + "deviceHistory", + "serialNumber" + ] + }, + "azure-nextgen:edgeorder/v20201201preview:FilterableProperty": { + "description": "Class defining the list of filter values on a filter type as part of configuration request.", + "properties": { + "supportedValues": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Values to be filtered." + }, + "type": { + "oneOf": [ + { + "type": "string" + }, + { + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:SupportedFilterTypes" + } + ], + "description": "Type of product filter." + } + }, + "type": "object", + "required": [ + "type" + ] + }, + "azure-nextgen:edgeorder/v20201201preview:FilterablePropertyResponse": { + "description": "Class defining the list of filter values on a filter type as part of configuration request.", + "properties": { + "supportedValues": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Values to be filtered." + }, + "type": { + "type": "string", + "description": "Type of product filter." + } + }, + "type": "object", + "required": [ + "type" + ] + }, + "azure-nextgen:edgeorder/v20201201preview:HierarchyInformation": { + "description": "Holds details about product hierarchy information", + "properties": { + "configurationName": { + "type": "string", + "description": "Represents configuration name that uniquely identifies configuration" + }, + "productFamilyName": { + "type": "string", + "description": "Represents product family name that uniquely identifies product family" + }, + "productLineName": { + "type": "string", + "description": "Represents product line name that uniquely identifies product line" + }, + "productName": { + "type": "string", + "description": "Represents product name that uniquely identifies product" + } + }, + "type": "object" + }, + "azure-nextgen:edgeorder/v20201201preview:HierarchyInformationResponse": { + "description": "Holds details about product hierarchy information", + "properties": { + "configurationName": { + "type": "string", + "description": "Represents configuration name that uniquely identifies configuration" + }, + "productFamilyName": { + "type": "string", + "description": "Represents product family name that uniquely identifies product family" + }, + "productLineName": { + "type": "string", + "description": "Represents product line name that uniquely identifies product line" + }, + "productName": { + "type": "string", + "description": "Represents product name that uniquely identifies product" + } + }, + "type": "object" + }, + "azure-nextgen:edgeorder/v20201201preview:ImageInformationResponse": { + "description": "Image for the product", + "properties": { + "imageType": { + "type": "string", + "description": "Type of the image" + }, + "imageUrl": { + "type": "string", + "description": "Url of the image" + } + }, + "type": "object", + "required": [ + "imageType", + "imageUrl" + ] + }, + "azure-nextgen:edgeorder/v20201201preview:LinkResponse": { + "description": "Returns link related to the product", + "properties": { + "linkType": { + "type": "string", + "description": "Type of link" + }, + "linkUrl": { + "type": "string", + "description": "Url of the link" + } + }, + "type": "object", + "required": [ + "linkType", + "linkUrl" + ] + }, + "azure-nextgen:edgeorder/v20201201preview:MeterDetailsResponse": { + "description": "Billing details for each meter.", + "properties": { + "billingModel": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:BillingModelResponse", + "description": "Billing model to represent billing cycle, i.e. Monthly, biweekly, daily, hourly etc." + }, + "meterId": { + "type": "string", + "description": "MeterId/ Billing Guid against which the product system will be charged" + }, + "meterType": { + "type": "string", + "description": "Category of the billing meter." + } + }, + "type": "object", + "required": [ + "billingModel", + "meterId", + "meterType" + ] + }, + "azure-nextgen:edgeorder/v20201201preview:NotificationPreference": { + "description": "Notification preference for a job stage.", + "properties": { + "sendNotification": { + "type": "boolean", + "description": "Notification is required or not." + }, + "stageName": { + "oneOf": [ + { + "type": "string" + }, + { + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:NotificationStageName" + } + ], + "description": "Name of the stage." + } + }, + "type": "object", + "required": [ + "sendNotification", + "stageName" + ] + }, + "azure-nextgen:edgeorder/v20201201preview:NotificationPreferenceResponse": { + "description": "Notification preference for a job stage.", + "properties": { + "sendNotification": { + "type": "boolean", + "description": "Notification is required or not." + }, + "stageName": { + "type": "string", + "description": "Name of the stage." + } + }, + "type": "object", + "required": [ + "sendNotification", + "stageName" + ] + }, + "azure-nextgen:edgeorder/v20201201preview:NotificationStageName": { + "description": "Name of the stage.", + "type": "string", + "enum": [ + { + "description": "Notification at device prepared stage.", + "value": "DevicePrepared" + }, + { + "description": "Notification at device dispatched stage.", + "value": "Dispatched" + }, + { + "description": "Notification at device delivered stage.", + "value": "Delivered" + }, + { + "description": "Notification at device picked up from user stage.", + "value": "PickedUp" + }, + { + "description": "Notification at device received at Azure datacenter stage.", + "value": "AtAzureDC" + }, + { + "description": "Notification at data copy started stage.", + "value": "DataCopy" + } + ] + }, + "azure-nextgen:edgeorder/v20201201preview:OrderDetails": { + "description": "Order details", + "properties": { + "notificationEmailList": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Package Shipping details" + }, + "orderType": { + "oneOf": [ + { + "type": "string" + }, + { + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:OrderType" + } + ], + "description": "Order type." + }, + "preferences": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:Preferences", + "description": "Customer notification Preferences" + }, + "productDetails": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:ProductDetails", + "description": "Unique identifier for configuration." + } + }, + "type": "object", + "required": [ + "orderType", + "productDetails" + ] + }, + "azure-nextgen:edgeorder/v20201201preview:OrderDetailsResponse": { + "description": "Order details", + "properties": { + "cancellationReason": { + "type": "string", + "description": "Cancellation reason." + }, + "cancellationStatus": { + "type": "string", + "description": "Describes whether the order is cancellable or not." + }, + "currentStatus": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:OrderStatusDetailsResponse", + "description": "Current Order Status" + }, + "deletionStatus": { + "type": "string", + "description": "Describes whether the order is deletable or not." + }, + "error": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:CloudErrorResponse", + "description": "Top level error for the job." + }, + "forwardShippingDetails": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:ShippingDetailsResponse", + "description": "Forward Package Shipping details" + }, + "managementRpDetails": { + "$ref": "pulumi.json#/Any", + "description": "parent RP details" + }, + "notificationEmailList": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Package Shipping details" + }, + "orderStatusHistory": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:OrderStatusDetailsResponse" + }, + "description": "Order history" + }, + "orderType": { + "type": "string", + "description": "Order type." + }, + "preferences": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:PreferencesResponse", + "description": "Customer notification Preferences" + }, + "productDetails": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:ProductDetailsResponse", + "description": "Unique identifier for configuration." + }, + "returnReason": { + "type": "string", + "description": "Return reason." + }, + "returnStatus": { + "type": "string", + "description": "Describes whether the order is returnable or not." + }, + "reverseShippingDetails": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:ShippingDetailsResponse", + "description": "Reverse Package Shipping details" + } + }, + "type": "object", + "required": [ + "cancellationReason", + "cancellationStatus", + "currentStatus", + "deletionStatus", + "error", + "forwardShippingDetails", + "managementRpDetails", + "orderStatusHistory", + "orderType", + "productDetails", + "returnReason", + "returnStatus", + "reverseShippingDetails" + ] + }, + "azure-nextgen:edgeorder/v20201201preview:OrderStatusDetailsResponse": { + "description": "Order status CurrentStatus", + "properties": { + "lastUpdatedTime": { + "type": "string", + "description": "last time order was updated" + }, + "orderStatus": { + "type": "string", + "description": "Order status" + } + }, + "type": "object", + "required": [ + "orderStatus" + ] + }, + "azure-nextgen:edgeorder/v20201201preview:OrderType": { + "description": "Order type.", + "type": "string", + "enum": [ + { + "description": "Purchase Order.", + "value": "Purchase" + }, + { + "description": "Rental Order.", + "value": "Rental" + } + ] + }, + "azure-nextgen:edgeorder/v20201201preview:Preferences": { + "description": "Preferences related to the order", + "properties": { + "notificationPreferences": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:NotificationPreference" + }, + "description": "Notification preferences." + }, + "transportPreferences": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:TransportPreferences", + "description": "Preferences related to the shipment logistics of the order." + } + }, + "type": "object" + }, + "azure-nextgen:edgeorder/v20201201preview:PreferencesResponse": { + "description": "Preferences related to the order", + "properties": { + "notificationPreferences": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:NotificationPreferenceResponse" + }, + "description": "Notification preferences." + }, + "transportPreferences": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:TransportPreferencesResponse", + "description": "Preferences related to the shipment logistics of the order." + } + }, + "type": "object" + }, + "azure-nextgen:edgeorder/v20201201preview:ProductDetails": { + "description": "Represents product details", + "properties": { + "count": { + "type": "integer", + "description": "Quantity of the product" + }, + "hierarchyInformation": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:HierarchyInformation", + "description": " Hierarchy of the product which uniquely identifies the product" + } + }, + "type": "object", + "required": [ + "hierarchyInformation" + ] + }, + "azure-nextgen:edgeorder/v20201201preview:ProductDetailsResponse": { + "description": "Represents product details", + "properties": { + "count": { + "type": "integer", + "description": "Quantity of the product" + }, + "deviceDetails": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:DeviceDetailsResponse" + }, + "description": "list of device details" + }, + "hierarchyInformation": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:HierarchyInformationResponse", + "description": " Hierarchy of the product which uniquely identifies the product" + } + }, + "type": "object", + "required": [ + "deviceDetails", + "hierarchyInformation" + ] + }, + "azure-nextgen:edgeorder/v20201201preview:ProductFamilyResponse": { + "description": "Product Family", + "properties": { + "availabilityInformation": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:AvailabilityInformationResponse", + "description": "Availability information of the product system." + }, + "costInformation": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:CostInformationResponse", + "description": "Cost information for the product system." + }, + "description": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:DescriptionResponse", + "description": "Description related to the product system." + }, + "displayName": { + "type": "string", + "description": "Display Name for the product system." + }, + "filterableProperties": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:FilterablePropertyResponse" + }, + "description": "list of filters supported for a product" + }, + "hierarchyInformation": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:HierarchyInformationResponse", + "description": "Hierarchy information of the product system." + }, + "imageInformation": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:ImageInformationResponse" + }, + "description": "Image information for the product system." + }, + "productLines": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:ProductLineResponse" + }, + "description": "List of product lines supported in the product family" + } + }, + "type": "object", + "required": [ + "availabilityInformation", + "costInformation", + "description", + "displayName", + "filterableProperties", + "hierarchyInformation", + "imageInformation", + "productLines" + ] + }, + "azure-nextgen:edgeorder/v20201201preview:ProductLineResponse": { + "description": "Product line", + "properties": { + "availabilityInformation": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:AvailabilityInformationResponse", + "description": "Availability information of the product system." + }, + "costInformation": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:CostInformationResponse", + "description": "Cost information for the product system." + }, + "description": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:DescriptionResponse", + "description": "Description related to the product system." + }, + "displayName": { + "type": "string", + "description": "Display Name for the product system." + }, + "filterableProperties": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:FilterablePropertyResponse" + }, + "description": "list of filters supported for a product" + }, + "hierarchyInformation": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:HierarchyInformationResponse", + "description": "Hierarchy information of the product system." + }, + "imageInformation": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:ImageInformationResponse" + }, + "description": "Image information for the product system." + }, + "products": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:ProductResponse" + }, + "description": "List of products in the product line" + } + }, + "type": "object", + "required": [ + "availabilityInformation", + "costInformation", + "description", + "displayName", + "filterableProperties", + "hierarchyInformation", + "imageInformation", + "products" + ] + }, + "azure-nextgen:edgeorder/v20201201preview:ProductResponse": { + "description": "List of Products", + "properties": { + "availabilityInformation": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:AvailabilityInformationResponse", + "description": "Availability information of the product system." + }, + "configurations": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:ConfigurationResponse" + }, + "description": "List of configurations for the product" + }, + "costInformation": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:CostInformationResponse", + "description": "Cost information for the product system." + }, + "description": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:DescriptionResponse", + "description": "Description related to the product system." + }, + "displayName": { + "type": "string", + "description": "Display Name for the product system." + }, + "filterableProperties": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:FilterablePropertyResponse" + }, + "description": "list of filters supported for a product" + }, + "hierarchyInformation": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:HierarchyInformationResponse", + "description": "Hierarchy information of the product system." + }, + "imageInformation": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:ImageInformationResponse" + }, + "description": "Image information for the product system." + } + }, + "type": "object", + "required": [ + "availabilityInformation", + "configurations", + "costInformation", + "description", + "displayName", + "filterableProperties", + "hierarchyInformation", + "imageInformation" + ] + }, + "azure-nextgen:edgeorder/v20201201preview:ShippingAddress": { + "description": "Shipping address where customer wishes to receive the device.", + "properties": { + "addressType": { + "oneOf": [ + { + "type": "string" + }, + { + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:AddressType" + } + ], + "description": "Type of address." + }, + "city": { + "type": "string", + "description": "Name of the City." + }, + "companyName": { + "type": "string", + "description": "Name of the company." + }, + "country": { + "type": "string", + "description": "Name of the Country." + }, + "postalCode": { + "type": "string", + "description": "Postal code." + }, + "stateOrProvince": { + "type": "string", + "description": "Name of the State or Province." + }, + "streetAddress1": { + "type": "string", + "description": "Street Address line 1." + }, + "streetAddress2": { + "type": "string", + "description": "Street Address line 2." + }, + "streetAddress3": { + "type": "string", + "description": "Street Address line 3." + }, + "zipExtendedCode": { + "type": "string", + "description": "Extended Zip Code." + } + }, + "type": "object", + "required": [ + "country", + "streetAddress1" + ] + }, + "azure-nextgen:edgeorder/v20201201preview:ShippingAddressResponse": { + "description": "Shipping address where customer wishes to receive the device.", + "properties": { + "addressType": { + "type": "string", + "description": "Type of address." + }, + "city": { + "type": "string", + "description": "Name of the City." + }, + "companyName": { + "type": "string", + "description": "Name of the company." + }, + "country": { + "type": "string", + "description": "Name of the Country." + }, + "postalCode": { + "type": "string", + "description": "Postal code." + }, + "stateOrProvince": { + "type": "string", + "description": "Name of the State or Province." + }, + "streetAddress1": { + "type": "string", + "description": "Street Address line 1." + }, + "streetAddress2": { + "type": "string", + "description": "Street Address line 2." + }, + "streetAddress3": { + "type": "string", + "description": "Street Address line 3." + }, + "zipExtendedCode": { + "type": "string", + "description": "Extended Zip Code." + } + }, + "type": "object", + "required": [ + "country", + "streetAddress1" + ] + }, + "azure-nextgen:edgeorder/v20201201preview:ShippingDetailsResponse": { + "description": "Package shipping details", + "properties": { + "carrierDisplayName": { + "type": "string", + "description": "Carrier Name for display purpose. Not to be used for any processing." + }, + "carrierName": { + "type": "string", + "description": "Name of the carrier." + }, + "trackingId": { + "type": "string", + "description": "TrackingId of the package" + }, + "trackingUrl": { + "type": "string", + "description": "TrackingUrl of the package." + } + }, + "type": "object", + "required": [ + "carrierDisplayName", + "carrierName", + "trackingId", + "trackingUrl" + ] + }, + "azure-nextgen:edgeorder/v20201201preview:SpecificationResponse": { + "description": "Specifications of the configurations", + "properties": { + "name": { + "type": "string", + "description": "Name of the specification" + }, + "value": { + "type": "string", + "description": "Value of the specification" + } + }, + "type": "object", + "required": [ + "name", + "value" + ] + }, + "azure-nextgen:edgeorder/v20201201preview:SupportedFilterTypes": { + "description": "Type of product filter.", + "type": "string", + "enum": [ + { + "description": "Ship to country", + "value": "ShipToCountries" + } + ] + }, + "azure-nextgen:edgeorder/v20201201preview:SystemDataResponse": { + "description": "Metadata pertaining to creation and last modification of the resource.", + "properties": { + "createdAt": { + "type": "string", + "description": "The timestamp of resource creation (UTC)." + }, + "createdBy": { + "type": "string", + "description": "The identity that created the resource." + }, + "createdByType": { + "type": "string", + "description": "The type of identity that created the resource." + }, + "lastModifiedAt": { + "type": "string", + "description": "The type of identity that last modified the resource." + }, + "lastModifiedBy": { + "type": "string", + "description": "The identity that last modified the resource." + }, + "lastModifiedByType": { + "type": "string", + "description": "The type of identity that last modified the resource." + } + }, + "type": "object" + }, + "azure-nextgen:edgeorder/v20201201preview:TransportPreferences": { + "description": "Preferences related to the shipment logistics of the sku", + "properties": { + "preferredShipmentType": { + "oneOf": [ + { + "type": "string" + }, + { + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:TransportShipmentTypes" + } + ], + "description": "Indicates Shipment Logistics type that the customer preferred." + } + }, + "type": "object", + "required": [ + "preferredShipmentType" + ] + }, + "azure-nextgen:edgeorder/v20201201preview:TransportPreferencesResponse": { + "description": "Preferences related to the shipment logistics of the sku", + "properties": { + "preferredShipmentType": { + "type": "string", + "description": "Indicates Shipment Logistics type that the customer preferred." + } + }, + "type": "object", + "required": [ + "preferredShipmentType" + ] + }, + "azure-nextgen:edgeorder/v20201201preview:TransportShipmentTypes": { + "description": "Indicates Shipment Logistics type that the customer preferred.", + "type": "string", + "enum": [ + { + "description": "Shipment Logistics is handled by the customer.", + "value": "CustomerManaged" + }, + { + "description": "Shipment Logistics is handled by Microsoft.", + "value": "MicrosoftManaged" + } + ] + }, "azure-nextgen:engagementfabric/v20180901preview:ChannelTypeDescriptionResponse": { "description": "EngagementFabric channel description", "properties": { @@ -146467,6 +147798,10 @@ "type": "string", "description": "The location of the endpoint." }, + "privateIPAddress": { + "type": "string", + "description": "The private ip address of the endpoint." + }, "publicPort": { "type": "integer", "description": "The public port to connect to." @@ -146485,6 +147820,10 @@ "type": "string", "description": "The location of the endpoint." }, + "privateIPAddress": { + "type": "string", + "description": "The private ip address of the endpoint." + }, "publicPort": { "type": "integer", "description": "The public port to connect to." @@ -147268,6 +148607,10 @@ "type": "integer", "description": "The port to connect to." }, + "privateIPAddress": { + "type": "string", + "description": "The private ip address of the endpoint." + }, "protocol": { "type": "string", "description": "The protocol of the endpoint." @@ -148483,6 +149826,32 @@ "objectId" ] }, + "azure-nextgen:healthcareapis/latest:ServiceAcrConfigurationInfo": { + "description": "Azure container registry configuration information", + "properties": { + "loginServers": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The list of the ACR login servers." + } + }, + "type": "object" + }, + "azure-nextgen:healthcareapis/latest:ServiceAcrConfigurationInfoResponse": { + "description": "Azure container registry configuration information", + "properties": { + "loginServers": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The list of the ACR login servers." + } + }, + "type": "object" + }, "azure-nextgen:healthcareapis/latest:ServiceAuthenticationConfigurationInfo": { "description": "Authentication configuration information", "properties": { @@ -148648,6 +150017,11 @@ }, "description": "The access policies of the service instance." }, + "acrConfiguration": { + "type": "object", + "$ref": "#/types/azure-nextgen:healthcareapis/latest:ServiceAcrConfigurationInfo", + "description": "The azure container registry settings used for convert data operation of the service instance." + }, "authenticationConfiguration": { "type": "object", "$ref": "#/types/azure-nextgen:healthcareapis/latest:ServiceAuthenticationConfigurationInfo", @@ -148701,6 +150075,11 @@ }, "description": "The access policies of the service instance." }, + "acrConfiguration": { + "type": "object", + "$ref": "#/types/azure-nextgen:healthcareapis/latest:ServiceAcrConfigurationInfoResponse", + "description": "The azure container registry settings used for convert data operation of the service instance." + }, "authenticationConfiguration": { "type": "object", "$ref": "#/types/azure-nextgen:healthcareapis/latest:ServiceAuthenticationConfigurationInfoResponse", @@ -148782,6 +150161,36 @@ "tenantId" ] }, + "azure-nextgen:healthcareapis/latest:SystemDataResponse": { + "description": "Metadata pertaining to creation and last modification of the resource.", + "properties": { + "createdAt": { + "type": "string", + "description": "The timestamp of resource creation (UTC)." + }, + "createdBy": { + "type": "string", + "description": "The identity that created the resource." + }, + "createdByType": { + "type": "string", + "description": "The type of identity that created the resource." + }, + "lastModifiedAt": { + "type": "string", + "description": "The type of identity that last modified the resource." + }, + "lastModifiedBy": { + "type": "string", + "description": "The identity that last modified the resource." + }, + "lastModifiedByType": { + "type": "string", + "description": "The type of identity that last modified the resource." + } + }, + "type": "object" + }, "azure-nextgen:hybridcompute/latest:ActionAfterReboot": { "description": "Specifies what happens after a reboot during the application of a configuration. The possible values are ContinueConfiguration and StopConfiguration", "type": "string", @@ -185935,45 +187344,112 @@ } ] }, - "azure-nextgen:mixedreality/v20200406preview:RemoteRenderingAccountIdentity": { + "azure-nextgen:mixedreality/latest:Sku": { + "description": "The resource model definition representing SKU", "properties": { - "type": { - "$ref": "#/types/azure-nextgen:mixedreality/v20200406preview:ResourceIdentityType", - "description": "The identity type." + "capacity": { + "type": "integer", + "description": "If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted." + }, + "family": { + "type": "string", + "description": "If the service has different generations of hardware, for the same SKU, then that can be captured here." + }, + "name": { + "type": "string", + "description": "The name of the SKU. Ex - P3. It is typically a letter+number code" + }, + "size": { + "type": "string", + "description": "The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. " + }, + "tier": { + "$ref": "#/types/azure-nextgen:mixedreality/latest:SkuTier", + "description": "This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT." } }, - "type": "object" + "type": "object", + "required": [ + "name" + ] }, - "azure-nextgen:mixedreality/v20200406preview:RemoteRenderingAccountResponseIdentity": { + "azure-nextgen:mixedreality/latest:SkuResponse": { + "description": "The resource model definition representing SKU", "properties": { - "principalId": { + "capacity": { + "type": "integer", + "description": "If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted." + }, + "family": { "type": "string", - "description": "The principal ID of resource identity." + "description": "If the service has different generations of hardware, for the same SKU, then that can be captured here." }, - "tenantId": { + "name": { "type": "string", - "description": "The tenant ID of resource." + "description": "The name of the SKU. Ex - P3. It is typically a letter+number code" }, - "type": { + "size": { "type": "string", - "description": "The identity type." + "description": "The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. " + }, + "tier": { + "type": "string", + "description": "This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT." } }, "type": "object", "required": [ - "principalId", - "tenantId" + "name" ] }, - "azure-nextgen:mixedreality/v20200406preview:ResourceIdentityType": { - "description": "The identity type.", + "azure-nextgen:mixedreality/latest:SkuTier": { + "description": "This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.", "type": "string", "enum": [ { - "value": "SystemAssigned" + "value": "Free" + }, + { + "value": "Basic" + }, + { + "value": "Standard" + }, + { + "value": "Premium" } ] }, + "azure-nextgen:mixedreality/latest:SystemDataResponse": { + "description": "Metadata pertaining to creation and last modification of the resource.", + "properties": { + "createdAt": { + "type": "string", + "description": "The timestamp of resource creation (UTC)." + }, + "createdBy": { + "type": "string", + "description": "The identity that created the resource." + }, + "createdByType": { + "type": "string", + "description": "The type of identity that created the resource." + }, + "lastModifiedAt": { + "type": "string", + "description": "The type of identity that last modified the resource." + }, + "lastModifiedBy": { + "type": "string", + "description": "The identity that last modified the resource." + }, + "lastModifiedByType": { + "type": "string", + "description": "The type of identity that last modified the resource." + } + }, + "type": "object" + }, "azure-nextgen:netapp/latest:ActiveDirectory": { "description": "Active Directory", "properties": { @@ -198513,6 +199989,9 @@ }, { "value": "RequestBodyPostArgNames" + }, + { + "value": "RequestBodyJsonArgNames" } ] }, @@ -203784,6 +205263,16 @@ "priority" ] }, + "azure-nextgen:network/latest:SecurityPolicyLinkResponse": { + "description": "Defines the Resource ID for a Security Policy.", + "properties": { + "id": { + "type": "string", + "description": "Resource ID." + } + }, + "type": "object" + }, "azure-nextgen:network/latest:SecurityProviderName": { "description": "The security provider name.", "type": "string", @@ -234805,6 +236294,9 @@ }, { "value": "ThreatIntelligence" + }, + { + "value": "Anomaly" } ] }, @@ -279844,7 +281336,7 @@ ] }, "azure-nextgen:cdn/latest:OriginGroup": { - "description": "Origin group comprising of origins is used for load balancing to origins when the content cannot be served from CDN.\nLatest API Version: 2020-09-01.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### OriginGroups_Create\n```csharp\nusing Pulumi;\nusing AzureNextGen = Pulumi.AzureNextGen;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var originGroup = new AzureNextGen.Cdn.Latest.OriginGroup(\"originGroup\", new AzureNextGen.Cdn.Latest.OriginGroupArgs\n {\n EndpointName = \"endpoint1\",\n HealthProbeSettings = new AzureNextGen.Cdn.Latest.Inputs.HealthProbeParametersArgs\n {\n ProbeIntervalInSeconds = 120,\n ProbePath = \"/health.aspx\",\n ProbeProtocol = \"Http\",\n ProbeRequestType = \"GET\",\n },\n OriginGroupName = \"origingroup1\",\n Origins = \n {\n new AzureNextGen.Cdn.Latest.Inputs.ResourceReferenceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/origin1\",\n },\n },\n ProfileName = \"profile1\",\n ResourceGroupName = \"RG\",\n ResponseBasedOriginErrorDetectionSettings = new AzureNextGen.Cdn.Latest.Inputs.ResponseBasedOriginErrorDetectionParametersArgs\n {\n ResponseBasedDetectedErrorTypes = \"TcpErrorsOnly\",\n ResponseBasedFailoverThresholdPercentage = 10,\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\tcdn \"github.com/pulumi/pulumi-azure-nextgen/sdk/go/azure/cdn/latest\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := cdn.NewOriginGroup(ctx, \"originGroup\", \u0026cdn.OriginGroupArgs{\n\t\t\tEndpointName: pulumi.String(\"endpoint1\"),\n\t\t\tHealthProbeSettings: \u0026cdn.HealthProbeParametersArgs{\n\t\t\t\tProbeIntervalInSeconds: pulumi.Int(120),\n\t\t\t\tProbePath: pulumi.String(\"/health.aspx\"),\n\t\t\t\tProbeProtocol: \"Http\",\n\t\t\t\tProbeRequestType: \"GET\",\n\t\t\t},\n\t\t\tOriginGroupName: pulumi.String(\"origingroup1\"),\n\t\t\tOrigins: cdn.ResourceReferenceArray{\n\t\t\t\t\u0026cdn.ResourceReferenceArgs{\n\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/origin1\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tProfileName: pulumi.String(\"profile1\"),\n\t\t\tResourceGroupName: pulumi.String(\"RG\"),\n\t\t\tResponseBasedOriginErrorDetectionSettings: \u0026cdn.ResponseBasedOriginErrorDetectionParametersArgs{\n\t\t\t\tResponseBasedDetectedErrorTypes: \"TcpErrorsOnly\",\n\t\t\t\tResponseBasedFailoverThresholdPercentage: pulumi.Int(10),\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```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_nextgen from \"@pulumi/azure-nextgen\";\n\nconst originGroup = new azure_nextgen.cdn.latest.OriginGroup(\"originGroup\", {\n endpointName: \"endpoint1\",\n healthProbeSettings: {\n probeIntervalInSeconds: 120,\n probePath: \"/health.aspx\",\n probeProtocol: \"Http\",\n probeRequestType: \"GET\",\n },\n originGroupName: \"origingroup1\",\n origins: [{\n id: \"/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/origin1\",\n }],\n profileName: \"profile1\",\n resourceGroupName: \"RG\",\n responseBasedOriginErrorDetectionSettings: {\n responseBasedDetectedErrorTypes: \"TcpErrorsOnly\",\n responseBasedFailoverThresholdPercentage: 10,\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_nextgen as azure_nextgen\n\norigin_group = azure_nextgen.cdn.latest.OriginGroup(\"originGroup\",\n endpoint_name=\"endpoint1\",\n health_probe_settings=azure_nextgen.cdn.latest.HealthProbeParametersArgs(\n probe_interval_in_seconds=120,\n probe_path=\"/health.aspx\",\n probe_protocol=\"Http\",\n probe_request_type=\"GET\",\n ),\n origin_group_name=\"origingroup1\",\n origins=[azure_nextgen.cdn.latest.ResourceReferenceArgs(\n id=\"/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/origin1\",\n )],\n profile_name=\"profile1\",\n resource_group_name=\"RG\",\n response_based_origin_error_detection_settings=azure_nextgen.cdn.latest.ResponseBasedOriginErrorDetectionParametersArgs(\n response_based_detected_error_types=\"TcpErrorsOnly\",\n response_based_failover_threshold_percentage=10,\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-nextgen:cdn/latest:OriginGroup origingroup1 /subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/originGroups/originGroup1 \n```\n", + "description": "Origin group comprising of origins is used for load balancing to origins when the content cannot be served from CDN.\nLatest API Version: 2020-09-01.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### OriginGroups_Create\n```csharp\nusing Pulumi;\nusing AzureNextGen = Pulumi.AzureNextGen;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var originGroup = new AzureNextGen.Cdn.Latest.OriginGroup(\"originGroup\", new AzureNextGen.Cdn.Latest.OriginGroupArgs\n {\n EndpointName = \"endpoint1\",\n HealthProbeSettings = new AzureNextGen.Cdn.Latest.Inputs.HealthProbeParametersArgs\n {\n ProbeIntervalInSeconds = 120,\n ProbePath = \"/health.aspx\",\n ProbeProtocol = \"Http\",\n ProbeRequestType = \"GET\",\n },\n OriginGroupName = \"origingroup1\",\n Origins = \n {\n new AzureNextGen.Cdn.Latest.Inputs.ResourceReferenceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/origin1\",\n },\n },\n ProfileName = \"profile1\",\n ResourceGroupName = \"RG\",\n ResponseBasedOriginErrorDetectionSettings = new AzureNextGen.Cdn.Latest.Inputs.ResponseBasedOriginErrorDetectionParametersArgs\n {\n ResponseBasedDetectedErrorTypes = \"TcpErrorsOnly\",\n ResponseBasedFailoverThresholdPercentage = 10,\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\tcdn \"github.com/pulumi/pulumi-azure-nextgen/sdk/go/azure/cdn/latest\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := cdn.NewOriginGroup(ctx, \"originGroup\", \u0026cdn.OriginGroupArgs{\n\t\t\tEndpointName: pulumi.String(\"endpoint1\"),\n\t\t\tHealthProbeSettings: \u0026cdn.HealthProbeParametersArgs{\n\t\t\t\tProbeIntervalInSeconds: pulumi.Int(120),\n\t\t\t\tProbePath: pulumi.String(\"/health.aspx\"),\n\t\t\t\tProbeProtocol: \"Http\",\n\t\t\t\tProbeRequestType: \"GET\",\n\t\t\t},\n\t\t\tOriginGroupName: pulumi.String(\"origingroup1\"),\n\t\t\tOrigins: cdn.ResourceReferenceArray{\n\t\t\t\t\u0026cdn.ResourceReferenceArgs{\n\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/origin1\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tProfileName: pulumi.String(\"profile1\"),\n\t\t\tResourceGroupName: pulumi.String(\"RG\"),\n\t\t\tResponseBasedOriginErrorDetectionSettings: \u0026cdn.ResponseBasedOriginErrorDetectionParametersArgs{\n\t\t\t\tResponseBasedDetectedErrorTypes: \"TcpErrorsOnly\",\n\t\t\t\tResponseBasedFailoverThresholdPercentage: pulumi.Int(10),\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```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_nextgen from \"@pulumi/azure-nextgen\";\n\nconst originGroup = new azure_nextgen.cdn.latest.OriginGroup(\"originGroup\", {\n endpointName: \"endpoint1\",\n healthProbeSettings: {\n probeIntervalInSeconds: 120,\n probePath: \"/health.aspx\",\n probeProtocol: \"Http\",\n probeRequestType: \"GET\",\n },\n originGroupName: \"origingroup1\",\n origins: [{\n id: \"/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/origin1\",\n }],\n profileName: \"profile1\",\n resourceGroupName: \"RG\",\n responseBasedOriginErrorDetectionSettings: {\n responseBasedDetectedErrorTypes: \"TcpErrorsOnly\",\n responseBasedFailoverThresholdPercentage: 10,\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_nextgen as azure_nextgen\n\norigin_group = azure_nextgen.cdn.latest.OriginGroup(\"originGroup\",\n endpoint_name=\"endpoint1\",\n health_probe_settings=azure_nextgen.cdn.latest.HealthProbeParametersArgs(\n probe_interval_in_seconds=120,\n probe_path=\"/health.aspx\",\n probe_protocol=\"Http\",\n probe_request_type=\"GET\",\n ),\n origin_group_name=\"origingroup1\",\n origins=[azure_nextgen.cdn.latest.ResourceReferenceArgs(\n id=\"/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/origin1\",\n )],\n profile_name=\"profile1\",\n resource_group_name=\"RG\",\n response_based_origin_error_detection_settings=azure_nextgen.cdn.latest.ResponseBasedOriginErrorDetectionParametersArgs(\n response_based_detected_error_types=\"TcpErrorsOnly\",\n response_based_failover_threshold_percentage=10,\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-nextgen:cdn/latest:OriginGroup originGroup1 /subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/originGroups/originGroup1 \n```\n", "properties": { "healthProbeSettings": { "type": "object", @@ -302903,7 +304395,7 @@ ] }, "azure-nextgen:desktopvirtualization/v20201110preview:HostPool": { - "description": "Represents a HostPool definition.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### HostPool_Create\n```csharp\nusing Pulumi;\nusing AzureNextGen = Pulumi.AzureNextGen;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var hostPool = new AzureNextGen.DesktopVirtualization.V20201110Preview.HostPool(\"hostPool\", new AzureNextGen.DesktopVirtualization.V20201110Preview.HostPoolArgs\n {\n Description = \"des1\",\n FriendlyName = \"friendly\",\n HostPoolName = \"hostPool1\",\n HostPoolType = \"Pooled\",\n LoadBalancerType = \"BreadthFirst\",\n Location = \"centralus\",\n MaxSessionLimit = 999999,\n PersonalDesktopAssignmentType = \"Automatic\",\n PreferredAppGroupType = \"Desktop\",\n RegistrationInfo = new AzureNextGen.DesktopVirtualization.V20201110Preview.Inputs.RegistrationInfoArgs\n {\n ExpirationTime = \"2020-10-01T14:01:54.9571247Z\",\n RegistrationTokenOperation = \"Update\",\n },\n ResourceGroupName = \"resourceGroup1\",\n SsoClientId = \"client\",\n SsoClientSecretKeyVaultPath = \"https://keyvault/secret\",\n SsoContext = \"KeyVaultPath\",\n SsoSecretType = \"SharedKey\",\n SsoadfsAuthority = \"https://adfs\",\n StartVMOnConnect = false,\n Tags = \n {\n { \"tag1\", \"value1\" },\n { \"tag2\", \"value2\" },\n },\n VmTemplate = \"{json:json}\",\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\tdesktopvirtualization \"github.com/pulumi/pulumi-azure-nextgen/sdk/go/azure/desktopvirtualization/v20201110preview\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := desktopvirtualization.NewHostPool(ctx, \"hostPool\", \u0026desktopvirtualization.HostPoolArgs{\n\t\t\tDescription: pulumi.String(\"des1\"),\n\t\t\tFriendlyName: pulumi.String(\"friendly\"),\n\t\t\tHostPoolName: pulumi.String(\"hostPool1\"),\n\t\t\tHostPoolType: pulumi.String(\"Pooled\"),\n\t\t\tLoadBalancerType: pulumi.String(\"BreadthFirst\"),\n\t\t\tLocation: pulumi.String(\"centralus\"),\n\t\t\tMaxSessionLimit: pulumi.Int(999999),\n\t\t\tPersonalDesktopAssignmentType: pulumi.String(\"Automatic\"),\n\t\t\tPreferredAppGroupType: pulumi.String(\"Desktop\"),\n\t\t\tRegistrationInfo: \u0026desktopvirtualization.RegistrationInfoArgs{\n\t\t\t\tExpirationTime: pulumi.String(\"2020-10-01T14:01:54.9571247Z\"),\n\t\t\t\tRegistrationTokenOperation: pulumi.String(\"Update\"),\n\t\t\t},\n\t\t\tResourceGroupName: pulumi.String(\"resourceGroup1\"),\n\t\t\tSsoClientId: pulumi.String(\"client\"),\n\t\t\tSsoClientSecretKeyVaultPath: pulumi.String(\"https://keyvault/secret\"),\n\t\t\tSsoContext: pulumi.String(\"KeyVaultPath\"),\n\t\t\tSsoSecretType: pulumi.String(\"SharedKey\"),\n\t\t\tSsoadfsAuthority: pulumi.String(\"https://adfs\"),\n\t\t\tStartVMOnConnect: pulumi.Bool(false),\n\t\t\tTags: pulumi.StringMap{\n\t\t\t\t\"tag1\": pulumi.String(\"value1\"),\n\t\t\t\t\"tag2\": pulumi.String(\"value2\"),\n\t\t\t},\n\t\t\tVmTemplate: pulumi.String(\"{json:json}\"),\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```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_nextgen from \"@pulumi/azure-nextgen\";\n\nconst hostPool = new azure_nextgen.desktopvirtualization.v20201110preview.HostPool(\"hostPool\", {\n description: \"des1\",\n friendlyName: \"friendly\",\n hostPoolName: \"hostPool1\",\n hostPoolType: \"Pooled\",\n loadBalancerType: \"BreadthFirst\",\n location: \"centralus\",\n maxSessionLimit: 999999,\n personalDesktopAssignmentType: \"Automatic\",\n preferredAppGroupType: \"Desktop\",\n registrationInfo: {\n expirationTime: \"2020-10-01T14:01:54.9571247Z\",\n registrationTokenOperation: \"Update\",\n },\n resourceGroupName: \"resourceGroup1\",\n ssoClientId: \"client\",\n ssoClientSecretKeyVaultPath: \"https://keyvault/secret\",\n ssoContext: \"KeyVaultPath\",\n ssoSecretType: \"SharedKey\",\n ssoadfsAuthority: \"https://adfs\",\n startVMOnConnect: false,\n tags: {\n tag1: \"value1\",\n tag2: \"value2\",\n },\n vmTemplate: \"{json:json}\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_nextgen as azure_nextgen\n\nhost_pool = azure_nextgen.desktopvirtualization.v20201110preview.HostPool(\"hostPool\",\n description=\"des1\",\n friendly_name=\"friendly\",\n host_pool_name=\"hostPool1\",\n host_pool_type=\"Pooled\",\n load_balancer_type=\"BreadthFirst\",\n location=\"centralus\",\n max_session_limit=999999,\n personal_desktop_assignment_type=\"Automatic\",\n preferred_app_group_type=\"Desktop\",\n registration_info=azure_nextgen.desktopvirtualization.v20201110preview.RegistrationInfoArgs(\n expiration_time=\"2020-10-01T14:01:54.9571247Z\",\n registration_token_operation=\"Update\",\n ),\n resource_group_name=\"resourceGroup1\",\n sso_client_id=\"client\",\n sso_client_secret_key_vault_path=\"https://keyvault/secret\",\n sso_context=\"KeyVaultPath\",\n sso_secret_type=\"SharedKey\",\n ssoadfs_authority=\"https://adfs\",\n start_vm_on_connect=False,\n tags={\n \"tag1\": \"value1\",\n \"tag2\": \"value2\",\n },\n vm_template=\"{json:json}\")\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-nextgen:desktopvirtualization/v20201110preview:HostPool hostPool1 /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1 \n```\n", + "description": "Represents a HostPool definition.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### HostPool_Create\n```csharp\nusing Pulumi;\nusing AzureNextGen = Pulumi.AzureNextGen;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var hostPool = new AzureNextGen.DesktopVirtualization.V20201110Preview.HostPool(\"hostPool\", new AzureNextGen.DesktopVirtualization.V20201110Preview.HostPoolArgs\n {\n Description = \"des1\",\n FriendlyName = \"friendly\",\n HostPoolName = \"hostPool1\",\n HostPoolType = \"Pooled\",\n LoadBalancerType = \"BreadthFirst\",\n Location = \"centralus\",\n MaxSessionLimit = 999999,\n PersonalDesktopAssignmentType = \"Automatic\",\n PreferredAppGroupType = \"Desktop\",\n RegistrationInfo = new AzureNextGen.DesktopVirtualization.V20201110Preview.Inputs.RegistrationInfoArgs\n {\n ExpirationTime = \"2020-10-01T14:01:54.9571247Z\",\n RegistrationTokenOperation = \"Update\",\n },\n ResourceGroupName = \"resourceGroup1\",\n SsoClientId = \"client\",\n SsoClientSecretKeyVaultPath = \"https://keyvault/secret\",\n SsoSecretType = \"SharedKey\",\n SsoadfsAuthority = \"https://adfs\",\n StartVMOnConnect = false,\n Tags = \n {\n { \"tag1\", \"value1\" },\n { \"tag2\", \"value2\" },\n },\n VmTemplate = \"{json:json}\",\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\tdesktopvirtualization \"github.com/pulumi/pulumi-azure-nextgen/sdk/go/azure/desktopvirtualization/v20201110preview\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := desktopvirtualization.NewHostPool(ctx, \"hostPool\", \u0026desktopvirtualization.HostPoolArgs{\n\t\t\tDescription: pulumi.String(\"des1\"),\n\t\t\tFriendlyName: pulumi.String(\"friendly\"),\n\t\t\tHostPoolName: pulumi.String(\"hostPool1\"),\n\t\t\tHostPoolType: pulumi.String(\"Pooled\"),\n\t\t\tLoadBalancerType: pulumi.String(\"BreadthFirst\"),\n\t\t\tLocation: pulumi.String(\"centralus\"),\n\t\t\tMaxSessionLimit: pulumi.Int(999999),\n\t\t\tPersonalDesktopAssignmentType: pulumi.String(\"Automatic\"),\n\t\t\tPreferredAppGroupType: pulumi.String(\"Desktop\"),\n\t\t\tRegistrationInfo: \u0026desktopvirtualization.RegistrationInfoArgs{\n\t\t\t\tExpirationTime: pulumi.String(\"2020-10-01T14:01:54.9571247Z\"),\n\t\t\t\tRegistrationTokenOperation: pulumi.String(\"Update\"),\n\t\t\t},\n\t\t\tResourceGroupName: pulumi.String(\"resourceGroup1\"),\n\t\t\tSsoClientId: pulumi.String(\"client\"),\n\t\t\tSsoClientSecretKeyVaultPath: pulumi.String(\"https://keyvault/secret\"),\n\t\t\tSsoSecretType: pulumi.String(\"SharedKey\"),\n\t\t\tSsoadfsAuthority: pulumi.String(\"https://adfs\"),\n\t\t\tStartVMOnConnect: pulumi.Bool(false),\n\t\t\tTags: pulumi.StringMap{\n\t\t\t\t\"tag1\": pulumi.String(\"value1\"),\n\t\t\t\t\"tag2\": pulumi.String(\"value2\"),\n\t\t\t},\n\t\t\tVmTemplate: pulumi.String(\"{json:json}\"),\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```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_nextgen from \"@pulumi/azure-nextgen\";\n\nconst hostPool = new azure_nextgen.desktopvirtualization.v20201110preview.HostPool(\"hostPool\", {\n description: \"des1\",\n friendlyName: \"friendly\",\n hostPoolName: \"hostPool1\",\n hostPoolType: \"Pooled\",\n loadBalancerType: \"BreadthFirst\",\n location: \"centralus\",\n maxSessionLimit: 999999,\n personalDesktopAssignmentType: \"Automatic\",\n preferredAppGroupType: \"Desktop\",\n registrationInfo: {\n expirationTime: \"2020-10-01T14:01:54.9571247Z\",\n registrationTokenOperation: \"Update\",\n },\n resourceGroupName: \"resourceGroup1\",\n ssoClientId: \"client\",\n ssoClientSecretKeyVaultPath: \"https://keyvault/secret\",\n ssoSecretType: \"SharedKey\",\n ssoadfsAuthority: \"https://adfs\",\n startVMOnConnect: false,\n tags: {\n tag1: \"value1\",\n tag2: \"value2\",\n },\n vmTemplate: \"{json:json}\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_nextgen as azure_nextgen\n\nhost_pool = azure_nextgen.desktopvirtualization.v20201110preview.HostPool(\"hostPool\",\n description=\"des1\",\n friendly_name=\"friendly\",\n host_pool_name=\"hostPool1\",\n host_pool_type=\"Pooled\",\n load_balancer_type=\"BreadthFirst\",\n location=\"centralus\",\n max_session_limit=999999,\n personal_desktop_assignment_type=\"Automatic\",\n preferred_app_group_type=\"Desktop\",\n registration_info=azure_nextgen.desktopvirtualization.v20201110preview.RegistrationInfoArgs(\n expiration_time=\"2020-10-01T14:01:54.9571247Z\",\n registration_token_operation=\"Update\",\n ),\n resource_group_name=\"resourceGroup1\",\n sso_client_id=\"client\",\n sso_client_secret_key_vault_path=\"https://keyvault/secret\",\n sso_secret_type=\"SharedKey\",\n ssoadfs_authority=\"https://adfs\",\n start_vm_on_connect=False,\n tags={\n \"tag1\": \"value1\",\n \"tag2\": \"value2\",\n },\n vm_template=\"{json:json}\")\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-nextgen:desktopvirtualization/v20201110preview:HostPool hostPool1 /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1 \n```\n", "properties": { "applicationGroupReferences": { "type": "array", @@ -302969,10 +304461,6 @@ "type": "string", "description": "Path to Azure KeyVault storing the secret used for communication to ADFS." }, - "ssoContext": { - "type": "string", - "description": "Path to keyvault containing ssoContext secret." - }, "ssoSecretType": { "type": "string", "description": "The type of single sign on Secret Type." @@ -303105,10 +304593,6 @@ "type": "string", "description": "Path to Azure KeyVault storing the secret used for communication to ADFS." }, - "ssoContext": { - "type": "string", - "description": "Path to keyvault containing ssoContext secret." - }, "ssoSecretType": { "oneOf": [ { @@ -303326,7 +304810,7 @@ ] }, "azure-nextgen:desktopvirtualization/v20201110preview:ScalingPlan": { - "description": "Represents a scaling plan definition.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### ScalingPlans_Create\n```csharp\nusing Pulumi;\nusing AzureNextGen = Pulumi.AzureNextGen;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var scalingPlan = new AzureNextGen.DesktopVirtualization.V20201110Preview.ScalingPlan(\"scalingPlan\", new AzureNextGen.DesktopVirtualization.V20201110Preview.ScalingPlanArgs\n {\n Description = \"des1\",\n ExclusionTag = \"value\",\n FriendlyName = \"friendly\",\n HostPoolReferences = \n {\n new AzureNextGen.DesktopVirtualization.V20201110Preview.Inputs.ScalingHostPoolReferenceArgs\n {\n HostPoolArmPath = \"/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1\",\n ScalingPlanEnabled = true,\n },\n },\n HostPoolType = \"Personal\",\n Location = \"centralus\",\n ResourceGroupName = \"resourceGroup1\",\n ScalingPlanName = \"scalingPlan1\",\n Schedules = \n {\n new AzureNextGen.DesktopVirtualization.V20201110Preview.Inputs.ScalingScheduleArgs\n {\n DaysOfWeek = \n {\n \"Monday\",\n \"Tuesday\",\n \"Wednesday\",\n \"Thursday\",\n \"Friday\",\n },\n Name = \"schedule1\",\n OffPeakLoadBalancingAlgorithm = \"DepthFirst\",\n OffPeakStartTime = \"2020-11-10T20:00:00.000Z\",\n PeakLoadBalancingAlgorithm = \"BreadthFirst\",\n PeakStartTime = \"2020-11-10T08:00:00.000Z\",\n RampDownCapacityThresholdPct = 50,\n RampDownForceLogoffUsers = true,\n RampDownLoadBalancingAlgorithm = \"DepthFirst\",\n RampDownMinimumHostsPct = 20,\n RampDownNotificationMessage = \"message\",\n RampDownNotificationMinutes = 30,\n RampDownStartTime = \"2020-11-10T18:00:00.000Z\",\n RampUpAlgorithm = \"DepthFirst\",\n RampUpCapacityThresholdPct = 80,\n RampUpMinimumHostPct = 20,\n RampUpStartTime = \"2020-11-10T06:00:00.000Z\",\n },\n },\n Tags = \n {\n { \"tag1\", \"value1\" },\n { \"tag2\", \"value2\" },\n },\n TimeZone = \"\",\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\tdesktopvirtualization \"github.com/pulumi/pulumi-azure-nextgen/sdk/go/azure/desktopvirtualization/v20201110preview\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := desktopvirtualization.NewScalingPlan(ctx, \"scalingPlan\", \u0026desktopvirtualization.ScalingPlanArgs{\n\t\t\tDescription: pulumi.String(\"des1\"),\n\t\t\tExclusionTag: pulumi.String(\"value\"),\n\t\t\tFriendlyName: pulumi.String(\"friendly\"),\n\t\t\tHostPoolReferences: desktopvirtualization.ScalingHostPoolReferenceArray{\n\t\t\t\t\u0026desktopvirtualization.ScalingHostPoolReferenceArgs{\n\t\t\t\t\tHostPoolArmPath: pulumi.String(\"/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1\"),\n\t\t\t\t\tScalingPlanEnabled: pulumi.Bool(true),\n\t\t\t\t},\n\t\t\t},\n\t\t\tHostPoolType: pulumi.String(\"Personal\"),\n\t\t\tLocation: pulumi.String(\"centralus\"),\n\t\t\tResourceGroupName: pulumi.String(\"resourceGroup1\"),\n\t\t\tScalingPlanName: pulumi.String(\"scalingPlan1\"),\n\t\t\tSchedules: desktopvirtualization.ScalingScheduleArray{\n\t\t\t\t\u0026desktopvirtualization.ScalingScheduleArgs{\n\t\t\t\t\tDaysOfWeek: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"Monday\"),\n\t\t\t\t\t\tpulumi.String(\"Tuesday\"),\n\t\t\t\t\t\tpulumi.String(\"Wednesday\"),\n\t\t\t\t\t\tpulumi.String(\"Thursday\"),\n\t\t\t\t\t\tpulumi.String(\"Friday\"),\n\t\t\t\t\t},\n\t\t\t\t\tName: pulumi.String(\"schedule1\"),\n\t\t\t\t\tOffPeakLoadBalancingAlgorithm: pulumi.String(\"DepthFirst\"),\n\t\t\t\t\tOffPeakStartTime: pulumi.String(\"2020-11-10T20:00:00.000Z\"),\n\t\t\t\t\tPeakLoadBalancingAlgorithm: pulumi.String(\"BreadthFirst\"),\n\t\t\t\t\tPeakStartTime: pulumi.String(\"2020-11-10T08:00:00.000Z\"),\n\t\t\t\t\tRampDownCapacityThresholdPct: pulumi.Int(50),\n\t\t\t\t\tRampDownForceLogoffUsers: pulumi.Bool(true),\n\t\t\t\t\tRampDownLoadBalancingAlgorithm: pulumi.String(\"DepthFirst\"),\n\t\t\t\t\tRampDownMinimumHostsPct: pulumi.Int(20),\n\t\t\t\t\tRampDownNotificationMessage: pulumi.String(\"message\"),\n\t\t\t\t\tRampDownNotificationMinutes: pulumi.Int(30),\n\t\t\t\t\tRampDownStartTime: pulumi.String(\"2020-11-10T18:00:00.000Z\"),\n\t\t\t\t\tRampUpAlgorithm: pulumi.String(\"DepthFirst\"),\n\t\t\t\t\tRampUpCapacityThresholdPct: pulumi.Int(80),\n\t\t\t\t\tRampUpMinimumHostPct: pulumi.Int(20),\n\t\t\t\t\tRampUpStartTime: pulumi.String(\"2020-11-10T06:00:00.000Z\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tTags: pulumi.StringMap{\n\t\t\t\t\"tag1\": pulumi.String(\"value1\"),\n\t\t\t\t\"tag2\": pulumi.String(\"value2\"),\n\t\t\t},\n\t\t\tTimeZone: pulumi.String(\"\"),\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```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_nextgen from \"@pulumi/azure-nextgen\";\n\nconst scalingPlan = new azure_nextgen.desktopvirtualization.v20201110preview.ScalingPlan(\"scalingPlan\", {\n description: \"des1\",\n exclusionTag: \"value\",\n friendlyName: \"friendly\",\n hostPoolReferences: [{\n hostPoolArmPath: \"/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1\",\n scalingPlanEnabled: true,\n }],\n hostPoolType: \"Personal\",\n location: \"centralus\",\n resourceGroupName: \"resourceGroup1\",\n scalingPlanName: \"scalingPlan1\",\n schedules: [{\n daysOfWeek: [\n \"Monday\",\n \"Tuesday\",\n \"Wednesday\",\n \"Thursday\",\n \"Friday\",\n ],\n name: \"schedule1\",\n offPeakLoadBalancingAlgorithm: \"DepthFirst\",\n offPeakStartTime: \"2020-11-10T20:00:00.000Z\",\n peakLoadBalancingAlgorithm: \"BreadthFirst\",\n peakStartTime: \"2020-11-10T08:00:00.000Z\",\n rampDownCapacityThresholdPct: 50,\n rampDownForceLogoffUsers: true,\n rampDownLoadBalancingAlgorithm: \"DepthFirst\",\n rampDownMinimumHostsPct: 20,\n rampDownNotificationMessage: \"message\",\n rampDownNotificationMinutes: 30,\n rampDownStartTime: \"2020-11-10T18:00:00.000Z\",\n rampUpAlgorithm: \"DepthFirst\",\n rampUpCapacityThresholdPct: 80,\n rampUpMinimumHostPct: 20,\n rampUpStartTime: \"2020-11-10T06:00:00.000Z\",\n }],\n tags: {\n tag1: \"value1\",\n tag2: \"value2\",\n },\n timeZone: \"\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_nextgen as azure_nextgen\n\nscaling_plan = azure_nextgen.desktopvirtualization.v20201110preview.ScalingPlan(\"scalingPlan\",\n description=\"des1\",\n exclusion_tag=\"value\",\n friendly_name=\"friendly\",\n host_pool_references=[azure_nextgen.desktopvirtualization.v20201110preview.ScalingHostPoolReferenceArgs(\n host_pool_arm_path=\"/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1\",\n scaling_plan_enabled=True,\n )],\n host_pool_type=\"Personal\",\n location=\"centralus\",\n resource_group_name=\"resourceGroup1\",\n scaling_plan_name=\"scalingPlan1\",\n schedules=[azure_nextgen.desktopvirtualization.v20201110preview.ScalingScheduleArgs(\n days_of_week=[\n \"Monday\",\n \"Tuesday\",\n \"Wednesday\",\n \"Thursday\",\n \"Friday\",\n ],\n name=\"schedule1\",\n off_peak_load_balancing_algorithm=\"DepthFirst\",\n off_peak_start_time=\"2020-11-10T20:00:00.000Z\",\n peak_load_balancing_algorithm=\"BreadthFirst\",\n peak_start_time=\"2020-11-10T08:00:00.000Z\",\n ramp_down_capacity_threshold_pct=50,\n ramp_down_force_logoff_users=True,\n ramp_down_load_balancing_algorithm=\"DepthFirst\",\n ramp_down_minimum_hosts_pct=20,\n ramp_down_notification_message=\"message\",\n ramp_down_notification_minutes=30,\n ramp_down_start_time=\"2020-11-10T18:00:00.000Z\",\n ramp_up_algorithm=\"DepthFirst\",\n ramp_up_capacity_threshold_pct=80,\n ramp_up_minimum_host_pct=20,\n ramp_up_start_time=\"2020-11-10T06:00:00.000Z\",\n )],\n tags={\n \"tag1\": \"value1\",\n \"tag2\": \"value2\",\n },\n time_zone=\"\")\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-nextgen:desktopvirtualization/v20201110preview:ScalingPlan scalingPlan1 /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/scalingPlans/scalingPlan1 \n```\n", + "description": "Represents a scaling plan definition.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### ScalingPlans_Create\n```csharp\nusing Pulumi;\nusing AzureNextGen = Pulumi.AzureNextGen;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var scalingPlan = new AzureNextGen.DesktopVirtualization.V20201110Preview.ScalingPlan(\"scalingPlan\", new AzureNextGen.DesktopVirtualization.V20201110Preview.ScalingPlanArgs\n {\n Description = \"des1\",\n ExclusionTag = \"value\",\n FriendlyName = \"friendly\",\n HostPoolReferences = \n {\n new AzureNextGen.DesktopVirtualization.V20201110Preview.Inputs.ScalingHostPoolReferenceArgs\n {\n HostPoolArmPath = \"/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1\",\n ScalingPlanEnabled = true,\n },\n },\n HostPoolType = \"Personal\",\n Location = \"centralus\",\n ResourceGroupName = \"resourceGroup1\",\n ScalingPlanName = \"scalingPlan1\",\n Schedules = \n {\n new AzureNextGen.DesktopVirtualization.V20201110Preview.Inputs.ScalingScheduleArgs\n {\n DaysOfWeek = \n {\n \"Monday\",\n \"Tuesday\",\n \"Wednesday\",\n \"Thursday\",\n \"Friday\",\n },\n Name = \"schedule1\",\n OffPeakLoadBalancingAlgorithm = \"DepthFirst\",\n OffPeakStartTime = \"2020-11-10T20:00:00.000Z\",\n PeakLoadBalancingAlgorithm = \"BreadthFirst\",\n PeakStartTime = \"2020-11-10T08:00:00.000Z\",\n RampDownCapacityThresholdPct = 50,\n RampDownForceLogoffUsers = true,\n RampDownLoadBalancingAlgorithm = \"DepthFirst\",\n RampDownMinimumHostsPct = 20,\n RampDownNotificationMessage = \"message\",\n RampDownStartTime = \"2020-11-10T18:00:00.000Z\",\n RampDownWaitTimeMinutes = 30,\n RampUpCapacityThresholdPct = 80,\n RampUpLoadBalancingAlgorithm = \"DepthFirst\",\n RampUpMinimumHostsPct = 20,\n RampUpStartTime = \"2020-11-10T06:00:00.000Z\",\n },\n },\n Tags = \n {\n { \"tag1\", \"value1\" },\n { \"tag2\", \"value2\" },\n },\n TimeZone = \"\",\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\tdesktopvirtualization \"github.com/pulumi/pulumi-azure-nextgen/sdk/go/azure/desktopvirtualization/v20201110preview\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := desktopvirtualization.NewScalingPlan(ctx, \"scalingPlan\", \u0026desktopvirtualization.ScalingPlanArgs{\n\t\t\tDescription: pulumi.String(\"des1\"),\n\t\t\tExclusionTag: pulumi.String(\"value\"),\n\t\t\tFriendlyName: pulumi.String(\"friendly\"),\n\t\t\tHostPoolReferences: desktopvirtualization.ScalingHostPoolReferenceArray{\n\t\t\t\t\u0026desktopvirtualization.ScalingHostPoolReferenceArgs{\n\t\t\t\t\tHostPoolArmPath: pulumi.String(\"/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1\"),\n\t\t\t\t\tScalingPlanEnabled: pulumi.Bool(true),\n\t\t\t\t},\n\t\t\t},\n\t\t\tHostPoolType: pulumi.String(\"Personal\"),\n\t\t\tLocation: pulumi.String(\"centralus\"),\n\t\t\tResourceGroupName: pulumi.String(\"resourceGroup1\"),\n\t\t\tScalingPlanName: pulumi.String(\"scalingPlan1\"),\n\t\t\tSchedules: desktopvirtualization.ScalingScheduleArray{\n\t\t\t\t\u0026desktopvirtualization.ScalingScheduleArgs{\n\t\t\t\t\tDaysOfWeek: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"Monday\"),\n\t\t\t\t\t\tpulumi.String(\"Tuesday\"),\n\t\t\t\t\t\tpulumi.String(\"Wednesday\"),\n\t\t\t\t\t\tpulumi.String(\"Thursday\"),\n\t\t\t\t\t\tpulumi.String(\"Friday\"),\n\t\t\t\t\t},\n\t\t\t\t\tName: pulumi.String(\"schedule1\"),\n\t\t\t\t\tOffPeakLoadBalancingAlgorithm: pulumi.String(\"DepthFirst\"),\n\t\t\t\t\tOffPeakStartTime: pulumi.String(\"2020-11-10T20:00:00.000Z\"),\n\t\t\t\t\tPeakLoadBalancingAlgorithm: pulumi.String(\"BreadthFirst\"),\n\t\t\t\t\tPeakStartTime: pulumi.String(\"2020-11-10T08:00:00.000Z\"),\n\t\t\t\t\tRampDownCapacityThresholdPct: pulumi.Int(50),\n\t\t\t\t\tRampDownForceLogoffUsers: pulumi.Bool(true),\n\t\t\t\t\tRampDownLoadBalancingAlgorithm: pulumi.String(\"DepthFirst\"),\n\t\t\t\t\tRampDownMinimumHostsPct: pulumi.Int(20),\n\t\t\t\t\tRampDownNotificationMessage: pulumi.String(\"message\"),\n\t\t\t\t\tRampDownStartTime: pulumi.String(\"2020-11-10T18:00:00.000Z\"),\n\t\t\t\t\tRampDownWaitTimeMinutes: pulumi.Int(30),\n\t\t\t\t\tRampUpCapacityThresholdPct: pulumi.Int(80),\n\t\t\t\t\tRampUpLoadBalancingAlgorithm: pulumi.String(\"DepthFirst\"),\n\t\t\t\t\tRampUpMinimumHostsPct: pulumi.Int(20),\n\t\t\t\t\tRampUpStartTime: pulumi.String(\"2020-11-10T06:00:00.000Z\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tTags: pulumi.StringMap{\n\t\t\t\t\"tag1\": pulumi.String(\"value1\"),\n\t\t\t\t\"tag2\": pulumi.String(\"value2\"),\n\t\t\t},\n\t\t\tTimeZone: pulumi.String(\"\"),\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```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_nextgen from \"@pulumi/azure-nextgen\";\n\nconst scalingPlan = new azure_nextgen.desktopvirtualization.v20201110preview.ScalingPlan(\"scalingPlan\", {\n description: \"des1\",\n exclusionTag: \"value\",\n friendlyName: \"friendly\",\n hostPoolReferences: [{\n hostPoolArmPath: \"/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1\",\n scalingPlanEnabled: true,\n }],\n hostPoolType: \"Personal\",\n location: \"centralus\",\n resourceGroupName: \"resourceGroup1\",\n scalingPlanName: \"scalingPlan1\",\n schedules: [{\n daysOfWeek: [\n \"Monday\",\n \"Tuesday\",\n \"Wednesday\",\n \"Thursday\",\n \"Friday\",\n ],\n name: \"schedule1\",\n offPeakLoadBalancingAlgorithm: \"DepthFirst\",\n offPeakStartTime: \"2020-11-10T20:00:00.000Z\",\n peakLoadBalancingAlgorithm: \"BreadthFirst\",\n peakStartTime: \"2020-11-10T08:00:00.000Z\",\n rampDownCapacityThresholdPct: 50,\n rampDownForceLogoffUsers: true,\n rampDownLoadBalancingAlgorithm: \"DepthFirst\",\n rampDownMinimumHostsPct: 20,\n rampDownNotificationMessage: \"message\",\n rampDownStartTime: \"2020-11-10T18:00:00.000Z\",\n rampDownWaitTimeMinutes: 30,\n rampUpCapacityThresholdPct: 80,\n rampUpLoadBalancingAlgorithm: \"DepthFirst\",\n rampUpMinimumHostsPct: 20,\n rampUpStartTime: \"2020-11-10T06:00:00.000Z\",\n }],\n tags: {\n tag1: \"value1\",\n tag2: \"value2\",\n },\n timeZone: \"\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_nextgen as azure_nextgen\n\nscaling_plan = azure_nextgen.desktopvirtualization.v20201110preview.ScalingPlan(\"scalingPlan\",\n description=\"des1\",\n exclusion_tag=\"value\",\n friendly_name=\"friendly\",\n host_pool_references=[azure_nextgen.desktopvirtualization.v20201110preview.ScalingHostPoolReferenceArgs(\n host_pool_arm_path=\"/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1\",\n scaling_plan_enabled=True,\n )],\n host_pool_type=\"Personal\",\n location=\"centralus\",\n resource_group_name=\"resourceGroup1\",\n scaling_plan_name=\"scalingPlan1\",\n schedules=[azure_nextgen.desktopvirtualization.v20201110preview.ScalingScheduleArgs(\n days_of_week=[\n \"Monday\",\n \"Tuesday\",\n \"Wednesday\",\n \"Thursday\",\n \"Friday\",\n ],\n name=\"schedule1\",\n off_peak_load_balancing_algorithm=\"DepthFirst\",\n off_peak_start_time=\"2020-11-10T20:00:00.000Z\",\n peak_load_balancing_algorithm=\"BreadthFirst\",\n peak_start_time=\"2020-11-10T08:00:00.000Z\",\n ramp_down_capacity_threshold_pct=50,\n ramp_down_force_logoff_users=True,\n ramp_down_load_balancing_algorithm=\"DepthFirst\",\n ramp_down_minimum_hosts_pct=20,\n ramp_down_notification_message=\"message\",\n ramp_down_start_time=\"2020-11-10T18:00:00.000Z\",\n ramp_down_wait_time_minutes=30,\n ramp_up_capacity_threshold_pct=80,\n ramp_up_load_balancing_algorithm=\"DepthFirst\",\n ramp_up_minimum_hosts_pct=20,\n ramp_up_start_time=\"2020-11-10T06:00:00.000Z\",\n )],\n tags={\n \"tag1\": \"value1\",\n \"tag2\": \"value2\",\n },\n time_zone=\"\")\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-nextgen:desktopvirtualization/v20201110preview:ScalingPlan scalingPlan1 /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/scalingPlans/scalingPlan1 \n```\n", "properties": { "description": { "type": "string", @@ -310545,6 +312029,264 @@ } ] }, + "azure-nextgen:edgeorder/v20201201preview:AddressByName": { + "description": "Address Resource.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### CreateAddress\n```csharp\nusing Pulumi;\nusing AzureNextGen = Pulumi.AzureNextGen;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var addressByName = new AzureNextGen.EdgeOrder.V20201201Preview.AddressByName(\"addressByName\", new AzureNextGen.EdgeOrder.V20201201Preview.AddressByNameArgs\n {\n AddressName = \"TestMSAddressName\",\n ContactDetails = new AzureNextGen.EdgeOrder.V20201201Preview.Inputs.ContactDetailsArgs\n {\n ContactName = \"Petr Cech\",\n Phone = \"123344334\",\n PhoneExtension = \"\",\n },\n Location = \"westus\",\n ResourceGroupName = \"TestRG\",\n ShippingAddress = new AzureNextGen.EdgeOrder.V20201201Preview.Inputs.ShippingAddressArgs\n {\n AddressType = \"None\",\n City = \"San Francisco\",\n CompanyName = \"Microsoft\",\n Country = \"US\",\n PostalCode = \"94107\",\n StateOrProvince = \"CA\",\n StreetAddress1 = \"16 TOWNSEND ST\",\n StreetAddress2 = \"UNIT 1\",\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\tedgeorder \"github.com/pulumi/pulumi-azure-nextgen/sdk/go/azure/edgeorder/v20201201preview\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := edgeorder.NewAddressByName(ctx, \"addressByName\", \u0026edgeorder.AddressByNameArgs{\n\t\t\tAddressName: pulumi.String(\"TestMSAddressName\"),\n\t\t\tContactDetails: \u0026edgeorder.ContactDetailsArgs{\n\t\t\t\tContactName: pulumi.String(\"Petr Cech\"),\n\t\t\t\tPhone: pulumi.String(\"123344334\"),\n\t\t\t\tPhoneExtension: pulumi.String(\"\"),\n\t\t\t},\n\t\t\tLocation: pulumi.String(\"westus\"),\n\t\t\tResourceGroupName: pulumi.String(\"TestRG\"),\n\t\t\tShippingAddress: \u0026edgeorder.ShippingAddressArgs{\n\t\t\t\tAddressType: pulumi.String(\"None\"),\n\t\t\t\tCity: pulumi.String(\"San Francisco\"),\n\t\t\t\tCompanyName: pulumi.String(\"Microsoft\"),\n\t\t\t\tCountry: pulumi.String(\"US\"),\n\t\t\t\tPostalCode: pulumi.String(\"94107\"),\n\t\t\t\tStateOrProvince: pulumi.String(\"CA\"),\n\t\t\t\tStreetAddress1: pulumi.String(\"16 TOWNSEND ST\"),\n\t\t\t\tStreetAddress2: pulumi.String(\"UNIT 1\"),\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```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_nextgen from \"@pulumi/azure-nextgen\";\n\nconst addressByName = new azure_nextgen.edgeorder.v20201201preview.AddressByName(\"addressByName\", {\n addressName: \"TestMSAddressName\",\n contactDetails: {\n contactName: \"Petr Cech\",\n phone: \"123344334\",\n phoneExtension: \"\",\n },\n location: \"westus\",\n resourceGroupName: \"TestRG\",\n shippingAddress: {\n addressType: \"None\",\n city: \"San Francisco\",\n companyName: \"Microsoft\",\n country: \"US\",\n postalCode: \"94107\",\n stateOrProvince: \"CA\",\n streetAddress1: \"16 TOWNSEND ST\",\n streetAddress2: \"UNIT 1\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_nextgen as azure_nextgen\n\naddress_by_name = azure_nextgen.edgeorder.v20201201preview.AddressByName(\"addressByName\",\n address_name=\"TestMSAddressName\",\n contact_details=azure_nextgen.edgeorder.v20201201preview.ContactDetailsArgs(\n contact_name=\"Petr Cech\",\n phone=\"123344334\",\n phone_extension=\"\",\n ),\n location=\"westus\",\n resource_group_name=\"TestRG\",\n shipping_address=azure_nextgen.edgeorder.v20201201preview.ShippingAddressArgs(\n address_type=\"None\",\n city=\"San Francisco\",\n company_name=\"Microsoft\",\n country=\"US\",\n postal_code=\"94107\",\n state_or_province=\"CA\",\n street_address1=\"16 TOWNSEND ST\",\n street_address2=\"UNIT 1\",\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-nextgen:edgeorder/v20201201preview:AddressByName TestMSAddressName /subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/addresses/TestMSAddressName \n```\n", + "properties": { + "contactDetails": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:ContactDetailsResponse", + "description": "Contact details for the address" + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives" + }, + "name": { + "type": "string", + "description": "The name of the resource" + }, + "shippingAddress": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:ShippingAddressResponse", + "description": "Shipping details for the address" + }, + "systemData": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:SystemDataResponse", + "description": "Represents resource creation and update time" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags." + }, + "type": { + "type": "string", + "description": "The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\"" + } + }, + "type": "object", + "required": [ + "contactDetails", + "location", + "name", + "systemData", + "type" + ], + "inputProperties": { + "addressName": { + "type": "string", + "description": "The name of the address Resource within the specified resource group. address names must be between 3 and 24 characters in length and use any alphanumeric and underscore only" + }, + "contactDetails": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:ContactDetails", + "description": "Contact details for the address" + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives" + }, + "resourceGroupName": { + "type": "string", + "description": "The name of the resource group. The name is case insensitive." + }, + "shippingAddress": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:ShippingAddress", + "description": "Shipping details for the address" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags." + } + }, + "requiredInputs": [ + "addressName", + "contactDetails", + "location", + "resourceGroupName" + ] + }, + "azure-nextgen:edgeorder/v20201201preview:OrderByName": { + "description": "Represents order contract\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### CreateOrder\n```csharp\nusing Pulumi;\nusing AzureNextGen = Pulumi.AzureNextGen;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var orderByName = new AzureNextGen.EdgeOrder.V20201201Preview.OrderByName(\"orderByName\", new AzureNextGen.EdgeOrder.V20201201Preview.OrderByNameArgs\n {\n AddressDetails = new AzureNextGen.EdgeOrder.V20201201Preview.Inputs.AddressDetailsArgs\n {\n ShippingAddress = new AzureNextGen.EdgeOrder.V20201201Preview.Inputs.AddressPropertiesArgs\n {\n ContactDetails = new AzureNextGen.EdgeOrder.V20201201Preview.Inputs.ContactDetailsArgs\n {\n ContactName = \"first\",\n Phone = \"11111\",\n },\n },\n },\n Location = \"westus\",\n OrderDetails = new AzureNextGen.EdgeOrder.V20201201Preview.Inputs.OrderDetailsArgs\n {\n OrderType = \"Purchase\",\n Preferences = new AzureNextGen.EdgeOrder.V20201201Preview.Inputs.PreferencesArgs\n {\n TransportPreferences = new AzureNextGen.EdgeOrder.V20201201Preview.Inputs.TransportPreferencesArgs\n {\n PreferredShipmentType = \"MicrosoftManaged\",\n },\n },\n ProductDetails = new AzureNextGen.EdgeOrder.V20201201Preview.Inputs.ProductDetailsArgs\n {\n HierarchyInformation = new AzureNextGen.EdgeOrder.V20201201Preview.Inputs.HierarchyInformationArgs\n {\n ConfigurationName = \"1gpu\",\n ProductFamilyName = \"azurestackedge\",\n ProductLineName = \"azurestackedge\",\n ProductName = \"azurestackedgeprogpu\",\n },\n },\n },\n OrderName = \"TestOrderName1\",\n ResourceGroupName = \"TestRG\",\n Tags = \n {\n { \"carrot\", \"vegetable\" },\n { \"mango\", \"fruit\" },\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\tedgeorder \"github.com/pulumi/pulumi-azure-nextgen/sdk/go/azure/edgeorder/v20201201preview\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := edgeorder.NewOrderByName(ctx, \"orderByName\", \u0026edgeorder.OrderByNameArgs{\n\t\t\tAddressDetails: \u0026edgeorder.AddressDetailsArgs{\n\t\t\t\tShippingAddress: \u0026edgeorder.AddressPropertiesArgs{\n\t\t\t\t\tContactDetails: \u0026edgeorder.ContactDetailsArgs{\n\t\t\t\t\t\tContactName: pulumi.String(\"first\"),\n\t\t\t\t\t\tPhone: pulumi.String(\"11111\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tLocation: pulumi.String(\"westus\"),\n\t\t\tOrderDetails: \u0026edgeorder.OrderDetailsArgs{\n\t\t\t\tOrderType: pulumi.String(\"Purchase\"),\n\t\t\t\tPreferences: \u0026edgeorder.PreferencesArgs{\n\t\t\t\t\tTransportPreferences: \u0026edgeorder.TransportPreferencesArgs{\n\t\t\t\t\t\tPreferredShipmentType: pulumi.String(\"MicrosoftManaged\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tProductDetails: \u0026edgeorder.ProductDetailsArgs{\n\t\t\t\t\tHierarchyInformation: \u0026edgeorder.HierarchyInformationArgs{\n\t\t\t\t\t\tConfigurationName: pulumi.String(\"1gpu\"),\n\t\t\t\t\t\tProductFamilyName: pulumi.String(\"azurestackedge\"),\n\t\t\t\t\t\tProductLineName: pulumi.String(\"azurestackedge\"),\n\t\t\t\t\t\tProductName: pulumi.String(\"azurestackedgeprogpu\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tOrderName: pulumi.String(\"TestOrderName1\"),\n\t\t\tResourceGroupName: pulumi.String(\"TestRG\"),\n\t\t\tTags: pulumi.StringMap{\n\t\t\t\t\"carrot\": pulumi.String(\"vegetable\"),\n\t\t\t\t\"mango\": pulumi.String(\"fruit\"),\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```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_nextgen from \"@pulumi/azure-nextgen\";\n\nconst orderByName = new azure_nextgen.edgeorder.v20201201preview.OrderByName(\"orderByName\", {\n addressDetails: {\n shippingAddress: {\n contactDetails: {\n contactName: \"first\",\n phone: \"11111\",\n },\n },\n },\n location: \"westus\",\n orderDetails: {\n orderType: \"Purchase\",\n preferences: {\n transportPreferences: {\n preferredShipmentType: \"MicrosoftManaged\",\n },\n },\n productDetails: {\n hierarchyInformation: {\n configurationName: \"1gpu\",\n productFamilyName: \"azurestackedge\",\n productLineName: \"azurestackedge\",\n productName: \"azurestackedgeprogpu\",\n },\n },\n },\n orderName: \"TestOrderName1\",\n resourceGroupName: \"TestRG\",\n tags: {\n carrot: \"vegetable\",\n mango: \"fruit\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_nextgen as azure_nextgen\n\norder_by_name = azure_nextgen.edgeorder.v20201201preview.OrderByName(\"orderByName\",\n address_details=azure_nextgen.edgeorder.v20201201preview.AddressDetailsArgs(\n shipping_address=azure_nextgen.edgeorder.v20201201preview.AddressPropertiesArgs(\n contact_details=azure_nextgen.edgeorder.v20201201preview.ContactDetailsArgs(\n contact_name=\"first\",\n phone=\"11111\",\n ),\n ),\n ),\n location=\"westus\",\n order_details=azure_nextgen.edgeorder.v20201201preview.OrderDetailsArgs(\n order_type=\"Purchase\",\n preferences=azure_nextgen.edgeorder.v20201201preview.PreferencesArgs(\n transport_preferences=azure_nextgen.edgeorder.v20201201preview.TransportPreferencesArgs(\n preferred_shipment_type=\"MicrosoftManaged\",\n ),\n ),\n product_details=azure_nextgen.edgeorder.v20201201preview.ProductDetailsArgs(\n hierarchy_information=azure_nextgen.edgeorder.v20201201preview.HierarchyInformationArgs(\n configuration_name=\"1gpu\",\n product_family_name=\"azurestackedge\",\n product_line_name=\"azurestackedge\",\n product_name=\"azurestackedgeprogpu\",\n ),\n ),\n ),\n order_name=\"TestOrderName1\",\n resource_group_name=\"TestRG\",\n tags={\n \"carrot\": \"vegetable\",\n \"mango\": \"fruit\",\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-nextgen:edgeorder/v20201201preview:OrderByName TestOrderName1 /subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/orders/TestOrderName1 \n```\n", + "properties": { + "addressDetails": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:AddressDetailsResponse", + "description": "Represents shipping and return address for order" + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives" + }, + "name": { + "type": "string", + "description": "The name of the resource" + }, + "orderCollectionId": { + "type": "string", + "description": "Id of the order collection to which order belongs to" + }, + "orderDetails": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:OrderDetailsResponse", + "description": "Represents order details." + }, + "startTime": { + "type": "string", + "description": "Start time of order" + }, + "systemData": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:SystemDataResponse", + "description": "Represents resource creation and update time" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags." + }, + "type": { + "type": "string", + "description": "The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\"" + } + }, + "type": "object", + "required": [ + "addressDetails", + "location", + "name", + "orderCollectionId", + "orderDetails", + "startTime", + "systemData", + "type" + ], + "inputProperties": { + "addressDetails": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:AddressDetails", + "description": "Represents shipping and return address for order" + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives" + }, + "orderDetails": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:OrderDetails", + "description": "Represents order details." + }, + "orderName": { + "type": "string", + "description": "The name of the order" + }, + "resourceGroupName": { + "type": "string", + "description": "The name of the resource group. The name is case insensitive." + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags." + } + }, + "requiredInputs": [ + "addressDetails", + "location", + "orderDetails", + "orderName", + "resourceGroupName" + ] + }, + "azure-nextgen:edgeorder/v20201201preview:OrderCollectionByName": { + "description": "Specifies the properties or parameters for an order collection. Order collection is a grouping of one or more orders.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### CreateOrderCollection\n```csharp\nusing Pulumi;\nusing AzureNextGen = Pulumi.AzureNextGen;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var orderCollectionByName = new AzureNextGen.EdgeOrder.V20201201Preview.OrderCollectionByName(\"orderCollectionByName\", new AzureNextGen.EdgeOrder.V20201201Preview.OrderCollectionByNameArgs\n {\n Location = \"westus\",\n OrderCollectionName = \"TestOrderCollectionName1\",\n OrderIds = \n {\n \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/TestRG/providers/Microsoft.EdgeOrder/Orders/TestOrderName1\",\n \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/TestRG1/providers/Microsoft.EdgeOrder/Orders/TestOrderName2\",\n },\n ResourceGroupName = \"TestRG\",\n Tags = \n {\n { \"Name\", \"TestName\" },\n { \"Work\", \"Engineering\" },\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\tedgeorder \"github.com/pulumi/pulumi-azure-nextgen/sdk/go/azure/edgeorder/v20201201preview\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := edgeorder.NewOrderCollectionByName(ctx, \"orderCollectionByName\", \u0026edgeorder.OrderCollectionByNameArgs{\n\t\t\tLocation: pulumi.String(\"westus\"),\n\t\t\tOrderCollectionName: pulumi.String(\"TestOrderCollectionName1\"),\n\t\t\tOrderIds: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/TestRG/providers/Microsoft.EdgeOrder/Orders/TestOrderName1\"),\n\t\t\t\tpulumi.String(\"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/TestRG1/providers/Microsoft.EdgeOrder/Orders/TestOrderName2\"),\n\t\t\t},\n\t\t\tResourceGroupName: pulumi.String(\"TestRG\"),\n\t\t\tTags: pulumi.StringMap{\n\t\t\t\t\"Name\": pulumi.String(\"TestName\"),\n\t\t\t\t\"Work\": pulumi.String(\"Engineering\"),\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```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_nextgen from \"@pulumi/azure-nextgen\";\n\nconst orderCollectionByName = new azure_nextgen.edgeorder.v20201201preview.OrderCollectionByName(\"orderCollectionByName\", {\n location: \"westus\",\n orderCollectionName: \"TestOrderCollectionName1\",\n orderIds: [\n \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/TestRG/providers/Microsoft.EdgeOrder/Orders/TestOrderName1\",\n \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/TestRG1/providers/Microsoft.EdgeOrder/Orders/TestOrderName2\",\n ],\n resourceGroupName: \"TestRG\",\n tags: {\n Name: \"TestName\",\n Work: \"Engineering\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_nextgen as azure_nextgen\n\norder_collection_by_name = azure_nextgen.edgeorder.v20201201preview.OrderCollectionByName(\"orderCollectionByName\",\n location=\"westus\",\n order_collection_name=\"TestOrderCollectionName1\",\n order_ids=[\n \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/TestRG/providers/Microsoft.EdgeOrder/Orders/TestOrderName1\",\n \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/TestRG1/providers/Microsoft.EdgeOrder/Orders/TestOrderName2\",\n ],\n resource_group_name=\"TestRG\",\n tags={\n \"Name\": \"TestName\",\n \"Work\": \"Engineering\",\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-nextgen:edgeorder/v20201201preview:OrderCollectionByName TestOrderCollectionName1 /subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/orderCollections/TestOrderCollectionName1 \n```\n", + "properties": { + "location": { + "type": "string", + "description": "The geo-location where the resource lives" + }, + "name": { + "type": "string", + "description": "The name of the resource" + }, + "orderIds": { + "type": "array", + "items": { + "type": "string" + }, + "description": "List of order ARM Ids which are part of an order collection." + }, + "systemData": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:SystemDataResponse", + "description": "Represents resource creation and update time" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags." + }, + "type": { + "type": "string", + "description": "The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\"" + } + }, + "type": "object", + "required": [ + "location", + "name", + "orderIds", + "systemData", + "type" + ], + "inputProperties": { + "location": { + "type": "string", + "description": "The geo-location where the resource lives" + }, + "orderCollectionName": { + "type": "string", + "description": "The name of the order collection" + }, + "orderIds": { + "type": "array", + "items": { + "type": "string" + }, + "description": "List of order ARM Ids which are part of an order collection." + }, + "resourceGroupName": { + "type": "string", + "description": "The name of the resource group. The name is case insensitive." + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags." + } + }, + "requiredInputs": [ + "location", + "orderCollectionName", + "orderIds", + "resourceGroupName" + ] + }, "azure-nextgen:engagementfabric/v20180901preview:Account": { "description": "The EngagementFabric account\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### AccountsCreateOrUpdateExample\n```csharp\nusing Pulumi;\nusing AzureNextGen = Pulumi.AzureNextGen;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var account = new AzureNextGen.EngagementFabric.V20180901Preview.Account(\"account\", new AzureNextGen.EngagementFabric.V20180901Preview.AccountArgs\n {\n AccountName = \"ExampleAccount\",\n Location = \"WestUS\",\n ResourceGroupName = \"ExampleRg\",\n Sku = new AzureNextGen.EngagementFabric.V20180901Preview.Inputs.SKUArgs\n {\n Name = \"B1\",\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\tengagementfabric \"github.com/pulumi/pulumi-azure-nextgen/sdk/go/azure/engagementfabric/v20180901preview\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := engagementfabric.NewAccount(ctx, \"account\", \u0026engagementfabric.AccountArgs{\n\t\t\tAccountName: pulumi.String(\"ExampleAccount\"),\n\t\t\tLocation: pulumi.String(\"WestUS\"),\n\t\t\tResourceGroupName: pulumi.String(\"ExampleRg\"),\n\t\t\tSku: \u0026engagementfabric.SKUArgs{\n\t\t\t\tName: pulumi.String(\"B1\"),\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```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_nextgen from \"@pulumi/azure-nextgen\";\n\nconst account = new azure_nextgen.engagementfabric.v20180901preview.Account(\"account\", {\n accountName: \"ExampleAccount\",\n location: \"WestUS\",\n resourceGroupName: \"ExampleRg\",\n sku: {\n name: \"B1\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_nextgen as azure_nextgen\n\naccount = azure_nextgen.engagementfabric.v20180901preview.Account(\"account\",\n account_name=\"ExampleAccount\",\n location=\"WestUS\",\n resource_group_name=\"ExampleRg\",\n sku=azure_nextgen.engagementfabric.v20180901preview.SKUArgs(\n name=\"B1\",\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-nextgen:engagementfabric/v20180901preview:Account ExampleAccount subscriptions/EDBF0095-A524-4A84-95FB-F72DA41AA6A1/resourceGroups/ExampleRg/providers/Microsoft.EngagementFabric/Accounts/ExampleAccount \n```\n", "properties": { @@ -313887,7 +315629,7 @@ ] }, "azure-nextgen:healthcareapis/latest:PrivateEndpointConnection": { - "description": "The Private Endpoint Connection resource.\nLatest API Version: 2020-03-30.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### PrivateEndpointConnection_CreateOrUpdate\n```csharp\nusing Pulumi;\nusing AzureNextGen = Pulumi.AzureNextGen;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var privateEndpointConnection = new AzureNextGen.HealthcareApis.Latest.PrivateEndpointConnection(\"privateEndpointConnection\", new AzureNextGen.HealthcareApis.Latest.PrivateEndpointConnectionArgs\n {\n PrivateEndpointConnectionName = \"myConnection\",\n PrivateLinkServiceConnectionState = new AzureNextGen.HealthcareApis.Latest.Inputs.PrivateLinkServiceConnectionStateArgs\n {\n Description = \"Auto-Approved\",\n Status = \"Approved\",\n },\n ResourceGroupName = \"rgname\",\n ResourceName = \"service1\",\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\thealthcareapis \"github.com/pulumi/pulumi-azure-nextgen/sdk/go/azure/healthcareapis/latest\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := healthcareapis.NewPrivateEndpointConnection(ctx, \"privateEndpointConnection\", \u0026healthcareapis.PrivateEndpointConnectionArgs{\n\t\t\tPrivateEndpointConnectionName: pulumi.String(\"myConnection\"),\n\t\t\tPrivateLinkServiceConnectionState: \u0026healthcareapis.PrivateLinkServiceConnectionStateArgs{\n\t\t\t\tDescription: pulumi.String(\"Auto-Approved\"),\n\t\t\t\tStatus: pulumi.String(\"Approved\"),\n\t\t\t},\n\t\t\tResourceGroupName: pulumi.String(\"rgname\"),\n\t\t\tResourceName: pulumi.String(\"service1\"),\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```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_nextgen from \"@pulumi/azure-nextgen\";\n\nconst privateEndpointConnection = new azure_nextgen.healthcareapis.latest.PrivateEndpointConnection(\"privateEndpointConnection\", {\n privateEndpointConnectionName: \"myConnection\",\n privateLinkServiceConnectionState: {\n description: \"Auto-Approved\",\n status: \"Approved\",\n },\n resourceGroupName: \"rgname\",\n resourceName: \"service1\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_nextgen as azure_nextgen\n\nprivate_endpoint_connection = azure_nextgen.healthcareapis.latest.PrivateEndpointConnection(\"privateEndpointConnection\",\n private_endpoint_connection_name=\"myConnection\",\n private_link_service_connection_state=azure_nextgen.healthcareapis.latest.PrivateLinkServiceConnectionStateArgs(\n description=\"Auto-Approved\",\n status=\"Approved\",\n ),\n resource_group_name=\"rgname\",\n resource_name=\"service1\")\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-nextgen:healthcareapis/latest:PrivateEndpointConnection myConnection /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HealthcareApis/services/service1/privateEndpointConnections/myConnection \n```\n", + "description": "The Private Endpoint Connection resource.\nLatest API Version: 2021-01-11.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### PrivateEndpointConnection_CreateOrUpdate\n```csharp\nusing Pulumi;\nusing AzureNextGen = Pulumi.AzureNextGen;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var privateEndpointConnection = new AzureNextGen.HealthcareApis.Latest.PrivateEndpointConnection(\"privateEndpointConnection\", new AzureNextGen.HealthcareApis.Latest.PrivateEndpointConnectionArgs\n {\n PrivateEndpointConnectionName = \"myConnection\",\n PrivateLinkServiceConnectionState = new AzureNextGen.HealthcareApis.Latest.Inputs.PrivateLinkServiceConnectionStateArgs\n {\n Description = \"Auto-Approved\",\n Status = \"Approved\",\n },\n ResourceGroupName = \"rgname\",\n ResourceName = \"service1\",\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\thealthcareapis \"github.com/pulumi/pulumi-azure-nextgen/sdk/go/azure/healthcareapis/latest\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := healthcareapis.NewPrivateEndpointConnection(ctx, \"privateEndpointConnection\", \u0026healthcareapis.PrivateEndpointConnectionArgs{\n\t\t\tPrivateEndpointConnectionName: pulumi.String(\"myConnection\"),\n\t\t\tPrivateLinkServiceConnectionState: \u0026healthcareapis.PrivateLinkServiceConnectionStateArgs{\n\t\t\t\tDescription: pulumi.String(\"Auto-Approved\"),\n\t\t\t\tStatus: pulumi.String(\"Approved\"),\n\t\t\t},\n\t\t\tResourceGroupName: pulumi.String(\"rgname\"),\n\t\t\tResourceName: pulumi.String(\"service1\"),\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```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_nextgen from \"@pulumi/azure-nextgen\";\n\nconst privateEndpointConnection = new azure_nextgen.healthcareapis.latest.PrivateEndpointConnection(\"privateEndpointConnection\", {\n privateEndpointConnectionName: \"myConnection\",\n privateLinkServiceConnectionState: {\n description: \"Auto-Approved\",\n status: \"Approved\",\n },\n resourceGroupName: \"rgname\",\n resourceName: \"service1\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_nextgen as azure_nextgen\n\nprivate_endpoint_connection = azure_nextgen.healthcareapis.latest.PrivateEndpointConnection(\"privateEndpointConnection\",\n private_endpoint_connection_name=\"myConnection\",\n private_link_service_connection_state=azure_nextgen.healthcareapis.latest.PrivateLinkServiceConnectionStateArgs(\n description=\"Auto-Approved\",\n status=\"Approved\",\n ),\n resource_group_name=\"rgname\",\n resource_name=\"service1\")\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-nextgen:healthcareapis/latest:PrivateEndpointConnection myConnection /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HealthcareApis/services/service1/privateEndpointConnections/myConnection \n```\n", "properties": { "name": { "type": "string", @@ -313907,6 +315649,11 @@ "type": "string", "description": "The provisioning state of the private endpoint connection resource." }, + "systemData": { + "type": "object", + "$ref": "#/types/azure-nextgen:healthcareapis/latest:SystemDataResponse", + "description": "System metadata for this resource." + }, "type": { "type": "string", "description": "The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\"" @@ -313917,6 +315664,7 @@ "name", "privateLinkServiceConnectionState", "provisioningState", + "systemData", "type" ], "inputProperties": { @@ -313947,11 +315695,14 @@ "aliases": [ { "type": "azure-nextgen:healthcareapis/v20200330:PrivateEndpointConnection" + }, + { + "type": "azure-nextgen:healthcareapis/v20210111:PrivateEndpointConnection" } ] }, "azure-nextgen:healthcareapis/latest:Service": { - "description": "The description of the service.\nLatest API Version: 2020-03-30.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Create or Update a service with all parameters\n```csharp\nusing Pulumi;\nusing AzureNextGen = Pulumi.AzureNextGen;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var service = new AzureNextGen.HealthcareApis.Latest.Service(\"service\", new AzureNextGen.HealthcareApis.Latest.ServiceArgs\n {\n Identity = new AzureNextGen.HealthcareApis.Latest.Inputs.ServicesResourceIdentityArgs\n {\n Type = \"SystemAssigned\",\n },\n Kind = \"fhir-R4\",\n Location = \"westus2\",\n Properties = new AzureNextGen.HealthcareApis.Latest.Inputs.ServicesPropertiesArgs\n {\n AccessPolicies = \n {\n new AzureNextGen.HealthcareApis.Latest.Inputs.ServiceAccessPolicyEntryArgs\n {\n ObjectId = \"c487e7d1-3210-41a3-8ccc-e9372b78da47\",\n },\n new AzureNextGen.HealthcareApis.Latest.Inputs.ServiceAccessPolicyEntryArgs\n {\n ObjectId = \"5b307da8-43d4-492b-8b66-b0294ade872f\",\n },\n },\n AuthenticationConfiguration = new AzureNextGen.HealthcareApis.Latest.Inputs.ServiceAuthenticationConfigurationInfoArgs\n {\n Audience = \"https://azurehealthcareapis.com\",\n Authority = \"https://login.microsoftonline.com/abfde7b2-df0f-47e6-aabf-2462b07508dc\",\n SmartProxyEnabled = true,\n },\n CorsConfiguration = new AzureNextGen.HealthcareApis.Latest.Inputs.ServiceCorsConfigurationInfoArgs\n {\n AllowCredentials = false,\n Headers = \n {\n \"*\",\n },\n MaxAge = 1440,\n Methods = \n {\n \"DELETE\",\n \"GET\",\n \"OPTIONS\",\n \"PATCH\",\n \"POST\",\n \"PUT\",\n },\n Origins = \n {\n \"*\",\n },\n },\n CosmosDbConfiguration = new AzureNextGen.HealthcareApis.Latest.Inputs.ServiceCosmosDbConfigurationInfoArgs\n {\n KeyVaultKeyUri = \"https://my-vault.vault.azure.net/keys/my-key\",\n OfferThroughput = 1000,\n },\n ExportConfiguration = new AzureNextGen.HealthcareApis.Latest.Inputs.ServiceExportConfigurationInfoArgs\n {\n StorageAccountName = \"existingStorageAccount\",\n },\n PrivateEndpointConnections = {},\n PublicNetworkAccess = \"Disabled\",\n },\n ResourceGroupName = \"rg1\",\n ResourceName = \"service1\",\n Tags = ,\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\thealthcareapis \"github.com/pulumi/pulumi-azure-nextgen/sdk/go/azure/healthcareapis/latest\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := healthcareapis.NewService(ctx, \"service\", \u0026healthcareapis.ServiceArgs{\n\t\t\tIdentity: \u0026healthcareapis.ServicesResourceIdentityArgs{\n\t\t\t\tType: pulumi.String(\"SystemAssigned\"),\n\t\t\t},\n\t\t\tKind: \"fhir-R4\",\n\t\t\tLocation: pulumi.String(\"westus2\"),\n\t\t\tProperties: \u0026healthcareapis.ServicesPropertiesArgs{\n\t\t\t\tAccessPolicies: healthcareapis.ServiceAccessPolicyEntryArray{\n\t\t\t\t\t\u0026healthcareapis.ServiceAccessPolicyEntryArgs{\n\t\t\t\t\t\tObjectId: pulumi.String(\"c487e7d1-3210-41a3-8ccc-e9372b78da47\"),\n\t\t\t\t\t},\n\t\t\t\t\t\u0026healthcareapis.ServiceAccessPolicyEntryArgs{\n\t\t\t\t\t\tObjectId: pulumi.String(\"5b307da8-43d4-492b-8b66-b0294ade872f\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tAuthenticationConfiguration: \u0026healthcareapis.ServiceAuthenticationConfigurationInfoArgs{\n\t\t\t\t\tAudience: pulumi.String(\"https://azurehealthcareapis.com\"),\n\t\t\t\t\tAuthority: pulumi.String(\"https://login.microsoftonline.com/abfde7b2-df0f-47e6-aabf-2462b07508dc\"),\n\t\t\t\t\tSmartProxyEnabled: pulumi.Bool(true),\n\t\t\t\t},\n\t\t\t\tCorsConfiguration: \u0026healthcareapis.ServiceCorsConfigurationInfoArgs{\n\t\t\t\t\tAllowCredentials: pulumi.Bool(false),\n\t\t\t\t\tHeaders: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"*\"),\n\t\t\t\t\t},\n\t\t\t\t\tMaxAge: pulumi.Int(1440),\n\t\t\t\t\tMethods: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"DELETE\"),\n\t\t\t\t\t\tpulumi.String(\"GET\"),\n\t\t\t\t\t\tpulumi.String(\"OPTIONS\"),\n\t\t\t\t\t\tpulumi.String(\"PATCH\"),\n\t\t\t\t\t\tpulumi.String(\"POST\"),\n\t\t\t\t\t\tpulumi.String(\"PUT\"),\n\t\t\t\t\t},\n\t\t\t\t\tOrigins: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"*\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tCosmosDbConfiguration: \u0026healthcareapis.ServiceCosmosDbConfigurationInfoArgs{\n\t\t\t\t\tKeyVaultKeyUri: pulumi.String(\"https://my-vault.vault.azure.net/keys/my-key\"),\n\t\t\t\t\tOfferThroughput: pulumi.Int(1000),\n\t\t\t\t},\n\t\t\t\tExportConfiguration: \u0026healthcareapis.ServiceExportConfigurationInfoArgs{\n\t\t\t\t\tStorageAccountName: pulumi.String(\"existingStorageAccount\"),\n\t\t\t\t},\n\t\t\t\tPrivateEndpointConnections: healthcareapis.PrivateEndpointConnectionArray{},\n\t\t\t\tPublicNetworkAccess: pulumi.String(\"Disabled\"),\n\t\t\t},\n\t\t\tResourceGroupName: pulumi.String(\"rg1\"),\n\t\t\tResourceName: pulumi.String(\"service1\"),\n\t\t\tTags: nil,\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```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_nextgen from \"@pulumi/azure-nextgen\";\n\nconst service = new azure_nextgen.healthcareapis.latest.Service(\"service\", {\n identity: {\n type: \"SystemAssigned\",\n },\n kind: \"fhir-R4\",\n location: \"westus2\",\n properties: {\n accessPolicies: [\n {\n objectId: \"c487e7d1-3210-41a3-8ccc-e9372b78da47\",\n },\n {\n objectId: \"5b307da8-43d4-492b-8b66-b0294ade872f\",\n },\n ],\n authenticationConfiguration: {\n audience: \"https://azurehealthcareapis.com\",\n authority: \"https://login.microsoftonline.com/abfde7b2-df0f-47e6-aabf-2462b07508dc\",\n smartProxyEnabled: true,\n },\n corsConfiguration: {\n allowCredentials: false,\n headers: [\"*\"],\n maxAge: 1440,\n methods: [\n \"DELETE\",\n \"GET\",\n \"OPTIONS\",\n \"PATCH\",\n \"POST\",\n \"PUT\",\n ],\n origins: [\"*\"],\n },\n cosmosDbConfiguration: {\n keyVaultKeyUri: \"https://my-vault.vault.azure.net/keys/my-key\",\n offerThroughput: 1000,\n },\n exportConfiguration: {\n storageAccountName: \"existingStorageAccount\",\n },\n privateEndpointConnections: [],\n publicNetworkAccess: \"Disabled\",\n },\n resourceGroupName: \"rg1\",\n resourceName: \"service1\",\n tags: {},\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_nextgen as azure_nextgen\n\nservice = azure_nextgen.healthcareapis.latest.Service(\"service\",\n identity=azure_nextgen.healthcareapis.latest.ServicesResourceIdentityArgs(\n type=\"SystemAssigned\",\n ),\n kind=\"fhir-R4\",\n location=\"westus2\",\n properties=azure_nextgen.healthcareapis.latest.ServicesPropertiesArgs(\n access_policies=[\n azure_nextgen.healthcareapis.latest.ServiceAccessPolicyEntryArgs(\n object_id=\"c487e7d1-3210-41a3-8ccc-e9372b78da47\",\n ),\n azure_nextgen.healthcareapis.latest.ServiceAccessPolicyEntryArgs(\n object_id=\"5b307da8-43d4-492b-8b66-b0294ade872f\",\n ),\n ],\n authentication_configuration=azure_nextgen.healthcareapis.latest.ServiceAuthenticationConfigurationInfoArgs(\n audience=\"https://azurehealthcareapis.com\",\n authority=\"https://login.microsoftonline.com/abfde7b2-df0f-47e6-aabf-2462b07508dc\",\n smart_proxy_enabled=True,\n ),\n cors_configuration=azure_nextgen.healthcareapis.latest.ServiceCorsConfigurationInfoArgs(\n allow_credentials=False,\n headers=[\"*\"],\n max_age=1440,\n methods=[\n \"DELETE\",\n \"GET\",\n \"OPTIONS\",\n \"PATCH\",\n \"POST\",\n \"PUT\",\n ],\n origins=[\"*\"],\n ),\n cosmos_db_configuration=azure_nextgen.healthcareapis.latest.ServiceCosmosDbConfigurationInfoArgs(\n key_vault_key_uri=\"https://my-vault.vault.azure.net/keys/my-key\",\n offer_throughput=1000,\n ),\n export_configuration=azure_nextgen.healthcareapis.latest.ServiceExportConfigurationInfoArgs(\n storage_account_name=\"existingStorageAccount\",\n ),\n private_endpoint_connections=[],\n public_network_access=\"Disabled\",\n ),\n resource_group_name=\"rg1\",\n resource_name=\"service1\",\n tags={})\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Create or Update a service with minimum parameters\n```csharp\nusing Pulumi;\nusing AzureNextGen = Pulumi.AzureNextGen;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var service = new AzureNextGen.HealthcareApis.Latest.Service(\"service\", new AzureNextGen.HealthcareApis.Latest.ServiceArgs\n {\n Kind = \"fhir-R4\",\n Location = \"westus2\",\n Properties = new AzureNextGen.HealthcareApis.Latest.Inputs.ServicesPropertiesArgs\n {\n AccessPolicies = \n {\n new AzureNextGen.HealthcareApis.Latest.Inputs.ServiceAccessPolicyEntryArgs\n {\n ObjectId = \"c487e7d1-3210-41a3-8ccc-e9372b78da47\",\n },\n },\n },\n ResourceGroupName = \"rg1\",\n ResourceName = \"service2\",\n Tags = ,\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\thealthcareapis \"github.com/pulumi/pulumi-azure-nextgen/sdk/go/azure/healthcareapis/latest\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := healthcareapis.NewService(ctx, \"service\", \u0026healthcareapis.ServiceArgs{\n\t\t\tKind: \"fhir-R4\",\n\t\t\tLocation: pulumi.String(\"westus2\"),\n\t\t\tProperties: \u0026healthcareapis.ServicesPropertiesArgs{\n\t\t\t\tAccessPolicies: healthcareapis.ServiceAccessPolicyEntryArray{\n\t\t\t\t\t\u0026healthcareapis.ServiceAccessPolicyEntryArgs{\n\t\t\t\t\t\tObjectId: pulumi.String(\"c487e7d1-3210-41a3-8ccc-e9372b78da47\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tResourceGroupName: pulumi.String(\"rg1\"),\n\t\t\tResourceName: pulumi.String(\"service2\"),\n\t\t\tTags: nil,\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```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_nextgen from \"@pulumi/azure-nextgen\";\n\nconst service = new azure_nextgen.healthcareapis.latest.Service(\"service\", {\n kind: \"fhir-R4\",\n location: \"westus2\",\n properties: {\n accessPolicies: [{\n objectId: \"c487e7d1-3210-41a3-8ccc-e9372b78da47\",\n }],\n },\n resourceGroupName: \"rg1\",\n resourceName: \"service2\",\n tags: {},\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_nextgen as azure_nextgen\n\nservice = azure_nextgen.healthcareapis.latest.Service(\"service\",\n kind=\"fhir-R4\",\n location=\"westus2\",\n properties=azure_nextgen.healthcareapis.latest.ServicesPropertiesArgs(\n access_policies=[azure_nextgen.healthcareapis.latest.ServiceAccessPolicyEntryArgs(\n object_id=\"c487e7d1-3210-41a3-8ccc-e9372b78da47\",\n )],\n ),\n resource_group_name=\"rg1\",\n resource_name=\"service2\",\n tags={})\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-nextgen:healthcareapis/latest:Service service2 /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HealthcareApis/services/service2 \n```\n", + "description": "The description of the service.\nLatest API Version: 2021-01-11.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Create or Update a service with all parameters\n```csharp\nusing Pulumi;\nusing AzureNextGen = Pulumi.AzureNextGen;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var service = new AzureNextGen.HealthcareApis.Latest.Service(\"service\", new AzureNextGen.HealthcareApis.Latest.ServiceArgs\n {\n Identity = new AzureNextGen.HealthcareApis.Latest.Inputs.ServicesResourceIdentityArgs\n {\n Type = \"SystemAssigned\",\n },\n Kind = \"fhir-R4\",\n Location = \"westus2\",\n Properties = new AzureNextGen.HealthcareApis.Latest.Inputs.ServicesPropertiesArgs\n {\n AccessPolicies = \n {\n new AzureNextGen.HealthcareApis.Latest.Inputs.ServiceAccessPolicyEntryArgs\n {\n ObjectId = \"c487e7d1-3210-41a3-8ccc-e9372b78da47\",\n },\n new AzureNextGen.HealthcareApis.Latest.Inputs.ServiceAccessPolicyEntryArgs\n {\n ObjectId = \"5b307da8-43d4-492b-8b66-b0294ade872f\",\n },\n },\n AuthenticationConfiguration = new AzureNextGen.HealthcareApis.Latest.Inputs.ServiceAuthenticationConfigurationInfoArgs\n {\n Audience = \"https://azurehealthcareapis.com\",\n Authority = \"https://login.microsoftonline.com/abfde7b2-df0f-47e6-aabf-2462b07508dc\",\n SmartProxyEnabled = true,\n },\n CorsConfiguration = new AzureNextGen.HealthcareApis.Latest.Inputs.ServiceCorsConfigurationInfoArgs\n {\n AllowCredentials = false,\n Headers = \n {\n \"*\",\n },\n MaxAge = 1440,\n Methods = \n {\n \"DELETE\",\n \"GET\",\n \"OPTIONS\",\n \"PATCH\",\n \"POST\",\n \"PUT\",\n },\n Origins = \n {\n \"*\",\n },\n },\n CosmosDbConfiguration = new AzureNextGen.HealthcareApis.Latest.Inputs.ServiceCosmosDbConfigurationInfoArgs\n {\n KeyVaultKeyUri = \"https://my-vault.vault.azure.net/keys/my-key\",\n OfferThroughput = 1000,\n },\n ExportConfiguration = new AzureNextGen.HealthcareApis.Latest.Inputs.ServiceExportConfigurationInfoArgs\n {\n StorageAccountName = \"existingStorageAccount\",\n },\n PrivateEndpointConnections = {},\n PublicNetworkAccess = \"Disabled\",\n },\n ResourceGroupName = \"rg1\",\n ResourceName = \"service1\",\n Tags = ,\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\thealthcareapis \"github.com/pulumi/pulumi-azure-nextgen/sdk/go/azure/healthcareapis/latest\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := healthcareapis.NewService(ctx, \"service\", \u0026healthcareapis.ServiceArgs{\n\t\t\tIdentity: \u0026healthcareapis.ServicesResourceIdentityArgs{\n\t\t\t\tType: pulumi.String(\"SystemAssigned\"),\n\t\t\t},\n\t\t\tKind: \"fhir-R4\",\n\t\t\tLocation: pulumi.String(\"westus2\"),\n\t\t\tProperties: \u0026healthcareapis.ServicesPropertiesArgs{\n\t\t\t\tAccessPolicies: healthcareapis.ServiceAccessPolicyEntryArray{\n\t\t\t\t\t\u0026healthcareapis.ServiceAccessPolicyEntryArgs{\n\t\t\t\t\t\tObjectId: pulumi.String(\"c487e7d1-3210-41a3-8ccc-e9372b78da47\"),\n\t\t\t\t\t},\n\t\t\t\t\t\u0026healthcareapis.ServiceAccessPolicyEntryArgs{\n\t\t\t\t\t\tObjectId: pulumi.String(\"5b307da8-43d4-492b-8b66-b0294ade872f\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tAuthenticationConfiguration: \u0026healthcareapis.ServiceAuthenticationConfigurationInfoArgs{\n\t\t\t\t\tAudience: pulumi.String(\"https://azurehealthcareapis.com\"),\n\t\t\t\t\tAuthority: pulumi.String(\"https://login.microsoftonline.com/abfde7b2-df0f-47e6-aabf-2462b07508dc\"),\n\t\t\t\t\tSmartProxyEnabled: pulumi.Bool(true),\n\t\t\t\t},\n\t\t\t\tCorsConfiguration: \u0026healthcareapis.ServiceCorsConfigurationInfoArgs{\n\t\t\t\t\tAllowCredentials: pulumi.Bool(false),\n\t\t\t\t\tHeaders: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"*\"),\n\t\t\t\t\t},\n\t\t\t\t\tMaxAge: pulumi.Int(1440),\n\t\t\t\t\tMethods: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"DELETE\"),\n\t\t\t\t\t\tpulumi.String(\"GET\"),\n\t\t\t\t\t\tpulumi.String(\"OPTIONS\"),\n\t\t\t\t\t\tpulumi.String(\"PATCH\"),\n\t\t\t\t\t\tpulumi.String(\"POST\"),\n\t\t\t\t\t\tpulumi.String(\"PUT\"),\n\t\t\t\t\t},\n\t\t\t\t\tOrigins: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"*\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tCosmosDbConfiguration: \u0026healthcareapis.ServiceCosmosDbConfigurationInfoArgs{\n\t\t\t\t\tKeyVaultKeyUri: pulumi.String(\"https://my-vault.vault.azure.net/keys/my-key\"),\n\t\t\t\t\tOfferThroughput: pulumi.Int(1000),\n\t\t\t\t},\n\t\t\t\tExportConfiguration: \u0026healthcareapis.ServiceExportConfigurationInfoArgs{\n\t\t\t\t\tStorageAccountName: pulumi.String(\"existingStorageAccount\"),\n\t\t\t\t},\n\t\t\t\tPrivateEndpointConnections: healthcareapis.PrivateEndpointConnectionArray{},\n\t\t\t\tPublicNetworkAccess: pulumi.String(\"Disabled\"),\n\t\t\t},\n\t\t\tResourceGroupName: pulumi.String(\"rg1\"),\n\t\t\tResourceName: pulumi.String(\"service1\"),\n\t\t\tTags: nil,\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```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_nextgen from \"@pulumi/azure-nextgen\";\n\nconst service = new azure_nextgen.healthcareapis.latest.Service(\"service\", {\n identity: {\n type: \"SystemAssigned\",\n },\n kind: \"fhir-R4\",\n location: \"westus2\",\n properties: {\n accessPolicies: [\n {\n objectId: \"c487e7d1-3210-41a3-8ccc-e9372b78da47\",\n },\n {\n objectId: \"5b307da8-43d4-492b-8b66-b0294ade872f\",\n },\n ],\n authenticationConfiguration: {\n audience: \"https://azurehealthcareapis.com\",\n authority: \"https://login.microsoftonline.com/abfde7b2-df0f-47e6-aabf-2462b07508dc\",\n smartProxyEnabled: true,\n },\n corsConfiguration: {\n allowCredentials: false,\n headers: [\"*\"],\n maxAge: 1440,\n methods: [\n \"DELETE\",\n \"GET\",\n \"OPTIONS\",\n \"PATCH\",\n \"POST\",\n \"PUT\",\n ],\n origins: [\"*\"],\n },\n cosmosDbConfiguration: {\n keyVaultKeyUri: \"https://my-vault.vault.azure.net/keys/my-key\",\n offerThroughput: 1000,\n },\n exportConfiguration: {\n storageAccountName: \"existingStorageAccount\",\n },\n privateEndpointConnections: [],\n publicNetworkAccess: \"Disabled\",\n },\n resourceGroupName: \"rg1\",\n resourceName: \"service1\",\n tags: {},\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_nextgen as azure_nextgen\n\nservice = azure_nextgen.healthcareapis.latest.Service(\"service\",\n identity=azure_nextgen.healthcareapis.latest.ServicesResourceIdentityArgs(\n type=\"SystemAssigned\",\n ),\n kind=\"fhir-R4\",\n location=\"westus2\",\n properties=azure_nextgen.healthcareapis.latest.ServicesPropertiesArgs(\n access_policies=[\n azure_nextgen.healthcareapis.latest.ServiceAccessPolicyEntryArgs(\n object_id=\"c487e7d1-3210-41a3-8ccc-e9372b78da47\",\n ),\n azure_nextgen.healthcareapis.latest.ServiceAccessPolicyEntryArgs(\n object_id=\"5b307da8-43d4-492b-8b66-b0294ade872f\",\n ),\n ],\n authentication_configuration=azure_nextgen.healthcareapis.latest.ServiceAuthenticationConfigurationInfoArgs(\n audience=\"https://azurehealthcareapis.com\",\n authority=\"https://login.microsoftonline.com/abfde7b2-df0f-47e6-aabf-2462b07508dc\",\n smart_proxy_enabled=True,\n ),\n cors_configuration=azure_nextgen.healthcareapis.latest.ServiceCorsConfigurationInfoArgs(\n allow_credentials=False,\n headers=[\"*\"],\n max_age=1440,\n methods=[\n \"DELETE\",\n \"GET\",\n \"OPTIONS\",\n \"PATCH\",\n \"POST\",\n \"PUT\",\n ],\n origins=[\"*\"],\n ),\n cosmos_db_configuration=azure_nextgen.healthcareapis.latest.ServiceCosmosDbConfigurationInfoArgs(\n key_vault_key_uri=\"https://my-vault.vault.azure.net/keys/my-key\",\n offer_throughput=1000,\n ),\n export_configuration=azure_nextgen.healthcareapis.latest.ServiceExportConfigurationInfoArgs(\n storage_account_name=\"existingStorageAccount\",\n ),\n private_endpoint_connections=[],\n public_network_access=\"Disabled\",\n ),\n resource_group_name=\"rg1\",\n resource_name=\"service1\",\n tags={})\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Create or Update a service with minimum parameters\n```csharp\nusing Pulumi;\nusing AzureNextGen = Pulumi.AzureNextGen;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var service = new AzureNextGen.HealthcareApis.Latest.Service(\"service\", new AzureNextGen.HealthcareApis.Latest.ServiceArgs\n {\n Kind = \"fhir-R4\",\n Location = \"westus2\",\n Properties = new AzureNextGen.HealthcareApis.Latest.Inputs.ServicesPropertiesArgs\n {\n AccessPolicies = \n {\n new AzureNextGen.HealthcareApis.Latest.Inputs.ServiceAccessPolicyEntryArgs\n {\n ObjectId = \"c487e7d1-3210-41a3-8ccc-e9372b78da47\",\n },\n },\n },\n ResourceGroupName = \"rg1\",\n ResourceName = \"service2\",\n Tags = ,\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\thealthcareapis \"github.com/pulumi/pulumi-azure-nextgen/sdk/go/azure/healthcareapis/latest\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := healthcareapis.NewService(ctx, \"service\", \u0026healthcareapis.ServiceArgs{\n\t\t\tKind: \"fhir-R4\",\n\t\t\tLocation: pulumi.String(\"westus2\"),\n\t\t\tProperties: \u0026healthcareapis.ServicesPropertiesArgs{\n\t\t\t\tAccessPolicies: healthcareapis.ServiceAccessPolicyEntryArray{\n\t\t\t\t\t\u0026healthcareapis.ServiceAccessPolicyEntryArgs{\n\t\t\t\t\t\tObjectId: pulumi.String(\"c487e7d1-3210-41a3-8ccc-e9372b78da47\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tResourceGroupName: pulumi.String(\"rg1\"),\n\t\t\tResourceName: pulumi.String(\"service2\"),\n\t\t\tTags: nil,\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```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_nextgen from \"@pulumi/azure-nextgen\";\n\nconst service = new azure_nextgen.healthcareapis.latest.Service(\"service\", {\n kind: \"fhir-R4\",\n location: \"westus2\",\n properties: {\n accessPolicies: [{\n objectId: \"c487e7d1-3210-41a3-8ccc-e9372b78da47\",\n }],\n },\n resourceGroupName: \"rg1\",\n resourceName: \"service2\",\n tags: {},\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_nextgen as azure_nextgen\n\nservice = azure_nextgen.healthcareapis.latest.Service(\"service\",\n kind=\"fhir-R4\",\n location=\"westus2\",\n properties=azure_nextgen.healthcareapis.latest.ServicesPropertiesArgs(\n access_policies=[azure_nextgen.healthcareapis.latest.ServiceAccessPolicyEntryArgs(\n object_id=\"c487e7d1-3210-41a3-8ccc-e9372b78da47\",\n )],\n ),\n resource_group_name=\"rg1\",\n resource_name=\"service2\",\n tags={})\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-nextgen:healthcareapis/latest:Service service2 /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HealthcareApis/services/service2 \n```\n", "properties": { "etag": { "type": "string", @@ -313979,6 +315730,11 @@ "$ref": "#/types/azure-nextgen:healthcareapis/latest:ServicesPropertiesResponse", "description": "The common properties of a service." }, + "systemData": { + "type": "object", + "$ref": "#/types/azure-nextgen:healthcareapis/latest:SystemDataResponse", + "description": "Metadata pertaining to creation and last modification of the resource." + }, "tags": { "type": "object", "additionalProperties": { @@ -313997,6 +315753,7 @@ "location", "name", "properties", + "systemData", "type" ], "inputProperties": { @@ -314056,6 +315813,9 @@ }, { "type": "azure-nextgen:healthcareapis/v20200330:Service" + }, + { + "type": "azure-nextgen:healthcareapis/v20210111:Service" } ] }, @@ -325150,7 +326910,7 @@ ] }, "azure-nextgen:managednetwork/v20190601preview:ManagedNetworkGroup": { - "description": "The Managed Network Group resource\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### ManagementNetworkGroupsPut\n```csharp\nusing Pulumi;\nusing AzureNextGen = Pulumi.AzureNextGen;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var managedNetworkGroup = new AzureNextGen.ManagedNetwork.V20190601Preview.ManagedNetworkGroup(\"managedNetworkGroup\", new AzureNextGen.ManagedNetwork.V20190601Preview.ManagedNetworkGroupArgs\n {\n ManagedNetworkGroupName = \"myManagedNetworkGroup1\",\n ManagedNetworkName = \"myManagedNetwork\",\n ManagementGroups = {},\n ResourceGroupName = \"myResourceGroup\",\n Subnets = \n {\n new AzureNextGen.ManagedNetwork.V20190601Preview.Inputs.ResourceIdArgs\n {\n Id = \"/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA/subnets/subnetA\",\n },\n },\n Subscriptions = {},\n VirtualNetworks = \n {\n new AzureNextGen.ManagedNetwork.V20190601Preview.Inputs.ResourceIdArgs\n {\n Id = \"/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA\",\n },\n new AzureNextGen.ManagedNetwork.V20190601Preview.Inputs.ResourceIdArgs\n {\n Id = \"/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB\",\n },\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\tmanagednetwork \"github.com/pulumi/pulumi-azure-nextgen/sdk/go/azure/managednetwork/v20190601preview\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := managednetwork.NewManagedNetworkGroup(ctx, \"managedNetworkGroup\", \u0026managednetwork.ManagedNetworkGroupArgs{\n\t\t\tManagedNetworkGroupName: pulumi.String(\"myManagedNetworkGroup1\"),\n\t\t\tManagedNetworkName: pulumi.String(\"myManagedNetwork\"),\n\t\t\tManagementGroups: managednetwork.ResourceIdArray{},\n\t\t\tResourceGroupName: pulumi.String(\"myResourceGroup\"),\n\t\t\tSubnets: managednetwork.ResourceIdArray{\n\t\t\t\t\u0026managednetwork.ResourceIdArgs{\n\t\t\t\t\tId: pulumi.String(\"/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA/subnets/subnetA\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tSubscriptions: managednetwork.ResourceIdArray{},\n\t\t\tVirtualNetworks: managednetwork.ResourceIdArray{\n\t\t\t\t\u0026managednetwork.ResourceIdArgs{\n\t\t\t\t\tId: pulumi.String(\"/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA\"),\n\t\t\t\t},\n\t\t\t\t\u0026managednetwork.ResourceIdArgs{\n\t\t\t\t\tId: pulumi.String(\"/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB\"),\n\t\t\t\t},\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```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_nextgen from \"@pulumi/azure-nextgen\";\n\nconst managedNetworkGroup = new azure_nextgen.managednetwork.v20190601preview.ManagedNetworkGroup(\"managedNetworkGroup\", {\n managedNetworkGroupName: \"myManagedNetworkGroup1\",\n managedNetworkName: \"myManagedNetwork\",\n managementGroups: [],\n resourceGroupName: \"myResourceGroup\",\n subnets: [{\n id: \"/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA/subnets/subnetA\",\n }],\n subscriptions: [],\n virtualNetworks: [\n {\n id: \"/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA\",\n },\n {\n id: \"/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB\",\n },\n ],\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_nextgen as azure_nextgen\n\nmanaged_network_group = azure_nextgen.managednetwork.v20190601preview.ManagedNetworkGroup(\"managedNetworkGroup\",\n managed_network_group_name=\"myManagedNetworkGroup1\",\n managed_network_name=\"myManagedNetwork\",\n management_groups=[],\n resource_group_name=\"myResourceGroup\",\n subnets=[azure_nextgen.managednetwork.v20190601preview.ResourceIdArgs(\n id=\"/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA/subnets/subnetA\",\n )],\n subscriptions=[],\n virtual_networks=[\n azure_nextgen.managednetwork.v20190601preview.ResourceIdArgs(\n id=\"/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA\",\n ),\n azure_nextgen.managednetwork.v20190601preview.ResourceIdArgs(\n id=\"/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB\",\n ),\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-nextgen:managednetwork/v20190601preview:ManagedNetworkGroup myManagedNetworkGroup1 /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkGroups/myManagedNetworkGroup1 \n```\n", + "description": "The Managed Network Group resource\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### ManagementNetworkGroupsPut\n```csharp\nusing Pulumi;\nusing AzureNextGen = Pulumi.AzureNextGen;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var managedNetworkGroup = new AzureNextGen.ManagedNetwork.V20190601Preview.ManagedNetworkGroup(\"managedNetworkGroup\", new AzureNextGen.ManagedNetwork.V20190601Preview.ManagedNetworkGroupArgs\n {\n ManagedNetworkGroupName = \"myManagedNetworkGroup1\",\n ManagedNetworkName = \"myManagedNetwork\",\n ManagementGroups = {},\n ResourceGroupName = \"myResourceGroup\",\n Subnets = \n {\n new AzureNextGen.ManagedNetwork.V20190601Preview.Inputs.ResourceIdArgs\n {\n Id = \"/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA/subnets/subnetA\",\n },\n },\n Subscriptions = {},\n VirtualNetworks = \n {\n new AzureNextGen.ManagedNetwork.V20190601Preview.Inputs.ResourceIdArgs\n {\n Id = \"/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA\",\n },\n new AzureNextGen.ManagedNetwork.V20190601Preview.Inputs.ResourceIdArgs\n {\n Id = \"/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB\",\n },\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\tmanagednetwork \"github.com/pulumi/pulumi-azure-nextgen/sdk/go/azure/managednetwork/v20190601preview\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := managednetwork.NewManagedNetworkGroup(ctx, \"managedNetworkGroup\", \u0026managednetwork.ManagedNetworkGroupArgs{\n\t\t\tManagedNetworkGroupName: pulumi.String(\"myManagedNetworkGroup1\"),\n\t\t\tManagedNetworkName: pulumi.String(\"myManagedNetwork\"),\n\t\t\tManagementGroups: managednetwork.ResourceIdArray{},\n\t\t\tResourceGroupName: pulumi.String(\"myResourceGroup\"),\n\t\t\tSubnets: managednetwork.ResourceIdArray{\n\t\t\t\t\u0026managednetwork.ResourceIdArgs{\n\t\t\t\t\tId: pulumi.String(\"/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA/subnets/subnetA\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tSubscriptions: managednetwork.ResourceIdArray{},\n\t\t\tVirtualNetworks: managednetwork.ResourceIdArray{\n\t\t\t\t\u0026managednetwork.ResourceIdArgs{\n\t\t\t\t\tId: pulumi.String(\"/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA\"),\n\t\t\t\t},\n\t\t\t\t\u0026managednetwork.ResourceIdArgs{\n\t\t\t\t\tId: pulumi.String(\"/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB\"),\n\t\t\t\t},\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```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_nextgen from \"@pulumi/azure-nextgen\";\n\nconst managedNetworkGroup = new azure_nextgen.managednetwork.v20190601preview.ManagedNetworkGroup(\"managedNetworkGroup\", {\n managedNetworkGroupName: \"myManagedNetworkGroup1\",\n managedNetworkName: \"myManagedNetwork\",\n managementGroups: [],\n resourceGroupName: \"myResourceGroup\",\n subnets: [{\n id: \"/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA/subnets/subnetA\",\n }],\n subscriptions: [],\n virtualNetworks: [\n {\n id: \"/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA\",\n },\n {\n id: \"/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB\",\n },\n ],\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_nextgen as azure_nextgen\n\nmanaged_network_group = azure_nextgen.managednetwork.v20190601preview.ManagedNetworkGroup(\"managedNetworkGroup\",\n managed_network_group_name=\"myManagedNetworkGroup1\",\n managed_network_name=\"myManagedNetwork\",\n management_groups=[],\n resource_group_name=\"myResourceGroup\",\n subnets=[azure_nextgen.managednetwork.v20190601preview.ResourceIdArgs(\n id=\"/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA/subnets/subnetA\",\n )],\n subscriptions=[],\n virtual_networks=[\n azure_nextgen.managednetwork.v20190601preview.ResourceIdArgs(\n id=\"/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA\",\n ),\n azure_nextgen.managednetwork.v20190601preview.ResourceIdArgs(\n id=\"/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB\",\n ),\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-nextgen:managednetwork/v20190601preview:ManagedNetworkGroup myManagedNetworkGroup1 /subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkGroups/myManagedNetworkGroup1 \n```\n", "properties": { "etag": { "type": "string", @@ -329124,8 +330884,8 @@ "resourceGroupName" ] }, - "azure-nextgen:mixedreality/latest:SpatialAnchorsAccount": { - "description": "SpatialAnchorsAccount Response.\nLatest API Version: 2020-05-01.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Create spatial anchor account\n```csharp\nusing Pulumi;\nusing AzureNextGen = Pulumi.AzureNextGen;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var spatialAnchorsAccount = new AzureNextGen.MixedReality.Latest.SpatialAnchorsAccount(\"spatialAnchorsAccount\", new AzureNextGen.MixedReality.Latest.SpatialAnchorsAccountArgs\n {\n AccountName = \"MyAccount\",\n Location = \"eastus2euap\",\n ResourceGroupName = \"MyResourceGroup\",\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\tmixedreality \"github.com/pulumi/pulumi-azure-nextgen/sdk/go/azure/mixedreality/latest\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := mixedreality.NewSpatialAnchorsAccount(ctx, \"spatialAnchorsAccount\", \u0026mixedreality.SpatialAnchorsAccountArgs{\n\t\t\tAccountName: pulumi.String(\"MyAccount\"),\n\t\t\tLocation: pulumi.String(\"eastus2euap\"),\n\t\t\tResourceGroupName: pulumi.String(\"MyResourceGroup\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_nextgen from \"@pulumi/azure-nextgen\";\n\nconst spatialAnchorsAccount = new azure_nextgen.mixedreality.latest.SpatialAnchorsAccount(\"spatialAnchorsAccount\", {\n accountName: \"MyAccount\",\n location: \"eastus2euap\",\n resourceGroupName: \"MyResourceGroup\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_nextgen as azure_nextgen\n\nspatial_anchors_account = azure_nextgen.mixedreality.latest.SpatialAnchorsAccount(\"spatialAnchorsAccount\",\n account_name=\"MyAccount\",\n location=\"eastus2euap\",\n resource_group_name=\"MyResourceGroup\")\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nAn existing resource can be imported using its type token, name, and identifier, e.g.\n\n```sh\n$ pulumi import azure-nextgen:mixedreality/latest:SpatialAnchorsAccount MyAccount /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/MyResourceGroup/providers/Microsoft.MixedReality/spatialAnchorsAccounts/MyAccount \n```\n", + "azure-nextgen:mixedreality/latest:RemoteRenderingAccount": { + "description": "RemoteRenderingAccount Response.\nLatest API Version: 2021-01-01.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Create remote rendering account\n```csharp\nusing Pulumi;\nusing AzureNextGen = Pulumi.AzureNextGen;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var remoteRenderingAccount = new AzureNextGen.MixedReality.Latest.RemoteRenderingAccount(\"remoteRenderingAccount\", new AzureNextGen.MixedReality.Latest.RemoteRenderingAccountArgs\n {\n AccountName = \"MyAccount\",\n Identity = new AzureNextGen.MixedReality.Latest.Inputs.IdentityArgs\n {\n Type = \"SystemAssigned\",\n },\n Location = \"eastus2euap\",\n ResourceGroupName = \"MyResourceGroup\",\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\tmixedreality \"github.com/pulumi/pulumi-azure-nextgen/sdk/go/azure/mixedreality/latest\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := mixedreality.NewRemoteRenderingAccount(ctx, \"remoteRenderingAccount\", \u0026mixedreality.RemoteRenderingAccountArgs{\n\t\t\tAccountName: pulumi.String(\"MyAccount\"),\n\t\t\tIdentity: \u0026mixedreality.IdentityArgs{\n\t\t\t\tType: \"SystemAssigned\",\n\t\t\t},\n\t\t\tLocation: pulumi.String(\"eastus2euap\"),\n\t\t\tResourceGroupName: pulumi.String(\"MyResourceGroup\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_nextgen from \"@pulumi/azure-nextgen\";\n\nconst remoteRenderingAccount = new azure_nextgen.mixedreality.latest.RemoteRenderingAccount(\"remoteRenderingAccount\", {\n accountName: \"MyAccount\",\n identity: {\n type: \"SystemAssigned\",\n },\n location: \"eastus2euap\",\n resourceGroupName: \"MyResourceGroup\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_nextgen as azure_nextgen\n\nremote_rendering_account = azure_nextgen.mixedreality.latest.RemoteRenderingAccount(\"remoteRenderingAccount\",\n account_name=\"MyAccount\",\n identity=azure_nextgen.mixedreality.latest.IdentityArgs(\n type=\"SystemAssigned\",\n ),\n location=\"eastus2euap\",\n resource_group_name=\"MyResourceGroup\")\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nAn existing resource can be imported using its type token, name, and identifier, e.g.\n\n```sh\n$ pulumi import azure-nextgen:mixedreality/latest:RemoteRenderingAccount MyAccount /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/MyResourceGroup/providers/Microsoft.MixedReality/remoteRenderingAccounts/MyAccount \n```\n", "properties": { "accountDomain": { "type": "string", @@ -329140,6 +330900,11 @@ "$ref": "#/types/azure-nextgen:mixedreality/latest:IdentityResponse", "description": "The identity associated with this account" }, + "kind": { + "type": "object", + "$ref": "#/types/azure-nextgen:mixedreality/latest:SkuResponse", + "description": "The kind of account, if supported" + }, "location": { "type": "string", "description": "The geo-location where the resource lives" @@ -329148,6 +330913,21 @@ "type": "string", "description": "The name of the resource" }, + "plan": { + "type": "object", + "$ref": "#/types/azure-nextgen:mixedreality/latest:IdentityResponse", + "description": "The plan associated with this account" + }, + "sku": { + "type": "object", + "$ref": "#/types/azure-nextgen:mixedreality/latest:SkuResponse", + "description": "The sku associated with this account" + }, + "systemData": { + "type": "object", + "$ref": "#/types/azure-nextgen:mixedreality/latest:SystemDataResponse", + "description": "System metadata for this account" + }, "tags": { "type": "object", "additionalProperties": { @@ -329166,6 +330946,7 @@ "accountId", "location", "name", + "systemData", "type" ], "inputProperties": { @@ -329178,14 +330959,29 @@ "$ref": "#/types/azure-nextgen:mixedreality/latest:Identity", "description": "The identity associated with this account" }, + "kind": { + "type": "object", + "$ref": "#/types/azure-nextgen:mixedreality/latest:Sku", + "description": "The kind of account, if supported" + }, "location": { "type": "string", "description": "The geo-location where the resource lives" }, + "plan": { + "type": "object", + "$ref": "#/types/azure-nextgen:mixedreality/latest:Identity", + "description": "The plan associated with this account" + }, "resourceGroupName": { "type": "string", "description": "Name of an Azure resource group." }, + "sku": { + "type": "object", + "$ref": "#/types/azure-nextgen:mixedreality/latest:Sku", + "description": "The sku associated with this account" + }, "tags": { "type": "object", "additionalProperties": { @@ -329201,18 +330997,18 @@ ], "aliases": [ { - "type": "azure-nextgen:mixedreality/v20190228preview:SpatialAnchorsAccount" + "type": "azure-nextgen:mixedreality/v20191202preview:RemoteRenderingAccount" }, { - "type": "azure-nextgen:mixedreality/v20191202preview:SpatialAnchorsAccount" + "type": "azure-nextgen:mixedreality/v20200406preview:RemoteRenderingAccount" }, { - "type": "azure-nextgen:mixedreality/v20200501:SpatialAnchorsAccount" + "type": "azure-nextgen:mixedreality/v20210101:RemoteRenderingAccount" } ] }, - "azure-nextgen:mixedreality/v20200406preview:RemoteRenderingAccount": { - "description": "RemoteRenderingAccount Response.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Create remote rendering account\n```csharp\nusing Pulumi;\nusing AzureNextGen = Pulumi.AzureNextGen;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var remoteRenderingAccount = new AzureNextGen.MixedReality.V20200406Preview.RemoteRenderingAccount(\"remoteRenderingAccount\", new AzureNextGen.MixedReality.V20200406Preview.RemoteRenderingAccountArgs\n {\n AccountName = \"MyAccount\",\n Identity = new AzureNextGen.MixedReality.V20200406Preview.Inputs.RemoteRenderingAccountIdentityArgs\n {\n Type = \"SystemAssigned\",\n },\n Location = \"eastus2euap\",\n ResourceGroupName = \"MyResourceGroup\",\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\tmixedreality \"github.com/pulumi/pulumi-azure-nextgen/sdk/go/azure/mixedreality/v20200406preview\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := mixedreality.NewRemoteRenderingAccount(ctx, \"remoteRenderingAccount\", \u0026mixedreality.RemoteRenderingAccountArgs{\n\t\t\tAccountName: pulumi.String(\"MyAccount\"),\n\t\t\tIdentity: \u0026mixedreality.RemoteRenderingAccountIdentityArgs{\n\t\t\t\tType: \"SystemAssigned\",\n\t\t\t},\n\t\t\tLocation: pulumi.String(\"eastus2euap\"),\n\t\t\tResourceGroupName: pulumi.String(\"MyResourceGroup\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_nextgen from \"@pulumi/azure-nextgen\";\n\nconst remoteRenderingAccount = new azure_nextgen.mixedreality.v20200406preview.RemoteRenderingAccount(\"remoteRenderingAccount\", {\n accountName: \"MyAccount\",\n identity: {\n type: \"SystemAssigned\",\n },\n location: \"eastus2euap\",\n resourceGroupName: \"MyResourceGroup\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_nextgen as azure_nextgen\n\nremote_rendering_account = azure_nextgen.mixedreality.v20200406preview.RemoteRenderingAccount(\"remoteRenderingAccount\",\n account_name=\"MyAccount\",\n identity=azure_nextgen.mixedreality.v20200406preview.RemoteRenderingAccountIdentityArgs(\n type=\"SystemAssigned\",\n ),\n location=\"eastus2euap\",\n resource_group_name=\"MyResourceGroup\")\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nAn existing resource can be imported using its type token, name, and identifier, e.g.\n\n```sh\n$ pulumi import azure-nextgen:mixedreality/v20200406preview:RemoteRenderingAccount MyAccount /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/MyResourceGroup/providers/Microsoft.MixedReality/remoteRenderingAccounts/MyAccount \n```\n", + "azure-nextgen:mixedreality/latest:SpatialAnchorsAccount": { + "description": "SpatialAnchorsAccount Response.\nLatest API Version: 2021-01-01.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Create spatial anchor account\n```csharp\nusing Pulumi;\nusing AzureNextGen = Pulumi.AzureNextGen;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var spatialAnchorsAccount = new AzureNextGen.MixedReality.Latest.SpatialAnchorsAccount(\"spatialAnchorsAccount\", new AzureNextGen.MixedReality.Latest.SpatialAnchorsAccountArgs\n {\n AccountName = \"MyAccount\",\n Location = \"eastus2euap\",\n ResourceGroupName = \"MyResourceGroup\",\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\tmixedreality \"github.com/pulumi/pulumi-azure-nextgen/sdk/go/azure/mixedreality/latest\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := mixedreality.NewSpatialAnchorsAccount(ctx, \"spatialAnchorsAccount\", \u0026mixedreality.SpatialAnchorsAccountArgs{\n\t\t\tAccountName: pulumi.String(\"MyAccount\"),\n\t\t\tLocation: pulumi.String(\"eastus2euap\"),\n\t\t\tResourceGroupName: pulumi.String(\"MyResourceGroup\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_nextgen from \"@pulumi/azure-nextgen\";\n\nconst spatialAnchorsAccount = new azure_nextgen.mixedreality.latest.SpatialAnchorsAccount(\"spatialAnchorsAccount\", {\n accountName: \"MyAccount\",\n location: \"eastus2euap\",\n resourceGroupName: \"MyResourceGroup\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_nextgen as azure_nextgen\n\nspatial_anchors_account = azure_nextgen.mixedreality.latest.SpatialAnchorsAccount(\"spatialAnchorsAccount\",\n account_name=\"MyAccount\",\n location=\"eastus2euap\",\n resource_group_name=\"MyResourceGroup\")\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nAn existing resource can be imported using its type token, name, and identifier, e.g.\n\n```sh\n$ pulumi import azure-nextgen:mixedreality/latest:SpatialAnchorsAccount MyAccount /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/MyResourceGroup/providers/Microsoft.MixedReality/spatialAnchorsAccounts/MyAccount \n```\n", "properties": { "accountDomain": { "type": "string", @@ -329224,7 +331020,13 @@ }, "identity": { "type": "object", - "$ref": "#/types/azure-nextgen:mixedreality/v20200406preview:RemoteRenderingAccountResponseIdentity" + "$ref": "#/types/azure-nextgen:mixedreality/latest:IdentityResponse", + "description": "The identity associated with this account" + }, + "kind": { + "type": "object", + "$ref": "#/types/azure-nextgen:mixedreality/latest:SkuResponse", + "description": "The kind of account, if supported" }, "location": { "type": "string", @@ -329234,6 +331036,21 @@ "type": "string", "description": "The name of the resource" }, + "plan": { + "type": "object", + "$ref": "#/types/azure-nextgen:mixedreality/latest:IdentityResponse", + "description": "The plan associated with this account" + }, + "sku": { + "type": "object", + "$ref": "#/types/azure-nextgen:mixedreality/latest:SkuResponse", + "description": "The sku associated with this account" + }, + "systemData": { + "type": "object", + "$ref": "#/types/azure-nextgen:mixedreality/latest:SystemDataResponse", + "description": "System metadata for this account" + }, "tags": { "type": "object", "additionalProperties": { @@ -329252,6 +331069,7 @@ "accountId", "location", "name", + "systemData", "type" ], "inputProperties": { @@ -329261,16 +331079,32 @@ }, "identity": { "type": "object", - "$ref": "#/types/azure-nextgen:mixedreality/v20200406preview:RemoteRenderingAccountIdentity" + "$ref": "#/types/azure-nextgen:mixedreality/latest:Identity", + "description": "The identity associated with this account" + }, + "kind": { + "type": "object", + "$ref": "#/types/azure-nextgen:mixedreality/latest:Sku", + "description": "The kind of account, if supported" }, "location": { "type": "string", "description": "The geo-location where the resource lives" }, + "plan": { + "type": "object", + "$ref": "#/types/azure-nextgen:mixedreality/latest:Identity", + "description": "The plan associated with this account" + }, "resourceGroupName": { "type": "string", "description": "Name of an Azure resource group." }, + "sku": { + "type": "object", + "$ref": "#/types/azure-nextgen:mixedreality/latest:Sku", + "description": "The sku associated with this account" + }, "tags": { "type": "object", "additionalProperties": { @@ -329286,7 +331120,16 @@ ], "aliases": [ { - "type": "azure-nextgen:mixedreality/v20191202preview:RemoteRenderingAccount" + "type": "azure-nextgen:mixedreality/v20190228preview:SpatialAnchorsAccount" + }, + { + "type": "azure-nextgen:mixedreality/v20191202preview:SpatialAnchorsAccount" + }, + { + "type": "azure-nextgen:mixedreality/v20200501:SpatialAnchorsAccount" + }, + { + "type": "azure-nextgen:mixedreality/v20210101:SpatialAnchorsAccount" } ] }, @@ -330399,7 +332242,7 @@ ] }, "azure-nextgen:network/latest:ApplicationGateway": { - "description": "Application gateway resource.\nLatest API Version: 2020-08-01.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Create Application Gateway\n```csharp\nusing Pulumi;\nusing AzureNextGen = Pulumi.AzureNextGen;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var applicationGateway = new AzureNextGen.Network.Latest.ApplicationGateway(\"applicationGateway\", new AzureNextGen.Network.Latest.ApplicationGatewayArgs\n {\n ApplicationGatewayName = \"appgw\",\n BackendAddressPools = \n {\n new AzureNextGen.Network.Latest.Inputs.ApplicationGatewayBackendAddressPoolArgs\n {\n BackendAddresses = \n {\n new AzureNextGen.Network.Latest.Inputs.ApplicationGatewayBackendAddressArgs\n {\n IpAddress = \"10.0.1.1\",\n },\n new AzureNextGen.Network.Latest.Inputs.ApplicationGatewayBackendAddressArgs\n {\n IpAddress = \"10.0.1.2\",\n },\n },\n Name = \"appgwpool\",\n },\n },\n BackendHttpSettingsCollection = \n {\n new AzureNextGen.Network.Latest.Inputs.ApplicationGatewayBackendHttpSettingsArgs\n {\n CookieBasedAffinity = \"Disabled\",\n Name = \"appgwbhs\",\n Port = 80,\n Protocol = \"Http\",\n RequestTimeout = 30,\n },\n },\n FrontendIPConfigurations = \n {\n new AzureNextGen.Network.Latest.Inputs.ApplicationGatewayFrontendIPConfigurationArgs\n {\n Name = \"appgwfip\",\n PublicIPAddress = new AzureNextGen.Network.Latest.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip\",\n },\n },\n },\n FrontendPorts = \n {\n new AzureNextGen.Network.Latest.Inputs.ApplicationGatewayFrontendPortArgs\n {\n Name = \"appgwfp\",\n Port = 443,\n },\n new AzureNextGen.Network.Latest.Inputs.ApplicationGatewayFrontendPortArgs\n {\n Name = \"appgwfp80\",\n Port = 80,\n },\n },\n GatewayIPConfigurations = \n {\n new AzureNextGen.Network.Latest.Inputs.ApplicationGatewayIPConfigurationArgs\n {\n Name = \"appgwipc\",\n Subnet = new AzureNextGen.Network.Latest.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/appgwsubnet\",\n },\n },\n },\n HttpListeners = \n {\n new AzureNextGen.Network.Latest.Inputs.ApplicationGatewayHttpListenerArgs\n {\n FrontendIPConfiguration = new AzureNextGen.Network.Latest.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip\",\n },\n FrontendPort = new AzureNextGen.Network.Latest.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp\",\n },\n Name = \"appgwhl\",\n Protocol = \"Https\",\n RequireServerNameIndication = false,\n SslCertificate = new AzureNextGen.Network.Latest.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert\",\n },\n SslProfile = new AzureNextGen.Network.Latest.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslProfiles/sslProfile1\",\n },\n },\n new AzureNextGen.Network.Latest.Inputs.ApplicationGatewayHttpListenerArgs\n {\n FrontendIPConfiguration = new AzureNextGen.Network.Latest.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip\",\n },\n FrontendPort = new AzureNextGen.Network.Latest.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80\",\n },\n Name = \"appgwhttplistener\",\n Protocol = \"Http\",\n },\n },\n Identity = new AzureNextGen.Network.Latest.Inputs.ManagedServiceIdentityArgs\n {\n Type = \"UserAssigned\",\n UserAssignedIdentities = \n {\n { \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1\", },\n },\n },\n Location = \"eastus\",\n RequestRoutingRules = \n {\n new AzureNextGen.Network.Latest.Inputs.ApplicationGatewayRequestRoutingRuleArgs\n {\n BackendAddressPool = new AzureNextGen.Network.Latest.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool\",\n },\n BackendHttpSettings = new AzureNextGen.Network.Latest.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs\",\n },\n HttpListener = new AzureNextGen.Network.Latest.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl\",\n },\n Name = \"appgwrule\",\n Priority = 10,\n RewriteRuleSet = new AzureNextGen.Network.Latest.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1\",\n },\n RuleType = \"Basic\",\n },\n new AzureNextGen.Network.Latest.Inputs.ApplicationGatewayRequestRoutingRuleArgs\n {\n HttpListener = new AzureNextGen.Network.Latest.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener\",\n },\n Name = \"appgwPathBasedRule\",\n Priority = 20,\n RuleType = \"PathBasedRouting\",\n UrlPathMap = new AzureNextGen.Network.Latest.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1\",\n },\n },\n },\n ResourceGroupName = \"rg1\",\n RewriteRuleSets = \n {\n new AzureNextGen.Network.Latest.Inputs.ApplicationGatewayRewriteRuleSetArgs\n {\n Name = \"rewriteRuleSet1\",\n RewriteRules = \n {\n new AzureNextGen.Network.Latest.Inputs.ApplicationGatewayRewriteRuleArgs\n {\n ActionSet = new AzureNextGen.Network.Latest.Inputs.ApplicationGatewayRewriteRuleActionSetArgs\n {\n RequestHeaderConfigurations = \n {\n new AzureNextGen.Network.Latest.Inputs.ApplicationGatewayHeaderConfigurationArgs\n {\n HeaderName = \"X-Forwarded-For\",\n HeaderValue = \"{var_add_x_forwarded_for_proxy}\",\n },\n },\n ResponseHeaderConfigurations = \n {\n new AzureNextGen.Network.Latest.Inputs.ApplicationGatewayHeaderConfigurationArgs\n {\n HeaderName = \"Strict-Transport-Security\",\n HeaderValue = \"max-age=31536000\",\n },\n },\n UrlConfiguration = new AzureNextGen.Network.Latest.Inputs.ApplicationGatewayUrlConfigurationArgs\n {\n ModifiedPath = \"/abc\",\n },\n },\n Conditions = \n {\n new AzureNextGen.Network.Latest.Inputs.ApplicationGatewayRewriteRuleConditionArgs\n {\n IgnoreCase = true,\n Negate = false,\n Pattern = \"^Bearer\",\n Variable = \"http_req_Authorization\",\n },\n },\n Name = \"Set X-Forwarded-For\",\n RuleSequence = 102,\n },\n },\n },\n },\n Sku = new AzureNextGen.Network.Latest.Inputs.ApplicationGatewaySkuArgs\n {\n Capacity = 3,\n Name = \"Standard_v2\",\n Tier = \"Standard_v2\",\n },\n SslCertificates = \n {\n new AzureNextGen.Network.Latest.Inputs.ApplicationGatewaySslCertificateArgs\n {\n Data = \"****\",\n Name = \"sslcert\",\n Password = \"****\",\n },\n new AzureNextGen.Network.Latest.Inputs.ApplicationGatewaySslCertificateArgs\n {\n KeyVaultSecretId = \"https://kv/secret\",\n Name = \"sslcert2\",\n },\n },\n SslProfiles = \n {\n new AzureNextGen.Network.Latest.Inputs.ApplicationGatewaySslProfileArgs\n {\n ClientAuthConfiguration = new AzureNextGen.Network.Latest.Inputs.ApplicationGatewayClientAuthConfigurationArgs\n {\n VerifyClientCertIssuerDN = true,\n },\n Name = \"sslProfile1\",\n SslPolicy = new AzureNextGen.Network.Latest.Inputs.ApplicationGatewaySslPolicyArgs\n {\n CipherSuites = \n {\n \"TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256\",\n },\n MinProtocolVersion = \"TLSv1_1\",\n PolicyType = \"Custom\",\n },\n TrustedClientCertificates = \n {\n new AzureNextGen.Network.Latest.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/trustedClientCertificates/clientcert\",\n },\n },\n },\n },\n TrustedClientCertificates = \n {\n new AzureNextGen.Network.Latest.Inputs.ApplicationGatewayTrustedClientCertificateArgs\n {\n Data = \"****\",\n Name = \"clientcert\",\n },\n },\n TrustedRootCertificates = \n {\n new AzureNextGen.Network.Latest.Inputs.ApplicationGatewayTrustedRootCertificateArgs\n {\n Data = \"****\",\n Name = \"rootcert\",\n },\n new AzureNextGen.Network.Latest.Inputs.ApplicationGatewayTrustedRootCertificateArgs\n {\n KeyVaultSecretId = \"https://kv/secret\",\n Name = \"rootcert1\",\n },\n },\n UrlPathMaps = \n {\n new AzureNextGen.Network.Latest.Inputs.ApplicationGatewayUrlPathMapArgs\n {\n DefaultBackendAddressPool = new AzureNextGen.Network.Latest.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool\",\n },\n DefaultBackendHttpSettings = new AzureNextGen.Network.Latest.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs\",\n },\n DefaultRewriteRuleSet = new AzureNextGen.Network.Latest.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1\",\n },\n Name = \"pathMap1\",\n PathRules = \n {\n new AzureNextGen.Network.Latest.Inputs.ApplicationGatewayPathRuleArgs\n {\n BackendAddressPool = new AzureNextGen.Network.Latest.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool\",\n },\n BackendHttpSettings = new AzureNextGen.Network.Latest.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs\",\n },\n Name = \"apiPaths\",\n Paths = \n {\n \"/api\",\n \"/v1/api\",\n },\n RewriteRuleSet = new AzureNextGen.Network.Latest.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1\",\n },\n },\n },\n },\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\tnetwork \"github.com/pulumi/pulumi-azure-nextgen/sdk/go/azure/network/latest\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := network.NewApplicationGateway(ctx, \"applicationGateway\", \u0026network.ApplicationGatewayArgs{\n\t\t\tApplicationGatewayName: pulumi.String(\"appgw\"),\n\t\t\tBackendAddressPools: network.ApplicationGatewayBackendAddressPoolArray{\n\t\t\t\t\u0026network.ApplicationGatewayBackendAddressPoolArgs{\n\t\t\t\t\tBackendAddresses: network.ApplicationGatewayBackendAddressArray{\n\t\t\t\t\t\t\u0026network.ApplicationGatewayBackendAddressArgs{\n\t\t\t\t\t\t\tIpAddress: pulumi.String(\"10.0.1.1\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\u0026network.ApplicationGatewayBackendAddressArgs{\n\t\t\t\t\t\t\tIpAddress: pulumi.String(\"10.0.1.2\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tName: pulumi.String(\"appgwpool\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tBackendHttpSettingsCollection: network.ApplicationGatewayBackendHttpSettingsArray{\n\t\t\t\t\u0026network.ApplicationGatewayBackendHttpSettingsArgs{\n\t\t\t\t\tCookieBasedAffinity: pulumi.String(\"Disabled\"),\n\t\t\t\t\tName: pulumi.String(\"appgwbhs\"),\n\t\t\t\t\tPort: pulumi.Int(80),\n\t\t\t\t\tProtocol: pulumi.String(\"Http\"),\n\t\t\t\t\tRequestTimeout: pulumi.Int(30),\n\t\t\t\t},\n\t\t\t},\n\t\t\tFrontendIPConfigurations: network.ApplicationGatewayFrontendIPConfigurationArray{\n\t\t\t\t\u0026network.ApplicationGatewayFrontendIPConfigurationArgs{\n\t\t\t\t\tName: pulumi.String(\"appgwfip\"),\n\t\t\t\t\tPublicIPAddress: \u0026network.SubResourceArgs{\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tFrontendPorts: network.ApplicationGatewayFrontendPortArray{\n\t\t\t\t\u0026network.ApplicationGatewayFrontendPortArgs{\n\t\t\t\t\tName: pulumi.String(\"appgwfp\"),\n\t\t\t\t\tPort: pulumi.Int(443),\n\t\t\t\t},\n\t\t\t\t\u0026network.ApplicationGatewayFrontendPortArgs{\n\t\t\t\t\tName: pulumi.String(\"appgwfp80\"),\n\t\t\t\t\tPort: pulumi.Int(80),\n\t\t\t\t},\n\t\t\t},\n\t\t\tGatewayIPConfigurations: network.ApplicationGatewayIPConfigurationArray{\n\t\t\t\t\u0026network.ApplicationGatewayIPConfigurationArgs{\n\t\t\t\t\tName: pulumi.String(\"appgwipc\"),\n\t\t\t\t\tSubnet: \u0026network.SubResourceArgs{\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/appgwsubnet\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tHttpListeners: network.ApplicationGatewayHttpListenerArray{\n\t\t\t\t\u0026network.ApplicationGatewayHttpListenerArgs{\n\t\t\t\t\tFrontendIPConfiguration: \u0026network.SubResourceArgs{\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip\"),\n\t\t\t\t\t},\n\t\t\t\t\tFrontendPort: \u0026network.SubResourceArgs{\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp\"),\n\t\t\t\t\t},\n\t\t\t\t\tName: pulumi.String(\"appgwhl\"),\n\t\t\t\t\tProtocol: pulumi.String(\"Https\"),\n\t\t\t\t\tRequireServerNameIndication: pulumi.Bool(false),\n\t\t\t\t\tSslCertificate: \u0026network.SubResourceArgs{\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert\"),\n\t\t\t\t\t},\n\t\t\t\t\tSslProfile: \u0026network.SubResourceArgs{\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslProfiles/sslProfile1\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026network.ApplicationGatewayHttpListenerArgs{\n\t\t\t\t\tFrontendIPConfiguration: \u0026network.SubResourceArgs{\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip\"),\n\t\t\t\t\t},\n\t\t\t\t\tFrontendPort: \u0026network.SubResourceArgs{\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80\"),\n\t\t\t\t\t},\n\t\t\t\t\tName: pulumi.String(\"appgwhttplistener\"),\n\t\t\t\t\tProtocol: pulumi.String(\"Http\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tIdentity: \u0026network.ManagedServiceIdentityArgs{\n\t\t\t\tType: \"UserAssigned\",\n\t\t\t\tUserAssignedIdentities: pulumi.MapMap{\n\t\t\t\t\t\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1\": nil,\n\t\t\t\t},\n\t\t\t},\n\t\t\tLocation: pulumi.String(\"eastus\"),\n\t\t\tRequestRoutingRules: network.ApplicationGatewayRequestRoutingRuleArray{\n\t\t\t\t\u0026network.ApplicationGatewayRequestRoutingRuleArgs{\n\t\t\t\t\tBackendAddressPool: \u0026network.SubResourceArgs{\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool\"),\n\t\t\t\t\t},\n\t\t\t\t\tBackendHttpSettings: \u0026network.SubResourceArgs{\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs\"),\n\t\t\t\t\t},\n\t\t\t\t\tHttpListener: \u0026network.SubResourceArgs{\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl\"),\n\t\t\t\t\t},\n\t\t\t\t\tName: pulumi.String(\"appgwrule\"),\n\t\t\t\t\tPriority: pulumi.Int(10),\n\t\t\t\t\tRewriteRuleSet: \u0026network.SubResourceArgs{\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1\"),\n\t\t\t\t\t},\n\t\t\t\t\tRuleType: pulumi.String(\"Basic\"),\n\t\t\t\t},\n\t\t\t\t\u0026network.ApplicationGatewayRequestRoutingRuleArgs{\n\t\t\t\t\tHttpListener: \u0026network.SubResourceArgs{\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener\"),\n\t\t\t\t\t},\n\t\t\t\t\tName: pulumi.String(\"appgwPathBasedRule\"),\n\t\t\t\t\tPriority: pulumi.Int(20),\n\t\t\t\t\tRuleType: pulumi.String(\"PathBasedRouting\"),\n\t\t\t\t\tUrlPathMap: \u0026network.SubResourceArgs{\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tResourceGroupName: pulumi.String(\"rg1\"),\n\t\t\tRewriteRuleSets: network.ApplicationGatewayRewriteRuleSetArray{\n\t\t\t\t\u0026network.ApplicationGatewayRewriteRuleSetArgs{\n\t\t\t\t\tName: pulumi.String(\"rewriteRuleSet1\"),\n\t\t\t\t\tRewriteRules: network.ApplicationGatewayRewriteRuleArray{\n\t\t\t\t\t\t\u0026network.ApplicationGatewayRewriteRuleArgs{\n\t\t\t\t\t\t\tActionSet: \u0026network.ApplicationGatewayRewriteRuleActionSetArgs{\n\t\t\t\t\t\t\t\tRequestHeaderConfigurations: network.ApplicationGatewayHeaderConfigurationArray{\n\t\t\t\t\t\t\t\t\t\u0026network.ApplicationGatewayHeaderConfigurationArgs{\n\t\t\t\t\t\t\t\t\t\tHeaderName: pulumi.String(\"X-Forwarded-For\"),\n\t\t\t\t\t\t\t\t\t\tHeaderValue: pulumi.String(\"{var_add_x_forwarded_for_proxy}\"),\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tResponseHeaderConfigurations: network.ApplicationGatewayHeaderConfigurationArray{\n\t\t\t\t\t\t\t\t\t\u0026network.ApplicationGatewayHeaderConfigurationArgs{\n\t\t\t\t\t\t\t\t\t\tHeaderName: pulumi.String(\"Strict-Transport-Security\"),\n\t\t\t\t\t\t\t\t\t\tHeaderValue: pulumi.String(\"max-age=31536000\"),\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tUrlConfiguration: \u0026network.ApplicationGatewayUrlConfigurationArgs{\n\t\t\t\t\t\t\t\t\tModifiedPath: pulumi.String(\"/abc\"),\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tConditions: network.ApplicationGatewayRewriteRuleConditionArray{\n\t\t\t\t\t\t\t\t\u0026network.ApplicationGatewayRewriteRuleConditionArgs{\n\t\t\t\t\t\t\t\t\tIgnoreCase: pulumi.Bool(true),\n\t\t\t\t\t\t\t\t\tNegate: pulumi.Bool(false),\n\t\t\t\t\t\t\t\t\tPattern: pulumi.String(\"^Bearer\"),\n\t\t\t\t\t\t\t\t\tVariable: pulumi.String(\"http_req_Authorization\"),\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tName: pulumi.String(\"Set X-Forwarded-For\"),\n\t\t\t\t\t\t\tRuleSequence: pulumi.Int(102),\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\tSku: \u0026network.ApplicationGatewaySkuArgs{\n\t\t\t\tCapacity: pulumi.Int(3),\n\t\t\t\tName: pulumi.String(\"Standard_v2\"),\n\t\t\t\tTier: pulumi.String(\"Standard_v2\"),\n\t\t\t},\n\t\t\tSslCertificates: network.ApplicationGatewaySslCertificateArray{\n\t\t\t\t\u0026network.ApplicationGatewaySslCertificateArgs{\n\t\t\t\t\tData: pulumi.String(\"****\"),\n\t\t\t\t\tName: pulumi.String(\"sslcert\"),\n\t\t\t\t\tPassword: pulumi.String(\"****\"),\n\t\t\t\t},\n\t\t\t\t\u0026network.ApplicationGatewaySslCertificateArgs{\n\t\t\t\t\tKeyVaultSecretId: pulumi.String(\"https://kv/secret\"),\n\t\t\t\t\tName: pulumi.String(\"sslcert2\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tSslProfiles: network.ApplicationGatewaySslProfileArray{\n\t\t\t\t\u0026network.ApplicationGatewaySslProfileArgs{\n\t\t\t\t\tClientAuthConfiguration: \u0026network.ApplicationGatewayClientAuthConfigurationArgs{\n\t\t\t\t\t\tVerifyClientCertIssuerDN: pulumi.Bool(true),\n\t\t\t\t\t},\n\t\t\t\t\tName: pulumi.String(\"sslProfile1\"),\n\t\t\t\t\tSslPolicy: \u0026network.ApplicationGatewaySslPolicyArgs{\n\t\t\t\t\t\tCipherSuites: pulumi.StringArray{\n\t\t\t\t\t\t\tpulumi.String(\"TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\tMinProtocolVersion: pulumi.String(\"TLSv1_1\"),\n\t\t\t\t\t\tPolicyType: pulumi.String(\"Custom\"),\n\t\t\t\t\t},\n\t\t\t\t\tTrustedClientCertificates: network.SubResourceArray{\n\t\t\t\t\t\t\u0026network.SubResourceArgs{\n\t\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/trustedClientCertificates/clientcert\"),\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\tTrustedClientCertificates: network.ApplicationGatewayTrustedClientCertificateArray{\n\t\t\t\t\u0026network.ApplicationGatewayTrustedClientCertificateArgs{\n\t\t\t\t\tData: pulumi.String(\"****\"),\n\t\t\t\t\tName: pulumi.String(\"clientcert\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tTrustedRootCertificates: network.ApplicationGatewayTrustedRootCertificateArray{\n\t\t\t\t\u0026network.ApplicationGatewayTrustedRootCertificateArgs{\n\t\t\t\t\tData: pulumi.String(\"****\"),\n\t\t\t\t\tName: pulumi.String(\"rootcert\"),\n\t\t\t\t},\n\t\t\t\t\u0026network.ApplicationGatewayTrustedRootCertificateArgs{\n\t\t\t\t\tKeyVaultSecretId: pulumi.String(\"https://kv/secret\"),\n\t\t\t\t\tName: pulumi.String(\"rootcert1\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tUrlPathMaps: network.ApplicationGatewayUrlPathMapArray{\n\t\t\t\t\u0026network.ApplicationGatewayUrlPathMapArgs{\n\t\t\t\t\tDefaultBackendAddressPool: \u0026network.SubResourceArgs{\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool\"),\n\t\t\t\t\t},\n\t\t\t\t\tDefaultBackendHttpSettings: \u0026network.SubResourceArgs{\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs\"),\n\t\t\t\t\t},\n\t\t\t\t\tDefaultRewriteRuleSet: \u0026network.SubResourceArgs{\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1\"),\n\t\t\t\t\t},\n\t\t\t\t\tName: pulumi.String(\"pathMap1\"),\n\t\t\t\t\tPathRules: network.ApplicationGatewayPathRuleArray{\n\t\t\t\t\t\t\u0026network.ApplicationGatewayPathRuleArgs{\n\t\t\t\t\t\t\tBackendAddressPool: \u0026network.SubResourceArgs{\n\t\t\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool\"),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tBackendHttpSettings: \u0026network.SubResourceArgs{\n\t\t\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs\"),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tName: pulumi.String(\"apiPaths\"),\n\t\t\t\t\t\t\tPaths: pulumi.StringArray{\n\t\t\t\t\t\t\t\tpulumi.String(\"/api\"),\n\t\t\t\t\t\t\t\tpulumi.String(\"/v1/api\"),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tRewriteRuleSet: \u0026network.SubResourceArgs{\n\t\t\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1\"),\n\t\t\t\t\t\t\t},\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})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_nextgen from \"@pulumi/azure-nextgen\";\n\nconst applicationGateway = new azure_nextgen.network.latest.ApplicationGateway(\"applicationGateway\", {\n applicationGatewayName: \"appgw\",\n backendAddressPools: [{\n backendAddresses: [\n {\n ipAddress: \"10.0.1.1\",\n },\n {\n ipAddress: \"10.0.1.2\",\n },\n ],\n name: \"appgwpool\",\n }],\n backendHttpSettingsCollection: [{\n cookieBasedAffinity: \"Disabled\",\n name: \"appgwbhs\",\n port: 80,\n protocol: \"Http\",\n requestTimeout: 30,\n }],\n frontendIPConfigurations: [{\n name: \"appgwfip\",\n publicIPAddress: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip\",\n },\n }],\n frontendPorts: [\n {\n name: \"appgwfp\",\n port: 443,\n },\n {\n name: \"appgwfp80\",\n port: 80,\n },\n ],\n gatewayIPConfigurations: [{\n name: \"appgwipc\",\n subnet: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/appgwsubnet\",\n },\n }],\n httpListeners: [\n {\n frontendIPConfiguration: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip\",\n },\n frontendPort: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp\",\n },\n name: \"appgwhl\",\n protocol: \"Https\",\n requireServerNameIndication: false,\n sslCertificate: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert\",\n },\n sslProfile: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslProfiles/sslProfile1\",\n },\n },\n {\n frontendIPConfiguration: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip\",\n },\n frontendPort: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80\",\n },\n name: \"appgwhttplistener\",\n protocol: \"Http\",\n },\n ],\n identity: {\n type: \"UserAssigned\",\n userAssignedIdentities: {\n \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1\": {},\n },\n },\n location: \"eastus\",\n requestRoutingRules: [\n {\n backendAddressPool: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool\",\n },\n backendHttpSettings: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs\",\n },\n httpListener: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl\",\n },\n name: \"appgwrule\",\n priority: 10,\n rewriteRuleSet: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1\",\n },\n ruleType: \"Basic\",\n },\n {\n httpListener: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener\",\n },\n name: \"appgwPathBasedRule\",\n priority: 20,\n ruleType: \"PathBasedRouting\",\n urlPathMap: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1\",\n },\n },\n ],\n resourceGroupName: \"rg1\",\n rewriteRuleSets: [{\n name: \"rewriteRuleSet1\",\n rewriteRules: [{\n actionSet: {\n requestHeaderConfigurations: [{\n headerName: \"X-Forwarded-For\",\n headerValue: \"{var_add_x_forwarded_for_proxy}\",\n }],\n responseHeaderConfigurations: [{\n headerName: \"Strict-Transport-Security\",\n headerValue: \"max-age=31536000\",\n }],\n urlConfiguration: {\n modifiedPath: \"/abc\",\n },\n },\n conditions: [{\n ignoreCase: true,\n negate: false,\n pattern: \"^Bearer\",\n variable: \"http_req_Authorization\",\n }],\n name: \"Set X-Forwarded-For\",\n ruleSequence: 102,\n }],\n }],\n sku: {\n capacity: 3,\n name: \"Standard_v2\",\n tier: \"Standard_v2\",\n },\n sslCertificates: [\n {\n data: \"****\",\n name: \"sslcert\",\n password: \"****\",\n },\n {\n keyVaultSecretId: \"https://kv/secret\",\n name: \"sslcert2\",\n },\n ],\n sslProfiles: [{\n clientAuthConfiguration: {\n verifyClientCertIssuerDN: true,\n },\n name: \"sslProfile1\",\n sslPolicy: {\n cipherSuites: [\"TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256\"],\n minProtocolVersion: \"TLSv1_1\",\n policyType: \"Custom\",\n },\n trustedClientCertificates: [{\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/trustedClientCertificates/clientcert\",\n }],\n }],\n trustedClientCertificates: [{\n data: \"****\",\n name: \"clientcert\",\n }],\n trustedRootCertificates: [\n {\n data: \"****\",\n name: \"rootcert\",\n },\n {\n keyVaultSecretId: \"https://kv/secret\",\n name: \"rootcert1\",\n },\n ],\n urlPathMaps: [{\n defaultBackendAddressPool: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool\",\n },\n defaultBackendHttpSettings: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs\",\n },\n defaultRewriteRuleSet: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1\",\n },\n name: \"pathMap1\",\n pathRules: [{\n backendAddressPool: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool\",\n },\n backendHttpSettings: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs\",\n },\n name: \"apiPaths\",\n paths: [\n \"/api\",\n \"/v1/api\",\n ],\n rewriteRuleSet: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1\",\n },\n }],\n }],\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_nextgen as azure_nextgen\n\napplication_gateway = azure_nextgen.network.latest.ApplicationGateway(\"applicationGateway\",\n application_gateway_name=\"appgw\",\n backend_address_pools=[azure_nextgen.network.latest.ApplicationGatewayBackendAddressPoolArgs(\n backend_addresses=[\n azure_nextgen.network.latest.ApplicationGatewayBackendAddressArgs(\n ip_address=\"10.0.1.1\",\n ),\n azure_nextgen.network.latest.ApplicationGatewayBackendAddressArgs(\n ip_address=\"10.0.1.2\",\n ),\n ],\n name=\"appgwpool\",\n )],\n backend_http_settings_collection=[azure_nextgen.network.latest.ApplicationGatewayBackendHttpSettingsArgs(\n cookie_based_affinity=\"Disabled\",\n name=\"appgwbhs\",\n port=80,\n protocol=\"Http\",\n request_timeout=30,\n )],\n frontend_ip_configurations=[azure_nextgen.network.latest.ApplicationGatewayFrontendIPConfigurationArgs(\n name=\"appgwfip\",\n public_ip_address=azure_nextgen.network.latest.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip\",\n ),\n )],\n frontend_ports=[\n azure_nextgen.network.latest.ApplicationGatewayFrontendPortArgs(\n name=\"appgwfp\",\n port=443,\n ),\n azure_nextgen.network.latest.ApplicationGatewayFrontendPortArgs(\n name=\"appgwfp80\",\n port=80,\n ),\n ],\n gateway_ip_configurations=[azure_nextgen.network.latest.ApplicationGatewayIPConfigurationArgs(\n name=\"appgwipc\",\n subnet=azure_nextgen.network.latest.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/appgwsubnet\",\n ),\n )],\n http_listeners=[\n azure_nextgen.network.latest.ApplicationGatewayHttpListenerArgs(\n frontend_ip_configuration=azure_nextgen.network.latest.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip\",\n ),\n frontend_port=azure_nextgen.network.latest.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp\",\n ),\n name=\"appgwhl\",\n protocol=\"Https\",\n require_server_name_indication=False,\n ssl_certificate=azure_nextgen.network.latest.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert\",\n ),\n ssl_profile=azure_nextgen.network.latest.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslProfiles/sslProfile1\",\n ),\n ),\n azure_nextgen.network.latest.ApplicationGatewayHttpListenerArgs(\n frontend_ip_configuration=azure_nextgen.network.latest.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip\",\n ),\n frontend_port=azure_nextgen.network.latest.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80\",\n ),\n name=\"appgwhttplistener\",\n protocol=\"Http\",\n ),\n ],\n identity=azure_nextgen.network.latest.ManagedServiceIdentityArgs(\n type=\"UserAssigned\",\n user_assigned_identities={\n \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1\": {},\n },\n ),\n location=\"eastus\",\n request_routing_rules=[\n azure_nextgen.network.latest.ApplicationGatewayRequestRoutingRuleArgs(\n backend_address_pool=azure_nextgen.network.latest.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool\",\n ),\n backend_http_settings=azure_nextgen.network.latest.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs\",\n ),\n http_listener=azure_nextgen.network.latest.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl\",\n ),\n name=\"appgwrule\",\n priority=10,\n rewrite_rule_set=azure_nextgen.network.latest.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1\",\n ),\n rule_type=\"Basic\",\n ),\n azure_nextgen.network.latest.ApplicationGatewayRequestRoutingRuleArgs(\n http_listener=azure_nextgen.network.latest.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener\",\n ),\n name=\"appgwPathBasedRule\",\n priority=20,\n rule_type=\"PathBasedRouting\",\n url_path_map=azure_nextgen.network.latest.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1\",\n ),\n ),\n ],\n resource_group_name=\"rg1\",\n rewrite_rule_sets=[azure_nextgen.network.latest.ApplicationGatewayRewriteRuleSetArgs(\n name=\"rewriteRuleSet1\",\n rewrite_rules=[azure_nextgen.network.latest.ApplicationGatewayRewriteRuleArgs(\n action_set=azure_nextgen.network.latest.ApplicationGatewayRewriteRuleActionSetArgs(\n request_header_configurations=[azure_nextgen.network.latest.ApplicationGatewayHeaderConfigurationArgs(\n header_name=\"X-Forwarded-For\",\n header_value=\"{var_add_x_forwarded_for_proxy}\",\n )],\n response_header_configurations=[azure_nextgen.network.latest.ApplicationGatewayHeaderConfigurationArgs(\n header_name=\"Strict-Transport-Security\",\n header_value=\"max-age=31536000\",\n )],\n url_configuration=azure_nextgen.network.latest.ApplicationGatewayUrlConfigurationArgs(\n modified_path=\"/abc\",\n ),\n ),\n conditions=[azure_nextgen.network.latest.ApplicationGatewayRewriteRuleConditionArgs(\n ignore_case=True,\n negate=False,\n pattern=\"^Bearer\",\n variable=\"http_req_Authorization\",\n )],\n name=\"Set X-Forwarded-For\",\n rule_sequence=102,\n )],\n )],\n sku=azure_nextgen.network.latest.ApplicationGatewaySkuArgs(\n capacity=3,\n name=\"Standard_v2\",\n tier=\"Standard_v2\",\n ),\n ssl_certificates=[\n azure_nextgen.network.latest.ApplicationGatewaySslCertificateArgs(\n data=\"****\",\n name=\"sslcert\",\n password=\"****\",\n ),\n azure_nextgen.network.latest.ApplicationGatewaySslCertificateArgs(\n key_vault_secret_id=\"https://kv/secret\",\n name=\"sslcert2\",\n ),\n ],\n ssl_profiles=[azure_nextgen.network.latest.ApplicationGatewaySslProfileArgs(\n client_auth_configuration=azure_nextgen.network.latest.ApplicationGatewayClientAuthConfigurationArgs(\n verify_client_cert_issuer_dn=True,\n ),\n name=\"sslProfile1\",\n ssl_policy=azure_nextgen.network.latest.ApplicationGatewaySslPolicyArgs(\n cipher_suites=[\"TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256\"],\n min_protocol_version=\"TLSv1_1\",\n policy_type=\"Custom\",\n ),\n trusted_client_certificates=[azure_nextgen.network.latest.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/trustedClientCertificates/clientcert\",\n )],\n )],\n trusted_client_certificates=[azure_nextgen.network.latest.ApplicationGatewayTrustedClientCertificateArgs(\n data=\"****\",\n name=\"clientcert\",\n )],\n trusted_root_certificates=[\n azure_nextgen.network.latest.ApplicationGatewayTrustedRootCertificateArgs(\n data=\"****\",\n name=\"rootcert\",\n ),\n azure_nextgen.network.latest.ApplicationGatewayTrustedRootCertificateArgs(\n key_vault_secret_id=\"https://kv/secret\",\n name=\"rootcert1\",\n ),\n ],\n url_path_maps=[azure_nextgen.network.latest.ApplicationGatewayUrlPathMapArgs(\n default_backend_address_pool=azure_nextgen.network.latest.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool\",\n ),\n default_backend_http_settings=azure_nextgen.network.latest.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs\",\n ),\n default_rewrite_rule_set=azure_nextgen.network.latest.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1\",\n ),\n name=\"pathMap1\",\n path_rules=[azure_nextgen.network.latest.ApplicationGatewayPathRuleArgs(\n backend_address_pool=azure_nextgen.network.latest.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool\",\n ),\n backend_http_settings=azure_nextgen.network.latest.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs\",\n ),\n name=\"apiPaths\",\n paths=[\n \"/api\",\n \"/v1/api\",\n ],\n rewrite_rule_set=azure_nextgen.network.latest.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1\",\n ),\n )],\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-nextgen:network/latest:ApplicationGateway appgw /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw \n```\n", + "description": "Application gateway resource.\nLatest API Version: 2020-08-01.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Create Application Gateway\n```csharp\nusing Pulumi;\nusing AzureNextGen = Pulumi.AzureNextGen;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var applicationGateway = new AzureNextGen.Network.Latest.ApplicationGateway(\"applicationGateway\", new AzureNextGen.Network.Latest.ApplicationGatewayArgs\n {\n ApplicationGatewayName = \"appgw\",\n BackendAddressPools = \n {\n new AzureNextGen.Network.Latest.Inputs.ApplicationGatewayBackendAddressPoolArgs\n {\n BackendAddresses = \n {\n new AzureNextGen.Network.Latest.Inputs.ApplicationGatewayBackendAddressArgs\n {\n IpAddress = \"10.0.1.1\",\n },\n new AzureNextGen.Network.Latest.Inputs.ApplicationGatewayBackendAddressArgs\n {\n IpAddress = \"10.0.1.2\",\n },\n },\n Name = \"appgwpool\",\n },\n },\n BackendHttpSettingsCollection = \n {\n new AzureNextGen.Network.Latest.Inputs.ApplicationGatewayBackendHttpSettingsArgs\n {\n CookieBasedAffinity = \"Disabled\",\n Name = \"appgwbhs\",\n Port = 80,\n Protocol = \"Http\",\n RequestTimeout = 30,\n },\n },\n FrontendIPConfigurations = \n {\n new AzureNextGen.Network.Latest.Inputs.ApplicationGatewayFrontendIPConfigurationArgs\n {\n Name = \"appgwfip\",\n PublicIPAddress = new AzureNextGen.Network.Latest.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip\",\n },\n },\n },\n FrontendPorts = \n {\n new AzureNextGen.Network.Latest.Inputs.ApplicationGatewayFrontendPortArgs\n {\n Name = \"appgwfp\",\n Port = 443,\n },\n new AzureNextGen.Network.Latest.Inputs.ApplicationGatewayFrontendPortArgs\n {\n Name = \"appgwfp80\",\n Port = 80,\n },\n },\n GatewayIPConfigurations = \n {\n new AzureNextGen.Network.Latest.Inputs.ApplicationGatewayIPConfigurationArgs\n {\n Name = \"appgwipc\",\n Subnet = new AzureNextGen.Network.Latest.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/appgwsubnet\",\n },\n },\n },\n HttpListeners = \n {\n new AzureNextGen.Network.Latest.Inputs.ApplicationGatewayHttpListenerArgs\n {\n FrontendIPConfiguration = new AzureNextGen.Network.Latest.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip\",\n },\n FrontendPort = new AzureNextGen.Network.Latest.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp\",\n },\n Name = \"appgwhl\",\n Protocol = \"Https\",\n RequireServerNameIndication = false,\n SslCertificate = new AzureNextGen.Network.Latest.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert\",\n },\n SslProfile = new AzureNextGen.Network.Latest.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslProfiles/sslProfile1\",\n },\n },\n new AzureNextGen.Network.Latest.Inputs.ApplicationGatewayHttpListenerArgs\n {\n FrontendIPConfiguration = new AzureNextGen.Network.Latest.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip\",\n },\n FrontendPort = new AzureNextGen.Network.Latest.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80\",\n },\n Name = \"appgwhttplistener\",\n Protocol = \"Http\",\n },\n },\n Identity = new AzureNextGen.Network.Latest.Inputs.ManagedServiceIdentityArgs\n {\n Type = \"UserAssigned\",\n UserAssignedIdentities = \n {\n { \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1\", },\n },\n },\n Location = \"eastus\",\n RequestRoutingRules = \n {\n new AzureNextGen.Network.Latest.Inputs.ApplicationGatewayRequestRoutingRuleArgs\n {\n BackendAddressPool = new AzureNextGen.Network.Latest.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool\",\n },\n BackendHttpSettings = new AzureNextGen.Network.Latest.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs\",\n },\n HttpListener = new AzureNextGen.Network.Latest.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl\",\n },\n Name = \"appgwrule\",\n Priority = 10,\n RewriteRuleSet = new AzureNextGen.Network.Latest.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1\",\n },\n RuleType = \"Basic\",\n },\n new AzureNextGen.Network.Latest.Inputs.ApplicationGatewayRequestRoutingRuleArgs\n {\n HttpListener = new AzureNextGen.Network.Latest.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener\",\n },\n Name = \"appgwPathBasedRule\",\n Priority = 20,\n RuleType = \"PathBasedRouting\",\n UrlPathMap = new AzureNextGen.Network.Latest.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1\",\n },\n },\n },\n ResourceGroupName = \"rg1\",\n RewriteRuleSets = \n {\n new AzureNextGen.Network.Latest.Inputs.ApplicationGatewayRewriteRuleSetArgs\n {\n Name = \"rewriteRuleSet1\",\n RewriteRules = \n {\n new AzureNextGen.Network.Latest.Inputs.ApplicationGatewayRewriteRuleArgs\n {\n ActionSet = new AzureNextGen.Network.Latest.Inputs.ApplicationGatewayRewriteRuleActionSetArgs\n {\n RequestHeaderConfigurations = \n {\n new AzureNextGen.Network.Latest.Inputs.ApplicationGatewayHeaderConfigurationArgs\n {\n HeaderName = \"X-Forwarded-For\",\n HeaderValue = \"{var_add_x_forwarded_for_proxy}\",\n },\n },\n ResponseHeaderConfigurations = \n {\n new AzureNextGen.Network.Latest.Inputs.ApplicationGatewayHeaderConfigurationArgs\n {\n HeaderName = \"Strict-Transport-Security\",\n HeaderValue = \"max-age=31536000\",\n },\n },\n UrlConfiguration = new AzureNextGen.Network.Latest.Inputs.ApplicationGatewayUrlConfigurationArgs\n {\n ModifiedPath = \"/abc\",\n },\n },\n Conditions = \n {\n new AzureNextGen.Network.Latest.Inputs.ApplicationGatewayRewriteRuleConditionArgs\n {\n IgnoreCase = true,\n Negate = false,\n Pattern = \"^Bearer\",\n Variable = \"http_req_Authorization\",\n },\n },\n Name = \"Set X-Forwarded-For\",\n RuleSequence = 102,\n },\n },\n },\n },\n Sku = new AzureNextGen.Network.Latest.Inputs.ApplicationGatewaySkuArgs\n {\n Capacity = 3,\n Name = \"Standard_v2\",\n Tier = \"Standard_v2\",\n },\n SslCertificates = \n {\n new AzureNextGen.Network.Latest.Inputs.ApplicationGatewaySslCertificateArgs\n {\n Data = \"****\",\n Name = \"sslcert\",\n Password = \"****\",\n },\n new AzureNextGen.Network.Latest.Inputs.ApplicationGatewaySslCertificateArgs\n {\n KeyVaultSecretId = \"https://kv/secret\",\n Name = \"sslcert2\",\n },\n },\n SslProfiles = \n {\n new AzureNextGen.Network.Latest.Inputs.ApplicationGatewaySslProfileArgs\n {\n ClientAuthConfiguration = new AzureNextGen.Network.Latest.Inputs.ApplicationGatewayClientAuthConfigurationArgs\n {\n VerifyClientCertIssuerDN = true,\n },\n Name = \"sslProfile1\",\n SslPolicy = new AzureNextGen.Network.Latest.Inputs.ApplicationGatewaySslPolicyArgs\n {\n CipherSuites = \n {\n \"TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256\",\n },\n MinProtocolVersion = \"TLSv1_1\",\n PolicyType = \"Custom\",\n },\n TrustedClientCertificates = \n {\n new AzureNextGen.Network.Latest.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/trustedClientCertificates/clientcert\",\n },\n },\n },\n },\n TrustedClientCertificates = \n {\n new AzureNextGen.Network.Latest.Inputs.ApplicationGatewayTrustedClientCertificateArgs\n {\n Data = \"****\",\n Name = \"clientcert\",\n },\n },\n TrustedRootCertificates = \n {\n new AzureNextGen.Network.Latest.Inputs.ApplicationGatewayTrustedRootCertificateArgs\n {\n Data = \"****\",\n Name = \"rootcert\",\n },\n new AzureNextGen.Network.Latest.Inputs.ApplicationGatewayTrustedRootCertificateArgs\n {\n KeyVaultSecretId = \"https://kv/secret\",\n Name = \"rootcert1\",\n },\n },\n UrlPathMaps = \n {\n new AzureNextGen.Network.Latest.Inputs.ApplicationGatewayUrlPathMapArgs\n {\n DefaultBackendAddressPool = new AzureNextGen.Network.Latest.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool\",\n },\n DefaultBackendHttpSettings = new AzureNextGen.Network.Latest.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs\",\n },\n DefaultRewriteRuleSet = new AzureNextGen.Network.Latest.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1\",\n },\n Name = \"pathMap1\",\n PathRules = \n {\n new AzureNextGen.Network.Latest.Inputs.ApplicationGatewayPathRuleArgs\n {\n BackendAddressPool = new AzureNextGen.Network.Latest.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool\",\n },\n BackendHttpSettings = new AzureNextGen.Network.Latest.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs\",\n },\n Name = \"apiPaths\",\n Paths = \n {\n \"/api\",\n \"/v1/api\",\n },\n RewriteRuleSet = new AzureNextGen.Network.Latest.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1\",\n },\n },\n },\n },\n },\n });\n }\n\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_nextgen from \"@pulumi/azure-nextgen\";\n\nconst applicationGateway = new azure_nextgen.network.latest.ApplicationGateway(\"applicationGateway\", {\n applicationGatewayName: \"appgw\",\n backendAddressPools: [{\n backendAddresses: [\n {\n ipAddress: \"10.0.1.1\",\n },\n {\n ipAddress: \"10.0.1.2\",\n },\n ],\n name: \"appgwpool\",\n }],\n backendHttpSettingsCollection: [{\n cookieBasedAffinity: \"Disabled\",\n name: \"appgwbhs\",\n port: 80,\n protocol: \"Http\",\n requestTimeout: 30,\n }],\n frontendIPConfigurations: [{\n name: \"appgwfip\",\n publicIPAddress: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip\",\n },\n }],\n frontendPorts: [\n {\n name: \"appgwfp\",\n port: 443,\n },\n {\n name: \"appgwfp80\",\n port: 80,\n },\n ],\n gatewayIPConfigurations: [{\n name: \"appgwipc\",\n subnet: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/appgwsubnet\",\n },\n }],\n httpListeners: [\n {\n frontendIPConfiguration: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip\",\n },\n frontendPort: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp\",\n },\n name: \"appgwhl\",\n protocol: \"Https\",\n requireServerNameIndication: false,\n sslCertificate: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert\",\n },\n sslProfile: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslProfiles/sslProfile1\",\n },\n },\n {\n frontendIPConfiguration: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip\",\n },\n frontendPort: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80\",\n },\n name: \"appgwhttplistener\",\n protocol: \"Http\",\n },\n ],\n identity: {\n type: \"UserAssigned\",\n userAssignedIdentities: {\n \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1\": {},\n },\n },\n location: \"eastus\",\n requestRoutingRules: [\n {\n backendAddressPool: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool\",\n },\n backendHttpSettings: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs\",\n },\n httpListener: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl\",\n },\n name: \"appgwrule\",\n priority: 10,\n rewriteRuleSet: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1\",\n },\n ruleType: \"Basic\",\n },\n {\n httpListener: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener\",\n },\n name: \"appgwPathBasedRule\",\n priority: 20,\n ruleType: \"PathBasedRouting\",\n urlPathMap: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1\",\n },\n },\n ],\n resourceGroupName: \"rg1\",\n rewriteRuleSets: [{\n name: \"rewriteRuleSet1\",\n rewriteRules: [{\n actionSet: {\n requestHeaderConfigurations: [{\n headerName: \"X-Forwarded-For\",\n headerValue: \"{var_add_x_forwarded_for_proxy}\",\n }],\n responseHeaderConfigurations: [{\n headerName: \"Strict-Transport-Security\",\n headerValue: \"max-age=31536000\",\n }],\n urlConfiguration: {\n modifiedPath: \"/abc\",\n },\n },\n conditions: [{\n ignoreCase: true,\n negate: false,\n pattern: \"^Bearer\",\n variable: \"http_req_Authorization\",\n }],\n name: \"Set X-Forwarded-For\",\n ruleSequence: 102,\n }],\n }],\n sku: {\n capacity: 3,\n name: \"Standard_v2\",\n tier: \"Standard_v2\",\n },\n sslCertificates: [\n {\n data: \"****\",\n name: \"sslcert\",\n password: \"****\",\n },\n {\n keyVaultSecretId: \"https://kv/secret\",\n name: \"sslcert2\",\n },\n ],\n sslProfiles: [{\n clientAuthConfiguration: {\n verifyClientCertIssuerDN: true,\n },\n name: \"sslProfile1\",\n sslPolicy: {\n cipherSuites: [\"TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256\"],\n minProtocolVersion: \"TLSv1_1\",\n policyType: \"Custom\",\n },\n trustedClientCertificates: [{\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/trustedClientCertificates/clientcert\",\n }],\n }],\n trustedClientCertificates: [{\n data: \"****\",\n name: \"clientcert\",\n }],\n trustedRootCertificates: [\n {\n data: \"****\",\n name: \"rootcert\",\n },\n {\n keyVaultSecretId: \"https://kv/secret\",\n name: \"rootcert1\",\n },\n ],\n urlPathMaps: [{\n defaultBackendAddressPool: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool\",\n },\n defaultBackendHttpSettings: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs\",\n },\n defaultRewriteRuleSet: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1\",\n },\n name: \"pathMap1\",\n pathRules: [{\n backendAddressPool: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool\",\n },\n backendHttpSettings: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs\",\n },\n name: \"apiPaths\",\n paths: [\n \"/api\",\n \"/v1/api\",\n ],\n rewriteRuleSet: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1\",\n },\n }],\n }],\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_nextgen as azure_nextgen\n\napplication_gateway = azure_nextgen.network.latest.ApplicationGateway(\"applicationGateway\",\n application_gateway_name=\"appgw\",\n backend_address_pools=[azure_nextgen.network.latest.ApplicationGatewayBackendAddressPoolArgs(\n backend_addresses=[\n azure_nextgen.network.latest.ApplicationGatewayBackendAddressArgs(\n ip_address=\"10.0.1.1\",\n ),\n azure_nextgen.network.latest.ApplicationGatewayBackendAddressArgs(\n ip_address=\"10.0.1.2\",\n ),\n ],\n name=\"appgwpool\",\n )],\n backend_http_settings_collection=[azure_nextgen.network.latest.ApplicationGatewayBackendHttpSettingsArgs(\n cookie_based_affinity=\"Disabled\",\n name=\"appgwbhs\",\n port=80,\n protocol=\"Http\",\n request_timeout=30,\n )],\n frontend_ip_configurations=[azure_nextgen.network.latest.ApplicationGatewayFrontendIPConfigurationArgs(\n name=\"appgwfip\",\n public_ip_address=azure_nextgen.network.latest.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip\",\n ),\n )],\n frontend_ports=[\n azure_nextgen.network.latest.ApplicationGatewayFrontendPortArgs(\n name=\"appgwfp\",\n port=443,\n ),\n azure_nextgen.network.latest.ApplicationGatewayFrontendPortArgs(\n name=\"appgwfp80\",\n port=80,\n ),\n ],\n gateway_ip_configurations=[azure_nextgen.network.latest.ApplicationGatewayIPConfigurationArgs(\n name=\"appgwipc\",\n subnet=azure_nextgen.network.latest.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/appgwsubnet\",\n ),\n )],\n http_listeners=[\n azure_nextgen.network.latest.ApplicationGatewayHttpListenerArgs(\n frontend_ip_configuration=azure_nextgen.network.latest.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip\",\n ),\n frontend_port=azure_nextgen.network.latest.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp\",\n ),\n name=\"appgwhl\",\n protocol=\"Https\",\n require_server_name_indication=False,\n ssl_certificate=azure_nextgen.network.latest.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert\",\n ),\n ssl_profile=azure_nextgen.network.latest.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslProfiles/sslProfile1\",\n ),\n ),\n azure_nextgen.network.latest.ApplicationGatewayHttpListenerArgs(\n frontend_ip_configuration=azure_nextgen.network.latest.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip\",\n ),\n frontend_port=azure_nextgen.network.latest.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80\",\n ),\n name=\"appgwhttplistener\",\n protocol=\"Http\",\n ),\n ],\n identity=azure_nextgen.network.latest.ManagedServiceIdentityArgs(\n type=\"UserAssigned\",\n user_assigned_identities={\n \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1\": {},\n },\n ),\n location=\"eastus\",\n request_routing_rules=[\n azure_nextgen.network.latest.ApplicationGatewayRequestRoutingRuleArgs(\n backend_address_pool=azure_nextgen.network.latest.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool\",\n ),\n backend_http_settings=azure_nextgen.network.latest.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs\",\n ),\n http_listener=azure_nextgen.network.latest.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl\",\n ),\n name=\"appgwrule\",\n priority=10,\n rewrite_rule_set=azure_nextgen.network.latest.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1\",\n ),\n rule_type=\"Basic\",\n ),\n azure_nextgen.network.latest.ApplicationGatewayRequestRoutingRuleArgs(\n http_listener=azure_nextgen.network.latest.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener\",\n ),\n name=\"appgwPathBasedRule\",\n priority=20,\n rule_type=\"PathBasedRouting\",\n url_path_map=azure_nextgen.network.latest.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1\",\n ),\n ),\n ],\n resource_group_name=\"rg1\",\n rewrite_rule_sets=[azure_nextgen.network.latest.ApplicationGatewayRewriteRuleSetArgs(\n name=\"rewriteRuleSet1\",\n rewrite_rules=[azure_nextgen.network.latest.ApplicationGatewayRewriteRuleArgs(\n action_set=azure_nextgen.network.latest.ApplicationGatewayRewriteRuleActionSetArgs(\n request_header_configurations=[azure_nextgen.network.latest.ApplicationGatewayHeaderConfigurationArgs(\n header_name=\"X-Forwarded-For\",\n header_value=\"{var_add_x_forwarded_for_proxy}\",\n )],\n response_header_configurations=[azure_nextgen.network.latest.ApplicationGatewayHeaderConfigurationArgs(\n header_name=\"Strict-Transport-Security\",\n header_value=\"max-age=31536000\",\n )],\n url_configuration=azure_nextgen.network.latest.ApplicationGatewayUrlConfigurationArgs(\n modified_path=\"/abc\",\n ),\n ),\n conditions=[azure_nextgen.network.latest.ApplicationGatewayRewriteRuleConditionArgs(\n ignore_case=True,\n negate=False,\n pattern=\"^Bearer\",\n variable=\"http_req_Authorization\",\n )],\n name=\"Set X-Forwarded-For\",\n rule_sequence=102,\n )],\n )],\n sku=azure_nextgen.network.latest.ApplicationGatewaySkuArgs(\n capacity=3,\n name=\"Standard_v2\",\n tier=\"Standard_v2\",\n ),\n ssl_certificates=[\n azure_nextgen.network.latest.ApplicationGatewaySslCertificateArgs(\n data=\"****\",\n name=\"sslcert\",\n password=\"****\",\n ),\n azure_nextgen.network.latest.ApplicationGatewaySslCertificateArgs(\n key_vault_secret_id=\"https://kv/secret\",\n name=\"sslcert2\",\n ),\n ],\n ssl_profiles=[azure_nextgen.network.latest.ApplicationGatewaySslProfileArgs(\n client_auth_configuration=azure_nextgen.network.latest.ApplicationGatewayClientAuthConfigurationArgs(\n verify_client_cert_issuer_dn=True,\n ),\n name=\"sslProfile1\",\n ssl_policy=azure_nextgen.network.latest.ApplicationGatewaySslPolicyArgs(\n cipher_suites=[\"TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256\"],\n min_protocol_version=\"TLSv1_1\",\n policy_type=\"Custom\",\n ),\n trusted_client_certificates=[azure_nextgen.network.latest.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/trustedClientCertificates/clientcert\",\n )],\n )],\n trusted_client_certificates=[azure_nextgen.network.latest.ApplicationGatewayTrustedClientCertificateArgs(\n data=\"****\",\n name=\"clientcert\",\n )],\n trusted_root_certificates=[\n azure_nextgen.network.latest.ApplicationGatewayTrustedRootCertificateArgs(\n data=\"****\",\n name=\"rootcert\",\n ),\n azure_nextgen.network.latest.ApplicationGatewayTrustedRootCertificateArgs(\n key_vault_secret_id=\"https://kv/secret\",\n name=\"rootcert1\",\n ),\n ],\n url_path_maps=[azure_nextgen.network.latest.ApplicationGatewayUrlPathMapArgs(\n default_backend_address_pool=azure_nextgen.network.latest.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool\",\n ),\n default_backend_http_settings=azure_nextgen.network.latest.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs\",\n ),\n default_rewrite_rule_set=azure_nextgen.network.latest.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1\",\n ),\n name=\"pathMap1\",\n path_rules=[azure_nextgen.network.latest.ApplicationGatewayPathRuleArgs(\n backend_address_pool=azure_nextgen.network.latest.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool\",\n ),\n backend_http_settings=azure_nextgen.network.latest.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs\",\n ),\n name=\"apiPaths\",\n paths=[\n \"/api\",\n \"/v1/api\",\n ],\n rewrite_rule_set=azure_nextgen.network.latest.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1\",\n ),\n )],\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-nextgen:network/latest:ApplicationGateway appgw /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw \n```\n", "properties": { "authenticationCertificates": { "type": "array", @@ -334863,7 +336706,7 @@ ] }, "azure-nextgen:network/latest:FirewallPolicyRuleCollectionGroup": { - "description": "Rule Collection Group resource.\nLatest API Version: 2020-08-01.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Create FirewallPolicyNatRuleCollectionGroup\n```csharp\nusing Pulumi;\nusing AzureNextGen = Pulumi.AzureNextGen;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var firewallPolicyRuleCollectionGroup = new AzureNextGen.Network.Latest.FirewallPolicyRuleCollectionGroup(\"firewallPolicyRuleCollectionGroup\", new AzureNextGen.Network.Latest.FirewallPolicyRuleCollectionGroupArgs\n {\n FirewallPolicyName = \"firewallPolicy\",\n Priority = 100,\n ResourceGroupName = \"rg1\",\n RuleCollectionGroupName = \"ruleCollectionGroup1\",\n RuleCollections = \n {\n new AzureNextGen.Network.Latest.Inputs.FirewallPolicyFilterRuleCollectionArgs\n {\n Action = new AzureNextGen.Network.Latest.Inputs.FirewallPolicyFilterRuleCollectionActionArgs\n {\n Type = \"DNAT\",\n },\n Name = \"Example-Nat-Rule-Collection\",\n Priority = 100,\n RuleCollectionType = \"FirewallPolicyNatRuleCollection\",\n Rules = \n {\n \n {\n { \"destinationAddresses\", \n {\n \"152.23.32.23\",\n } },\n { \"destinationPorts\", \n {\n \"8080\",\n } },\n { \"ipProtocols\", \n {\n \"TCP\",\n \"UDP\",\n } },\n { \"name\", \"nat-rule1\" },\n { \"ruleType\", \"NatRule\" },\n { \"sourceAddresses\", \n {\n \"2.2.2.2\",\n } },\n { \"sourceIpGroups\", {} },\n { \"translatedFqdn\", \"internalhttp.server.net\" },\n { \"translatedPort\", \"8080\" },\n },\n },\n },\n },\n });\n }\n\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_nextgen from \"@pulumi/azure-nextgen\";\n\nconst firewallPolicyRuleCollectionGroup = new azure_nextgen.network.latest.FirewallPolicyRuleCollectionGroup(\"firewallPolicyRuleCollectionGroup\", {\n firewallPolicyName: \"firewallPolicy\",\n priority: 100,\n resourceGroupName: \"rg1\",\n ruleCollectionGroupName: \"ruleCollectionGroup1\",\n ruleCollections: [{\n action: {\n type: \"DNAT\",\n },\n name: \"Example-Nat-Rule-Collection\",\n priority: 100,\n ruleCollectionType: \"FirewallPolicyNatRuleCollection\",\n rules: [{\n destinationAddresses: [\"152.23.32.23\"],\n destinationPorts: [\"8080\"],\n ipProtocols: [\n \"TCP\",\n \"UDP\",\n ],\n name: \"nat-rule1\",\n ruleType: \"NatRule\",\n sourceAddresses: [\"2.2.2.2\"],\n sourceIpGroups: [],\n translatedFqdn: \"internalhttp.server.net\",\n translatedPort: \"8080\",\n }],\n }],\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_nextgen as azure_nextgen\n\nfirewall_policy_rule_collection_group = azure_nextgen.network.latest.FirewallPolicyRuleCollectionGroup(\"firewallPolicyRuleCollectionGroup\",\n firewall_policy_name=\"firewallPolicy\",\n priority=100,\n resource_group_name=\"rg1\",\n rule_collection_group_name=\"ruleCollectionGroup1\",\n rule_collections=[azure_nextgen.network.latest.FirewallPolicyFilterRuleCollectionArgs(\n action=azure_nextgen.network.latest.FirewallPolicyFilterRuleCollectionActionArgs(\n type=\"DNAT\",\n ),\n name=\"Example-Nat-Rule-Collection\",\n priority=100,\n rule_collection_type=\"FirewallPolicyNatRuleCollection\",\n rules=[{\n \"destinationAddresses\": [\"152.23.32.23\"],\n \"destinationPorts\": [\"8080\"],\n \"ipProtocols\": [\n \"TCP\",\n \"UDP\",\n ],\n \"name\": \"nat-rule1\",\n \"ruleType\": \"NatRule\",\n \"sourceAddresses\": [\"2.2.2.2\"],\n \"sourceIpGroups\": [],\n \"translatedFqdn\": \"internalhttp.server.net\",\n \"translatedPort\": \"8080\",\n }],\n )])\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Create FirewallPolicyRuleCollectionGroup\n```csharp\nusing Pulumi;\nusing AzureNextGen = Pulumi.AzureNextGen;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var firewallPolicyRuleCollectionGroup = new AzureNextGen.Network.Latest.FirewallPolicyRuleCollectionGroup(\"firewallPolicyRuleCollectionGroup\", new AzureNextGen.Network.Latest.FirewallPolicyRuleCollectionGroupArgs\n {\n FirewallPolicyName = \"firewallPolicy\",\n Priority = 100,\n ResourceGroupName = \"rg1\",\n RuleCollectionGroupName = \"ruleCollectionGroup1\",\n RuleCollections = \n {\n new AzureNextGen.Network.Latest.Inputs.FirewallPolicyFilterRuleCollectionArgs\n {\n Action = new AzureNextGen.Network.Latest.Inputs.FirewallPolicyFilterRuleCollectionActionArgs\n {\n Type = \"Deny\",\n },\n Name = \"Example-Filter-Rule-Collection\",\n Priority = 100,\n RuleCollectionType = \"FirewallPolicyFilterRuleCollection\",\n Rules = \n {\n \n {\n { \"destinationAddresses\", \n {\n \"*\",\n } },\n { \"destinationPorts\", \n {\n \"*\",\n } },\n { \"ipProtocols\", \n {\n \"TCP\",\n } },\n { \"name\", \"network-rule1\" },\n { \"ruleType\", \"NetworkRule\" },\n { \"sourceAddresses\", \n {\n \"10.1.25.0/24\",\n } },\n },\n },\n },\n },\n });\n }\n\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_nextgen from \"@pulumi/azure-nextgen\";\n\nconst firewallPolicyRuleCollectionGroup = new azure_nextgen.network.latest.FirewallPolicyRuleCollectionGroup(\"firewallPolicyRuleCollectionGroup\", {\n firewallPolicyName: \"firewallPolicy\",\n priority: 100,\n resourceGroupName: \"rg1\",\n ruleCollectionGroupName: \"ruleCollectionGroup1\",\n ruleCollections: [{\n action: {\n type: \"Deny\",\n },\n name: \"Example-Filter-Rule-Collection\",\n priority: 100,\n ruleCollectionType: \"FirewallPolicyFilterRuleCollection\",\n rules: [{\n destinationAddresses: [\"*\"],\n destinationPorts: [\"*\"],\n ipProtocols: [\"TCP\"],\n name: \"network-rule1\",\n ruleType: \"NetworkRule\",\n sourceAddresses: [\"10.1.25.0/24\"],\n }],\n }],\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_nextgen as azure_nextgen\n\nfirewall_policy_rule_collection_group = azure_nextgen.network.latest.FirewallPolicyRuleCollectionGroup(\"firewallPolicyRuleCollectionGroup\",\n firewall_policy_name=\"firewallPolicy\",\n priority=100,\n resource_group_name=\"rg1\",\n rule_collection_group_name=\"ruleCollectionGroup1\",\n rule_collections=[azure_nextgen.network.latest.FirewallPolicyFilterRuleCollectionArgs(\n action=azure_nextgen.network.latest.FirewallPolicyFilterRuleCollectionActionArgs(\n type=\"Deny\",\n ),\n name=\"Example-Filter-Rule-Collection\",\n priority=100,\n rule_collection_type=\"FirewallPolicyFilterRuleCollection\",\n rules=[{\n \"destinationAddresses\": [\"*\"],\n \"destinationPorts\": [\"*\"],\n \"ipProtocols\": [\"TCP\"],\n \"name\": \"network-rule1\",\n \"ruleType\": \"NetworkRule\",\n \"sourceAddresses\": [\"10.1.25.0/24\"],\n }],\n )])\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Create FirewallPolicyRuleCollectionGroup With IpGroups\n```csharp\nusing Pulumi;\nusing AzureNextGen = Pulumi.AzureNextGen;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var firewallPolicyRuleCollectionGroup = new AzureNextGen.Network.Latest.FirewallPolicyRuleCollectionGroup(\"firewallPolicyRuleCollectionGroup\", new AzureNextGen.Network.Latest.FirewallPolicyRuleCollectionGroupArgs\n {\n FirewallPolicyName = \"firewallPolicy\",\n Priority = 110,\n ResourceGroupName = \"rg1\",\n RuleCollectionGroupName = \"ruleCollectionGroup1\",\n RuleCollections = \n {\n new AzureNextGen.Network.Latest.Inputs.FirewallPolicyFilterRuleCollectionArgs\n {\n Action = new AzureNextGen.Network.Latest.Inputs.FirewallPolicyFilterRuleCollectionActionArgs\n {\n Type = \"Deny\",\n },\n Name = \"Example-Filter-Rule-Collection\",\n RuleCollectionType = \"FirewallPolicyFilterRuleCollection\",\n Rules = \n {\n \n {\n { \"destinationIpGroups\", \n {\n \"/subscriptions/subid/providers/Microsoft.Network/resourceGroup/rg1/ipGroups/ipGroups2\",\n } },\n { \"destinationPorts\", \n {\n \"*\",\n } },\n { \"ipProtocols\", \n {\n \"TCP\",\n } },\n { \"name\", \"network-1\" },\n { \"ruleType\", \"NetworkRule\" },\n { \"sourceIpGroups\", \n {\n \"/subscriptions/subid/providers/Microsoft.Network/resourceGroup/rg1/ipGroups/ipGroups1\",\n } },\n },\n },\n },\n },\n });\n }\n\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_nextgen from \"@pulumi/azure-nextgen\";\n\nconst firewallPolicyRuleCollectionGroup = new azure_nextgen.network.latest.FirewallPolicyRuleCollectionGroup(\"firewallPolicyRuleCollectionGroup\", {\n firewallPolicyName: \"firewallPolicy\",\n priority: 110,\n resourceGroupName: \"rg1\",\n ruleCollectionGroupName: \"ruleCollectionGroup1\",\n ruleCollections: [{\n action: {\n type: \"Deny\",\n },\n name: \"Example-Filter-Rule-Collection\",\n ruleCollectionType: \"FirewallPolicyFilterRuleCollection\",\n rules: [{\n destinationIpGroups: [\"/subscriptions/subid/providers/Microsoft.Network/resourceGroup/rg1/ipGroups/ipGroups2\"],\n destinationPorts: [\"*\"],\n ipProtocols: [\"TCP\"],\n name: \"network-1\",\n ruleType: \"NetworkRule\",\n sourceIpGroups: [\"/subscriptions/subid/providers/Microsoft.Network/resourceGroup/rg1/ipGroups/ipGroups1\"],\n }],\n }],\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_nextgen as azure_nextgen\n\nfirewall_policy_rule_collection_group = azure_nextgen.network.latest.FirewallPolicyRuleCollectionGroup(\"firewallPolicyRuleCollectionGroup\",\n firewall_policy_name=\"firewallPolicy\",\n priority=110,\n resource_group_name=\"rg1\",\n rule_collection_group_name=\"ruleCollectionGroup1\",\n rule_collections=[azure_nextgen.network.latest.FirewallPolicyFilterRuleCollectionArgs(\n action=azure_nextgen.network.latest.FirewallPolicyFilterRuleCollectionActionArgs(\n type=\"Deny\",\n ),\n name=\"Example-Filter-Rule-Collection\",\n rule_collection_type=\"FirewallPolicyFilterRuleCollection\",\n rules=[{\n \"destinationIpGroups\": [\"/subscriptions/subid/providers/Microsoft.Network/resourceGroup/rg1/ipGroups/ipGroups2\"],\n \"destinationPorts\": [\"*\"],\n \"ipProtocols\": [\"TCP\"],\n \"name\": \"network-1\",\n \"ruleType\": \"NetworkRule\",\n \"sourceIpGroups\": [\"/subscriptions/subid/providers/Microsoft.Network/resourceGroup/rg1/ipGroups/ipGroups1\"],\n }],\n )])\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Create FirewallPolicyRuleCollectionGroup With Web Categories\n```csharp\nusing Pulumi;\nusing AzureNextGen = Pulumi.AzureNextGen;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var firewallPolicyRuleCollectionGroup = new AzureNextGen.Network.Latest.FirewallPolicyRuleCollectionGroup(\"firewallPolicyRuleCollectionGroup\", new AzureNextGen.Network.Latest.FirewallPolicyRuleCollectionGroupArgs\n {\n FirewallPolicyName = \"firewallPolicy\",\n Priority = 110,\n ResourceGroupName = \"rg1\",\n RuleCollectionGroupName = \"ruleCollectionGroup1\",\n RuleCollections = \n {\n new AzureNextGen.Network.Latest.Inputs.FirewallPolicyFilterRuleCollectionArgs\n {\n Action = new AzureNextGen.Network.Latest.Inputs.FirewallPolicyFilterRuleCollectionActionArgs\n {\n Type = \"Deny\",\n },\n Name = \"Example-Filter-Rule-Collection\",\n RuleCollectionType = \"FirewallPolicyFilterRuleCollection\",\n Rules = \n {\n \n {\n { \"description\", \"Deny inbound rule\" },\n { \"name\", \"rule1\" },\n { \"protocols\", \n {\n new AzureNextGen.Network.Latest.Inputs.FirewallPolicyRuleApplicationProtocolArgs\n {\n Port = 443,\n ProtocolType = \"Https\",\n },\n } },\n { \"ruleType\", \"ApplicationRule\" },\n { \"sourceAddresses\", \n {\n \"216.58.216.164\",\n \"10.0.0.0/24\",\n } },\n { \"webCategories\", \n {\n \"Hacking\",\n } },\n },\n },\n },\n },\n });\n }\n\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_nextgen from \"@pulumi/azure-nextgen\";\n\nconst firewallPolicyRuleCollectionGroup = new azure_nextgen.network.latest.FirewallPolicyRuleCollectionGroup(\"firewallPolicyRuleCollectionGroup\", {\n firewallPolicyName: \"firewallPolicy\",\n priority: 110,\n resourceGroupName: \"rg1\",\n ruleCollectionGroupName: \"ruleCollectionGroup1\",\n ruleCollections: [{\n action: {\n type: \"Deny\",\n },\n name: \"Example-Filter-Rule-Collection\",\n ruleCollectionType: \"FirewallPolicyFilterRuleCollection\",\n rules: [{\n description: \"Deny inbound rule\",\n name: \"rule1\",\n protocols: [{\n port: 443,\n protocolType: \"Https\",\n }],\n ruleType: \"ApplicationRule\",\n sourceAddresses: [\n \"216.58.216.164\",\n \"10.0.0.0/24\",\n ],\n webCategories: [\"Hacking\"],\n }],\n }],\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_nextgen as azure_nextgen\n\nfirewall_policy_rule_collection_group = azure_nextgen.network.latest.FirewallPolicyRuleCollectionGroup(\"firewallPolicyRuleCollectionGroup\",\n firewall_policy_name=\"firewallPolicy\",\n priority=110,\n resource_group_name=\"rg1\",\n rule_collection_group_name=\"ruleCollectionGroup1\",\n rule_collections=[azure_nextgen.network.latest.FirewallPolicyFilterRuleCollectionArgs(\n action=azure_nextgen.network.latest.FirewallPolicyFilterRuleCollectionActionArgs(\n type=\"Deny\",\n ),\n name=\"Example-Filter-Rule-Collection\",\n rule_collection_type=\"FirewallPolicyFilterRuleCollection\",\n rules=[{\n \"description\": \"Deny inbound rule\",\n \"name\": \"rule1\",\n \"protocols\": [azure_nextgen.network.latest.FirewallPolicyRuleApplicationProtocolArgs(\n port=443,\n protocol_type=\"Https\",\n )],\n \"ruleType\": \"ApplicationRule\",\n \"sourceAddresses\": [\n \"216.58.216.164\",\n \"10.0.0.0/24\",\n ],\n \"webCategories\": [\"Hacking\"],\n }],\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-nextgen:network/latest:FirewallPolicyRuleCollectionGroup ruleCollectionGroup1 /subscriptions/e747cc13-97d4-4a79-b463-42d7f4e558f2/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleCollectionGroups/ruleCollectionGroup1 \n```\n", + "description": "Rule Collection Group resource.\nLatest API Version: 2020-08-01.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Create FirewallPolicyNatRuleCollectionGroup\n```csharp\nusing Pulumi;\nusing AzureNextGen = Pulumi.AzureNextGen;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var firewallPolicyRuleCollectionGroup = new AzureNextGen.Network.Latest.FirewallPolicyRuleCollectionGroup(\"firewallPolicyRuleCollectionGroup\", new AzureNextGen.Network.Latest.FirewallPolicyRuleCollectionGroupArgs\n {\n FirewallPolicyName = \"firewallPolicy\",\n Priority = 100,\n ResourceGroupName = \"rg1\",\n RuleCollectionGroupName = \"ruleCollectionGroup1\",\n RuleCollections = \n {\n new AzureNextGen.Network.Latest.Inputs.FirewallPolicyFilterRuleCollectionArgs\n {\n Action = new AzureNextGen.Network.Latest.Inputs.FirewallPolicyFilterRuleCollectionActionArgs\n {\n Type = \"DNAT\",\n },\n Name = \"Example-Nat-Rule-Collection\",\n Priority = 100,\n RuleCollectionType = \"FirewallPolicyNatRuleCollection\",\n Rules = \n {\n \n {\n { \"destinationAddresses\", \n {\n \"152.23.32.23\",\n } },\n { \"destinationPorts\", \n {\n \"8080\",\n } },\n { \"ipProtocols\", \n {\n \"TCP\",\n \"UDP\",\n } },\n { \"name\", \"nat-rule1\" },\n { \"ruleType\", \"NatRule\" },\n { \"sourceAddresses\", \n {\n \"2.2.2.2\",\n } },\n { \"sourceIpGroups\", {} },\n { \"translatedFqdn\", \"internalhttp.server.net\" },\n { \"translatedPort\", \"8080\" },\n },\n },\n },\n },\n });\n }\n\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_nextgen from \"@pulumi/azure-nextgen\";\n\nconst firewallPolicyRuleCollectionGroup = new azure_nextgen.network.latest.FirewallPolicyRuleCollectionGroup(\"firewallPolicyRuleCollectionGroup\", {\n firewallPolicyName: \"firewallPolicy\",\n priority: 100,\n resourceGroupName: \"rg1\",\n ruleCollectionGroupName: \"ruleCollectionGroup1\",\n ruleCollections: [{\n action: {\n type: \"DNAT\",\n },\n name: \"Example-Nat-Rule-Collection\",\n priority: 100,\n ruleCollectionType: \"FirewallPolicyNatRuleCollection\",\n rules: [{\n destinationAddresses: [\"152.23.32.23\"],\n destinationPorts: [\"8080\"],\n ipProtocols: [\n \"TCP\",\n \"UDP\",\n ],\n name: \"nat-rule1\",\n ruleType: \"NatRule\",\n sourceAddresses: [\"2.2.2.2\"],\n sourceIpGroups: [],\n translatedFqdn: \"internalhttp.server.net\",\n translatedPort: \"8080\",\n }],\n }],\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_nextgen as azure_nextgen\n\nfirewall_policy_rule_collection_group = azure_nextgen.network.latest.FirewallPolicyRuleCollectionGroup(\"firewallPolicyRuleCollectionGroup\",\n firewall_policy_name=\"firewallPolicy\",\n priority=100,\n resource_group_name=\"rg1\",\n rule_collection_group_name=\"ruleCollectionGroup1\",\n rule_collections=[azure_nextgen.network.latest.FirewallPolicyFilterRuleCollectionArgs(\n action=azure_nextgen.network.latest.FirewallPolicyFilterRuleCollectionActionArgs(\n type=\"DNAT\",\n ),\n name=\"Example-Nat-Rule-Collection\",\n priority=100,\n rule_collection_type=\"FirewallPolicyNatRuleCollection\",\n rules=[{\n \"destinationAddresses\": [\"152.23.32.23\"],\n \"destinationPorts\": [\"8080\"],\n \"ipProtocols\": [\n \"TCP\",\n \"UDP\",\n ],\n \"name\": \"nat-rule1\",\n \"ruleType\": \"NatRule\",\n \"sourceAddresses\": [\"2.2.2.2\"],\n \"sourceIpGroups\": [],\n \"translatedFqdn\": \"internalhttp.server.net\",\n \"translatedPort\": \"8080\",\n }],\n )])\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Create FirewallPolicyRuleCollectionGroup\n```csharp\nusing Pulumi;\nusing AzureNextGen = Pulumi.AzureNextGen;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var firewallPolicyRuleCollectionGroup = new AzureNextGen.Network.Latest.FirewallPolicyRuleCollectionGroup(\"firewallPolicyRuleCollectionGroup\", new AzureNextGen.Network.Latest.FirewallPolicyRuleCollectionGroupArgs\n {\n FirewallPolicyName = \"firewallPolicy\",\n Priority = 100,\n ResourceGroupName = \"rg1\",\n RuleCollectionGroupName = \"ruleCollectionGroup1\",\n RuleCollections = \n {\n new AzureNextGen.Network.Latest.Inputs.FirewallPolicyFilterRuleCollectionArgs\n {\n Action = new AzureNextGen.Network.Latest.Inputs.FirewallPolicyFilterRuleCollectionActionArgs\n {\n Type = \"Deny\",\n },\n Name = \"Example-Filter-Rule-Collection\",\n Priority = 100,\n RuleCollectionType = \"FirewallPolicyFilterRuleCollection\",\n Rules = \n {\n \n {\n { \"destinationAddresses\", \n {\n \"*\",\n } },\n { \"destinationPorts\", \n {\n \"*\",\n } },\n { \"ipProtocols\", \n {\n \"TCP\",\n } },\n { \"name\", \"network-rule1\" },\n { \"ruleType\", \"NetworkRule\" },\n { \"sourceAddresses\", \n {\n \"10.1.25.0/24\",\n } },\n },\n },\n },\n },\n });\n }\n\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_nextgen from \"@pulumi/azure-nextgen\";\n\nconst firewallPolicyRuleCollectionGroup = new azure_nextgen.network.latest.FirewallPolicyRuleCollectionGroup(\"firewallPolicyRuleCollectionGroup\", {\n firewallPolicyName: \"firewallPolicy\",\n priority: 100,\n resourceGroupName: \"rg1\",\n ruleCollectionGroupName: \"ruleCollectionGroup1\",\n ruleCollections: [{\n action: {\n type: \"Deny\",\n },\n name: \"Example-Filter-Rule-Collection\",\n priority: 100,\n ruleCollectionType: \"FirewallPolicyFilterRuleCollection\",\n rules: [{\n destinationAddresses: [\"*\"],\n destinationPorts: [\"*\"],\n ipProtocols: [\"TCP\"],\n name: \"network-rule1\",\n ruleType: \"NetworkRule\",\n sourceAddresses: [\"10.1.25.0/24\"],\n }],\n }],\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_nextgen as azure_nextgen\n\nfirewall_policy_rule_collection_group = azure_nextgen.network.latest.FirewallPolicyRuleCollectionGroup(\"firewallPolicyRuleCollectionGroup\",\n firewall_policy_name=\"firewallPolicy\",\n priority=100,\n resource_group_name=\"rg1\",\n rule_collection_group_name=\"ruleCollectionGroup1\",\n rule_collections=[azure_nextgen.network.latest.FirewallPolicyFilterRuleCollectionArgs(\n action=azure_nextgen.network.latest.FirewallPolicyFilterRuleCollectionActionArgs(\n type=\"Deny\",\n ),\n name=\"Example-Filter-Rule-Collection\",\n priority=100,\n rule_collection_type=\"FirewallPolicyFilterRuleCollection\",\n rules=[{\n \"destinationAddresses\": [\"*\"],\n \"destinationPorts\": [\"*\"],\n \"ipProtocols\": [\"TCP\"],\n \"name\": \"network-rule1\",\n \"ruleType\": \"NetworkRule\",\n \"sourceAddresses\": [\"10.1.25.0/24\"],\n }],\n )])\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Create FirewallPolicyRuleCollectionGroup With IpGroups\n```csharp\nusing Pulumi;\nusing AzureNextGen = Pulumi.AzureNextGen;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var firewallPolicyRuleCollectionGroup = new AzureNextGen.Network.Latest.FirewallPolicyRuleCollectionGroup(\"firewallPolicyRuleCollectionGroup\", new AzureNextGen.Network.Latest.FirewallPolicyRuleCollectionGroupArgs\n {\n FirewallPolicyName = \"firewallPolicy\",\n Priority = 110,\n ResourceGroupName = \"rg1\",\n RuleCollectionGroupName = \"ruleCollectionGroup1\",\n RuleCollections = \n {\n new AzureNextGen.Network.Latest.Inputs.FirewallPolicyFilterRuleCollectionArgs\n {\n Action = new AzureNextGen.Network.Latest.Inputs.FirewallPolicyFilterRuleCollectionActionArgs\n {\n Type = \"Deny\",\n },\n Name = \"Example-Filter-Rule-Collection\",\n RuleCollectionType = \"FirewallPolicyFilterRuleCollection\",\n Rules = \n {\n \n {\n { \"destinationIpGroups\", \n {\n \"/subscriptions/subid/providers/Microsoft.Network/resourceGroup/rg1/ipGroups/ipGroups2\",\n } },\n { \"destinationPorts\", \n {\n \"*\",\n } },\n { \"ipProtocols\", \n {\n \"TCP\",\n } },\n { \"name\", \"network-1\" },\n { \"ruleType\", \"NetworkRule\" },\n { \"sourceIpGroups\", \n {\n \"/subscriptions/subid/providers/Microsoft.Network/resourceGroup/rg1/ipGroups/ipGroups1\",\n } },\n },\n },\n },\n },\n });\n }\n\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_nextgen from \"@pulumi/azure-nextgen\";\n\nconst firewallPolicyRuleCollectionGroup = new azure_nextgen.network.latest.FirewallPolicyRuleCollectionGroup(\"firewallPolicyRuleCollectionGroup\", {\n firewallPolicyName: \"firewallPolicy\",\n priority: 110,\n resourceGroupName: \"rg1\",\n ruleCollectionGroupName: \"ruleCollectionGroup1\",\n ruleCollections: [{\n action: {\n type: \"Deny\",\n },\n name: \"Example-Filter-Rule-Collection\",\n ruleCollectionType: \"FirewallPolicyFilterRuleCollection\",\n rules: [{\n destinationIpGroups: [\"/subscriptions/subid/providers/Microsoft.Network/resourceGroup/rg1/ipGroups/ipGroups2\"],\n destinationPorts: [\"*\"],\n ipProtocols: [\"TCP\"],\n name: \"network-1\",\n ruleType: \"NetworkRule\",\n sourceIpGroups: [\"/subscriptions/subid/providers/Microsoft.Network/resourceGroup/rg1/ipGroups/ipGroups1\"],\n }],\n }],\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_nextgen as azure_nextgen\n\nfirewall_policy_rule_collection_group = azure_nextgen.network.latest.FirewallPolicyRuleCollectionGroup(\"firewallPolicyRuleCollectionGroup\",\n firewall_policy_name=\"firewallPolicy\",\n priority=110,\n resource_group_name=\"rg1\",\n rule_collection_group_name=\"ruleCollectionGroup1\",\n rule_collections=[azure_nextgen.network.latest.FirewallPolicyFilterRuleCollectionArgs(\n action=azure_nextgen.network.latest.FirewallPolicyFilterRuleCollectionActionArgs(\n type=\"Deny\",\n ),\n name=\"Example-Filter-Rule-Collection\",\n rule_collection_type=\"FirewallPolicyFilterRuleCollection\",\n rules=[{\n \"destinationIpGroups\": [\"/subscriptions/subid/providers/Microsoft.Network/resourceGroup/rg1/ipGroups/ipGroups2\"],\n \"destinationPorts\": [\"*\"],\n \"ipProtocols\": [\"TCP\"],\n \"name\": \"network-1\",\n \"ruleType\": \"NetworkRule\",\n \"sourceIpGroups\": [\"/subscriptions/subid/providers/Microsoft.Network/resourceGroup/rg1/ipGroups/ipGroups1\"],\n }],\n )])\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Create FirewallPolicyRuleCollectionGroup With Web Categories\n```csharp\nusing Pulumi;\nusing AzureNextGen = Pulumi.AzureNextGen;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var firewallPolicyRuleCollectionGroup = new AzureNextGen.Network.Latest.FirewallPolicyRuleCollectionGroup(\"firewallPolicyRuleCollectionGroup\", new AzureNextGen.Network.Latest.FirewallPolicyRuleCollectionGroupArgs\n {\n FirewallPolicyName = \"firewallPolicy\",\n Priority = 110,\n ResourceGroupName = \"rg1\",\n RuleCollectionGroupName = \"ruleCollectionGroup1\",\n RuleCollections = \n {\n new AzureNextGen.Network.Latest.Inputs.FirewallPolicyFilterRuleCollectionArgs\n {\n Action = new AzureNextGen.Network.Latest.Inputs.FirewallPolicyFilterRuleCollectionActionArgs\n {\n Type = \"Deny\",\n },\n Name = \"Example-Filter-Rule-Collection\",\n RuleCollectionType = \"FirewallPolicyFilterRuleCollection\",\n Rules = \n {\n \n {\n { \"description\", \"Deny inbound rule\" },\n { \"name\", \"rule1\" },\n { \"protocols\", \n {\n new AzureNextGen.Network.Latest.Inputs.FirewallPolicyRuleApplicationProtocolArgs\n {\n Port = 443,\n ProtocolType = \"Https\",\n },\n } },\n { \"ruleType\", \"ApplicationRule\" },\n { \"sourceAddresses\", \n {\n \"216.58.216.164\",\n \"10.0.0.0/24\",\n } },\n { \"webCategories\", \n {\n \"Hacking\",\n } },\n },\n },\n },\n },\n });\n }\n\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_nextgen from \"@pulumi/azure-nextgen\";\n\nconst firewallPolicyRuleCollectionGroup = new azure_nextgen.network.latest.FirewallPolicyRuleCollectionGroup(\"firewallPolicyRuleCollectionGroup\", {\n firewallPolicyName: \"firewallPolicy\",\n priority: 110,\n resourceGroupName: \"rg1\",\n ruleCollectionGroupName: \"ruleCollectionGroup1\",\n ruleCollections: [{\n action: {\n type: \"Deny\",\n },\n name: \"Example-Filter-Rule-Collection\",\n ruleCollectionType: \"FirewallPolicyFilterRuleCollection\",\n rules: [{\n description: \"Deny inbound rule\",\n name: \"rule1\",\n protocols: [{\n port: 443,\n protocolType: \"Https\",\n }],\n ruleType: \"ApplicationRule\",\n sourceAddresses: [\n \"216.58.216.164\",\n \"10.0.0.0/24\",\n ],\n webCategories: [\"Hacking\"],\n }],\n }],\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_nextgen as azure_nextgen\n\nfirewall_policy_rule_collection_group = azure_nextgen.network.latest.FirewallPolicyRuleCollectionGroup(\"firewallPolicyRuleCollectionGroup\",\n firewall_policy_name=\"firewallPolicy\",\n priority=110,\n resource_group_name=\"rg1\",\n rule_collection_group_name=\"ruleCollectionGroup1\",\n rule_collections=[azure_nextgen.network.latest.FirewallPolicyFilterRuleCollectionArgs(\n action=azure_nextgen.network.latest.FirewallPolicyFilterRuleCollectionActionArgs(\n type=\"Deny\",\n ),\n name=\"Example-Filter-Rule-Collection\",\n rule_collection_type=\"FirewallPolicyFilterRuleCollection\",\n rules=[{\n \"description\": \"Deny inbound rule\",\n \"name\": \"rule1\",\n \"protocols\": [azure_nextgen.network.latest.FirewallPolicyRuleApplicationProtocolArgs(\n port=443,\n protocol_type=\"Https\",\n )],\n \"ruleType\": \"ApplicationRule\",\n \"sourceAddresses\": [\n \"216.58.216.164\",\n \"10.0.0.0/24\",\n ],\n \"webCategories\": [\"Hacking\"],\n }],\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-nextgen:network/latest:FirewallPolicyRuleCollectionGroup firewallPolicy /subscriptions/e747cc13-97d4-4a79-b463-42d7f4e558f2/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy \n```\n", "properties": { "etag": { "type": "string", @@ -334971,7 +336814,7 @@ ] }, "azure-nextgen:network/latest:FirewallPolicyRuleGroup": { - "description": "Rule Group resource.\nLatest API Version: 2020-04-01.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Create FirewallPolicyRuleGroup\n```csharp\nusing Pulumi;\nusing AzureNextGen = Pulumi.AzureNextGen;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var firewallPolicyRuleGroup = new AzureNextGen.Network.Latest.FirewallPolicyRuleGroup(\"firewallPolicyRuleGroup\", new AzureNextGen.Network.Latest.FirewallPolicyRuleGroupArgs\n {\n FirewallPolicyName = \"firewallPolicy\",\n Priority = 110,\n ResourceGroupName = \"rg1\",\n RuleGroupName = \"ruleGroup1\",\n Rules = \n {\n \n {\n { \"action\", new AzureNextGen.Network.Latest.Inputs.FirewallPolicyFilterRuleActionArgs\n {\n Type = \"Deny\",\n } },\n { \"name\", \"Example-Filter-Rule\" },\n { \"ruleConditions\", \n {\n \n {\n { \"destinationAddresses\", \n {\n \"*\",\n } },\n { \"destinationPorts\", \n {\n \"*\",\n } },\n { \"ipProtocols\", \n {\n \"TCP\",\n } },\n { \"name\", \"network-condition1\" },\n { \"ruleConditionType\", \"NetworkRuleCondition\" },\n { \"sourceAddresses\", \n {\n \"10.1.25.0/24\",\n } },\n },\n } },\n { \"ruleType\", \"FirewallPolicyFilterRule\" },\n },\n },\n });\n }\n\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_nextgen from \"@pulumi/azure-nextgen\";\n\nconst firewallPolicyRuleGroup = new azure_nextgen.network.latest.FirewallPolicyRuleGroup(\"firewallPolicyRuleGroup\", {\n firewallPolicyName: \"firewallPolicy\",\n priority: 110,\n resourceGroupName: \"rg1\",\n ruleGroupName: \"ruleGroup1\",\n rules: [{\n action: {\n type: \"Deny\",\n },\n name: \"Example-Filter-Rule\",\n ruleConditions: [{\n destinationAddresses: [\"*\"],\n destinationPorts: [\"*\"],\n ipProtocols: [\"TCP\"],\n name: \"network-condition1\",\n ruleConditionType: \"NetworkRuleCondition\",\n sourceAddresses: [\"10.1.25.0/24\"],\n }],\n ruleType: \"FirewallPolicyFilterRule\",\n }],\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_nextgen as azure_nextgen\n\nfirewall_policy_rule_group = azure_nextgen.network.latest.FirewallPolicyRuleGroup(\"firewallPolicyRuleGroup\",\n firewall_policy_name=\"firewallPolicy\",\n priority=110,\n resource_group_name=\"rg1\",\n rule_group_name=\"ruleGroup1\",\n rules=[{\n \"action\": azure_nextgen.network.latest.FirewallPolicyFilterRuleActionArgs(\n type=\"Deny\",\n ),\n \"name\": \"Example-Filter-Rule\",\n \"ruleConditions\": [{\n \"destinationAddresses\": [\"*\"],\n \"destinationPorts\": [\"*\"],\n \"ipProtocols\": [\"TCP\"],\n \"name\": \"network-condition1\",\n \"ruleConditionType\": \"NetworkRuleCondition\",\n \"sourceAddresses\": [\"10.1.25.0/24\"],\n }],\n \"ruleType\": \"FirewallPolicyFilterRule\",\n }])\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Create FirewallPolicyRuleGroup With IpGroups\n```csharp\nusing Pulumi;\nusing AzureNextGen = Pulumi.AzureNextGen;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var firewallPolicyRuleGroup = new AzureNextGen.Network.Latest.FirewallPolicyRuleGroup(\"firewallPolicyRuleGroup\", new AzureNextGen.Network.Latest.FirewallPolicyRuleGroupArgs\n {\n FirewallPolicyName = \"firewallPolicy\",\n Priority = 110,\n ResourceGroupName = \"rg1\",\n RuleGroupName = \"ruleGroup1\",\n Rules = \n {\n \n {\n { \"action\", new AzureNextGen.Network.Latest.Inputs.FirewallPolicyNatRuleActionArgs\n {\n Type = \"Deny\",\n } },\n { \"name\", \"Example-Filter-Rule\" },\n { \"ruleConditions\", \n {\n \n {\n { \"destinationIpGroups\", \n {\n \"/subscriptions/subid/providers/Microsoft.Network/resourceGroup/rg1/ipGroups/ipGroups2\",\n } },\n { \"destinationPorts\", \n {\n \"*\",\n } },\n { \"ipProtocols\", \n {\n \"TCP\",\n } },\n { \"name\", \"network-condition1\" },\n { \"ruleConditionType\", \"NetworkRuleCondition\" },\n { \"sourceIpGroups\", \n {\n \"/subscriptions/subid/providers/Microsoft.Network/resourceGroup/rg1/ipGroups/ipGroups1\",\n } },\n },\n } },\n { \"ruleType\", \"FirewallPolicyFilterRule\" },\n },\n },\n });\n }\n\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_nextgen from \"@pulumi/azure-nextgen\";\n\nconst firewallPolicyRuleGroup = new azure_nextgen.network.latest.FirewallPolicyRuleGroup(\"firewallPolicyRuleGroup\", {\n firewallPolicyName: \"firewallPolicy\",\n priority: 110,\n resourceGroupName: \"rg1\",\n ruleGroupName: \"ruleGroup1\",\n rules: [{\n action: {\n type: \"Deny\",\n },\n name: \"Example-Filter-Rule\",\n ruleConditions: [{\n destinationIpGroups: [\"/subscriptions/subid/providers/Microsoft.Network/resourceGroup/rg1/ipGroups/ipGroups2\"],\n destinationPorts: [\"*\"],\n ipProtocols: [\"TCP\"],\n name: \"network-condition1\",\n ruleConditionType: \"NetworkRuleCondition\",\n sourceIpGroups: [\"/subscriptions/subid/providers/Microsoft.Network/resourceGroup/rg1/ipGroups/ipGroups1\"],\n }],\n ruleType: \"FirewallPolicyFilterRule\",\n }],\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_nextgen as azure_nextgen\n\nfirewall_policy_rule_group = azure_nextgen.network.latest.FirewallPolicyRuleGroup(\"firewallPolicyRuleGroup\",\n firewall_policy_name=\"firewallPolicy\",\n priority=110,\n resource_group_name=\"rg1\",\n rule_group_name=\"ruleGroup1\",\n rules=[{\n \"action\": azure_nextgen.network.latest.FirewallPolicyNatRuleActionArgs(\n type=\"Deny\",\n ),\n \"name\": \"Example-Filter-Rule\",\n \"ruleConditions\": [{\n \"destinationIpGroups\": [\"/subscriptions/subid/providers/Microsoft.Network/resourceGroup/rg1/ipGroups/ipGroups2\"],\n \"destinationPorts\": [\"*\"],\n \"ipProtocols\": [\"TCP\"],\n \"name\": \"network-condition1\",\n \"ruleConditionType\": \"NetworkRuleCondition\",\n \"sourceIpGroups\": [\"/subscriptions/subid/providers/Microsoft.Network/resourceGroup/rg1/ipGroups/ipGroups1\"],\n }],\n \"ruleType\": \"FirewallPolicyFilterRule\",\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-nextgen:network/latest:FirewallPolicyRuleGroup firewallPolicy /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy \n```\n", + "description": "Rule Group resource.\nLatest API Version: 2020-04-01.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Create FirewallPolicyRuleGroup\n```csharp\nusing Pulumi;\nusing AzureNextGen = Pulumi.AzureNextGen;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var firewallPolicyRuleGroup = new AzureNextGen.Network.Latest.FirewallPolicyRuleGroup(\"firewallPolicyRuleGroup\", new AzureNextGen.Network.Latest.FirewallPolicyRuleGroupArgs\n {\n FirewallPolicyName = \"firewallPolicy\",\n Priority = 110,\n ResourceGroupName = \"rg1\",\n RuleGroupName = \"ruleGroup1\",\n Rules = \n {\n \n {\n { \"action\", new AzureNextGen.Network.Latest.Inputs.FirewallPolicyFilterRuleActionArgs\n {\n Type = \"Deny\",\n } },\n { \"name\", \"Example-Filter-Rule\" },\n { \"ruleConditions\", \n {\n \n {\n { \"destinationAddresses\", \n {\n \"*\",\n } },\n { \"destinationPorts\", \n {\n \"*\",\n } },\n { \"ipProtocols\", \n {\n \"TCP\",\n } },\n { \"name\", \"network-condition1\" },\n { \"ruleConditionType\", \"NetworkRuleCondition\" },\n { \"sourceAddresses\", \n {\n \"10.1.25.0/24\",\n } },\n },\n } },\n { \"ruleType\", \"FirewallPolicyFilterRule\" },\n },\n },\n });\n }\n\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_nextgen from \"@pulumi/azure-nextgen\";\n\nconst firewallPolicyRuleGroup = new azure_nextgen.network.latest.FirewallPolicyRuleGroup(\"firewallPolicyRuleGroup\", {\n firewallPolicyName: \"firewallPolicy\",\n priority: 110,\n resourceGroupName: \"rg1\",\n ruleGroupName: \"ruleGroup1\",\n rules: [{\n action: {\n type: \"Deny\",\n },\n name: \"Example-Filter-Rule\",\n ruleConditions: [{\n destinationAddresses: [\"*\"],\n destinationPorts: [\"*\"],\n ipProtocols: [\"TCP\"],\n name: \"network-condition1\",\n ruleConditionType: \"NetworkRuleCondition\",\n sourceAddresses: [\"10.1.25.0/24\"],\n }],\n ruleType: \"FirewallPolicyFilterRule\",\n }],\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_nextgen as azure_nextgen\n\nfirewall_policy_rule_group = azure_nextgen.network.latest.FirewallPolicyRuleGroup(\"firewallPolicyRuleGroup\",\n firewall_policy_name=\"firewallPolicy\",\n priority=110,\n resource_group_name=\"rg1\",\n rule_group_name=\"ruleGroup1\",\n rules=[{\n \"action\": azure_nextgen.network.latest.FirewallPolicyFilterRuleActionArgs(\n type=\"Deny\",\n ),\n \"name\": \"Example-Filter-Rule\",\n \"ruleConditions\": [{\n \"destinationAddresses\": [\"*\"],\n \"destinationPorts\": [\"*\"],\n \"ipProtocols\": [\"TCP\"],\n \"name\": \"network-condition1\",\n \"ruleConditionType\": \"NetworkRuleCondition\",\n \"sourceAddresses\": [\"10.1.25.0/24\"],\n }],\n \"ruleType\": \"FirewallPolicyFilterRule\",\n }])\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Create FirewallPolicyRuleGroup With IpGroups\n```csharp\nusing Pulumi;\nusing AzureNextGen = Pulumi.AzureNextGen;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var firewallPolicyRuleGroup = new AzureNextGen.Network.Latest.FirewallPolicyRuleGroup(\"firewallPolicyRuleGroup\", new AzureNextGen.Network.Latest.FirewallPolicyRuleGroupArgs\n {\n FirewallPolicyName = \"firewallPolicy\",\n Priority = 110,\n ResourceGroupName = \"rg1\",\n RuleGroupName = \"ruleGroup1\",\n Rules = \n {\n \n {\n { \"action\", new AzureNextGen.Network.Latest.Inputs.FirewallPolicyFilterRuleActionArgs\n {\n Type = \"Deny\",\n } },\n { \"name\", \"Example-Filter-Rule\" },\n { \"ruleConditions\", \n {\n \n {\n { \"destinationIpGroups\", \n {\n \"/subscriptions/subid/providers/Microsoft.Network/resourceGroup/rg1/ipGroups/ipGroups2\",\n } },\n { \"destinationPorts\", \n {\n \"*\",\n } },\n { \"ipProtocols\", \n {\n \"TCP\",\n } },\n { \"name\", \"network-condition1\" },\n { \"ruleConditionType\", \"NetworkRuleCondition\" },\n { \"sourceIpGroups\", \n {\n \"/subscriptions/subid/providers/Microsoft.Network/resourceGroup/rg1/ipGroups/ipGroups1\",\n } },\n },\n } },\n { \"ruleType\", \"FirewallPolicyFilterRule\" },\n },\n },\n });\n }\n\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_nextgen from \"@pulumi/azure-nextgen\";\n\nconst firewallPolicyRuleGroup = new azure_nextgen.network.latest.FirewallPolicyRuleGroup(\"firewallPolicyRuleGroup\", {\n firewallPolicyName: \"firewallPolicy\",\n priority: 110,\n resourceGroupName: \"rg1\",\n ruleGroupName: \"ruleGroup1\",\n rules: [{\n action: {\n type: \"Deny\",\n },\n name: \"Example-Filter-Rule\",\n ruleConditions: [{\n destinationIpGroups: [\"/subscriptions/subid/providers/Microsoft.Network/resourceGroup/rg1/ipGroups/ipGroups2\"],\n destinationPorts: [\"*\"],\n ipProtocols: [\"TCP\"],\n name: \"network-condition1\",\n ruleConditionType: \"NetworkRuleCondition\",\n sourceIpGroups: [\"/subscriptions/subid/providers/Microsoft.Network/resourceGroup/rg1/ipGroups/ipGroups1\"],\n }],\n ruleType: \"FirewallPolicyFilterRule\",\n }],\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_nextgen as azure_nextgen\n\nfirewall_policy_rule_group = azure_nextgen.network.latest.FirewallPolicyRuleGroup(\"firewallPolicyRuleGroup\",\n firewall_policy_name=\"firewallPolicy\",\n priority=110,\n resource_group_name=\"rg1\",\n rule_group_name=\"ruleGroup1\",\n rules=[{\n \"action\": azure_nextgen.network.latest.FirewallPolicyFilterRuleActionArgs(\n type=\"Deny\",\n ),\n \"name\": \"Example-Filter-Rule\",\n \"ruleConditions\": [{\n \"destinationIpGroups\": [\"/subscriptions/subid/providers/Microsoft.Network/resourceGroup/rg1/ipGroups/ipGroups2\"],\n \"destinationPorts\": [\"*\"],\n \"ipProtocols\": [\"TCP\"],\n \"name\": \"network-condition1\",\n \"ruleConditionType\": \"NetworkRuleCondition\",\n \"sourceIpGroups\": [\"/subscriptions/subid/providers/Microsoft.Network/resourceGroup/rg1/ipGroups/ipGroups1\"],\n }],\n \"ruleType\": \"FirewallPolicyFilterRule\",\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-nextgen:network/latest:FirewallPolicyRuleGroup firewallPolicy /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy \n```\n", "properties": { "etag": { "type": "string", @@ -337808,7 +339651,7 @@ ] }, "azure-nextgen:network/latest:NetworkProfile": { - "description": "Network profile resource.\nLatest API Version: 2020-08-01.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Create network profile defaults\n```csharp\nusing Pulumi;\nusing AzureNextGen = Pulumi.AzureNextGen;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var networkProfile = new AzureNextGen.Network.Latest.NetworkProfile(\"networkProfile\", new AzureNextGen.Network.Latest.NetworkProfileArgs\n {\n ContainerNetworkInterfaceConfigurations = \n {\n new AzureNextGen.Network.Latest.Inputs.ContainerNetworkInterfaceConfigurationArgs\n {\n IpConfigurations = \n {\n new AzureNextGen.Network.Latest.Inputs.IPConfigurationProfileArgs\n {\n Name = \"ipconfig1\",\n Subnet = new AzureNextGen.Network.Latest.Inputs.SubnetArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1\",\n },\n },\n },\n Name = \"eth1\",\n },\n },\n Location = \"westus\",\n NetworkProfileName = \"networkProfile1\",\n ResourceGroupName = \"rg1\",\n });\n }\n\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_nextgen from \"@pulumi/azure-nextgen\";\n\nconst networkProfile = new azure_nextgen.network.latest.NetworkProfile(\"networkProfile\", {\n containerNetworkInterfaceConfigurations: [{\n ipConfigurations: [{\n name: \"ipconfig1\",\n subnet: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1\",\n },\n }],\n name: \"eth1\",\n }],\n location: \"westus\",\n networkProfileName: \"networkProfile1\",\n resourceGroupName: \"rg1\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_nextgen as azure_nextgen\n\nnetwork_profile = azure_nextgen.network.latest.NetworkProfile(\"networkProfile\",\n container_network_interface_configurations=[azure_nextgen.network.latest.ContainerNetworkInterfaceConfigurationArgs(\n ip_configurations=[azure_nextgen.network.latest.IPConfigurationProfileArgs(\n name=\"ipconfig1\",\n subnet=azure_nextgen.network.latest.SubnetArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1\",\n ),\n )],\n name=\"eth1\",\n )],\n location=\"westus\",\n network_profile_name=\"networkProfile1\",\n resource_group_name=\"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-nextgen:network/latest:NetworkProfile networkProfile1 /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1 \n```\n", + "description": "Network profile resource.\nLatest API Version: 2020-08-01.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Create network profile defaults\n```csharp\nusing Pulumi;\nusing AzureNextGen = Pulumi.AzureNextGen;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var networkProfile = new AzureNextGen.Network.Latest.NetworkProfile(\"networkProfile\", new AzureNextGen.Network.Latest.NetworkProfileArgs\n {\n ContainerNetworkInterfaceConfigurations = \n {\n new AzureNextGen.Network.Latest.Inputs.ContainerNetworkInterfaceConfigurationArgs\n {\n IpConfigurations = \n {\n new AzureNextGen.Network.Latest.Inputs.IPConfigurationProfileArgs\n {\n Name = \"ipconfig1\",\n Subnet = new AzureNextGen.Network.Latest.Inputs.SubnetArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1\",\n },\n },\n },\n Name = \"eth1\",\n },\n },\n Location = \"westus\",\n NetworkProfileName = \"networkProfile1\",\n ResourceGroupName = \"rg1\",\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\tnetwork \"github.com/pulumi/pulumi-azure-nextgen/sdk/go/azure/network/latest\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := network.NewNetworkProfile(ctx, \"networkProfile\", \u0026network.NetworkProfileArgs{\n\t\t\tContainerNetworkInterfaceConfigurations: network.ContainerNetworkInterfaceConfigurationArray{\n\t\t\t\t\u0026network.ContainerNetworkInterfaceConfigurationArgs{\n\t\t\t\t\tIpConfigurations: network.IPConfigurationProfileArray{\n\t\t\t\t\t\t\u0026network.IPConfigurationProfileArgs{\n\t\t\t\t\t\t\tName: pulumi.String(\"ipconfig1\"),\n\t\t\t\t\t\t\tSubnet: \u0026network.SubnetArgs{\n\t\t\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1\"),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tName: pulumi.String(\"eth1\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tLocation: pulumi.String(\"westus\"),\n\t\t\tNetworkProfileName: pulumi.String(\"networkProfile1\"),\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```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_nextgen from \"@pulumi/azure-nextgen\";\n\nconst networkProfile = new azure_nextgen.network.latest.NetworkProfile(\"networkProfile\", {\n containerNetworkInterfaceConfigurations: [{\n ipConfigurations: [{\n name: \"ipconfig1\",\n subnet: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1\",\n },\n }],\n name: \"eth1\",\n }],\n location: \"westus\",\n networkProfileName: \"networkProfile1\",\n resourceGroupName: \"rg1\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_nextgen as azure_nextgen\n\nnetwork_profile = azure_nextgen.network.latest.NetworkProfile(\"networkProfile\",\n container_network_interface_configurations=[azure_nextgen.network.latest.ContainerNetworkInterfaceConfigurationArgs(\n ip_configurations=[azure_nextgen.network.latest.IPConfigurationProfileArgs(\n name=\"ipconfig1\",\n subnet=azure_nextgen.network.latest.SubnetArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1\",\n ),\n )],\n name=\"eth1\",\n )],\n location=\"westus\",\n network_profile_name=\"networkProfile1\",\n resource_group_name=\"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-nextgen:network/latest:NetworkProfile networkProfile1 /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1 \n```\n", "properties": { "containerNetworkInterfaceConfigurations": { "type": "array", @@ -338554,7 +340397,7 @@ ] }, "azure-nextgen:network/latest:P2sVpnGateway": { - "description": "P2SVpnGateway Resource.\nLatest API Version: 2020-08-01.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### P2SVpnGatewayPut\n```csharp\nusing Pulumi;\nusing AzureNextGen = Pulumi.AzureNextGen;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var p2sVpnGateway = new AzureNextGen.Network.Latest.P2sVpnGateway(\"p2sVpnGateway\", new AzureNextGen.Network.Latest.P2sVpnGatewayArgs\n {\n CustomDnsServers = \n {\n \"1.1.1.1\",\n \"2.2.2.2\",\n },\n GatewayName = \"p2sVpnGateway1\",\n IsRoutingPreferenceInternet = false,\n Location = \"West US\",\n P2SConnectionConfigurations = \n {\n new AzureNextGen.Network.Latest.Inputs.P2SConnectionConfigurationArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/p2sVpnGateways/p2sVpnGateway1/p2sConnectionConfigurations/P2SConnectionConfig1\",\n Name = \"P2SConnectionConfig1\",\n RoutingConfiguration = new AzureNextGen.Network.Latest.Inputs.RoutingConfigurationArgs\n {\n AssociatedRouteTable = new AzureNextGen.Network.Latest.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1\",\n },\n PropagatedRouteTables = new AzureNextGen.Network.Latest.Inputs.PropagatedRouteTableArgs\n {\n Ids = \n {\n new AzureNextGen.Network.Latest.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1\",\n },\n new AzureNextGen.Network.Latest.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable2\",\n },\n new AzureNextGen.Network.Latest.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable3\",\n },\n },\n Labels = \n {\n \"label1\",\n \"label2\",\n },\n },\n VnetRoutes = new AzureNextGen.Network.Latest.Inputs.VnetRouteArgs\n {\n StaticRoutes = {},\n },\n },\n VpnClientAddressPool = new AzureNextGen.Network.Latest.Inputs.AddressSpaceArgs\n {\n AddressPrefixes = \n {\n \"101.3.0.0/16\",\n },\n },\n },\n },\n ResourceGroupName = \"rg1\",\n Tags = \n {\n { \"key1\", \"value1\" },\n },\n VirtualHub = new AzureNextGen.Network.Latest.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1\",\n },\n VpnGatewayScaleUnit = 1,\n VpnServerConfiguration = new AzureNextGen.Network.Latest.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1\",\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\tnetwork \"github.com/pulumi/pulumi-azure-nextgen/sdk/go/azure/network/latest\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := network.NewP2sVpnGateway(ctx, \"p2sVpnGateway\", \u0026network.P2sVpnGatewayArgs{\n\t\t\tCustomDnsServers: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"1.1.1.1\"),\n\t\t\t\tpulumi.String(\"2.2.2.2\"),\n\t\t\t},\n\t\t\tGatewayName: pulumi.String(\"p2sVpnGateway1\"),\n\t\t\tIsRoutingPreferenceInternet: pulumi.Bool(false),\n\t\t\tLocation: pulumi.String(\"West US\"),\n\t\t\tP2SConnectionConfigurations: network.P2SConnectionConfigurationArray{\n\t\t\t\t\u0026network.P2SConnectionConfigurationArgs{\n\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/p2sVpnGateways/p2sVpnGateway1/p2sConnectionConfigurations/P2SConnectionConfig1\"),\n\t\t\t\t\tName: pulumi.String(\"P2SConnectionConfig1\"),\n\t\t\t\t\tRoutingConfiguration: \u0026network.RoutingConfigurationArgs{\n\t\t\t\t\t\tAssociatedRouteTable: \u0026network.SubResourceArgs{\n\t\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\tPropagatedRouteTables: \u0026network.PropagatedRouteTableArgs{\n\t\t\t\t\t\t\tIds: network.SubResourceArray{\n\t\t\t\t\t\t\t\t\u0026network.SubResourceArgs{\n\t\t\t\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1\"),\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\u0026network.SubResourceArgs{\n\t\t\t\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable2\"),\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\u0026network.SubResourceArgs{\n\t\t\t\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable3\"),\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tLabels: pulumi.StringArray{\n\t\t\t\t\t\t\t\tpulumi.String(\"label1\"),\n\t\t\t\t\t\t\t\tpulumi.String(\"label2\"),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t\tVnetRoutes: \u0026network.VnetRouteArgs{\n\t\t\t\t\t\t\tStaticRoutes: network.StaticRouteArray{},\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tVpnClientAddressPool: \u0026network.AddressSpaceArgs{\n\t\t\t\t\t\tAddressPrefixes: pulumi.StringArray{\n\t\t\t\t\t\t\tpulumi.String(\"101.3.0.0/16\"),\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\tResourceGroupName: pulumi.String(\"rg1\"),\n\t\t\tTags: pulumi.StringMap{\n\t\t\t\t\"key1\": pulumi.String(\"value1\"),\n\t\t\t},\n\t\t\tVirtualHub: \u0026network.SubResourceArgs{\n\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1\"),\n\t\t\t},\n\t\t\tVpnGatewayScaleUnit: pulumi.Int(1),\n\t\t\tVpnServerConfiguration: \u0026network.SubResourceArgs{\n\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1\"),\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```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_nextgen from \"@pulumi/azure-nextgen\";\n\nconst p2sVpnGateway = new azure_nextgen.network.latest.P2sVpnGateway(\"p2sVpnGateway\", {\n customDnsServers: [\n \"1.1.1.1\",\n \"2.2.2.2\",\n ],\n gatewayName: \"p2sVpnGateway1\",\n isRoutingPreferenceInternet: false,\n location: \"West US\",\n p2SConnectionConfigurations: [{\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/p2sVpnGateways/p2sVpnGateway1/p2sConnectionConfigurations/P2SConnectionConfig1\",\n name: \"P2SConnectionConfig1\",\n routingConfiguration: {\n associatedRouteTable: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1\",\n },\n propagatedRouteTables: {\n ids: [\n {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1\",\n },\n {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable2\",\n },\n {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable3\",\n },\n ],\n labels: [\n \"label1\",\n \"label2\",\n ],\n },\n vnetRoutes: {\n staticRoutes: [],\n },\n },\n vpnClientAddressPool: {\n addressPrefixes: [\"101.3.0.0/16\"],\n },\n }],\n resourceGroupName: \"rg1\",\n tags: {\n key1: \"value1\",\n },\n virtualHub: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1\",\n },\n vpnGatewayScaleUnit: 1,\n vpnServerConfiguration: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_nextgen as azure_nextgen\n\np2s_vpn_gateway = azure_nextgen.network.latest.P2sVpnGateway(\"p2sVpnGateway\",\n custom_dns_servers=[\n \"1.1.1.1\",\n \"2.2.2.2\",\n ],\n gateway_name=\"p2sVpnGateway1\",\n is_routing_preference_internet=False,\n location=\"West US\",\n p2_s_connection_configurations=[azure_nextgen.network.latest.P2SConnectionConfigurationArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/p2sVpnGateways/p2sVpnGateway1/p2sConnectionConfigurations/P2SConnectionConfig1\",\n name=\"P2SConnectionConfig1\",\n routing_configuration=azure_nextgen.network.latest.RoutingConfigurationArgs(\n associated_route_table=azure_nextgen.network.latest.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1\",\n ),\n propagated_route_tables=azure_nextgen.network.latest.PropagatedRouteTableArgs(\n ids=[\n azure_nextgen.network.latest.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1\",\n ),\n azure_nextgen.network.latest.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable2\",\n ),\n azure_nextgen.network.latest.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable3\",\n ),\n ],\n labels=[\n \"label1\",\n \"label2\",\n ],\n ),\n vnet_routes=azure_nextgen.network.latest.VnetRouteArgs(\n static_routes=[],\n ),\n ),\n vpn_client_address_pool=azure_nextgen.network.latest.AddressSpaceArgs(\n address_prefixes=[\"101.3.0.0/16\"],\n ),\n )],\n resource_group_name=\"rg1\",\n tags={\n \"key1\": \"value1\",\n },\n virtual_hub=azure_nextgen.network.latest.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1\",\n ),\n vpn_gateway_scale_unit=1,\n vpn_server_configuration=azure_nextgen.network.latest.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1\",\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-nextgen:network/latest:P2sVpnGateway p2sVpnGateway1 /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1 \n```\n", + "description": "P2SVpnGateway Resource.\nLatest API Version: 2020-08-01.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### P2SVpnGatewayPut\n```csharp\nusing Pulumi;\nusing AzureNextGen = Pulumi.AzureNextGen;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var p2sVpnGateway = new AzureNextGen.Network.Latest.P2sVpnGateway(\"p2sVpnGateway\", new AzureNextGen.Network.Latest.P2sVpnGatewayArgs\n {\n CustomDnsServers = \n {\n \"1.1.1.1\",\n \"2.2.2.2\",\n },\n GatewayName = \"p2sVpnGateway1\",\n IsRoutingPreferenceInternet = false,\n Location = \"West US\",\n P2SConnectionConfigurations = \n {\n new AzureNextGen.Network.Latest.Inputs.P2SConnectionConfigurationArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/p2sVpnGateways/p2sVpnGateway1/p2sConnectionConfigurations/P2SConnectionConfig1\",\n Name = \"P2SConnectionConfig1\",\n RoutingConfiguration = new AzureNextGen.Network.Latest.Inputs.RoutingConfigurationArgs\n {\n AssociatedRouteTable = new AzureNextGen.Network.Latest.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1\",\n },\n PropagatedRouteTables = new AzureNextGen.Network.Latest.Inputs.PropagatedRouteTableArgs\n {\n Ids = \n {\n new AzureNextGen.Network.Latest.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1\",\n },\n new AzureNextGen.Network.Latest.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable2\",\n },\n new AzureNextGen.Network.Latest.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable3\",\n },\n },\n Labels = \n {\n \"label1\",\n \"label2\",\n },\n },\n VnetRoutes = new AzureNextGen.Network.Latest.Inputs.VnetRouteArgs\n {\n StaticRoutes = {},\n },\n },\n VpnClientAddressPool = new AzureNextGen.Network.Latest.Inputs.AddressSpaceArgs\n {\n AddressPrefixes = \n {\n \"101.3.0.0/16\",\n },\n },\n },\n },\n ResourceGroupName = \"rg1\",\n Tags = \n {\n { \"key1\", \"value1\" },\n },\n VirtualHub = new AzureNextGen.Network.Latest.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1\",\n },\n VpnGatewayScaleUnit = 1,\n VpnServerConfiguration = new AzureNextGen.Network.Latest.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1\",\n },\n });\n }\n\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_nextgen from \"@pulumi/azure-nextgen\";\n\nconst p2sVpnGateway = new azure_nextgen.network.latest.P2sVpnGateway(\"p2sVpnGateway\", {\n customDnsServers: [\n \"1.1.1.1\",\n \"2.2.2.2\",\n ],\n gatewayName: \"p2sVpnGateway1\",\n isRoutingPreferenceInternet: false,\n location: \"West US\",\n p2SConnectionConfigurations: [{\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/p2sVpnGateways/p2sVpnGateway1/p2sConnectionConfigurations/P2SConnectionConfig1\",\n name: \"P2SConnectionConfig1\",\n routingConfiguration: {\n associatedRouteTable: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1\",\n },\n propagatedRouteTables: {\n ids: [\n {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1\",\n },\n {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable2\",\n },\n {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable3\",\n },\n ],\n labels: [\n \"label1\",\n \"label2\",\n ],\n },\n vnetRoutes: {\n staticRoutes: [],\n },\n },\n vpnClientAddressPool: {\n addressPrefixes: [\"101.3.0.0/16\"],\n },\n }],\n resourceGroupName: \"rg1\",\n tags: {\n key1: \"value1\",\n },\n virtualHub: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1\",\n },\n vpnGatewayScaleUnit: 1,\n vpnServerConfiguration: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_nextgen as azure_nextgen\n\np2s_vpn_gateway = azure_nextgen.network.latest.P2sVpnGateway(\"p2sVpnGateway\",\n custom_dns_servers=[\n \"1.1.1.1\",\n \"2.2.2.2\",\n ],\n gateway_name=\"p2sVpnGateway1\",\n is_routing_preference_internet=False,\n location=\"West US\",\n p2_s_connection_configurations=[azure_nextgen.network.latest.P2SConnectionConfigurationArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/p2sVpnGateways/p2sVpnGateway1/p2sConnectionConfigurations/P2SConnectionConfig1\",\n name=\"P2SConnectionConfig1\",\n routing_configuration=azure_nextgen.network.latest.RoutingConfigurationArgs(\n associated_route_table=azure_nextgen.network.latest.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1\",\n ),\n propagated_route_tables=azure_nextgen.network.latest.PropagatedRouteTableArgs(\n ids=[\n azure_nextgen.network.latest.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1\",\n ),\n azure_nextgen.network.latest.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable2\",\n ),\n azure_nextgen.network.latest.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable3\",\n ),\n ],\n labels=[\n \"label1\",\n \"label2\",\n ],\n ),\n vnet_routes=azure_nextgen.network.latest.VnetRouteArgs(\n static_routes=[],\n ),\n ),\n vpn_client_address_pool=azure_nextgen.network.latest.AddressSpaceArgs(\n address_prefixes=[\"101.3.0.0/16\"],\n ),\n )],\n resource_group_name=\"rg1\",\n tags={\n \"key1\": \"value1\",\n },\n virtual_hub=azure_nextgen.network.latest.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1\",\n ),\n vpn_gateway_scale_unit=1,\n vpn_server_configuration=azure_nextgen.network.latest.SubResourceArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1\",\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-nextgen:network/latest:P2sVpnGateway p2sVpnGateway1 /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1 \n```\n", "properties": { "customDnsServers": { "type": "array", @@ -339214,6 +341057,14 @@ }, "description": "Describes Routing Rules associated with this Web Application Firewall policy." }, + "securityPolicyLinks": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/types/azure-nextgen:network/latest:SecurityPolicyLinkResponse" + }, + "description": "Describes Security Policy associated with this Web Application Firewall policy." + }, "sku": { "type": "object", "$ref": "#/types/azure-nextgen:network/latest:SkuResponse", @@ -339238,6 +341089,7 @@ "provisioningState", "resourceState", "routingRuleLinks", + "securityPolicyLinks", "type" ], "inputProperties": { @@ -347623,159 +349475,232 @@ ], "aliases": [ { - "type": "azure-nextgen:offazure/v20200101:HyperVSite" + "type": "azure-nextgen:offazure/v20200101:HyperVSite" + }, + { + "type": "azure-nextgen:offazure/v20200707:HyperVSite" + } + ] + }, + "azure-nextgen:offazure/latest:MasterSite": { + "description": "Site REST Resource.\nLatest API Version: 2020-07-07.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Create Master site\n```csharp\nusing Pulumi;\nusing AzureNextGen = Pulumi.AzureNextGen;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var masterSite = new AzureNextGen.OffAzure.Latest.MasterSite(\"masterSite\", new AzureNextGen.OffAzure.Latest.MasterSiteArgs\n {\n Location = \"eastus\",\n Properties = new AzureNextGen.OffAzure.Latest.Inputs.MasterSitePropertiesArgs\n {\n AllowMultipleSites = false,\n PublicNetworkAccess = \"Enabled\",\n Sites = \n {\n \"/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/pajindTest/providers/Microsoft.OffAzure/VMwareSites/appliance1e39site\",\n \"/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/pajindTest/providers/Microsoft.OffAzure/HyperVSites/appliance1e39site\",\n },\n },\n ResourceGroupName = \"poshukla\",\n SiteName = \"masterSite1\",\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\toffazure \"github.com/pulumi/pulumi-azure-nextgen/sdk/go/azure/offazure/latest\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := offazure.NewMasterSite(ctx, \"masterSite\", \u0026offazure.MasterSiteArgs{\n\t\t\tLocation: pulumi.String(\"eastus\"),\n\t\t\tProperties: \u0026offazure.MasterSitePropertiesArgs{\n\t\t\t\tAllowMultipleSites: pulumi.Bool(false),\n\t\t\t\tPublicNetworkAccess: pulumi.String(\"Enabled\"),\n\t\t\t\tSites: pulumi.StringArray{\n\t\t\t\t\tpulumi.String(\"/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/pajindTest/providers/Microsoft.OffAzure/VMwareSites/appliance1e39site\"),\n\t\t\t\t\tpulumi.String(\"/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/pajindTest/providers/Microsoft.OffAzure/HyperVSites/appliance1e39site\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tResourceGroupName: pulumi.String(\"poshukla\"),\n\t\t\tSiteName: pulumi.String(\"masterSite1\"),\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```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_nextgen from \"@pulumi/azure-nextgen\";\n\nconst masterSite = new azure_nextgen.offazure.latest.MasterSite(\"masterSite\", {\n location: \"eastus\",\n properties: {\n allowMultipleSites: false,\n publicNetworkAccess: \"Enabled\",\n sites: [\n \"/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/pajindTest/providers/Microsoft.OffAzure/VMwareSites/appliance1e39site\",\n \"/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/pajindTest/providers/Microsoft.OffAzure/HyperVSites/appliance1e39site\",\n ],\n },\n resourceGroupName: \"poshukla\",\n siteName: \"masterSite1\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_nextgen as azure_nextgen\n\nmaster_site = azure_nextgen.offazure.latest.MasterSite(\"masterSite\",\n location=\"eastus\",\n properties=azure_nextgen.offazure.latest.MasterSitePropertiesArgs(\n allow_multiple_sites=False,\n public_network_access=\"Enabled\",\n sites=[\n \"/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/pajindTest/providers/Microsoft.OffAzure/VMwareSites/appliance1e39site\",\n \"/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/pajindTest/providers/Microsoft.OffAzure/HyperVSites/appliance1e39site\",\n ],\n ),\n resource_group_name=\"poshukla\",\n site_name=\"masterSite1\")\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-nextgen:offazure/latest:MasterSite masterSite1 /subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/pajindTest/providers/Microsoft.OffAzure/VMwareSites/masterSite1 \n```\n", + "properties": { + "eTag": { + "type": "string", + "description": "eTag for concurrency control." + }, + "location": { + "type": "string", + "description": "Azure location in which Sites is created." + }, + "name": { + "type": "string", + "description": "Name of the Master site." + }, + "properties": { + "type": "object", + "$ref": "#/types/azure-nextgen:offazure/latest:MasterSitePropertiesResponse", + "description": "Nested properties of Master site." + }, + "type": { + "type": "string", + "description": "Type of resource. Type = Microsoft.OffAzure/MasterSites." + } + }, + "type": "object", + "required": [ + "properties", + "type" + ], + "inputProperties": { + "eTag": { + "type": "string", + "description": "eTag for concurrency control." + }, + "location": { + "type": "string", + "description": "Azure location in which Sites is created." + }, + "name": { + "type": "string", + "description": "Name of the Master site." + }, + "properties": { + "type": "object", + "$ref": "#/types/azure-nextgen:offazure/latest:MasterSiteProperties", + "description": "Nested properties of Master site." + }, + "resourceGroupName": { + "type": "string", + "description": "The name of the resource group. The name is case insensitive." + }, + "siteName": { + "type": "string", + "description": "Site name." + } + }, + "requiredInputs": [ + "resourceGroupName", + "siteName" + ], + "aliases": [ + { + "type": "azure-nextgen:offazure/v20200707:MasterSite" + } + ] + }, + "azure-nextgen:offazure/latest:Site": { + "description": "Site REST Resource.\nLatest API Version: 2020-07-07.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Create VMware site\n```csharp\nusing Pulumi;\nusing AzureNextGen = Pulumi.AzureNextGen;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var site = new AzureNextGen.OffAzure.Latest.Site(\"site\", new AzureNextGen.OffAzure.Latest.SiteArgs\n {\n Location = \"eastus\",\n Properties = new AzureNextGen.OffAzure.Latest.Inputs.SitePropertiesArgs\n {\n ServicePrincipalIdentityDetails = new AzureNextGen.OffAzure.Latest.Inputs.SiteSpnPropertiesArgs\n {\n AadAuthority = \"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\",\n ApplicationId = \"e9f013df-2a2a-4871-b766-e79867f30348\",\n Audience = \"https://72f988bf-86f1-41af-91ab-2d7cd011db47/MaheshSite17ac9agentauthaadapp\",\n ObjectId = \"2cd492bc-7ef3-4ee0-b301-59a88108b47b\",\n TenantId = \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\n },\n },\n ResourceGroupName = \"pajindTest\",\n SiteName = \"appliance1e39site\",\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\toffazure \"github.com/pulumi/pulumi-azure-nextgen/sdk/go/azure/offazure/latest\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := offazure.NewSite(ctx, \"site\", \u0026offazure.SiteArgs{\n\t\t\tLocation: pulumi.String(\"eastus\"),\n\t\t\tProperties: \u0026offazure.SitePropertiesArgs{\n\t\t\t\tServicePrincipalIdentityDetails: \u0026offazure.SiteSpnPropertiesArgs{\n\t\t\t\t\tAadAuthority: pulumi.String(\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\"),\n\t\t\t\t\tApplicationId: pulumi.String(\"e9f013df-2a2a-4871-b766-e79867f30348\"),\n\t\t\t\t\tAudience: pulumi.String(\"https://72f988bf-86f1-41af-91ab-2d7cd011db47/MaheshSite17ac9agentauthaadapp\"),\n\t\t\t\t\tObjectId: pulumi.String(\"2cd492bc-7ef3-4ee0-b301-59a88108b47b\"),\n\t\t\t\t\tTenantId: pulumi.String(\"72f988bf-86f1-41af-91ab-2d7cd011db47\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tResourceGroupName: pulumi.String(\"pajindTest\"),\n\t\t\tSiteName: pulumi.String(\"appliance1e39site\"),\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```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_nextgen from \"@pulumi/azure-nextgen\";\n\nconst site = new azure_nextgen.offazure.latest.Site(\"site\", {\n location: \"eastus\",\n properties: {\n servicePrincipalIdentityDetails: {\n aadAuthority: \"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\",\n applicationId: \"e9f013df-2a2a-4871-b766-e79867f30348\",\n audience: \"https://72f988bf-86f1-41af-91ab-2d7cd011db47/MaheshSite17ac9agentauthaadapp\",\n objectId: \"2cd492bc-7ef3-4ee0-b301-59a88108b47b\",\n tenantId: \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\n },\n },\n resourceGroupName: \"pajindTest\",\n siteName: \"appliance1e39site\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_nextgen as azure_nextgen\n\nsite = azure_nextgen.offazure.latest.Site(\"site\",\n location=\"eastus\",\n properties=azure_nextgen.offazure.latest.SitePropertiesArgs(\n service_principal_identity_details=azure_nextgen.offazure.latest.SiteSpnPropertiesArgs(\n aad_authority=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\",\n application_id=\"e9f013df-2a2a-4871-b766-e79867f30348\",\n audience=\"https://72f988bf-86f1-41af-91ab-2d7cd011db47/MaheshSite17ac9agentauthaadapp\",\n object_id=\"2cd492bc-7ef3-4ee0-b301-59a88108b47b\",\n tenant_id=\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\n ),\n ),\n resource_group_name=\"pajindTest\",\n site_name=\"appliance1e39site\")\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-nextgen:offazure/latest:Site appliance1e39site /subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/pajindTest/providers/Microsoft.OffAzure/VMwareSites/appliance1e39site \n```\n", + "properties": { + "eTag": { + "type": "string", + "description": "eTag for concurrency control." + }, + "location": { + "type": "string", + "description": "Azure location in which Sites is created." + }, + "name": { + "type": "string", + "description": "Name of the VMware site." + }, + "properties": { + "type": "object", + "$ref": "#/types/azure-nextgen:offazure/latest:SitePropertiesResponse", + "description": "Nested properties of VMWare site." + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "type": { + "type": "string", + "description": "Type of resource. Type = Microsoft.OffAzure/VMWareSites." + } + }, + "type": "object", + "required": [ + "properties", + "type" + ], + "inputProperties": { + "eTag": { + "type": "string", + "description": "eTag for concurrency control." + }, + "location": { + "type": "string", + "description": "Azure location in which Sites is created." + }, + "name": { + "type": "string", + "description": "Name of the VMware site." + }, + "properties": { + "type": "object", + "$ref": "#/types/azure-nextgen:offazure/latest:SiteProperties", + "description": "Nested properties of VMWare site." + }, + "resourceGroupName": { + "type": "string", + "description": "The name of the resource group. The name is case insensitive." + }, + "siteName": { + "type": "string", + "description": "Site name." + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "requiredInputs": [ + "resourceGroupName", + "siteName" + ], + "aliases": [ + { + "type": "azure-nextgen:offazure/v20200101:Site" }, { - "type": "azure-nextgen:offazure/v20200707:HyperVSite" + "type": "azure-nextgen:offazure/v20200707:Site" } ] }, - "azure-nextgen:offazure/latest:MasterSite": { - "description": "Site REST Resource.\nLatest API Version: 2020-07-07.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Create Master site\n```csharp\nusing Pulumi;\nusing AzureNextGen = Pulumi.AzureNextGen;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var masterSite = new AzureNextGen.OffAzure.Latest.MasterSite(\"masterSite\", new AzureNextGen.OffAzure.Latest.MasterSiteArgs\n {\n Location = \"eastus\",\n Properties = new AzureNextGen.OffAzure.Latest.Inputs.MasterSitePropertiesArgs\n {\n AllowMultipleSites = false,\n PublicNetworkAccess = \"Enabled\",\n Sites = \n {\n \"/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/pajindTest/providers/Microsoft.OffAzure/VMwareSites/appliance1e39site\",\n \"/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/pajindTest/providers/Microsoft.OffAzure/HyperVSites/appliance1e39site\",\n },\n },\n ResourceGroupName = \"poshukla\",\n SiteName = \"masterSite1\",\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\toffazure \"github.com/pulumi/pulumi-azure-nextgen/sdk/go/azure/offazure/latest\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := offazure.NewMasterSite(ctx, \"masterSite\", \u0026offazure.MasterSiteArgs{\n\t\t\tLocation: pulumi.String(\"eastus\"),\n\t\t\tProperties: \u0026offazure.MasterSitePropertiesArgs{\n\t\t\t\tAllowMultipleSites: pulumi.Bool(false),\n\t\t\t\tPublicNetworkAccess: pulumi.String(\"Enabled\"),\n\t\t\t\tSites: pulumi.StringArray{\n\t\t\t\t\tpulumi.String(\"/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/pajindTest/providers/Microsoft.OffAzure/VMwareSites/appliance1e39site\"),\n\t\t\t\t\tpulumi.String(\"/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/pajindTest/providers/Microsoft.OffAzure/HyperVSites/appliance1e39site\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tResourceGroupName: pulumi.String(\"poshukla\"),\n\t\t\tSiteName: pulumi.String(\"masterSite1\"),\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```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_nextgen from \"@pulumi/azure-nextgen\";\n\nconst masterSite = new azure_nextgen.offazure.latest.MasterSite(\"masterSite\", {\n location: \"eastus\",\n properties: {\n allowMultipleSites: false,\n publicNetworkAccess: \"Enabled\",\n sites: [\n \"/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/pajindTest/providers/Microsoft.OffAzure/VMwareSites/appliance1e39site\",\n \"/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/pajindTest/providers/Microsoft.OffAzure/HyperVSites/appliance1e39site\",\n ],\n },\n resourceGroupName: \"poshukla\",\n siteName: \"masterSite1\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_nextgen as azure_nextgen\n\nmaster_site = azure_nextgen.offazure.latest.MasterSite(\"masterSite\",\n location=\"eastus\",\n properties=azure_nextgen.offazure.latest.MasterSitePropertiesArgs(\n allow_multiple_sites=False,\n public_network_access=\"Enabled\",\n sites=[\n \"/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/pajindTest/providers/Microsoft.OffAzure/VMwareSites/appliance1e39site\",\n \"/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/pajindTest/providers/Microsoft.OffAzure/HyperVSites/appliance1e39site\",\n ],\n ),\n resource_group_name=\"poshukla\",\n site_name=\"masterSite1\")\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-nextgen:offazure/latest:MasterSite masterSite1 /subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/pajindTest/providers/Microsoft.OffAzure/VMwareSites/masterSite1 \n```\n", + "azure-nextgen:operationalinsights/latest:Action": { + "description": "Action for alert rule.\nLatest API Version: 2020-01-01.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Creates or updates an action of alert rule.\n```csharp\nusing Pulumi;\nusing AzureNextGen = Pulumi.AzureNextGen;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var action = new AzureNextGen.OperationalInsights.Latest.Action(\"action\", new AzureNextGen.OperationalInsights.Latest.ActionArgs\n {\n ActionId = \"912bec42-cb66-4c03-ac63-1761b6898c3e\",\n Etag = \"\\\"0300bf09-0000-0000-0000-5c37296e0000\\\"\",\n LogicAppResourceId = \"/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.Logic/workflows/MyAlerts\",\n ResourceGroupName = \"myRg\",\n RuleId = \"73e01a99-5cd7-4139-a149-9f2736ff2ab5\",\n TriggerUri = \"https://prod-31.northcentralus.logic.azure.com:443/workflows/cd3765391efd48549fd7681ded1d48d7/triggers/manual/paths/invoke?api-version=2016-10-01\u0026sp=%2Ftriggers%2Fmanual%2Frun\u0026sv=1.0\u0026sig=signature\",\n WorkspaceName = \"myWorkspace\",\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\toperationalinsights \"github.com/pulumi/pulumi-azure-nextgen/sdk/go/azure/operationalinsights/latest\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := operationalinsights.NewAction(ctx, \"action\", \u0026operationalinsights.ActionArgs{\n\t\t\tActionId: pulumi.String(\"912bec42-cb66-4c03-ac63-1761b6898c3e\"),\n\t\t\tEtag: pulumi.String(\"\\\"0300bf09-0000-0000-0000-5c37296e0000\\\"\"),\n\t\t\tLogicAppResourceId: pulumi.String(\"/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.Logic/workflows/MyAlerts\"),\n\t\t\tResourceGroupName: pulumi.String(\"myRg\"),\n\t\t\tRuleId: pulumi.String(\"73e01a99-5cd7-4139-a149-9f2736ff2ab5\"),\n\t\t\tTriggerUri: pulumi.String(fmt.Sprintf(\"%v%v%v%v%v%v%v\", \"https://prod-31.northcentralus.logic.azure.com:443/workflows/cd3765391efd48549fd7681ded1d48d7/triggers/manual/paths/invoke?api-version=2016-10-01\u0026sp=\", \"%\", \"2Ftriggers\", \"%\", \"2Fmanual\", \"%\", \"2Frun\u0026sv=1.0\u0026sig=signature\")),\n\t\t\tWorkspaceName: pulumi.String(\"myWorkspace\"),\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```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_nextgen from \"@pulumi/azure-nextgen\";\n\nconst action = new azure_nextgen.operationalinsights.latest.Action(\"action\", {\n actionId: \"912bec42-cb66-4c03-ac63-1761b6898c3e\",\n etag: \"\\\"0300bf09-0000-0000-0000-5c37296e0000\\\"\",\n logicAppResourceId: \"/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.Logic/workflows/MyAlerts\",\n resourceGroupName: \"myRg\",\n ruleId: \"73e01a99-5cd7-4139-a149-9f2736ff2ab5\",\n triggerUri: `https://prod-31.northcentralus.logic.azure.com:443/workflows/cd3765391efd48549fd7681ded1d48d7/triggers/manual/paths/invoke?api-version=2016-10-01\u0026sp=%2Ftriggers%2Fmanual%2Frun\u0026sv=1.0\u0026sig=signature`,\n workspaceName: \"myWorkspace\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_nextgen as azure_nextgen\n\naction = azure_nextgen.operationalinsights.latest.Action(\"action\",\n action_id=\"912bec42-cb66-4c03-ac63-1761b6898c3e\",\n etag=\"\\\"0300bf09-0000-0000-0000-5c37296e0000\\\"\",\n logic_app_resource_id=\"/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.Logic/workflows/MyAlerts\",\n resource_group_name=\"myRg\",\n rule_id=\"73e01a99-5cd7-4139-a149-9f2736ff2ab5\",\n trigger_uri=\"https://prod-31.northcentralus.logic.azure.com:443/workflows/cd3765391efd48549fd7681ded1d48d7/triggers/manual/paths/invoke?api-version=2016-10-01\u0026sp=%2Ftriggers%2Fmanual%2Frun\u0026sv=1.0\u0026sig=signature\",\n workspace_name=\"myWorkspace\")\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-nextgen:operationalinsights/latest:Action 912bec42-cb66-4c03-ac63-1761b6898c3e /subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalIinsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/alertRules/73e01a99-5cd7-4139-a149-9f2736ff2ab5/actions/912bec42-cb66-4c03-ac63-1761b6898c3e \n```\n", "properties": { - "eTag": { + "etag": { "type": "string", - "description": "eTag for concurrency control." + "description": "Etag of the action." }, - "location": { + "logicAppResourceId": { "type": "string", - "description": "Azure location in which Sites is created." + "description": "Logic App Resource Id, /subscriptions/{my-subscription}/resourceGroups/{my-resource-group}/providers/Microsoft.Logic/workflows/{my-workflow-id}." }, "name": { "type": "string", - "description": "Name of the Master site." - }, - "properties": { - "type": "object", - "$ref": "#/types/azure-nextgen:offazure/latest:MasterSitePropertiesResponse", - "description": "Nested properties of Master site." + "description": "Azure resource name" }, "type": { "type": "string", - "description": "Type of resource. Type = Microsoft.OffAzure/MasterSites." + "description": "Azure resource type" + }, + "workflowId": { + "type": "string", + "description": "The name of the logic app's workflow." } }, "type": "object", "required": [ - "properties", + "logicAppResourceId", + "name", "type" ], "inputProperties": { - "eTag": { + "actionId": { "type": "string", - "description": "eTag for concurrency control." + "description": "Action ID" }, - "location": { + "etag": { "type": "string", - "description": "Azure location in which Sites is created." + "description": "Etag of the azure resource" }, - "name": { + "logicAppResourceId": { "type": "string", - "description": "Name of the Master site." - }, - "properties": { - "type": "object", - "$ref": "#/types/azure-nextgen:offazure/latest:MasterSiteProperties", - "description": "Nested properties of Master site." + "description": "Logic App Resource Id, /subscriptions/{my-subscription}/resourceGroups/{my-resource-group}/providers/Microsoft.Logic/workflows/{my-workflow-id}." }, "resourceGroupName": { "type": "string", - "description": "The name of the resource group. The name is case insensitive." - }, - "siteName": { - "type": "string", - "description": "Site name." - } - }, - "requiredInputs": [ - "resourceGroupName", - "siteName" - ], - "aliases": [ - { - "type": "azure-nextgen:offazure/v20200707:MasterSite" - } - ] - }, - "azure-nextgen:offazure/latest:Site": { - "description": "Site REST Resource.\nLatest API Version: 2020-07-07.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Create VMware site\n```csharp\nusing Pulumi;\nusing AzureNextGen = Pulumi.AzureNextGen;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var site = new AzureNextGen.OffAzure.Latest.Site(\"site\", new AzureNextGen.OffAzure.Latest.SiteArgs\n {\n Location = \"eastus\",\n Properties = new AzureNextGen.OffAzure.Latest.Inputs.SitePropertiesArgs\n {\n ServicePrincipalIdentityDetails = new AzureNextGen.OffAzure.Latest.Inputs.SiteSpnPropertiesArgs\n {\n AadAuthority = \"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\",\n ApplicationId = \"e9f013df-2a2a-4871-b766-e79867f30348\",\n Audience = \"https://72f988bf-86f1-41af-91ab-2d7cd011db47/MaheshSite17ac9agentauthaadapp\",\n ObjectId = \"2cd492bc-7ef3-4ee0-b301-59a88108b47b\",\n TenantId = \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\n },\n },\n ResourceGroupName = \"pajindTest\",\n SiteName = \"appliance1e39site\",\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\toffazure \"github.com/pulumi/pulumi-azure-nextgen/sdk/go/azure/offazure/latest\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := offazure.NewSite(ctx, \"site\", \u0026offazure.SiteArgs{\n\t\t\tLocation: pulumi.String(\"eastus\"),\n\t\t\tProperties: \u0026offazure.SitePropertiesArgs{\n\t\t\t\tServicePrincipalIdentityDetails: \u0026offazure.SiteSpnPropertiesArgs{\n\t\t\t\t\tAadAuthority: pulumi.String(\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\"),\n\t\t\t\t\tApplicationId: pulumi.String(\"e9f013df-2a2a-4871-b766-e79867f30348\"),\n\t\t\t\t\tAudience: pulumi.String(\"https://72f988bf-86f1-41af-91ab-2d7cd011db47/MaheshSite17ac9agentauthaadapp\"),\n\t\t\t\t\tObjectId: pulumi.String(\"2cd492bc-7ef3-4ee0-b301-59a88108b47b\"),\n\t\t\t\t\tTenantId: pulumi.String(\"72f988bf-86f1-41af-91ab-2d7cd011db47\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tResourceGroupName: pulumi.String(\"pajindTest\"),\n\t\t\tSiteName: pulumi.String(\"appliance1e39site\"),\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```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_nextgen from \"@pulumi/azure-nextgen\";\n\nconst site = new azure_nextgen.offazure.latest.Site(\"site\", {\n location: \"eastus\",\n properties: {\n servicePrincipalIdentityDetails: {\n aadAuthority: \"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\",\n applicationId: \"e9f013df-2a2a-4871-b766-e79867f30348\",\n audience: \"https://72f988bf-86f1-41af-91ab-2d7cd011db47/MaheshSite17ac9agentauthaadapp\",\n objectId: \"2cd492bc-7ef3-4ee0-b301-59a88108b47b\",\n tenantId: \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\n },\n },\n resourceGroupName: \"pajindTest\",\n siteName: \"appliance1e39site\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_nextgen as azure_nextgen\n\nsite = azure_nextgen.offazure.latest.Site(\"site\",\n location=\"eastus\",\n properties=azure_nextgen.offazure.latest.SitePropertiesArgs(\n service_principal_identity_details=azure_nextgen.offazure.latest.SiteSpnPropertiesArgs(\n aad_authority=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\",\n application_id=\"e9f013df-2a2a-4871-b766-e79867f30348\",\n audience=\"https://72f988bf-86f1-41af-91ab-2d7cd011db47/MaheshSite17ac9agentauthaadapp\",\n object_id=\"2cd492bc-7ef3-4ee0-b301-59a88108b47b\",\n tenant_id=\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\n ),\n ),\n resource_group_name=\"pajindTest\",\n site_name=\"appliance1e39site\")\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-nextgen:offazure/latest:Site appliance1e39site /subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/pajindTest/providers/Microsoft.OffAzure/VMwareSites/appliance1e39site \n```\n", - "properties": { - "eTag": { - "type": "string", - "description": "eTag for concurrency control." - }, - "location": { - "type": "string", - "description": "Azure location in which Sites is created." - }, - "name": { - "type": "string", - "description": "Name of the VMware site." - }, - "properties": { - "type": "object", - "$ref": "#/types/azure-nextgen:offazure/latest:SitePropertiesResponse", - "description": "Nested properties of VMWare site." - }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "type": { - "type": "string", - "description": "Type of resource. Type = Microsoft.OffAzure/VMWareSites." - } - }, - "type": "object", - "required": [ - "properties", - "type" - ], - "inputProperties": { - "eTag": { - "type": "string", - "description": "eTag for concurrency control." - }, - "location": { - "type": "string", - "description": "Azure location in which Sites is created." + "description": "The name of the resource group within the user's subscription. The name is case insensitive." }, - "name": { + "ruleId": { "type": "string", - "description": "Name of the VMware site." - }, - "properties": { - "type": "object", - "$ref": "#/types/azure-nextgen:offazure/latest:SiteProperties", - "description": "Nested properties of VMWare site." + "description": "Alert rule ID" }, - "resourceGroupName": { + "triggerUri": { "type": "string", - "description": "The name of the resource group. The name is case insensitive." + "description": "Logic App Callback URL for this specific workflow." }, - "siteName": { + "workspaceName": { "type": "string", - "description": "Site name." - }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - } + "description": "The name of the workspace." } }, "requiredInputs": [ + "actionId", + "logicAppResourceId", "resourceGroupName", - "siteName" + "ruleId", + "workspaceName" ], "aliases": [ { - "type": "azure-nextgen:offazure/v20200101:Site" - }, - { - "type": "azure-nextgen:offazure/v20200707:Site" + "type": "azure-nextgen:operationalinsights/v20200101:Action" } ] }, @@ -347846,79 +349771,6 @@ } ] }, - "azure-nextgen:operationalinsights/latest:AlertRuleAction": { - "description": "Action for alert rule.\nLatest API Version: 2020-01-01.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Creates or updates an action of alert rule.\n```csharp\nusing Pulumi;\nusing AzureNextGen = Pulumi.AzureNextGen;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var alertRuleAction = new AzureNextGen.OperationalInsights.Latest.AlertRuleAction(\"alertRuleAction\", new AzureNextGen.OperationalInsights.Latest.AlertRuleActionArgs\n {\n ActionId = \"912bec42-cb66-4c03-ac63-1761b6898c3e\",\n Etag = \"\\\"0300bf09-0000-0000-0000-5c37296e0000\\\"\",\n LogicAppResourceId = \"/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.Logic/workflows/MyAlerts\",\n ResourceGroupName = \"myRg\",\n RuleId = \"73e01a99-5cd7-4139-a149-9f2736ff2ab5\",\n TriggerUri = \"https://prod-31.northcentralus.logic.azure.com:443/workflows/cd3765391efd48549fd7681ded1d48d7/triggers/manual/paths/invoke?api-version=2016-10-01\u0026sp=%2Ftriggers%2Fmanual%2Frun\u0026sv=1.0\u0026sig=signature\",\n WorkspaceName = \"myWorkspace\",\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\toperationalinsights \"github.com/pulumi/pulumi-azure-nextgen/sdk/go/azure/operationalinsights/latest\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := operationalinsights.NewAlertRuleAction(ctx, \"alertRuleAction\", \u0026operationalinsights.AlertRuleActionArgs{\n\t\t\tActionId: pulumi.String(\"912bec42-cb66-4c03-ac63-1761b6898c3e\"),\n\t\t\tEtag: pulumi.String(\"\\\"0300bf09-0000-0000-0000-5c37296e0000\\\"\"),\n\t\t\tLogicAppResourceId: pulumi.String(\"/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.Logic/workflows/MyAlerts\"),\n\t\t\tResourceGroupName: pulumi.String(\"myRg\"),\n\t\t\tRuleId: pulumi.String(\"73e01a99-5cd7-4139-a149-9f2736ff2ab5\"),\n\t\t\tTriggerUri: pulumi.String(fmt.Sprintf(\"%v%v%v%v%v%v%v\", \"https://prod-31.northcentralus.logic.azure.com:443/workflows/cd3765391efd48549fd7681ded1d48d7/triggers/manual/paths/invoke?api-version=2016-10-01\u0026sp=\", \"%\", \"2Ftriggers\", \"%\", \"2Fmanual\", \"%\", \"2Frun\u0026sv=1.0\u0026sig=signature\")),\n\t\t\tWorkspaceName: pulumi.String(\"myWorkspace\"),\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```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_nextgen from \"@pulumi/azure-nextgen\";\n\nconst alertRuleAction = new azure_nextgen.operationalinsights.latest.AlertRuleAction(\"alertRuleAction\", {\n actionId: \"912bec42-cb66-4c03-ac63-1761b6898c3e\",\n etag: \"\\\"0300bf09-0000-0000-0000-5c37296e0000\\\"\",\n logicAppResourceId: \"/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.Logic/workflows/MyAlerts\",\n resourceGroupName: \"myRg\",\n ruleId: \"73e01a99-5cd7-4139-a149-9f2736ff2ab5\",\n triggerUri: `https://prod-31.northcentralus.logic.azure.com:443/workflows/cd3765391efd48549fd7681ded1d48d7/triggers/manual/paths/invoke?api-version=2016-10-01\u0026sp=%2Ftriggers%2Fmanual%2Frun\u0026sv=1.0\u0026sig=signature`,\n workspaceName: \"myWorkspace\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_nextgen as azure_nextgen\n\nalert_rule_action = azure_nextgen.operationalinsights.latest.AlertRuleAction(\"alertRuleAction\",\n action_id=\"912bec42-cb66-4c03-ac63-1761b6898c3e\",\n etag=\"\\\"0300bf09-0000-0000-0000-5c37296e0000\\\"\",\n logic_app_resource_id=\"/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.Logic/workflows/MyAlerts\",\n resource_group_name=\"myRg\",\n rule_id=\"73e01a99-5cd7-4139-a149-9f2736ff2ab5\",\n trigger_uri=\"https://prod-31.northcentralus.logic.azure.com:443/workflows/cd3765391efd48549fd7681ded1d48d7/triggers/manual/paths/invoke?api-version=2016-10-01\u0026sp=%2Ftriggers%2Fmanual%2Frun\u0026sv=1.0\u0026sig=signature\",\n workspace_name=\"myWorkspace\")\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-nextgen:operationalinsights/latest:AlertRuleAction 912bec42-cb66-4c03-ac63-1761b6898c3e /subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalIinsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/alertRules/73e01a99-5cd7-4139-a149-9f2736ff2ab5/actions/912bec42-cb66-4c03-ac63-1761b6898c3e \n```\n", - "properties": { - "etag": { - "type": "string", - "description": "Etag of the action." - }, - "logicAppResourceId": { - "type": "string", - "description": "Logic App Resource Id, /subscriptions/{my-subscription}/resourceGroups/{my-resource-group}/providers/Microsoft.Logic/workflows/{my-workflow-id}." - }, - "name": { - "type": "string", - "description": "Azure resource name" - }, - "type": { - "type": "string", - "description": "Azure resource type" - }, - "workflowId": { - "type": "string", - "description": "The name of the logic app's workflow." - } - }, - "type": "object", - "required": [ - "logicAppResourceId", - "name", - "type" - ], - "inputProperties": { - "actionId": { - "type": "string", - "description": "Action ID" - }, - "etag": { - "type": "string", - "description": "Etag of the azure resource" - }, - "logicAppResourceId": { - "type": "string", - "description": "Logic App Resource Id, /subscriptions/{my-subscription}/resourceGroups/{my-resource-group}/providers/Microsoft.Logic/workflows/{my-workflow-id}." - }, - "resourceGroupName": { - "type": "string", - "description": "The name of the resource group within the user's subscription. The name is case insensitive." - }, - "ruleId": { - "type": "string", - "description": "Alert rule ID" - }, - "triggerUri": { - "type": "string", - "description": "Logic App Callback URL for this specific workflow." - }, - "workspaceName": { - "type": "string", - "description": "The name of the workspace." - } - }, - "requiredInputs": [ - "actionId", - "logicAppResourceId", - "resourceGroupName", - "ruleId", - "workspaceName" - ], - "aliases": [ - { - "type": "azure-nextgen:operationalinsights/v20200101:AlertRuleAction" - } - ] - }, "azure-nextgen:operationalinsights/latest:Bookmark": { "description": "Represents a bookmark in Azure Security Insights.\nLatest API Version: 2020-01-01.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Creates or updates a bookmark.\n```csharp\nusing Pulumi;\nusing AzureNextGen = Pulumi.AzureNextGen;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var bookmark = new AzureNextGen.OperationalInsights.Latest.Bookmark(\"bookmark\", new AzureNextGen.OperationalInsights.Latest.BookmarkArgs\n {\n BookmarkId = \"73e01a99-5cd7-4139-a149-9f2736ff2ab5\",\n Created = \"2019-01-01T13:15:30Z\",\n CreatedBy = new AzureNextGen.OperationalInsights.Latest.Inputs.UserInfoArgs\n {\n ObjectId = \"2046feea-040d-4a46-9e2b-91c2941bfa70\",\n },\n DisplayName = \"My bookmark\",\n Etag = \"\\\"0300bf09-0000-0000-0000-5c37296e0000\\\"\",\n Labels = \n {\n \"Tag1\",\n \"Tag2\",\n },\n Notes = \"Found a suspicious activity\",\n Query = \"SecurityEvent | where TimeGenerated \u003e ago(1d) and TimeGenerated \u003c ago(2d)\",\n QueryResult = \"Security Event query result\",\n ResourceGroupName = \"myRg\",\n Updated = \"2019-01-01T13:15:30Z\",\n UpdatedBy = new AzureNextGen.OperationalInsights.Latest.Inputs.UserInfoArgs\n {\n ObjectId = \"2046feea-040d-4a46-9e2b-91c2941bfa70\",\n },\n WorkspaceName = \"myWorkspace\",\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\toperationalinsights \"github.com/pulumi/pulumi-azure-nextgen/sdk/go/azure/operationalinsights/latest\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := operationalinsights.NewBookmark(ctx, \"bookmark\", \u0026operationalinsights.BookmarkArgs{\n\t\t\tBookmarkId: pulumi.String(\"73e01a99-5cd7-4139-a149-9f2736ff2ab5\"),\n\t\t\tCreated: pulumi.String(\"2019-01-01T13:15:30Z\"),\n\t\t\tCreatedBy: \u0026operationalinsights.UserInfoArgs{\n\t\t\t\tObjectId: pulumi.String(\"2046feea-040d-4a46-9e2b-91c2941bfa70\"),\n\t\t\t},\n\t\t\tDisplayName: pulumi.String(\"My bookmark\"),\n\t\t\tEtag: pulumi.String(\"\\\"0300bf09-0000-0000-0000-5c37296e0000\\\"\"),\n\t\t\tLabels: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"Tag1\"),\n\t\t\t\tpulumi.String(\"Tag2\"),\n\t\t\t},\n\t\t\tNotes: pulumi.String(\"Found a suspicious activity\"),\n\t\t\tQuery: pulumi.String(\"SecurityEvent | where TimeGenerated \u003e ago(1d) and TimeGenerated \u003c ago(2d)\"),\n\t\t\tQueryResult: pulumi.String(\"Security Event query result\"),\n\t\t\tResourceGroupName: pulumi.String(\"myRg\"),\n\t\t\tUpdated: pulumi.String(\"2019-01-01T13:15:30Z\"),\n\t\t\tUpdatedBy: \u0026operationalinsights.UserInfoArgs{\n\t\t\t\tObjectId: pulumi.String(\"2046feea-040d-4a46-9e2b-91c2941bfa70\"),\n\t\t\t},\n\t\t\tWorkspaceName: pulumi.String(\"myWorkspace\"),\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```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_nextgen from \"@pulumi/azure-nextgen\";\n\nconst bookmark = new azure_nextgen.operationalinsights.latest.Bookmark(\"bookmark\", {\n bookmarkId: \"73e01a99-5cd7-4139-a149-9f2736ff2ab5\",\n created: \"2019-01-01T13:15:30Z\",\n createdBy: {\n objectId: \"2046feea-040d-4a46-9e2b-91c2941bfa70\",\n },\n displayName: \"My bookmark\",\n etag: \"\\\"0300bf09-0000-0000-0000-5c37296e0000\\\"\",\n labels: [\n \"Tag1\",\n \"Tag2\",\n ],\n notes: \"Found a suspicious activity\",\n query: \"SecurityEvent | where TimeGenerated \u003e ago(1d) and TimeGenerated \u003c ago(2d)\",\n queryResult: \"Security Event query result\",\n resourceGroupName: \"myRg\",\n updated: \"2019-01-01T13:15:30Z\",\n updatedBy: {\n objectId: \"2046feea-040d-4a46-9e2b-91c2941bfa70\",\n },\n workspaceName: \"myWorkspace\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_nextgen as azure_nextgen\n\nbookmark = azure_nextgen.operationalinsights.latest.Bookmark(\"bookmark\",\n bookmark_id=\"73e01a99-5cd7-4139-a149-9f2736ff2ab5\",\n created=\"2019-01-01T13:15:30Z\",\n created_by=azure_nextgen.operationalinsights.latest.UserInfoArgs(\n object_id=\"2046feea-040d-4a46-9e2b-91c2941bfa70\",\n ),\n display_name=\"My bookmark\",\n etag=\"\\\"0300bf09-0000-0000-0000-5c37296e0000\\\"\",\n labels=[\n \"Tag1\",\n \"Tag2\",\n ],\n notes=\"Found a suspicious activity\",\n query=\"SecurityEvent | where TimeGenerated \u003e ago(1d) and TimeGenerated \u003c ago(2d)\",\n query_result=\"Security Event query result\",\n resource_group_name=\"myRg\",\n updated=\"2019-01-01T13:15:30Z\",\n updated_by=azure_nextgen.operationalinsights.latest.UserInfoArgs(\n object_id=\"2046feea-040d-4a46-9e2b-91c2941bfa70\",\n ),\n workspace_name=\"myWorkspace\")\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-nextgen:operationalinsights/latest:Bookmark 73e01a99-5cd7-4139-a149-9f2736ff2ab5 /subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalIinsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/bookmarks/73e01a99-5cd7-4139-a149-9f2736ff2ab5 \n```\n", "properties": { @@ -351138,7 +352990,7 @@ ] }, "azure-nextgen:powerbidedicated/latest:CapacityDetails": { - "description": "Represents an instance of a Dedicated Capacity resource.\nLatest API Version: 2017-10-01.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Create capacity\n```csharp\nusing Pulumi;\nusing AzureNextGen = Pulumi.AzureNextGen;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var capacityDetails = new AzureNextGen.PowerBIDedicated.Latest.CapacityDetails(\"capacityDetails\", new AzureNextGen.PowerBIDedicated.Latest.CapacityDetailsArgs\n {\n Administration = new AzureNextGen.PowerBIDedicated.Latest.Inputs.DedicatedCapacityAdministratorsArgs\n {\n Members = \n {\n \"azsdktest@microsoft.com\",\n \"azsdktest2@microsoft.com\",\n },\n },\n DedicatedCapacityName = \"azsdktest\",\n Location = \"West US\",\n ResourceGroupName = \"TestRG\",\n Sku = new AzureNextGen.PowerBIDedicated.Latest.Inputs.ResourceSkuArgs\n {\n Name = \"A1\",\n Tier = \"PBIE_Azure\",\n },\n Tags = \n {\n { \"testKey\", \"testValue\" },\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\tpowerbidedicated \"github.com/pulumi/pulumi-azure-nextgen/sdk/go/azure/powerbidedicated/latest\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := powerbidedicated.NewCapacityDetails(ctx, \"capacityDetails\", \u0026powerbidedicated.CapacityDetailsArgs{\n\t\t\tAdministration: \u0026powerbidedicated.DedicatedCapacityAdministratorsArgs{\n\t\t\t\tMembers: pulumi.StringArray{\n\t\t\t\t\tpulumi.String(\"azsdktest@microsoft.com\"),\n\t\t\t\t\tpulumi.String(\"azsdktest2@microsoft.com\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tDedicatedCapacityName: pulumi.String(\"azsdktest\"),\n\t\t\tLocation: pulumi.String(\"West US\"),\n\t\t\tResourceGroupName: pulumi.String(\"TestRG\"),\n\t\t\tSku: \u0026powerbidedicated.ResourceSkuArgs{\n\t\t\t\tName: pulumi.String(\"A1\"),\n\t\t\t\tTier: pulumi.String(\"PBIE_Azure\"),\n\t\t\t},\n\t\t\tTags: pulumi.StringMap{\n\t\t\t\t\"testKey\": pulumi.String(\"testValue\"),\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```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_nextgen from \"@pulumi/azure-nextgen\";\n\nconst capacityDetails = new azure_nextgen.powerbidedicated.latest.CapacityDetails(\"capacityDetails\", {\n administration: {\n members: [\n \"azsdktest@microsoft.com\",\n \"azsdktest2@microsoft.com\",\n ],\n },\n dedicatedCapacityName: \"azsdktest\",\n location: \"West US\",\n resourceGroupName: \"TestRG\",\n sku: {\n name: \"A1\",\n tier: \"PBIE_Azure\",\n },\n tags: {\n testKey: \"testValue\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_nextgen as azure_nextgen\n\ncapacity_details = azure_nextgen.powerbidedicated.latest.CapacityDetails(\"capacityDetails\",\n administration=azure_nextgen.powerbidedicated.latest.DedicatedCapacityAdministratorsArgs(\n members=[\n \"azsdktest@microsoft.com\",\n \"azsdktest2@microsoft.com\",\n ],\n ),\n dedicated_capacity_name=\"azsdktest\",\n location=\"West US\",\n resource_group_name=\"TestRG\",\n sku=azure_nextgen.powerbidedicated.latest.ResourceSkuArgs(\n name=\"A1\",\n tier=\"PBIE_Azure\",\n ),\n tags={\n \"testKey\": \"testValue\",\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-nextgen:powerbidedicated/latest:CapacityDetails azsdktest /subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/resourceGroups/TestRG/providers/Microsoft.PowerBIDedicated/servers/azsdktest \n```\n", + "description": "Represents an instance of a Dedicated Capacity resource.\nLatest API Version: 2017-10-01.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Create capacity\n```csharp\nusing Pulumi;\nusing AzureNextGen = Pulumi.AzureNextGen;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var capacityDetails = new AzureNextGen.PowerBIDedicated.Latest.CapacityDetails(\"capacityDetails\", new AzureNextGen.PowerBIDedicated.Latest.CapacityDetailsArgs\n {\n Administration = new AzureNextGen.PowerBIDedicated.Latest.Inputs.DedicatedCapacityAdministratorsArgs\n {\n Members = \n {\n \"azsdktest@microsoft.com\",\n \"azsdktest2@microsoft.com\",\n },\n },\n DedicatedCapacityName = \"azsdktest\",\n Location = \"West US\",\n ResourceGroupName = \"TestRG\",\n Sku = new AzureNextGen.PowerBIDedicated.Latest.Inputs.ResourceSkuArgs\n {\n Name = \"A1\",\n Tier = \"PBIE_Azure\",\n },\n Tags = \n {\n { \"testKey\", \"testValue\" },\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\tpowerbidedicated \"github.com/pulumi/pulumi-azure-nextgen/sdk/go/azure/powerbidedicated/latest\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := powerbidedicated.NewCapacityDetails(ctx, \"capacityDetails\", \u0026powerbidedicated.CapacityDetailsArgs{\n\t\t\tAdministration: \u0026powerbidedicated.DedicatedCapacityAdministratorsArgs{\n\t\t\t\tMembers: pulumi.StringArray{\n\t\t\t\t\tpulumi.String(\"azsdktest@microsoft.com\"),\n\t\t\t\t\tpulumi.String(\"azsdktest2@microsoft.com\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tDedicatedCapacityName: pulumi.String(\"azsdktest\"),\n\t\t\tLocation: pulumi.String(\"West US\"),\n\t\t\tResourceGroupName: pulumi.String(\"TestRG\"),\n\t\t\tSku: \u0026powerbidedicated.ResourceSkuArgs{\n\t\t\t\tName: pulumi.String(\"A1\"),\n\t\t\t\tTier: pulumi.String(\"PBIE_Azure\"),\n\t\t\t},\n\t\t\tTags: pulumi.StringMap{\n\t\t\t\t\"testKey\": pulumi.String(\"testValue\"),\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```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_nextgen from \"@pulumi/azure-nextgen\";\n\nconst capacityDetails = new azure_nextgen.powerbidedicated.latest.CapacityDetails(\"capacityDetails\", {\n administration: {\n members: [\n \"azsdktest@microsoft.com\",\n \"azsdktest2@microsoft.com\",\n ],\n },\n dedicatedCapacityName: \"azsdktest\",\n location: \"West US\",\n resourceGroupName: \"TestRG\",\n sku: {\n name: \"A1\",\n tier: \"PBIE_Azure\",\n },\n tags: {\n testKey: \"testValue\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_nextgen as azure_nextgen\n\ncapacity_details = azure_nextgen.powerbidedicated.latest.CapacityDetails(\"capacityDetails\",\n administration=azure_nextgen.powerbidedicated.latest.DedicatedCapacityAdministratorsArgs(\n members=[\n \"azsdktest@microsoft.com\",\n \"azsdktest2@microsoft.com\",\n ],\n ),\n dedicated_capacity_name=\"azsdktest\",\n location=\"West US\",\n resource_group_name=\"TestRG\",\n sku=azure_nextgen.powerbidedicated.latest.ResourceSkuArgs(\n name=\"A1\",\n tier=\"PBIE_Azure\",\n ),\n tags={\n \"testKey\": \"testValue\",\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-nextgen:powerbidedicated/latest:CapacityDetails azsdktest /subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/resourceGroups/TestRG/providers/Microsoft.PowerBIDedicated/capacities/azsdktest \n```\n", "properties": { "administration": { "type": "object", @@ -352019,6 +353871,10 @@ "azure-nextgen:quantum/v20191104preview:Workspace": { "description": "The resource proxy definition object for quantum workspace.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### QuantumWorkspacesPut\n```csharp\nusing Pulumi;\nusing AzureNextGen = Pulumi.AzureNextGen;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var workspace = new AzureNextGen.Quantum.V20191104Preview.Workspace(\"workspace\", new AzureNextGen.Quantum.V20191104Preview.WorkspaceArgs\n {\n Location = \"West US\",\n Providers = \n {\n new AzureNextGen.Quantum.V20191104Preview.Inputs.ProviderArgs\n {\n ProviderId = \"Honeywell\",\n ProviderSku = \"Basic\",\n },\n new AzureNextGen.Quantum.V20191104Preview.Inputs.ProviderArgs\n {\n ProviderId = \"IonQ\",\n ProviderSku = \"Basic\",\n },\n new AzureNextGen.Quantum.V20191104Preview.Inputs.ProviderArgs\n {\n ProviderId = \"OneQBit\",\n ProviderSku = \"Basic\",\n },\n },\n ResourceGroupName = \"quantumResourcegroup\",\n StorageAccount = \"/subscriptions/1C4B2828-7D49-494F-933D-061373BE28C2/resourceGroups/quantumResourcegroup/providers/Microsoft.Storage/storageAccounts/testStorageAccount\",\n WorkspaceName = \"quantumworkspace1\",\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\tquantum \"github.com/pulumi/pulumi-azure-nextgen/sdk/go/azure/quantum/v20191104preview\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := quantum.NewWorkspace(ctx, \"workspace\", \u0026quantum.WorkspaceArgs{\n\t\t\tLocation: pulumi.String(\"West US\"),\n\t\t\tProviders: quantum.ProviderArray{\n\t\t\t\t\u0026quantum.ProviderArgs{\n\t\t\t\t\tProviderId: pulumi.String(\"Honeywell\"),\n\t\t\t\t\tProviderSku: pulumi.String(\"Basic\"),\n\t\t\t\t},\n\t\t\t\t\u0026quantum.ProviderArgs{\n\t\t\t\t\tProviderId: pulumi.String(\"IonQ\"),\n\t\t\t\t\tProviderSku: pulumi.String(\"Basic\"),\n\t\t\t\t},\n\t\t\t\t\u0026quantum.ProviderArgs{\n\t\t\t\t\tProviderId: pulumi.String(\"OneQBit\"),\n\t\t\t\t\tProviderSku: pulumi.String(\"Basic\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tResourceGroupName: pulumi.String(\"quantumResourcegroup\"),\n\t\t\tStorageAccount: pulumi.String(\"/subscriptions/1C4B2828-7D49-494F-933D-061373BE28C2/resourceGroups/quantumResourcegroup/providers/Microsoft.Storage/storageAccounts/testStorageAccount\"),\n\t\t\tWorkspaceName: pulumi.String(\"quantumworkspace1\"),\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```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_nextgen from \"@pulumi/azure-nextgen\";\n\nconst workspace = new azure_nextgen.quantum.v20191104preview.Workspace(\"workspace\", {\n location: \"West US\",\n providers: [\n {\n providerId: \"Honeywell\",\n providerSku: \"Basic\",\n },\n {\n providerId: \"IonQ\",\n providerSku: \"Basic\",\n },\n {\n providerId: \"OneQBit\",\n providerSku: \"Basic\",\n },\n ],\n resourceGroupName: \"quantumResourcegroup\",\n storageAccount: \"/subscriptions/1C4B2828-7D49-494F-933D-061373BE28C2/resourceGroups/quantumResourcegroup/providers/Microsoft.Storage/storageAccounts/testStorageAccount\",\n workspaceName: \"quantumworkspace1\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_nextgen as azure_nextgen\n\nworkspace = azure_nextgen.quantum.v20191104preview.Workspace(\"workspace\",\n location=\"West US\",\n providers=[\n azure_nextgen.quantum.v20191104preview.ProviderArgs(\n provider_id=\"Honeywell\",\n provider_sku=\"Basic\",\n ),\n azure_nextgen.quantum.v20191104preview.ProviderArgs(\n provider_id=\"IonQ\",\n provider_sku=\"Basic\",\n ),\n azure_nextgen.quantum.v20191104preview.ProviderArgs(\n provider_id=\"OneQBit\",\n provider_sku=\"Basic\",\n ),\n ],\n resource_group_name=\"quantumResourcegroup\",\n storage_account=\"/subscriptions/1C4B2828-7D49-494F-933D-061373BE28C2/resourceGroups/quantumResourcegroup/providers/Microsoft.Storage/storageAccounts/testStorageAccount\",\n workspace_name=\"quantumworkspace1\")\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-nextgen:quantum/v20191104preview:Workspace quantumworkspace1 /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/quantumResourcegroup/providers/Microsoft.Quantum/Workspaces/quantumworkspace1 \n```\n", "properties": { + "endpointUri": { + "type": "string", + "description": "The URI of the workspace endpoint." + }, "identity": { "type": "object", "$ref": "#/types/azure-nextgen:quantum/v20191104preview:QuantumWorkspaceResponseIdentity", @@ -352066,6 +353922,7 @@ }, "type": "object", "required": [ + "endpointUri", "location", "name", "provisioningState", @@ -357009,7 +358866,7 @@ ] }, "azure-nextgen:security/v20190101preview:Automation": { - "description": "The security automation resource.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Create or update a security automation for all assessments\n```csharp\nusing Pulumi;\nusing AzureNextGen = Pulumi.AzureNextGen;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var automation = new AzureNextGen.Security.V20190101Preview.Automation(\"automation\", new AzureNextGen.Security.V20190101Preview.AutomationArgs\n {\n Actions = \n {\n \n {\n { \"actionType\", \"LogicApp\" },\n { \"logicAppResourceId\", \"/subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest1\" },\n { \"uri\", \"https://exampleTriggerUri1.com\" },\n },\n },\n AutomationName = \"exampleAutomation\",\n Description = \"An example of a security automation that triggers one LogicApp resource (myTest1) on any security assessment\",\n Etag = \"etag value (must be supplied for update)\",\n IsEnabled = true,\n Location = \"Central US\",\n ResourceGroupName = \"exampleResourceGroup\",\n Scopes = \n {\n new AzureNextGen.Security.V20190101Preview.Inputs.AutomationScopeArgs\n {\n Description = \"A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription a5caac9c-5c04-49af-b3d0-e204f40345d5\",\n ScopePath = \"/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/myResourceGroup\",\n },\n },\n Sources = \n {\n new AzureNextGen.Security.V20190101Preview.Inputs.AutomationSourceArgs\n {\n EventSource = \"Assessments\",\n },\n },\n Tags = ,\n });\n }\n\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_nextgen from \"@pulumi/azure-nextgen\";\n\nconst automation = new azure_nextgen.security.v20190101preview.Automation(\"automation\", {\n actions: [{\n actionType: \"LogicApp\",\n logicAppResourceId: \"/subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest1\",\n uri: \"https://exampleTriggerUri1.com\",\n }],\n automationName: \"exampleAutomation\",\n description: \"An example of a security automation that triggers one LogicApp resource (myTest1) on any security assessment\",\n etag: \"etag value (must be supplied for update)\",\n isEnabled: true,\n location: \"Central US\",\n resourceGroupName: \"exampleResourceGroup\",\n scopes: [{\n description: \"A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription a5caac9c-5c04-49af-b3d0-e204f40345d5\",\n scopePath: \"/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/myResourceGroup\",\n }],\n sources: [{\n eventSource: \"Assessments\",\n }],\n tags: {},\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_nextgen as azure_nextgen\n\nautomation = azure_nextgen.security.v20190101preview.Automation(\"automation\",\n actions=[{\n \"actionType\": \"LogicApp\",\n \"logicAppResourceId\": \"/subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest1\",\n \"uri\": \"https://exampleTriggerUri1.com\",\n }],\n automation_name=\"exampleAutomation\",\n description=\"An example of a security automation that triggers one LogicApp resource (myTest1) on any security assessment\",\n etag=\"etag value (must be supplied for update)\",\n is_enabled=True,\n location=\"Central US\",\n resource_group_name=\"exampleResourceGroup\",\n scopes=[azure_nextgen.security.v20190101preview.AutomationScopeArgs(\n description=\"A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription a5caac9c-5c04-49af-b3d0-e204f40345d5\",\n scope_path=\"/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/myResourceGroup\",\n )],\n sources=[azure_nextgen.security.v20190101preview.AutomationSourceArgs(\n event_source=\"Assessments\",\n )],\n tags={})\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Create or update a security automation for all high severity assessments\n```csharp\nusing Pulumi;\nusing AzureNextGen = Pulumi.AzureNextGen;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var automation = new AzureNextGen.Security.V20190101Preview.Automation(\"automation\", new AzureNextGen.Security.V20190101Preview.AutomationArgs\n {\n Actions = \n {\n \n {\n { \"actionType\", \"LogicApp\" },\n { \"logicAppResourceId\", \"/subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest1\" },\n { \"uri\", \"https://exampleTriggerUri1.com\" },\n },\n },\n AutomationName = \"exampleAutomation\",\n Description = \"An example of a security automation that triggers one LogicApp resource (myTest1) on any high severity security assessment\",\n Etag = \"etag value (must be supplied for update)\",\n IsEnabled = true,\n Location = \"Central US\",\n ResourceGroupName = \"exampleResourceGroup\",\n Scopes = \n {\n new AzureNextGen.Security.V20190101Preview.Inputs.AutomationScopeArgs\n {\n Description = \"A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription a5caac9c-5c04-49af-b3d0-e204f40345d5\",\n ScopePath = \"/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/myResourceGroup\",\n },\n },\n Sources = \n {\n new AzureNextGen.Security.V20190101Preview.Inputs.AutomationSourceArgs\n {\n EventSource = \"Assessments\",\n RuleSets = \n {\n new AzureNextGen.Security.V20190101Preview.Inputs.AutomationRuleSetArgs\n {\n Rules = \n {\n new AzureNextGen.Security.V20190101Preview.Inputs.AutomationTriggeringRuleArgs\n {\n ExpectedValue = \"High\",\n Operator = \"Equals\",\n PropertyJPath = \"properties.metadata.severity\",\n PropertyType = \"String\",\n },\n },\n },\n },\n },\n },\n Tags = ,\n });\n }\n\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_nextgen from \"@pulumi/azure-nextgen\";\n\nconst automation = new azure_nextgen.security.v20190101preview.Automation(\"automation\", {\n actions: [{\n actionType: \"LogicApp\",\n logicAppResourceId: \"/subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest1\",\n uri: \"https://exampleTriggerUri1.com\",\n }],\n automationName: \"exampleAutomation\",\n description: \"An example of a security automation that triggers one LogicApp resource (myTest1) on any high severity security assessment\",\n etag: \"etag value (must be supplied for update)\",\n isEnabled: true,\n location: \"Central US\",\n resourceGroupName: \"exampleResourceGroup\",\n scopes: [{\n description: \"A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription a5caac9c-5c04-49af-b3d0-e204f40345d5\",\n scopePath: \"/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/myResourceGroup\",\n }],\n sources: [{\n eventSource: \"Assessments\",\n ruleSets: [{\n rules: [{\n expectedValue: \"High\",\n operator: \"Equals\",\n propertyJPath: \"properties.metadata.severity\",\n propertyType: \"String\",\n }],\n }],\n }],\n tags: {},\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_nextgen as azure_nextgen\n\nautomation = azure_nextgen.security.v20190101preview.Automation(\"automation\",\n actions=[{\n \"actionType\": \"LogicApp\",\n \"logicAppResourceId\": \"/subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest1\",\n \"uri\": \"https://exampleTriggerUri1.com\",\n }],\n automation_name=\"exampleAutomation\",\n description=\"An example of a security automation that triggers one LogicApp resource (myTest1) on any high severity security assessment\",\n etag=\"etag value (must be supplied for update)\",\n is_enabled=True,\n location=\"Central US\",\n resource_group_name=\"exampleResourceGroup\",\n scopes=[azure_nextgen.security.v20190101preview.AutomationScopeArgs(\n description=\"A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription a5caac9c-5c04-49af-b3d0-e204f40345d5\",\n scope_path=\"/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/myResourceGroup\",\n )],\n sources=[azure_nextgen.security.v20190101preview.AutomationSourceArgs(\n event_source=\"Assessments\",\n rule_sets=[azure_nextgen.security.v20190101preview.AutomationRuleSetArgs(\n rules=[azure_nextgen.security.v20190101preview.AutomationTriggeringRuleArgs(\n expected_value=\"High\",\n operator=\"Equals\",\n property_j_path=\"properties.metadata.severity\",\n property_type=\"String\",\n )],\n )],\n )],\n tags={})\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Disable or enable a security automation\n```csharp\nusing Pulumi;\nusing AzureNextGen = Pulumi.AzureNextGen;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var automation = new AzureNextGen.Security.V20190101Preview.Automation(\"automation\", new AzureNextGen.Security.V20190101Preview.AutomationArgs\n {\n Actions = \n {\n \n {\n { \"actionType\", \"LogicApp\" },\n { \"logicAppResourceId\", \"/subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest1\" },\n { \"uri\", \"https://exampleTriggerUri1.com\" },\n },\n },\n AutomationName = \"exampleAutomation\",\n Description = \"An example of a security automation that triggers one LogicApp resource (myTest1) on any security assessment of type customAssessment\",\n Etag = \"etag value (must be supplied for update)\",\n IsEnabled = false,\n Location = \"Central US\",\n ResourceGroupName = \"exampleResourceGroup\",\n Scopes = \n {\n new AzureNextGen.Security.V20190101Preview.Inputs.AutomationScopeArgs\n {\n Description = \"A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription a5caac9c-5c04-49af-b3d0-e204f40345d5\",\n ScopePath = \"/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/myResourceGroup\",\n },\n },\n Sources = \n {\n new AzureNextGen.Security.V20190101Preview.Inputs.AutomationSourceArgs\n {\n EventSource = \"Assessments\",\n RuleSets = \n {\n new AzureNextGen.Security.V20190101Preview.Inputs.AutomationRuleSetArgs\n {\n Rules = \n {\n new AzureNextGen.Security.V20190101Preview.Inputs.AutomationTriggeringRuleArgs\n {\n ExpectedValue = \"customAssessment\",\n Operator = \"Equals\",\n PropertyJPath = \"$.Entity.AssessmentType\",\n PropertyType = \"String\",\n },\n },\n },\n },\n },\n },\n Tags = ,\n });\n }\n\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_nextgen from \"@pulumi/azure-nextgen\";\n\nconst automation = new azure_nextgen.security.v20190101preview.Automation(\"automation\", {\n actions: [{\n actionType: \"LogicApp\",\n logicAppResourceId: \"/subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest1\",\n uri: \"https://exampleTriggerUri1.com\",\n }],\n automationName: \"exampleAutomation\",\n description: \"An example of a security automation that triggers one LogicApp resource (myTest1) on any security assessment of type customAssessment\",\n etag: \"etag value (must be supplied for update)\",\n isEnabled: false,\n location: \"Central US\",\n resourceGroupName: \"exampleResourceGroup\",\n scopes: [{\n description: \"A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription a5caac9c-5c04-49af-b3d0-e204f40345d5\",\n scopePath: \"/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/myResourceGroup\",\n }],\n sources: [{\n eventSource: \"Assessments\",\n ruleSets: [{\n rules: [{\n expectedValue: \"customAssessment\",\n operator: \"Equals\",\n propertyJPath: `$.Entity.AssessmentType`,\n propertyType: \"String\",\n }],\n }],\n }],\n tags: {},\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_nextgen as azure_nextgen\n\nautomation = azure_nextgen.security.v20190101preview.Automation(\"automation\",\n actions=[{\n \"actionType\": \"LogicApp\",\n \"logicAppResourceId\": \"/subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest1\",\n \"uri\": \"https://exampleTriggerUri1.com\",\n }],\n automation_name=\"exampleAutomation\",\n description=\"An example of a security automation that triggers one LogicApp resource (myTest1) on any security assessment of type customAssessment\",\n etag=\"etag value (must be supplied for update)\",\n is_enabled=False,\n location=\"Central US\",\n resource_group_name=\"exampleResourceGroup\",\n scopes=[azure_nextgen.security.v20190101preview.AutomationScopeArgs(\n description=\"A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription a5caac9c-5c04-49af-b3d0-e204f40345d5\",\n scope_path=\"/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/myResourceGroup\",\n )],\n sources=[azure_nextgen.security.v20190101preview.AutomationSourceArgs(\n event_source=\"Assessments\",\n rule_sets=[azure_nextgen.security.v20190101preview.AutomationRuleSetArgs(\n rules=[azure_nextgen.security.v20190101preview.AutomationTriggeringRuleArgs(\n expected_value=\"customAssessment\",\n operator=\"Equals\",\n property_j_path=\"$.Entity.AssessmentType\",\n property_type=\"String\",\n )],\n )],\n )],\n tags={})\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-nextgen:security/v20190101preview:Automation exampleAutomation /subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/exampleResourceGroup/providers/Microsoft.Security/SecurityAutomations/exampleAutomation \n```\n", + "description": "The security automation resource.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Create or update a security automation for all assessments\n```csharp\nusing Pulumi;\nusing AzureNextGen = Pulumi.AzureNextGen;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var automation = new AzureNextGen.Security.V20190101Preview.Automation(\"automation\", new AzureNextGen.Security.V20190101Preview.AutomationArgs\n {\n Actions = \n {\n \n {\n { \"actionType\", \"LogicApp\" },\n { \"logicAppResourceId\", \"/subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest1\" },\n { \"uri\", \"https://exampleTriggerUri1.com\" },\n },\n },\n AutomationName = \"exampleAutomation\",\n Description = \"An example of a security automation that triggers one LogicApp resource (myTest1) on any security assessment\",\n Etag = \"etag value (must be supplied for update)\",\n IsEnabled = true,\n Location = \"Central US\",\n ResourceGroupName = \"exampleResourceGroup\",\n Scopes = \n {\n new AzureNextGen.Security.V20190101Preview.Inputs.AutomationScopeArgs\n {\n Description = \"A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription a5caac9c-5c04-49af-b3d0-e204f40345d5\",\n ScopePath = \"/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/myResourceGroup\",\n },\n },\n Sources = \n {\n new AzureNextGen.Security.V20190101Preview.Inputs.AutomationSourceArgs\n {\n EventSource = \"Assessments\",\n },\n },\n Tags = ,\n });\n }\n\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_nextgen from \"@pulumi/azure-nextgen\";\n\nconst automation = new azure_nextgen.security.v20190101preview.Automation(\"automation\", {\n actions: [{\n actionType: \"LogicApp\",\n logicAppResourceId: \"/subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest1\",\n uri: \"https://exampleTriggerUri1.com\",\n }],\n automationName: \"exampleAutomation\",\n description: \"An example of a security automation that triggers one LogicApp resource (myTest1) on any security assessment\",\n etag: \"etag value (must be supplied for update)\",\n isEnabled: true,\n location: \"Central US\",\n resourceGroupName: \"exampleResourceGroup\",\n scopes: [{\n description: \"A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription a5caac9c-5c04-49af-b3d0-e204f40345d5\",\n scopePath: \"/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/myResourceGroup\",\n }],\n sources: [{\n eventSource: \"Assessments\",\n }],\n tags: {},\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_nextgen as azure_nextgen\n\nautomation = azure_nextgen.security.v20190101preview.Automation(\"automation\",\n actions=[{\n \"actionType\": \"LogicApp\",\n \"logicAppResourceId\": \"/subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest1\",\n \"uri\": \"https://exampleTriggerUri1.com\",\n }],\n automation_name=\"exampleAutomation\",\n description=\"An example of a security automation that triggers one LogicApp resource (myTest1) on any security assessment\",\n etag=\"etag value (must be supplied for update)\",\n is_enabled=True,\n location=\"Central US\",\n resource_group_name=\"exampleResourceGroup\",\n scopes=[azure_nextgen.security.v20190101preview.AutomationScopeArgs(\n description=\"A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription a5caac9c-5c04-49af-b3d0-e204f40345d5\",\n scope_path=\"/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/myResourceGroup\",\n )],\n sources=[azure_nextgen.security.v20190101preview.AutomationSourceArgs(\n event_source=\"Assessments\",\n )],\n tags={})\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Create or update a security automation for all high severity assessments\n```csharp\nusing Pulumi;\nusing AzureNextGen = Pulumi.AzureNextGen;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var automation = new AzureNextGen.Security.V20190101Preview.Automation(\"automation\", new AzureNextGen.Security.V20190101Preview.AutomationArgs\n {\n Actions = \n {\n \n {\n { \"actionType\", \"LogicApp\" },\n { \"logicAppResourceId\", \"/subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest1\" },\n { \"uri\", \"https://exampleTriggerUri1.com\" },\n },\n },\n AutomationName = \"exampleAutomation\",\n Description = \"An example of a security automation that triggers one LogicApp resource (myTest1) on any high severity security assessment\",\n Etag = \"etag value (must be supplied for update)\",\n IsEnabled = true,\n Location = \"Central US\",\n ResourceGroupName = \"exampleResourceGroup\",\n Scopes = \n {\n new AzureNextGen.Security.V20190101Preview.Inputs.AutomationScopeArgs\n {\n Description = \"A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription a5caac9c-5c04-49af-b3d0-e204f40345d5\",\n ScopePath = \"/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/myResourceGroup\",\n },\n },\n Sources = \n {\n new AzureNextGen.Security.V20190101Preview.Inputs.AutomationSourceArgs\n {\n EventSource = \"Assessments\",\n RuleSets = \n {\n new AzureNextGen.Security.V20190101Preview.Inputs.AutomationRuleSetArgs\n {\n Rules = \n {\n new AzureNextGen.Security.V20190101Preview.Inputs.AutomationTriggeringRuleArgs\n {\n ExpectedValue = \"High\",\n Operator = \"Equals\",\n PropertyJPath = \"properties.metadata.severity\",\n PropertyType = \"String\",\n },\n },\n },\n },\n },\n },\n Tags = ,\n });\n }\n\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_nextgen from \"@pulumi/azure-nextgen\";\n\nconst automation = new azure_nextgen.security.v20190101preview.Automation(\"automation\", {\n actions: [{\n actionType: \"LogicApp\",\n logicAppResourceId: \"/subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest1\",\n uri: \"https://exampleTriggerUri1.com\",\n }],\n automationName: \"exampleAutomation\",\n description: \"An example of a security automation that triggers one LogicApp resource (myTest1) on any high severity security assessment\",\n etag: \"etag value (must be supplied for update)\",\n isEnabled: true,\n location: \"Central US\",\n resourceGroupName: \"exampleResourceGroup\",\n scopes: [{\n description: \"A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription a5caac9c-5c04-49af-b3d0-e204f40345d5\",\n scopePath: \"/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/myResourceGroup\",\n }],\n sources: [{\n eventSource: \"Assessments\",\n ruleSets: [{\n rules: [{\n expectedValue: \"High\",\n operator: \"Equals\",\n propertyJPath: \"properties.metadata.severity\",\n propertyType: \"String\",\n }],\n }],\n }],\n tags: {},\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_nextgen as azure_nextgen\n\nautomation = azure_nextgen.security.v20190101preview.Automation(\"automation\",\n actions=[{\n \"actionType\": \"LogicApp\",\n \"logicAppResourceId\": \"/subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest1\",\n \"uri\": \"https://exampleTriggerUri1.com\",\n }],\n automation_name=\"exampleAutomation\",\n description=\"An example of a security automation that triggers one LogicApp resource (myTest1) on any high severity security assessment\",\n etag=\"etag value (must be supplied for update)\",\n is_enabled=True,\n location=\"Central US\",\n resource_group_name=\"exampleResourceGroup\",\n scopes=[azure_nextgen.security.v20190101preview.AutomationScopeArgs(\n description=\"A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription a5caac9c-5c04-49af-b3d0-e204f40345d5\",\n scope_path=\"/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/myResourceGroup\",\n )],\n sources=[azure_nextgen.security.v20190101preview.AutomationSourceArgs(\n event_source=\"Assessments\",\n rule_sets=[azure_nextgen.security.v20190101preview.AutomationRuleSetArgs(\n rules=[azure_nextgen.security.v20190101preview.AutomationTriggeringRuleArgs(\n expected_value=\"High\",\n operator=\"Equals\",\n property_j_path=\"properties.metadata.severity\",\n property_type=\"String\",\n )],\n )],\n )],\n tags={})\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Disable or enable a security automation\n```csharp\nusing Pulumi;\nusing AzureNextGen = Pulumi.AzureNextGen;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var automation = new AzureNextGen.Security.V20190101Preview.Automation(\"automation\", new AzureNextGen.Security.V20190101Preview.AutomationArgs\n {\n Actions = \n {\n \n {\n { \"actionType\", \"LogicApp\" },\n { \"logicAppResourceId\", \"/subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest1\" },\n { \"uri\", \"https://exampleTriggerUri1.com\" },\n },\n },\n AutomationName = \"exampleAutomation\",\n Description = \"An example of a security automation that triggers one LogicApp resource (myTest1) on any security assessment of type customAssessment\",\n Etag = \"etag value (must be supplied for update)\",\n IsEnabled = false,\n Location = \"Central US\",\n ResourceGroupName = \"exampleResourceGroup\",\n Scopes = \n {\n new AzureNextGen.Security.V20190101Preview.Inputs.AutomationScopeArgs\n {\n Description = \"A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription a5caac9c-5c04-49af-b3d0-e204f40345d5\",\n ScopePath = \"/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/myResourceGroup\",\n },\n },\n Sources = \n {\n new AzureNextGen.Security.V20190101Preview.Inputs.AutomationSourceArgs\n {\n EventSource = \"Assessments\",\n RuleSets = \n {\n new AzureNextGen.Security.V20190101Preview.Inputs.AutomationRuleSetArgs\n {\n Rules = \n {\n new AzureNextGen.Security.V20190101Preview.Inputs.AutomationTriggeringRuleArgs\n {\n ExpectedValue = \"customAssessment\",\n Operator = \"Equals\",\n PropertyJPath = \"$.Entity.AssessmentType\",\n PropertyType = \"String\",\n },\n },\n },\n },\n },\n },\n Tags = ,\n });\n }\n\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_nextgen from \"@pulumi/azure-nextgen\";\n\nconst automation = new azure_nextgen.security.v20190101preview.Automation(\"automation\", {\n actions: [{\n actionType: \"LogicApp\",\n logicAppResourceId: \"/subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest1\",\n uri: \"https://exampleTriggerUri1.com\",\n }],\n automationName: \"exampleAutomation\",\n description: \"An example of a security automation that triggers one LogicApp resource (myTest1) on any security assessment of type customAssessment\",\n etag: \"etag value (must be supplied for update)\",\n isEnabled: false,\n location: \"Central US\",\n resourceGroupName: \"exampleResourceGroup\",\n scopes: [{\n description: \"A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription a5caac9c-5c04-49af-b3d0-e204f40345d5\",\n scopePath: \"/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/myResourceGroup\",\n }],\n sources: [{\n eventSource: \"Assessments\",\n ruleSets: [{\n rules: [{\n expectedValue: \"customAssessment\",\n operator: \"Equals\",\n propertyJPath: `$.Entity.AssessmentType`,\n propertyType: \"String\",\n }],\n }],\n }],\n tags: {},\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_nextgen as azure_nextgen\n\nautomation = azure_nextgen.security.v20190101preview.Automation(\"automation\",\n actions=[{\n \"actionType\": \"LogicApp\",\n \"logicAppResourceId\": \"/subscriptions/e54a4a18-5b94-4f90-9471-bd3decad8a2e/resourceGroups/sample/providers/Microsoft.Logic/workflows/MyTest1\",\n \"uri\": \"https://exampleTriggerUri1.com\",\n }],\n automation_name=\"exampleAutomation\",\n description=\"An example of a security automation that triggers one LogicApp resource (myTest1) on any security assessment of type customAssessment\",\n etag=\"etag value (must be supplied for update)\",\n is_enabled=False,\n location=\"Central US\",\n resource_group_name=\"exampleResourceGroup\",\n scopes=[azure_nextgen.security.v20190101preview.AutomationScopeArgs(\n description=\"A description that helps to identify this scope - for example: security assessments that relate to the resource group myResourceGroup within the subscription a5caac9c-5c04-49af-b3d0-e204f40345d5\",\n scope_path=\"/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/myResourceGroup\",\n )],\n sources=[azure_nextgen.security.v20190101preview.AutomationSourceArgs(\n event_source=\"Assessments\",\n rule_sets=[azure_nextgen.security.v20190101preview.AutomationRuleSetArgs(\n rules=[azure_nextgen.security.v20190101preview.AutomationTriggeringRuleArgs(\n expected_value=\"customAssessment\",\n operator=\"Equals\",\n property_j_path=\"$.Entity.AssessmentType\",\n property_type=\"String\",\n )],\n )],\n )],\n tags={})\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-nextgen:security/v20190101preview:Automation exampleAutomation /subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/exampleResourceGroup/providers/Microsoft.Security/automations/exampleAutomation \n```\n", "properties": { "actions": { "type": "array", @@ -357558,16 +359415,16 @@ "onPremiseIotSensorName" ] }, - "azure-nextgen:securityinsights/v20190101preview:AlertRule": { - "description": "Alert rule.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Creates or updates a Fusion alert rule.\n```csharp\nusing Pulumi;\nusing AzureNextGen = Pulumi.AzureNextGen;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var alertRule = new AzureNextGen.SecurityInsights.V20190101Preview.AlertRule(\"alertRule\", new AzureNextGen.SecurityInsights.V20190101Preview.AlertRuleArgs\n {\n Etag = \"3d00c3ca-0000-0100-0000-5d42d5010000\",\n Kind = \"Fusion\",\n OperationalInsightsResourceProvider = \"Microsoft.OperationalInsights\",\n ResourceGroupName = \"myRg\",\n RuleId = \"myFirstFusionRule\",\n WorkspaceName = \"myWorkspace\",\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\tsecurityinsights \"github.com/pulumi/pulumi-azure-nextgen/sdk/go/azure/securityinsights/v20190101preview\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := securityinsights.NewAlertRule(ctx, \"alertRule\", \u0026securityinsights.AlertRuleArgs{\n\t\t\tEtag: pulumi.String(\"3d00c3ca-0000-0100-0000-5d42d5010000\"),\n\t\t\tKind: pulumi.String(\"Fusion\"),\n\t\t\tOperationalInsightsResourceProvider: pulumi.String(\"Microsoft.OperationalInsights\"),\n\t\t\tResourceGroupName: pulumi.String(\"myRg\"),\n\t\t\tRuleId: pulumi.String(\"myFirstFusionRule\"),\n\t\t\tWorkspaceName: pulumi.String(\"myWorkspace\"),\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```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_nextgen from \"@pulumi/azure-nextgen\";\n\nconst alertRule = new azure_nextgen.securityinsights.v20190101preview.AlertRule(\"alertRule\", {\n etag: \"3d00c3ca-0000-0100-0000-5d42d5010000\",\n kind: \"Fusion\",\n operationalInsightsResourceProvider: \"Microsoft.OperationalInsights\",\n resourceGroupName: \"myRg\",\n ruleId: \"myFirstFusionRule\",\n workspaceName: \"myWorkspace\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_nextgen as azure_nextgen\n\nalert_rule = azure_nextgen.securityinsights.v20190101preview.AlertRule(\"alertRule\",\n etag=\"3d00c3ca-0000-0100-0000-5d42d5010000\",\n kind=\"Fusion\",\n operational_insights_resource_provider=\"Microsoft.OperationalInsights\",\n resource_group_name=\"myRg\",\n rule_id=\"myFirstFusionRule\",\n workspace_name=\"myWorkspace\")\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Creates or updates a MicrosoftSecurityIncidentCreation rule.\n```csharp\nusing Pulumi;\nusing AzureNextGen = Pulumi.AzureNextGen;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var alertRule = new AzureNextGen.SecurityInsights.V20190101Preview.AlertRule(\"alertRule\", new AzureNextGen.SecurityInsights.V20190101Preview.AlertRuleArgs\n {\n Etag = \"\\\"260097e0-0000-0d00-0000-5d6fa88f0000\\\"\",\n Kind = \"MicrosoftSecurityIncidentCreation\",\n OperationalInsightsResourceProvider = \"Microsoft.OperationalInsights\",\n ResourceGroupName = \"myRg\",\n RuleId = \"microsoftSecurityIncidentCreationRuleExample\",\n WorkspaceName = \"myWorkspace\",\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\tsecurityinsights \"github.com/pulumi/pulumi-azure-nextgen/sdk/go/azure/securityinsights/v20190101preview\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := securityinsights.NewAlertRule(ctx, \"alertRule\", \u0026securityinsights.AlertRuleArgs{\n\t\t\tEtag: pulumi.String(\"\\\"260097e0-0000-0d00-0000-5d6fa88f0000\\\"\"),\n\t\t\tKind: pulumi.String(\"MicrosoftSecurityIncidentCreation\"),\n\t\t\tOperationalInsightsResourceProvider: pulumi.String(\"Microsoft.OperationalInsights\"),\n\t\t\tResourceGroupName: pulumi.String(\"myRg\"),\n\t\t\tRuleId: pulumi.String(\"microsoftSecurityIncidentCreationRuleExample\"),\n\t\t\tWorkspaceName: pulumi.String(\"myWorkspace\"),\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```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_nextgen from \"@pulumi/azure-nextgen\";\n\nconst alertRule = new azure_nextgen.securityinsights.v20190101preview.AlertRule(\"alertRule\", {\n etag: \"\\\"260097e0-0000-0d00-0000-5d6fa88f0000\\\"\",\n kind: \"MicrosoftSecurityIncidentCreation\",\n operationalInsightsResourceProvider: \"Microsoft.OperationalInsights\",\n resourceGroupName: \"myRg\",\n ruleId: \"microsoftSecurityIncidentCreationRuleExample\",\n workspaceName: \"myWorkspace\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_nextgen as azure_nextgen\n\nalert_rule = azure_nextgen.securityinsights.v20190101preview.AlertRule(\"alertRule\",\n etag=\"\\\"260097e0-0000-0d00-0000-5d6fa88f0000\\\"\",\n kind=\"MicrosoftSecurityIncidentCreation\",\n operational_insights_resource_provider=\"Microsoft.OperationalInsights\",\n resource_group_name=\"myRg\",\n rule_id=\"microsoftSecurityIncidentCreationRuleExample\",\n workspace_name=\"myWorkspace\")\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Creates or updates a Scheduled alert rule.\n```csharp\nusing Pulumi;\nusing AzureNextGen = Pulumi.AzureNextGen;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var alertRule = new AzureNextGen.SecurityInsights.V20190101Preview.AlertRule(\"alertRule\", new AzureNextGen.SecurityInsights.V20190101Preview.AlertRuleArgs\n {\n Etag = \"\\\"0300bf09-0000-0000-0000-5c37296e0000\\\"\",\n Kind = \"Scheduled\",\n OperationalInsightsResourceProvider = \"Microsoft.OperationalInsights\",\n ResourceGroupName = \"myRg\",\n RuleId = \"73e01a99-5cd7-4139-a149-9f2736ff2ab5\",\n WorkspaceName = \"myWorkspace\",\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\tsecurityinsights \"github.com/pulumi/pulumi-azure-nextgen/sdk/go/azure/securityinsights/v20190101preview\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := securityinsights.NewAlertRule(ctx, \"alertRule\", \u0026securityinsights.AlertRuleArgs{\n\t\t\tEtag: pulumi.String(\"\\\"0300bf09-0000-0000-0000-5c37296e0000\\\"\"),\n\t\t\tKind: pulumi.String(\"Scheduled\"),\n\t\t\tOperationalInsightsResourceProvider: pulumi.String(\"Microsoft.OperationalInsights\"),\n\t\t\tResourceGroupName: pulumi.String(\"myRg\"),\n\t\t\tRuleId: pulumi.String(\"73e01a99-5cd7-4139-a149-9f2736ff2ab5\"),\n\t\t\tWorkspaceName: pulumi.String(\"myWorkspace\"),\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```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_nextgen from \"@pulumi/azure-nextgen\";\n\nconst alertRule = new azure_nextgen.securityinsights.v20190101preview.AlertRule(\"alertRule\", {\n etag: \"\\\"0300bf09-0000-0000-0000-5c37296e0000\\\"\",\n kind: \"Scheduled\",\n operationalInsightsResourceProvider: \"Microsoft.OperationalInsights\",\n resourceGroupName: \"myRg\",\n ruleId: \"73e01a99-5cd7-4139-a149-9f2736ff2ab5\",\n workspaceName: \"myWorkspace\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_nextgen as azure_nextgen\n\nalert_rule = azure_nextgen.securityinsights.v20190101preview.AlertRule(\"alertRule\",\n etag=\"\\\"0300bf09-0000-0000-0000-5c37296e0000\\\"\",\n kind=\"Scheduled\",\n operational_insights_resource_provider=\"Microsoft.OperationalInsights\",\n resource_group_name=\"myRg\",\n rule_id=\"73e01a99-5cd7-4139-a149-9f2736ff2ab5\",\n workspace_name=\"myWorkspace\")\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-nextgen:securityinsights/v20190101preview:AlertRule 73e01a99-5cd7-4139-a149-9f2736ff2ab5 /subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalIinsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/alertRules/73e01a99-5cd7-4139-a149-9f2736ff2ab5 \n```\n", + "azure-nextgen:securityinsights/v20190101preview:Action": { + "description": "Action for alert rule.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Creates or updates an action of alert rule.\n```csharp\nusing Pulumi;\nusing AzureNextGen = Pulumi.AzureNextGen;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var action = new AzureNextGen.SecurityInsights.V20190101Preview.Action(\"action\", new AzureNextGen.SecurityInsights.V20190101Preview.ActionArgs\n {\n ActionId = \"912bec42-cb66-4c03-ac63-1761b6898c3e\",\n Etag = \"\\\"0300bf09-0000-0000-0000-5c37296e0000\\\"\",\n LogicAppResourceId = \"/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.Logic/workflows/MyAlerts\",\n OperationalInsightsResourceProvider = \"Microsoft.OperationalInsights\",\n ResourceGroupName = \"myRg\",\n RuleId = \"73e01a99-5cd7-4139-a149-9f2736ff2ab5\",\n TriggerUri = \"https://prod-31.northcentralus.logic.azure.com:443/workflows/cd3765391efd48549fd7681ded1d48d7/triggers/manual/paths/invoke?api-version=2016-10-01\u0026sp=%2Ftriggers%2Fmanual%2Frun\u0026sv=1.0\u0026sig=signature\",\n WorkspaceName = \"myWorkspace\",\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\tsecurityinsights \"github.com/pulumi/pulumi-azure-nextgen/sdk/go/azure/securityinsights/v20190101preview\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := securityinsights.NewAction(ctx, \"action\", \u0026securityinsights.ActionArgs{\n\t\t\tActionId: pulumi.String(\"912bec42-cb66-4c03-ac63-1761b6898c3e\"),\n\t\t\tEtag: pulumi.String(\"\\\"0300bf09-0000-0000-0000-5c37296e0000\\\"\"),\n\t\t\tLogicAppResourceId: pulumi.String(\"/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.Logic/workflows/MyAlerts\"),\n\t\t\tOperationalInsightsResourceProvider: pulumi.String(\"Microsoft.OperationalInsights\"),\n\t\t\tResourceGroupName: pulumi.String(\"myRg\"),\n\t\t\tRuleId: pulumi.String(\"73e01a99-5cd7-4139-a149-9f2736ff2ab5\"),\n\t\t\tTriggerUri: pulumi.String(fmt.Sprintf(\"%v%v%v%v%v%v%v\", \"https://prod-31.northcentralus.logic.azure.com:443/workflows/cd3765391efd48549fd7681ded1d48d7/triggers/manual/paths/invoke?api-version=2016-10-01\u0026sp=\", \"%\", \"2Ftriggers\", \"%\", \"2Fmanual\", \"%\", \"2Frun\u0026sv=1.0\u0026sig=signature\")),\n\t\t\tWorkspaceName: pulumi.String(\"myWorkspace\"),\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```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_nextgen from \"@pulumi/azure-nextgen\";\n\nconst action = new azure_nextgen.securityinsights.v20190101preview.Action(\"action\", {\n actionId: \"912bec42-cb66-4c03-ac63-1761b6898c3e\",\n etag: \"\\\"0300bf09-0000-0000-0000-5c37296e0000\\\"\",\n logicAppResourceId: \"/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.Logic/workflows/MyAlerts\",\n operationalInsightsResourceProvider: \"Microsoft.OperationalInsights\",\n resourceGroupName: \"myRg\",\n ruleId: \"73e01a99-5cd7-4139-a149-9f2736ff2ab5\",\n triggerUri: `https://prod-31.northcentralus.logic.azure.com:443/workflows/cd3765391efd48549fd7681ded1d48d7/triggers/manual/paths/invoke?api-version=2016-10-01\u0026sp=%2Ftriggers%2Fmanual%2Frun\u0026sv=1.0\u0026sig=signature`,\n workspaceName: \"myWorkspace\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_nextgen as azure_nextgen\n\naction = azure_nextgen.securityinsights.v20190101preview.Action(\"action\",\n action_id=\"912bec42-cb66-4c03-ac63-1761b6898c3e\",\n etag=\"\\\"0300bf09-0000-0000-0000-5c37296e0000\\\"\",\n logic_app_resource_id=\"/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.Logic/workflows/MyAlerts\",\n operational_insights_resource_provider=\"Microsoft.OperationalInsights\",\n resource_group_name=\"myRg\",\n rule_id=\"73e01a99-5cd7-4139-a149-9f2736ff2ab5\",\n trigger_uri=\"https://prod-31.northcentralus.logic.azure.com:443/workflows/cd3765391efd48549fd7681ded1d48d7/triggers/manual/paths/invoke?api-version=2016-10-01\u0026sp=%2Ftriggers%2Fmanual%2Frun\u0026sv=1.0\u0026sig=signature\",\n workspace_name=\"myWorkspace\")\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-nextgen:securityinsights/v20190101preview:Action 912bec42-cb66-4c03-ac63-1761b6898c3e /subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalIinsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/alertRules/73e01a99-5cd7-4139-a149-9f2736ff2ab5/actions/912bec42-cb66-4c03-ac63-1761b6898c3e \n```\n", "properties": { "etag": { "type": "string", - "description": "Etag of the azure resource" + "description": "Etag of the action." }, - "kind": { + "logicAppResourceId": { "type": "string", - "description": "The kind of the alert rule" + "description": "Logic App Resource Id, /subscriptions/{my-subscription}/resourceGroups/{my-resource-group}/providers/Microsoft.Logic/workflows/{my-workflow-id}." }, "name": { "type": "string", @@ -357576,29 +359433,29 @@ "type": { "type": "string", "description": "Azure resource type" + }, + "workflowId": { + "type": "string", + "description": "The name of the logic app's workflow." } }, "type": "object", "required": [ - "kind", "name", "type" ], "inputProperties": { + "actionId": { + "type": "string", + "description": "Action ID" + }, "etag": { "type": "string", "description": "Etag of the azure resource" }, - "kind": { - "oneOf": [ - { - "type": "string" - }, - { - "$ref": "#/types/azure-nextgen:securityinsights/v20190101preview:AlertRuleKind" - } - ], - "description": "The kind of the alert rule" + "logicAppResourceId": { + "type": "string", + "description": "Logic App Resource Id, /subscriptions/{my-subscription}/resourceGroups/{my-resource-group}/providers/Microsoft.Logic/workflows/{my-workflow-id}." }, "operationalInsightsResourceProvider": { "type": "string", @@ -357612,29 +359469,33 @@ "type": "string", "description": "Alert rule ID" }, + "triggerUri": { + "type": "string", + "description": "Logic App Callback URL for this specific workflow." + }, "workspaceName": { "type": "string", "description": "The name of the workspace." } }, "requiredInputs": [ - "kind", + "actionId", "operationalInsightsResourceProvider", "resourceGroupName", "ruleId", "workspaceName" ] }, - "azure-nextgen:securityinsights/v20190101preview:AlertRuleAction": { - "description": "Action for alert rule.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Creates or updates an action of alert rule.\n```csharp\nusing Pulumi;\nusing AzureNextGen = Pulumi.AzureNextGen;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var alertRuleAction = new AzureNextGen.SecurityInsights.V20190101Preview.AlertRuleAction(\"alertRuleAction\", new AzureNextGen.SecurityInsights.V20190101Preview.AlertRuleActionArgs\n {\n ActionId = \"912bec42-cb66-4c03-ac63-1761b6898c3e\",\n Etag = \"\\\"0300bf09-0000-0000-0000-5c37296e0000\\\"\",\n LogicAppResourceId = \"/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.Logic/workflows/MyAlerts\",\n OperationalInsightsResourceProvider = \"Microsoft.OperationalInsights\",\n ResourceGroupName = \"myRg\",\n RuleId = \"73e01a99-5cd7-4139-a149-9f2736ff2ab5\",\n TriggerUri = \"https://prod-31.northcentralus.logic.azure.com:443/workflows/cd3765391efd48549fd7681ded1d48d7/triggers/manual/paths/invoke?api-version=2016-10-01\u0026sp=%2Ftriggers%2Fmanual%2Frun\u0026sv=1.0\u0026sig=signature\",\n WorkspaceName = \"myWorkspace\",\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\tsecurityinsights \"github.com/pulumi/pulumi-azure-nextgen/sdk/go/azure/securityinsights/v20190101preview\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := securityinsights.NewAlertRuleAction(ctx, \"alertRuleAction\", \u0026securityinsights.AlertRuleActionArgs{\n\t\t\tActionId: pulumi.String(\"912bec42-cb66-4c03-ac63-1761b6898c3e\"),\n\t\t\tEtag: pulumi.String(\"\\\"0300bf09-0000-0000-0000-5c37296e0000\\\"\"),\n\t\t\tLogicAppResourceId: pulumi.String(\"/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.Logic/workflows/MyAlerts\"),\n\t\t\tOperationalInsightsResourceProvider: pulumi.String(\"Microsoft.OperationalInsights\"),\n\t\t\tResourceGroupName: pulumi.String(\"myRg\"),\n\t\t\tRuleId: pulumi.String(\"73e01a99-5cd7-4139-a149-9f2736ff2ab5\"),\n\t\t\tTriggerUri: pulumi.String(fmt.Sprintf(\"%v%v%v%v%v%v%v\", \"https://prod-31.northcentralus.logic.azure.com:443/workflows/cd3765391efd48549fd7681ded1d48d7/triggers/manual/paths/invoke?api-version=2016-10-01\u0026sp=\", \"%\", \"2Ftriggers\", \"%\", \"2Fmanual\", \"%\", \"2Frun\u0026sv=1.0\u0026sig=signature\")),\n\t\t\tWorkspaceName: pulumi.String(\"myWorkspace\"),\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```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_nextgen from \"@pulumi/azure-nextgen\";\n\nconst alertRuleAction = new azure_nextgen.securityinsights.v20190101preview.AlertRuleAction(\"alertRuleAction\", {\n actionId: \"912bec42-cb66-4c03-ac63-1761b6898c3e\",\n etag: \"\\\"0300bf09-0000-0000-0000-5c37296e0000\\\"\",\n logicAppResourceId: \"/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.Logic/workflows/MyAlerts\",\n operationalInsightsResourceProvider: \"Microsoft.OperationalInsights\",\n resourceGroupName: \"myRg\",\n ruleId: \"73e01a99-5cd7-4139-a149-9f2736ff2ab5\",\n triggerUri: `https://prod-31.northcentralus.logic.azure.com:443/workflows/cd3765391efd48549fd7681ded1d48d7/triggers/manual/paths/invoke?api-version=2016-10-01\u0026sp=%2Ftriggers%2Fmanual%2Frun\u0026sv=1.0\u0026sig=signature`,\n workspaceName: \"myWorkspace\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_nextgen as azure_nextgen\n\nalert_rule_action = azure_nextgen.securityinsights.v20190101preview.AlertRuleAction(\"alertRuleAction\",\n action_id=\"912bec42-cb66-4c03-ac63-1761b6898c3e\",\n etag=\"\\\"0300bf09-0000-0000-0000-5c37296e0000\\\"\",\n logic_app_resource_id=\"/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.Logic/workflows/MyAlerts\",\n operational_insights_resource_provider=\"Microsoft.OperationalInsights\",\n resource_group_name=\"myRg\",\n rule_id=\"73e01a99-5cd7-4139-a149-9f2736ff2ab5\",\n trigger_uri=\"https://prod-31.northcentralus.logic.azure.com:443/workflows/cd3765391efd48549fd7681ded1d48d7/triggers/manual/paths/invoke?api-version=2016-10-01\u0026sp=%2Ftriggers%2Fmanual%2Frun\u0026sv=1.0\u0026sig=signature\",\n workspace_name=\"myWorkspace\")\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-nextgen:securityinsights/v20190101preview:AlertRuleAction 912bec42-cb66-4c03-ac63-1761b6898c3e /subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalIinsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/alertRules/73e01a99-5cd7-4139-a149-9f2736ff2ab5/actions/912bec42-cb66-4c03-ac63-1761b6898c3e \n```\n", + "azure-nextgen:securityinsights/v20190101preview:AlertRule": { + "description": "Alert rule.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Creates or updates a Fusion alert rule.\n```csharp\nusing Pulumi;\nusing AzureNextGen = Pulumi.AzureNextGen;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var alertRule = new AzureNextGen.SecurityInsights.V20190101Preview.AlertRule(\"alertRule\", new AzureNextGen.SecurityInsights.V20190101Preview.AlertRuleArgs\n {\n Etag = \"3d00c3ca-0000-0100-0000-5d42d5010000\",\n Kind = \"Fusion\",\n OperationalInsightsResourceProvider = \"Microsoft.OperationalInsights\",\n ResourceGroupName = \"myRg\",\n RuleId = \"myFirstFusionRule\",\n WorkspaceName = \"myWorkspace\",\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\tsecurityinsights \"github.com/pulumi/pulumi-azure-nextgen/sdk/go/azure/securityinsights/v20190101preview\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := securityinsights.NewAlertRule(ctx, \"alertRule\", \u0026securityinsights.AlertRuleArgs{\n\t\t\tEtag: pulumi.String(\"3d00c3ca-0000-0100-0000-5d42d5010000\"),\n\t\t\tKind: pulumi.String(\"Fusion\"),\n\t\t\tOperationalInsightsResourceProvider: pulumi.String(\"Microsoft.OperationalInsights\"),\n\t\t\tResourceGroupName: pulumi.String(\"myRg\"),\n\t\t\tRuleId: pulumi.String(\"myFirstFusionRule\"),\n\t\t\tWorkspaceName: pulumi.String(\"myWorkspace\"),\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```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_nextgen from \"@pulumi/azure-nextgen\";\n\nconst alertRule = new azure_nextgen.securityinsights.v20190101preview.AlertRule(\"alertRule\", {\n etag: \"3d00c3ca-0000-0100-0000-5d42d5010000\",\n kind: \"Fusion\",\n operationalInsightsResourceProvider: \"Microsoft.OperationalInsights\",\n resourceGroupName: \"myRg\",\n ruleId: \"myFirstFusionRule\",\n workspaceName: \"myWorkspace\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_nextgen as azure_nextgen\n\nalert_rule = azure_nextgen.securityinsights.v20190101preview.AlertRule(\"alertRule\",\n etag=\"3d00c3ca-0000-0100-0000-5d42d5010000\",\n kind=\"Fusion\",\n operational_insights_resource_provider=\"Microsoft.OperationalInsights\",\n resource_group_name=\"myRg\",\n rule_id=\"myFirstFusionRule\",\n workspace_name=\"myWorkspace\")\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Creates or updates a MicrosoftSecurityIncidentCreation rule.\n```csharp\nusing Pulumi;\nusing AzureNextGen = Pulumi.AzureNextGen;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var alertRule = new AzureNextGen.SecurityInsights.V20190101Preview.AlertRule(\"alertRule\", new AzureNextGen.SecurityInsights.V20190101Preview.AlertRuleArgs\n {\n Etag = \"\\\"260097e0-0000-0d00-0000-5d6fa88f0000\\\"\",\n Kind = \"MicrosoftSecurityIncidentCreation\",\n OperationalInsightsResourceProvider = \"Microsoft.OperationalInsights\",\n ResourceGroupName = \"myRg\",\n RuleId = \"microsoftSecurityIncidentCreationRuleExample\",\n WorkspaceName = \"myWorkspace\",\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\tsecurityinsights \"github.com/pulumi/pulumi-azure-nextgen/sdk/go/azure/securityinsights/v20190101preview\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := securityinsights.NewAlertRule(ctx, \"alertRule\", \u0026securityinsights.AlertRuleArgs{\n\t\t\tEtag: pulumi.String(\"\\\"260097e0-0000-0d00-0000-5d6fa88f0000\\\"\"),\n\t\t\tKind: pulumi.String(\"MicrosoftSecurityIncidentCreation\"),\n\t\t\tOperationalInsightsResourceProvider: pulumi.String(\"Microsoft.OperationalInsights\"),\n\t\t\tResourceGroupName: pulumi.String(\"myRg\"),\n\t\t\tRuleId: pulumi.String(\"microsoftSecurityIncidentCreationRuleExample\"),\n\t\t\tWorkspaceName: pulumi.String(\"myWorkspace\"),\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```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_nextgen from \"@pulumi/azure-nextgen\";\n\nconst alertRule = new azure_nextgen.securityinsights.v20190101preview.AlertRule(\"alertRule\", {\n etag: \"\\\"260097e0-0000-0d00-0000-5d6fa88f0000\\\"\",\n kind: \"MicrosoftSecurityIncidentCreation\",\n operationalInsightsResourceProvider: \"Microsoft.OperationalInsights\",\n resourceGroupName: \"myRg\",\n ruleId: \"microsoftSecurityIncidentCreationRuleExample\",\n workspaceName: \"myWorkspace\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_nextgen as azure_nextgen\n\nalert_rule = azure_nextgen.securityinsights.v20190101preview.AlertRule(\"alertRule\",\n etag=\"\\\"260097e0-0000-0d00-0000-5d6fa88f0000\\\"\",\n kind=\"MicrosoftSecurityIncidentCreation\",\n operational_insights_resource_provider=\"Microsoft.OperationalInsights\",\n resource_group_name=\"myRg\",\n rule_id=\"microsoftSecurityIncidentCreationRuleExample\",\n workspace_name=\"myWorkspace\")\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Creates or updates a Scheduled alert rule.\n```csharp\nusing Pulumi;\nusing AzureNextGen = Pulumi.AzureNextGen;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var alertRule = new AzureNextGen.SecurityInsights.V20190101Preview.AlertRule(\"alertRule\", new AzureNextGen.SecurityInsights.V20190101Preview.AlertRuleArgs\n {\n Etag = \"\\\"0300bf09-0000-0000-0000-5c37296e0000\\\"\",\n Kind = \"Scheduled\",\n OperationalInsightsResourceProvider = \"Microsoft.OperationalInsights\",\n ResourceGroupName = \"myRg\",\n RuleId = \"73e01a99-5cd7-4139-a149-9f2736ff2ab5\",\n WorkspaceName = \"myWorkspace\",\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\tsecurityinsights \"github.com/pulumi/pulumi-azure-nextgen/sdk/go/azure/securityinsights/v20190101preview\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := securityinsights.NewAlertRule(ctx, \"alertRule\", \u0026securityinsights.AlertRuleArgs{\n\t\t\tEtag: pulumi.String(\"\\\"0300bf09-0000-0000-0000-5c37296e0000\\\"\"),\n\t\t\tKind: pulumi.String(\"Scheduled\"),\n\t\t\tOperationalInsightsResourceProvider: pulumi.String(\"Microsoft.OperationalInsights\"),\n\t\t\tResourceGroupName: pulumi.String(\"myRg\"),\n\t\t\tRuleId: pulumi.String(\"73e01a99-5cd7-4139-a149-9f2736ff2ab5\"),\n\t\t\tWorkspaceName: pulumi.String(\"myWorkspace\"),\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```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_nextgen from \"@pulumi/azure-nextgen\";\n\nconst alertRule = new azure_nextgen.securityinsights.v20190101preview.AlertRule(\"alertRule\", {\n etag: \"\\\"0300bf09-0000-0000-0000-5c37296e0000\\\"\",\n kind: \"Scheduled\",\n operationalInsightsResourceProvider: \"Microsoft.OperationalInsights\",\n resourceGroupName: \"myRg\",\n ruleId: \"73e01a99-5cd7-4139-a149-9f2736ff2ab5\",\n workspaceName: \"myWorkspace\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_nextgen as azure_nextgen\n\nalert_rule = azure_nextgen.securityinsights.v20190101preview.AlertRule(\"alertRule\",\n etag=\"\\\"0300bf09-0000-0000-0000-5c37296e0000\\\"\",\n kind=\"Scheduled\",\n operational_insights_resource_provider=\"Microsoft.OperationalInsights\",\n resource_group_name=\"myRg\",\n rule_id=\"73e01a99-5cd7-4139-a149-9f2736ff2ab5\",\n workspace_name=\"myWorkspace\")\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-nextgen:securityinsights/v20190101preview:AlertRule 73e01a99-5cd7-4139-a149-9f2736ff2ab5 /subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalIinsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/alertRules/73e01a99-5cd7-4139-a149-9f2736ff2ab5 \n```\n", "properties": { "etag": { "type": "string", - "description": "Etag of the action." + "description": "Etag of the azure resource" }, - "logicAppResourceId": { + "kind": { "type": "string", - "description": "Logic App Resource Id, /subscriptions/{my-subscription}/resourceGroups/{my-resource-group}/providers/Microsoft.Logic/workflows/{my-workflow-id}." + "description": "The kind of the alert rule" }, "name": { "type": "string", @@ -357643,29 +359504,29 @@ "type": { "type": "string", "description": "Azure resource type" - }, - "workflowId": { - "type": "string", - "description": "The name of the logic app's workflow." } }, "type": "object", "required": [ + "kind", "name", "type" ], "inputProperties": { - "actionId": { - "type": "string", - "description": "Action ID" - }, "etag": { "type": "string", "description": "Etag of the azure resource" }, - "logicAppResourceId": { - "type": "string", - "description": "Logic App Resource Id, /subscriptions/{my-subscription}/resourceGroups/{my-resource-group}/providers/Microsoft.Logic/workflows/{my-workflow-id}." + "kind": { + "oneOf": [ + { + "type": "string" + }, + { + "$ref": "#/types/azure-nextgen:securityinsights/v20190101preview:AlertRuleKind" + } + ], + "description": "The kind of the alert rule" }, "operationalInsightsResourceProvider": { "type": "string", @@ -357679,17 +359540,13 @@ "type": "string", "description": "Alert rule ID" }, - "triggerUri": { - "type": "string", - "description": "Logic App Callback URL for this specific workflow." - }, "workspaceName": { "type": "string", "description": "The name of the workspace." } }, "requiredInputs": [ - "actionId", + "kind", "operationalInsightsResourceProvider", "resourceGroupName", "ruleId", @@ -365458,7 +367315,7 @@ ] }, "azure-nextgen:sql/v20200801preview:ManagedDatabase": { - "description": "A managed database resource.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Creates a new managed database by restoring from an external backup\n```csharp\nusing Pulumi;\nusing AzureNextGen = Pulumi.AzureNextGen;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var managedDatabase = new AzureNextGen.Sql.V20200801Preview.ManagedDatabase(\"managedDatabase\", new AzureNextGen.Sql.V20200801Preview.ManagedDatabaseArgs\n {\n AutoCompleteRestore = true,\n Collation = \"SQL_Latin1_General_CP1_CI_AS\",\n CreateMode = \"RestoreExternalBackup\",\n DatabaseName = \"managedDatabase\",\n LastBackupName = \"last_backup_name\",\n Location = \"southeastasia\",\n ManagedInstanceName = \"managedInstance\",\n ResourceGroupName = \"Default-SQL-SouthEastAsia\",\n StorageContainerSasToken = \"sv=2015-12-11\u0026sr=c\u0026sp=rl\u0026sig=1234\",\n StorageContainerUri = \"https://myaccountname.blob.core.windows.net/backups\",\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\tsql \"github.com/pulumi/pulumi-azure-nextgen/sdk/go/azure/sql/v20200801preview\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := sql.NewManagedDatabase(ctx, \"managedDatabase\", \u0026sql.ManagedDatabaseArgs{\n\t\t\tAutoCompleteRestore: pulumi.Bool(true),\n\t\t\tCollation: pulumi.String(\"SQL_Latin1_General_CP1_CI_AS\"),\n\t\t\tCreateMode: pulumi.String(\"RestoreExternalBackup\"),\n\t\t\tDatabaseName: pulumi.String(\"managedDatabase\"),\n\t\t\tLastBackupName: pulumi.String(\"last_backup_name\"),\n\t\t\tLocation: pulumi.String(\"southeastasia\"),\n\t\t\tManagedInstanceName: pulumi.String(\"managedInstance\"),\n\t\t\tResourceGroupName: pulumi.String(\"Default-SQL-SouthEastAsia\"),\n\t\t\tStorageContainerSasToken: pulumi.String(\"sv=2015-12-11\u0026sr=c\u0026sp=rl\u0026sig=1234\"),\n\t\t\tStorageContainerUri: pulumi.String(\"https://myaccountname.blob.core.windows.net/backups\"),\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```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_nextgen from \"@pulumi/azure-nextgen\";\n\nconst managedDatabase = new azure_nextgen.sql.v20200801preview.ManagedDatabase(\"managedDatabase\", {\n autoCompleteRestore: true,\n collation: \"SQL_Latin1_General_CP1_CI_AS\",\n createMode: \"RestoreExternalBackup\",\n databaseName: \"managedDatabase\",\n lastBackupName: \"last_backup_name\",\n location: \"southeastasia\",\n managedInstanceName: \"managedInstance\",\n resourceGroupName: \"Default-SQL-SouthEastAsia\",\n storageContainerSasToken: \"sv=2015-12-11\u0026sr=c\u0026sp=rl\u0026sig=1234\",\n storageContainerUri: \"https://myaccountname.blob.core.windows.net/backups\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_nextgen as azure_nextgen\n\nmanaged_database = azure_nextgen.sql.v20200801preview.ManagedDatabase(\"managedDatabase\",\n auto_complete_restore=True,\n collation=\"SQL_Latin1_General_CP1_CI_AS\",\n create_mode=\"RestoreExternalBackup\",\n database_name=\"managedDatabase\",\n last_backup_name=\"last_backup_name\",\n location=\"southeastasia\",\n managed_instance_name=\"managedInstance\",\n resource_group_name=\"Default-SQL-SouthEastAsia\",\n storage_container_sas_token=\"sv=2015-12-11\u0026sr=c\u0026sp=rl\u0026sig=1234\",\n storage_container_uri=\"https://myaccountname.blob.core.windows.net/backups\")\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Creates a new managed database from restoring a geo-replicated backup\n```csharp\nusing Pulumi;\nusing AzureNextGen = Pulumi.AzureNextGen;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var managedDatabase = new AzureNextGen.Sql.V20200801Preview.ManagedDatabase(\"managedDatabase\", new AzureNextGen.Sql.V20200801Preview.ManagedDatabaseArgs\n {\n CreateMode = \"Recovery\",\n DatabaseName = \"testdb_recovered\",\n Location = \"southeastasia\",\n ManagedInstanceName = \"server1\",\n RecoverableDatabaseId = \"/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/Default-SQL-WestEurope/providers/Microsoft.Sql/managedInstances/testsvr/recoverableDatabases/testdb\",\n ResourceGroupName = \"Default-SQL-SouthEastAsia\",\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\tsql \"github.com/pulumi/pulumi-azure-nextgen/sdk/go/azure/sql/v20200801preview\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := sql.NewManagedDatabase(ctx, \"managedDatabase\", \u0026sql.ManagedDatabaseArgs{\n\t\t\tCreateMode: pulumi.String(\"Recovery\"),\n\t\t\tDatabaseName: pulumi.String(\"testdb_recovered\"),\n\t\t\tLocation: pulumi.String(\"southeastasia\"),\n\t\t\tManagedInstanceName: pulumi.String(\"server1\"),\n\t\t\tRecoverableDatabaseId: pulumi.String(\"/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/Default-SQL-WestEurope/providers/Microsoft.Sql/managedInstances/testsvr/recoverableDatabases/testdb\"),\n\t\t\tResourceGroupName: pulumi.String(\"Default-SQL-SouthEastAsia\"),\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```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_nextgen from \"@pulumi/azure-nextgen\";\n\nconst managedDatabase = new azure_nextgen.sql.v20200801preview.ManagedDatabase(\"managedDatabase\", {\n createMode: \"Recovery\",\n databaseName: \"testdb_recovered\",\n location: \"southeastasia\",\n managedInstanceName: \"server1\",\n recoverableDatabaseId: \"/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/Default-SQL-WestEurope/providers/Microsoft.Sql/managedInstances/testsvr/recoverableDatabases/testdb\",\n resourceGroupName: \"Default-SQL-SouthEastAsia\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_nextgen as azure_nextgen\n\nmanaged_database = azure_nextgen.sql.v20200801preview.ManagedDatabase(\"managedDatabase\",\n create_mode=\"Recovery\",\n database_name=\"testdb_recovered\",\n location=\"southeastasia\",\n managed_instance_name=\"server1\",\n recoverable_database_id=\"/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/Default-SQL-WestEurope/providers/Microsoft.Sql/managedInstances/testsvr/recoverableDatabases/testdb\",\n resource_group_name=\"Default-SQL-SouthEastAsia\")\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Creates a new managed database from restoring a long term retention backup\n```csharp\nusing Pulumi;\nusing AzureNextGen = Pulumi.AzureNextGen;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var managedDatabase = new AzureNextGen.Sql.V20200801Preview.ManagedDatabase(\"managedDatabase\", new AzureNextGen.Sql.V20200801Preview.ManagedDatabaseArgs\n {\n Collation = \"SQL_Latin1_General_CP1_CI_AS\",\n CreateMode = \"RestoreExternalBackup\",\n DatabaseName = \"managedDatabase\",\n Location = \"southeastasia\",\n ManagedInstanceName = \"managedInstance\",\n ResourceGroupName = \"Default-SQL-SouthEastAsia\",\n StorageContainerSasToken = \"sv=2015-12-11\u0026sr=c\u0026sp=rl\u0026sig=1234\",\n StorageContainerUri = \"https://myaccountname.blob.core.windows.net/backups\",\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\tsql \"github.com/pulumi/pulumi-azure-nextgen/sdk/go/azure/sql/v20200801preview\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := sql.NewManagedDatabase(ctx, \"managedDatabase\", \u0026sql.ManagedDatabaseArgs{\n\t\t\tCollation: pulumi.String(\"SQL_Latin1_General_CP1_CI_AS\"),\n\t\t\tCreateMode: pulumi.String(\"RestoreExternalBackup\"),\n\t\t\tDatabaseName: pulumi.String(\"managedDatabase\"),\n\t\t\tLocation: pulumi.String(\"southeastasia\"),\n\t\t\tManagedInstanceName: pulumi.String(\"managedInstance\"),\n\t\t\tResourceGroupName: pulumi.String(\"Default-SQL-SouthEastAsia\"),\n\t\t\tStorageContainerSasToken: pulumi.String(\"sv=2015-12-11\u0026sr=c\u0026sp=rl\u0026sig=1234\"),\n\t\t\tStorageContainerUri: pulumi.String(\"https://myaccountname.blob.core.windows.net/backups\"),\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```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_nextgen from \"@pulumi/azure-nextgen\";\n\nconst managedDatabase = new azure_nextgen.sql.v20200801preview.ManagedDatabase(\"managedDatabase\", {\n collation: \"SQL_Latin1_General_CP1_CI_AS\",\n createMode: \"RestoreExternalBackup\",\n databaseName: \"managedDatabase\",\n location: \"southeastasia\",\n managedInstanceName: \"managedInstance\",\n resourceGroupName: \"Default-SQL-SouthEastAsia\",\n storageContainerSasToken: \"sv=2015-12-11\u0026sr=c\u0026sp=rl\u0026sig=1234\",\n storageContainerUri: \"https://myaccountname.blob.core.windows.net/backups\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_nextgen as azure_nextgen\n\nmanaged_database = azure_nextgen.sql.v20200801preview.ManagedDatabase(\"managedDatabase\",\n collation=\"SQL_Latin1_General_CP1_CI_AS\",\n create_mode=\"RestoreExternalBackup\",\n database_name=\"managedDatabase\",\n location=\"southeastasia\",\n managed_instance_name=\"managedInstance\",\n resource_group_name=\"Default-SQL-SouthEastAsia\",\n storage_container_sas_token=\"sv=2015-12-11\u0026sr=c\u0026sp=rl\u0026sig=1234\",\n storage_container_uri=\"https://myaccountname.blob.core.windows.net/backups\")\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Creates a new managed database using point in time restore\n```csharp\nusing Pulumi;\nusing AzureNextGen = Pulumi.AzureNextGen;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var managedDatabase = new AzureNextGen.Sql.V20200801Preview.ManagedDatabase(\"managedDatabase\", new AzureNextGen.Sql.V20200801Preview.ManagedDatabaseArgs\n {\n CreateMode = \"PointInTimeRestore\",\n DatabaseName = \"managedDatabase\",\n Location = \"southeastasia\",\n ManagedInstanceName = \"managedInstance\",\n ResourceGroupName = \"Default-SQL-SouthEastAsia\",\n RestorePointInTime = \"2017-07-14T05:35:31.503Z\",\n SourceDatabaseId = \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/managedInstances/testsvr/databases/testdb\",\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\tsql \"github.com/pulumi/pulumi-azure-nextgen/sdk/go/azure/sql/v20200801preview\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := sql.NewManagedDatabase(ctx, \"managedDatabase\", \u0026sql.ManagedDatabaseArgs{\n\t\t\tCreateMode: pulumi.String(\"PointInTimeRestore\"),\n\t\t\tDatabaseName: pulumi.String(\"managedDatabase\"),\n\t\t\tLocation: pulumi.String(\"southeastasia\"),\n\t\t\tManagedInstanceName: pulumi.String(\"managedInstance\"),\n\t\t\tResourceGroupName: pulumi.String(\"Default-SQL-SouthEastAsia\"),\n\t\t\tRestorePointInTime: pulumi.String(\"2017-07-14T05:35:31.503Z\"),\n\t\t\tSourceDatabaseId: pulumi.String(\"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/managedInstances/testsvr/databases/testdb\"),\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```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_nextgen from \"@pulumi/azure-nextgen\";\n\nconst managedDatabase = new azure_nextgen.sql.v20200801preview.ManagedDatabase(\"managedDatabase\", {\n createMode: \"PointInTimeRestore\",\n databaseName: \"managedDatabase\",\n location: \"southeastasia\",\n managedInstanceName: \"managedInstance\",\n resourceGroupName: \"Default-SQL-SouthEastAsia\",\n restorePointInTime: \"2017-07-14T05:35:31.503Z\",\n sourceDatabaseId: \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/managedInstances/testsvr/databases/testdb\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_nextgen as azure_nextgen\n\nmanaged_database = azure_nextgen.sql.v20200801preview.ManagedDatabase(\"managedDatabase\",\n create_mode=\"PointInTimeRestore\",\n database_name=\"managedDatabase\",\n location=\"southeastasia\",\n managed_instance_name=\"managedInstance\",\n resource_group_name=\"Default-SQL-SouthEastAsia\",\n restore_point_in_time=\"2017-07-14T05:35:31.503Z\",\n source_database_id=\"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/managedInstances/testsvr/databases/testdb\")\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Creates a new managed database with maximal properties\n```csharp\nusing Pulumi;\nusing AzureNextGen = Pulumi.AzureNextGen;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var managedDatabase = new AzureNextGen.Sql.V20200801Preview.ManagedDatabase(\"managedDatabase\", new AzureNextGen.Sql.V20200801Preview.ManagedDatabaseArgs\n {\n DatabaseName = \"managedDatabase\",\n Location = \"southeastasia\",\n ManagedInstanceName = \"managedInstance\",\n ResourceGroupName = \"Default-SQL-SouthEastAsia\",\n Tags = \n {\n { \"tagKey1\", \"TagValue1\" },\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\tsql \"github.com/pulumi/pulumi-azure-nextgen/sdk/go/azure/sql/v20200801preview\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := sql.NewManagedDatabase(ctx, \"managedDatabase\", \u0026sql.ManagedDatabaseArgs{\n\t\t\tDatabaseName: pulumi.String(\"managedDatabase\"),\n\t\t\tLocation: pulumi.String(\"southeastasia\"),\n\t\t\tManagedInstanceName: pulumi.String(\"managedInstance\"),\n\t\t\tResourceGroupName: pulumi.String(\"Default-SQL-SouthEastAsia\"),\n\t\t\tTags: pulumi.StringMap{\n\t\t\t\t\"tagKey1\": pulumi.String(\"TagValue1\"),\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```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_nextgen from \"@pulumi/azure-nextgen\";\n\nconst managedDatabase = new azure_nextgen.sql.v20200801preview.ManagedDatabase(\"managedDatabase\", {\n databaseName: \"managedDatabase\",\n location: \"southeastasia\",\n managedInstanceName: \"managedInstance\",\n resourceGroupName: \"Default-SQL-SouthEastAsia\",\n tags: {\n tagKey1: \"TagValue1\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_nextgen as azure_nextgen\n\nmanaged_database = azure_nextgen.sql.v20200801preview.ManagedDatabase(\"managedDatabase\",\n database_name=\"managedDatabase\",\n location=\"southeastasia\",\n managed_instance_name=\"managedInstance\",\n resource_group_name=\"Default-SQL-SouthEastAsia\",\n tags={\n \"tagKey1\": \"TagValue1\",\n })\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Creates a new managed database with minimal properties\n```csharp\nusing Pulumi;\nusing AzureNextGen = Pulumi.AzureNextGen;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var managedDatabase = new AzureNextGen.Sql.V20200801Preview.ManagedDatabase(\"managedDatabase\", new AzureNextGen.Sql.V20200801Preview.ManagedDatabaseArgs\n {\n DatabaseName = \"managedDatabase\",\n Location = \"southeastasia\",\n ManagedInstanceName = \"managedInstance\",\n ResourceGroupName = \"Default-SQL-SouthEastAsia\",\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\tsql \"github.com/pulumi/pulumi-azure-nextgen/sdk/go/azure/sql/v20200801preview\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := sql.NewManagedDatabase(ctx, \"managedDatabase\", \u0026sql.ManagedDatabaseArgs{\n\t\t\tDatabaseName: pulumi.String(\"managedDatabase\"),\n\t\t\tLocation: pulumi.String(\"southeastasia\"),\n\t\t\tManagedInstanceName: pulumi.String(\"managedInstance\"),\n\t\t\tResourceGroupName: pulumi.String(\"Default-SQL-SouthEastAsia\"),\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```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_nextgen from \"@pulumi/azure-nextgen\";\n\nconst managedDatabase = new azure_nextgen.sql.v20200801preview.ManagedDatabase(\"managedDatabase\", {\n databaseName: \"managedDatabase\",\n location: \"southeastasia\",\n managedInstanceName: \"managedInstance\",\n resourceGroupName: \"Default-SQL-SouthEastAsia\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_nextgen as azure_nextgen\n\nmanaged_database = azure_nextgen.sql.v20200801preview.ManagedDatabase(\"managedDatabase\",\n database_name=\"managedDatabase\",\n location=\"southeastasia\",\n managed_instance_name=\"managedInstance\",\n resource_group_name=\"Default-SQL-SouthEastAsia\")\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-nextgen:sql/v20200801preview:ManagedDatabase testdb1 /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/managedInstances/testsvr/databases/testdb1 \n```\n", + "description": "A managed database resource.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Creates a new managed database by restoring from an external backup\n```csharp\nusing Pulumi;\nusing AzureNextGen = Pulumi.AzureNextGen;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var managedDatabase = new AzureNextGen.Sql.V20200801Preview.ManagedDatabase(\"managedDatabase\", new AzureNextGen.Sql.V20200801Preview.ManagedDatabaseArgs\n {\n AutoCompleteRestore = true,\n Collation = \"SQL_Latin1_General_CP1_CI_AS\",\n CreateMode = \"RestoreExternalBackup\",\n DatabaseName = \"managedDatabase\",\n LastBackupName = \"last_backup_name\",\n Location = \"southeastasia\",\n ManagedInstanceName = \"managedInstance\",\n ResourceGroupName = \"Default-SQL-SouthEastAsia\",\n StorageContainerSasToken = \"sv=2015-12-11\u0026sr=c\u0026sp=rl\u0026sig=1234\",\n StorageContainerUri = \"https://myaccountname.blob.core.windows.net/backups\",\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\tsql \"github.com/pulumi/pulumi-azure-nextgen/sdk/go/azure/sql/v20200801preview\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := sql.NewManagedDatabase(ctx, \"managedDatabase\", \u0026sql.ManagedDatabaseArgs{\n\t\t\tAutoCompleteRestore: pulumi.Bool(true),\n\t\t\tCollation: pulumi.String(\"SQL_Latin1_General_CP1_CI_AS\"),\n\t\t\tCreateMode: pulumi.String(\"RestoreExternalBackup\"),\n\t\t\tDatabaseName: pulumi.String(\"managedDatabase\"),\n\t\t\tLastBackupName: pulumi.String(\"last_backup_name\"),\n\t\t\tLocation: pulumi.String(\"southeastasia\"),\n\t\t\tManagedInstanceName: pulumi.String(\"managedInstance\"),\n\t\t\tResourceGroupName: pulumi.String(\"Default-SQL-SouthEastAsia\"),\n\t\t\tStorageContainerSasToken: pulumi.String(\"sv=2015-12-11\u0026sr=c\u0026sp=rl\u0026sig=1234\"),\n\t\t\tStorageContainerUri: pulumi.String(\"https://myaccountname.blob.core.windows.net/backups\"),\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```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_nextgen from \"@pulumi/azure-nextgen\";\n\nconst managedDatabase = new azure_nextgen.sql.v20200801preview.ManagedDatabase(\"managedDatabase\", {\n autoCompleteRestore: true,\n collation: \"SQL_Latin1_General_CP1_CI_AS\",\n createMode: \"RestoreExternalBackup\",\n databaseName: \"managedDatabase\",\n lastBackupName: \"last_backup_name\",\n location: \"southeastasia\",\n managedInstanceName: \"managedInstance\",\n resourceGroupName: \"Default-SQL-SouthEastAsia\",\n storageContainerSasToken: \"sv=2015-12-11\u0026sr=c\u0026sp=rl\u0026sig=1234\",\n storageContainerUri: \"https://myaccountname.blob.core.windows.net/backups\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_nextgen as azure_nextgen\n\nmanaged_database = azure_nextgen.sql.v20200801preview.ManagedDatabase(\"managedDatabase\",\n auto_complete_restore=True,\n collation=\"SQL_Latin1_General_CP1_CI_AS\",\n create_mode=\"RestoreExternalBackup\",\n database_name=\"managedDatabase\",\n last_backup_name=\"last_backup_name\",\n location=\"southeastasia\",\n managed_instance_name=\"managedInstance\",\n resource_group_name=\"Default-SQL-SouthEastAsia\",\n storage_container_sas_token=\"sv=2015-12-11\u0026sr=c\u0026sp=rl\u0026sig=1234\",\n storage_container_uri=\"https://myaccountname.blob.core.windows.net/backups\")\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Creates a new managed database from restoring a geo-replicated backup\n```csharp\nusing Pulumi;\nusing AzureNextGen = Pulumi.AzureNextGen;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var managedDatabase = new AzureNextGen.Sql.V20200801Preview.ManagedDatabase(\"managedDatabase\", new AzureNextGen.Sql.V20200801Preview.ManagedDatabaseArgs\n {\n CreateMode = \"Recovery\",\n DatabaseName = \"testdb_recovered\",\n Location = \"southeastasia\",\n ManagedInstanceName = \"server1\",\n RecoverableDatabaseId = \"/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/Default-SQL-WestEurope/providers/Microsoft.Sql/managedInstances/testsvr/recoverableDatabases/testdb\",\n ResourceGroupName = \"Default-SQL-SouthEastAsia\",\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\tsql \"github.com/pulumi/pulumi-azure-nextgen/sdk/go/azure/sql/v20200801preview\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := sql.NewManagedDatabase(ctx, \"managedDatabase\", \u0026sql.ManagedDatabaseArgs{\n\t\t\tCreateMode: pulumi.String(\"Recovery\"),\n\t\t\tDatabaseName: pulumi.String(\"testdb_recovered\"),\n\t\t\tLocation: pulumi.String(\"southeastasia\"),\n\t\t\tManagedInstanceName: pulumi.String(\"server1\"),\n\t\t\tRecoverableDatabaseId: pulumi.String(\"/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/Default-SQL-WestEurope/providers/Microsoft.Sql/managedInstances/testsvr/recoverableDatabases/testdb\"),\n\t\t\tResourceGroupName: pulumi.String(\"Default-SQL-SouthEastAsia\"),\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```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_nextgen from \"@pulumi/azure-nextgen\";\n\nconst managedDatabase = new azure_nextgen.sql.v20200801preview.ManagedDatabase(\"managedDatabase\", {\n createMode: \"Recovery\",\n databaseName: \"testdb_recovered\",\n location: \"southeastasia\",\n managedInstanceName: \"server1\",\n recoverableDatabaseId: \"/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/Default-SQL-WestEurope/providers/Microsoft.Sql/managedInstances/testsvr/recoverableDatabases/testdb\",\n resourceGroupName: \"Default-SQL-SouthEastAsia\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_nextgen as azure_nextgen\n\nmanaged_database = azure_nextgen.sql.v20200801preview.ManagedDatabase(\"managedDatabase\",\n create_mode=\"Recovery\",\n database_name=\"testdb_recovered\",\n location=\"southeastasia\",\n managed_instance_name=\"server1\",\n recoverable_database_id=\"/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/Default-SQL-WestEurope/providers/Microsoft.Sql/managedInstances/testsvr/recoverableDatabases/testdb\",\n resource_group_name=\"Default-SQL-SouthEastAsia\")\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Creates a new managed database from restoring a long term retention backup\n```csharp\nusing Pulumi;\nusing AzureNextGen = Pulumi.AzureNextGen;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var managedDatabase = new AzureNextGen.Sql.V20200801Preview.ManagedDatabase(\"managedDatabase\", new AzureNextGen.Sql.V20200801Preview.ManagedDatabaseArgs\n {\n Collation = \"SQL_Latin1_General_CP1_CI_AS\",\n CreateMode = \"RestoreExternalBackup\",\n DatabaseName = \"managedDatabase\",\n Location = \"southeastasia\",\n ManagedInstanceName = \"managedInstance\",\n ResourceGroupName = \"Default-SQL-SouthEastAsia\",\n StorageContainerSasToken = \"sv=2015-12-11\u0026sr=c\u0026sp=rl\u0026sig=1234\",\n StorageContainerUri = \"https://myaccountname.blob.core.windows.net/backups\",\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\tsql \"github.com/pulumi/pulumi-azure-nextgen/sdk/go/azure/sql/v20200801preview\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := sql.NewManagedDatabase(ctx, \"managedDatabase\", \u0026sql.ManagedDatabaseArgs{\n\t\t\tCollation: pulumi.String(\"SQL_Latin1_General_CP1_CI_AS\"),\n\t\t\tCreateMode: pulumi.String(\"RestoreExternalBackup\"),\n\t\t\tDatabaseName: pulumi.String(\"managedDatabase\"),\n\t\t\tLocation: pulumi.String(\"southeastasia\"),\n\t\t\tManagedInstanceName: pulumi.String(\"managedInstance\"),\n\t\t\tResourceGroupName: pulumi.String(\"Default-SQL-SouthEastAsia\"),\n\t\t\tStorageContainerSasToken: pulumi.String(\"sv=2015-12-11\u0026sr=c\u0026sp=rl\u0026sig=1234\"),\n\t\t\tStorageContainerUri: pulumi.String(\"https://myaccountname.blob.core.windows.net/backups\"),\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```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_nextgen from \"@pulumi/azure-nextgen\";\n\nconst managedDatabase = new azure_nextgen.sql.v20200801preview.ManagedDatabase(\"managedDatabase\", {\n collation: \"SQL_Latin1_General_CP1_CI_AS\",\n createMode: \"RestoreExternalBackup\",\n databaseName: \"managedDatabase\",\n location: \"southeastasia\",\n managedInstanceName: \"managedInstance\",\n resourceGroupName: \"Default-SQL-SouthEastAsia\",\n storageContainerSasToken: \"sv=2015-12-11\u0026sr=c\u0026sp=rl\u0026sig=1234\",\n storageContainerUri: \"https://myaccountname.blob.core.windows.net/backups\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_nextgen as azure_nextgen\n\nmanaged_database = azure_nextgen.sql.v20200801preview.ManagedDatabase(\"managedDatabase\",\n collation=\"SQL_Latin1_General_CP1_CI_AS\",\n create_mode=\"RestoreExternalBackup\",\n database_name=\"managedDatabase\",\n location=\"southeastasia\",\n managed_instance_name=\"managedInstance\",\n resource_group_name=\"Default-SQL-SouthEastAsia\",\n storage_container_sas_token=\"sv=2015-12-11\u0026sr=c\u0026sp=rl\u0026sig=1234\",\n storage_container_uri=\"https://myaccountname.blob.core.windows.net/backups\")\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Creates a new managed database using point in time restore\n```csharp\nusing Pulumi;\nusing AzureNextGen = Pulumi.AzureNextGen;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var managedDatabase = new AzureNextGen.Sql.V20200801Preview.ManagedDatabase(\"managedDatabase\", new AzureNextGen.Sql.V20200801Preview.ManagedDatabaseArgs\n {\n CreateMode = \"PointInTimeRestore\",\n DatabaseName = \"managedDatabase\",\n Location = \"southeastasia\",\n ManagedInstanceName = \"managedInstance\",\n ResourceGroupName = \"Default-SQL-SouthEastAsia\",\n RestorePointInTime = \"2017-07-14T05:35:31.503Z\",\n SourceDatabaseId = \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/managedInstances/testsvr/databases/testdb\",\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\tsql \"github.com/pulumi/pulumi-azure-nextgen/sdk/go/azure/sql/v20200801preview\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := sql.NewManagedDatabase(ctx, \"managedDatabase\", \u0026sql.ManagedDatabaseArgs{\n\t\t\tCreateMode: pulumi.String(\"PointInTimeRestore\"),\n\t\t\tDatabaseName: pulumi.String(\"managedDatabase\"),\n\t\t\tLocation: pulumi.String(\"southeastasia\"),\n\t\t\tManagedInstanceName: pulumi.String(\"managedInstance\"),\n\t\t\tResourceGroupName: pulumi.String(\"Default-SQL-SouthEastAsia\"),\n\t\t\tRestorePointInTime: pulumi.String(\"2017-07-14T05:35:31.503Z\"),\n\t\t\tSourceDatabaseId: pulumi.String(\"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/managedInstances/testsvr/databases/testdb\"),\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```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_nextgen from \"@pulumi/azure-nextgen\";\n\nconst managedDatabase = new azure_nextgen.sql.v20200801preview.ManagedDatabase(\"managedDatabase\", {\n createMode: \"PointInTimeRestore\",\n databaseName: \"managedDatabase\",\n location: \"southeastasia\",\n managedInstanceName: \"managedInstance\",\n resourceGroupName: \"Default-SQL-SouthEastAsia\",\n restorePointInTime: \"2017-07-14T05:35:31.503Z\",\n sourceDatabaseId: \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/managedInstances/testsvr/databases/testdb\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_nextgen as azure_nextgen\n\nmanaged_database = azure_nextgen.sql.v20200801preview.ManagedDatabase(\"managedDatabase\",\n create_mode=\"PointInTimeRestore\",\n database_name=\"managedDatabase\",\n location=\"southeastasia\",\n managed_instance_name=\"managedInstance\",\n resource_group_name=\"Default-SQL-SouthEastAsia\",\n restore_point_in_time=\"2017-07-14T05:35:31.503Z\",\n source_database_id=\"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/managedInstances/testsvr/databases/testdb\")\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Creates a new managed database with maximal properties\n```csharp\nusing Pulumi;\nusing AzureNextGen = Pulumi.AzureNextGen;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var managedDatabase = new AzureNextGen.Sql.V20200801Preview.ManagedDatabase(\"managedDatabase\", new AzureNextGen.Sql.V20200801Preview.ManagedDatabaseArgs\n {\n DatabaseName = \"managedDatabase\",\n Location = \"southeastasia\",\n ManagedInstanceName = \"managedInstance\",\n ResourceGroupName = \"Default-SQL-SouthEastAsia\",\n Tags = \n {\n { \"tagKey1\", \"TagValue1\" },\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\tsql \"github.com/pulumi/pulumi-azure-nextgen/sdk/go/azure/sql/v20200801preview\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := sql.NewManagedDatabase(ctx, \"managedDatabase\", \u0026sql.ManagedDatabaseArgs{\n\t\t\tDatabaseName: pulumi.String(\"managedDatabase\"),\n\t\t\tLocation: pulumi.String(\"southeastasia\"),\n\t\t\tManagedInstanceName: pulumi.String(\"managedInstance\"),\n\t\t\tResourceGroupName: pulumi.String(\"Default-SQL-SouthEastAsia\"),\n\t\t\tTags: pulumi.StringMap{\n\t\t\t\t\"tagKey1\": pulumi.String(\"TagValue1\"),\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```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_nextgen from \"@pulumi/azure-nextgen\";\n\nconst managedDatabase = new azure_nextgen.sql.v20200801preview.ManagedDatabase(\"managedDatabase\", {\n databaseName: \"managedDatabase\",\n location: \"southeastasia\",\n managedInstanceName: \"managedInstance\",\n resourceGroupName: \"Default-SQL-SouthEastAsia\",\n tags: {\n tagKey1: \"TagValue1\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_nextgen as azure_nextgen\n\nmanaged_database = azure_nextgen.sql.v20200801preview.ManagedDatabase(\"managedDatabase\",\n database_name=\"managedDatabase\",\n location=\"southeastasia\",\n managed_instance_name=\"managedInstance\",\n resource_group_name=\"Default-SQL-SouthEastAsia\",\n tags={\n \"tagKey1\": \"TagValue1\",\n })\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Creates a new managed database with minimal properties\n```csharp\nusing Pulumi;\nusing AzureNextGen = Pulumi.AzureNextGen;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var managedDatabase = new AzureNextGen.Sql.V20200801Preview.ManagedDatabase(\"managedDatabase\", new AzureNextGen.Sql.V20200801Preview.ManagedDatabaseArgs\n {\n DatabaseName = \"managedDatabase\",\n Location = \"southeastasia\",\n ManagedInstanceName = \"managedInstance\",\n ResourceGroupName = \"Default-SQL-SouthEastAsia\",\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\tsql \"github.com/pulumi/pulumi-azure-nextgen/sdk/go/azure/sql/v20200801preview\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := sql.NewManagedDatabase(ctx, \"managedDatabase\", \u0026sql.ManagedDatabaseArgs{\n\t\t\tDatabaseName: pulumi.String(\"managedDatabase\"),\n\t\t\tLocation: pulumi.String(\"southeastasia\"),\n\t\t\tManagedInstanceName: pulumi.String(\"managedInstance\"),\n\t\t\tResourceGroupName: pulumi.String(\"Default-SQL-SouthEastAsia\"),\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```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_nextgen from \"@pulumi/azure-nextgen\";\n\nconst managedDatabase = new azure_nextgen.sql.v20200801preview.ManagedDatabase(\"managedDatabase\", {\n databaseName: \"managedDatabase\",\n location: \"southeastasia\",\n managedInstanceName: \"managedInstance\",\n resourceGroupName: \"Default-SQL-SouthEastAsia\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_nextgen as azure_nextgen\n\nmanaged_database = azure_nextgen.sql.v20200801preview.ManagedDatabase(\"managedDatabase\",\n database_name=\"managedDatabase\",\n location=\"southeastasia\",\n managed_instance_name=\"managedInstance\",\n resource_group_name=\"Default-SQL-SouthEastAsia\")\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-nextgen:sql/v20200801preview:ManagedDatabase testdb2 /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/managedInstances/testsvr/databases/testdb2 \n```\n", "properties": { "autoCompleteRestore": { "type": "boolean", @@ -367414,7 +369271,7 @@ ] }, "azure-nextgen:sql/v20200801preview:SyncMember": { - "description": "An Azure SQL Database sync member.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Create a new sync member\n```csharp\nusing Pulumi;\nusing AzureNextGen = Pulumi.AzureNextGen;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var syncMember = new AzureNextGen.Sql.V20200801Preview.SyncMember(\"syncMember\", new AzureNextGen.Sql.V20200801Preview.SyncMemberArgs\n {\n DatabaseName = \"syncgroupcrud-7421\",\n DatabaseType = \"AzureSqlDatabase\",\n ResourceGroupName = \"syncgroupcrud-65440\",\n ServerName = \"syncgroupcrud-3379.database.windows.net\",\n SyncDirection = \"Bidirectional\",\n SyncGroupName = \"syncgroupcrud-3187\",\n SyncMemberAzureDatabaseResourceId = \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/syncgroupcrud-65440/providers/Microsoft.Sql/servers/syncgroupcrud-8475/databases/syncgroupcrud-4328\",\n SyncMemberName = \"syncmembercrud-4879\",\n UsePrivateLinkConnection = true,\n UserName = \"myUser\",\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\tsql \"github.com/pulumi/pulumi-azure-nextgen/sdk/go/azure/sql/v20200801preview\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := sql.NewSyncMember(ctx, \"syncMember\", \u0026sql.SyncMemberArgs{\n\t\t\tDatabaseName: pulumi.String(\"syncgroupcrud-7421\"),\n\t\t\tDatabaseType: pulumi.String(\"AzureSqlDatabase\"),\n\t\t\tResourceGroupName: pulumi.String(\"syncgroupcrud-65440\"),\n\t\t\tServerName: pulumi.String(\"syncgroupcrud-3379.database.windows.net\"),\n\t\t\tSyncDirection: pulumi.String(\"Bidirectional\"),\n\t\t\tSyncGroupName: pulumi.String(\"syncgroupcrud-3187\"),\n\t\t\tSyncMemberAzureDatabaseResourceId: pulumi.String(\"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/syncgroupcrud-65440/providers/Microsoft.Sql/servers/syncgroupcrud-8475/databases/syncgroupcrud-4328\"),\n\t\t\tSyncMemberName: pulumi.String(\"syncmembercrud-4879\"),\n\t\t\tUsePrivateLinkConnection: pulumi.Bool(true),\n\t\t\tUserName: pulumi.String(\"myUser\"),\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```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_nextgen from \"@pulumi/azure-nextgen\";\n\nconst syncMember = new azure_nextgen.sql.v20200801preview.SyncMember(\"syncMember\", {\n databaseName: \"syncgroupcrud-7421\",\n databaseType: \"AzureSqlDatabase\",\n resourceGroupName: \"syncgroupcrud-65440\",\n serverName: \"syncgroupcrud-3379.database.windows.net\",\n syncDirection: \"Bidirectional\",\n syncGroupName: \"syncgroupcrud-3187\",\n syncMemberAzureDatabaseResourceId: \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/syncgroupcrud-65440/providers/Microsoft.Sql/servers/syncgroupcrud-8475/databases/syncgroupcrud-4328\",\n syncMemberName: \"syncmembercrud-4879\",\n usePrivateLinkConnection: true,\n userName: \"myUser\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_nextgen as azure_nextgen\n\nsync_member = azure_nextgen.sql.v20200801preview.SyncMember(\"syncMember\",\n database_name=\"syncgroupcrud-7421\",\n database_type=\"AzureSqlDatabase\",\n resource_group_name=\"syncgroupcrud-65440\",\n server_name=\"syncgroupcrud-3379.database.windows.net\",\n sync_direction=\"Bidirectional\",\n sync_group_name=\"syncgroupcrud-3187\",\n sync_member_azure_database_resource_id=\"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/syncgroupcrud-65440/providers/Microsoft.Sql/servers/syncgroupcrud-8475/databases/syncgroupcrud-4328\",\n sync_member_name=\"syncmembercrud-4879\",\n use_private_link_connection=True,\n user_name=\"myUser\")\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Update a sync member\n```csharp\nusing Pulumi;\nusing AzureNextGen = Pulumi.AzureNextGen;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var syncMember = new AzureNextGen.Sql.V20200801Preview.SyncMember(\"syncMember\", new AzureNextGen.Sql.V20200801Preview.SyncMemberArgs\n {\n DatabaseName = \"syncgroupcrud-7421\",\n DatabaseType = \"AzureSqlDatabase\",\n ResourceGroupName = \"syncgroupcrud-65440\",\n ServerName = \"syncgroupcrud-8475\",\n SyncDirection = \"Bidirectional\",\n SyncGroupName = \"syncgroupcrud-3187\",\n SyncMemberAzureDatabaseResourceId = \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/syncgroupcrud-65440/providers/Microsoft.Sql/servers/syncgroupcrud-8475/databases/syncgroupcrud-4328\",\n SyncMemberName = \"syncmembercrud-4879\",\n UsePrivateLinkConnection = true,\n UserName = \"myUser\",\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\tsql \"github.com/pulumi/pulumi-azure-nextgen/sdk/go/azure/sql/v20200801preview\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := sql.NewSyncMember(ctx, \"syncMember\", \u0026sql.SyncMemberArgs{\n\t\t\tDatabaseName: pulumi.String(\"syncgroupcrud-7421\"),\n\t\t\tDatabaseType: pulumi.String(\"AzureSqlDatabase\"),\n\t\t\tResourceGroupName: pulumi.String(\"syncgroupcrud-65440\"),\n\t\t\tServerName: pulumi.String(\"syncgroupcrud-8475\"),\n\t\t\tSyncDirection: pulumi.String(\"Bidirectional\"),\n\t\t\tSyncGroupName: pulumi.String(\"syncgroupcrud-3187\"),\n\t\t\tSyncMemberAzureDatabaseResourceId: pulumi.String(\"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/syncgroupcrud-65440/providers/Microsoft.Sql/servers/syncgroupcrud-8475/databases/syncgroupcrud-4328\"),\n\t\t\tSyncMemberName: pulumi.String(\"syncmembercrud-4879\"),\n\t\t\tUsePrivateLinkConnection: pulumi.Bool(true),\n\t\t\tUserName: pulumi.String(\"myUser\"),\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```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_nextgen from \"@pulumi/azure-nextgen\";\n\nconst syncMember = new azure_nextgen.sql.v20200801preview.SyncMember(\"syncMember\", {\n databaseName: \"syncgroupcrud-7421\",\n databaseType: \"AzureSqlDatabase\",\n resourceGroupName: \"syncgroupcrud-65440\",\n serverName: \"syncgroupcrud-8475\",\n syncDirection: \"Bidirectional\",\n syncGroupName: \"syncgroupcrud-3187\",\n syncMemberAzureDatabaseResourceId: \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/syncgroupcrud-65440/providers/Microsoft.Sql/servers/syncgroupcrud-8475/databases/syncgroupcrud-4328\",\n syncMemberName: \"syncmembercrud-4879\",\n usePrivateLinkConnection: true,\n userName: \"myUser\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_nextgen as azure_nextgen\n\nsync_member = azure_nextgen.sql.v20200801preview.SyncMember(\"syncMember\",\n database_name=\"syncgroupcrud-7421\",\n database_type=\"AzureSqlDatabase\",\n resource_group_name=\"syncgroupcrud-65440\",\n server_name=\"syncgroupcrud-8475\",\n sync_direction=\"Bidirectional\",\n sync_group_name=\"syncgroupcrud-3187\",\n sync_member_azure_database_resource_id=\"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/syncgroupcrud-65440/providers/Microsoft.Sql/servers/syncgroupcrud-8475/databases/syncgroupcrud-4328\",\n sync_member_name=\"syncmembercrud-4879\",\n use_private_link_connection=True,\n user_name=\"myUser\")\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-nextgen:sql/v20200801preview:SyncMember syncmembercrud-4879 /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/syncgroupcrud-65440/providers/Microsoft.Sql/servers/syncgroupcrud-8475/databases/syncgroupcrud-4328/syncGroups/syncgroupcrud-3187/syncMembers/syncmembercrud-4879 \n```\n", + "description": "An Azure SQL Database sync member.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Create a new sync member\n```csharp\nusing Pulumi;\nusing AzureNextGen = Pulumi.AzureNextGen;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var syncMember = new AzureNextGen.Sql.V20200801Preview.SyncMember(\"syncMember\", new AzureNextGen.Sql.V20200801Preview.SyncMemberArgs\n {\n DatabaseName = \"syncgroupcrud-4328\",\n DatabaseType = \"AzureSqlDatabase\",\n ResourceGroupName = \"syncgroupcrud-65440\",\n ServerName = \"syncgroupcrud-8475\",\n SyncDirection = \"Bidirectional\",\n SyncGroupName = \"syncgroupcrud-3187\",\n SyncMemberAzureDatabaseResourceId = \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/syncgroupcrud-65440/providers/Microsoft.Sql/servers/syncgroupcrud-8475/databases/syncgroupcrud-4328\",\n SyncMemberName = \"syncmembercrud-4879\",\n UsePrivateLinkConnection = true,\n UserName = \"myUser\",\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\tsql \"github.com/pulumi/pulumi-azure-nextgen/sdk/go/azure/sql/v20200801preview\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := sql.NewSyncMember(ctx, \"syncMember\", \u0026sql.SyncMemberArgs{\n\t\t\tDatabaseName: pulumi.String(\"syncgroupcrud-4328\"),\n\t\t\tDatabaseType: pulumi.String(\"AzureSqlDatabase\"),\n\t\t\tResourceGroupName: pulumi.String(\"syncgroupcrud-65440\"),\n\t\t\tServerName: pulumi.String(\"syncgroupcrud-8475\"),\n\t\t\tSyncDirection: pulumi.String(\"Bidirectional\"),\n\t\t\tSyncGroupName: pulumi.String(\"syncgroupcrud-3187\"),\n\t\t\tSyncMemberAzureDatabaseResourceId: pulumi.String(\"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/syncgroupcrud-65440/providers/Microsoft.Sql/servers/syncgroupcrud-8475/databases/syncgroupcrud-4328\"),\n\t\t\tSyncMemberName: pulumi.String(\"syncmembercrud-4879\"),\n\t\t\tUsePrivateLinkConnection: pulumi.Bool(true),\n\t\t\tUserName: pulumi.String(\"myUser\"),\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```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_nextgen from \"@pulumi/azure-nextgen\";\n\nconst syncMember = new azure_nextgen.sql.v20200801preview.SyncMember(\"syncMember\", {\n databaseName: \"syncgroupcrud-4328\",\n databaseType: \"AzureSqlDatabase\",\n resourceGroupName: \"syncgroupcrud-65440\",\n serverName: \"syncgroupcrud-8475\",\n syncDirection: \"Bidirectional\",\n syncGroupName: \"syncgroupcrud-3187\",\n syncMemberAzureDatabaseResourceId: \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/syncgroupcrud-65440/providers/Microsoft.Sql/servers/syncgroupcrud-8475/databases/syncgroupcrud-4328\",\n syncMemberName: \"syncmembercrud-4879\",\n usePrivateLinkConnection: true,\n userName: \"myUser\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_nextgen as azure_nextgen\n\nsync_member = azure_nextgen.sql.v20200801preview.SyncMember(\"syncMember\",\n database_name=\"syncgroupcrud-4328\",\n database_type=\"AzureSqlDatabase\",\n resource_group_name=\"syncgroupcrud-65440\",\n server_name=\"syncgroupcrud-8475\",\n sync_direction=\"Bidirectional\",\n sync_group_name=\"syncgroupcrud-3187\",\n sync_member_azure_database_resource_id=\"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/syncgroupcrud-65440/providers/Microsoft.Sql/servers/syncgroupcrud-8475/databases/syncgroupcrud-4328\",\n sync_member_name=\"syncmembercrud-4879\",\n use_private_link_connection=True,\n user_name=\"myUser\")\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Update a sync member\n```csharp\nusing Pulumi;\nusing AzureNextGen = Pulumi.AzureNextGen;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var syncMember = new AzureNextGen.Sql.V20200801Preview.SyncMember(\"syncMember\", new AzureNextGen.Sql.V20200801Preview.SyncMemberArgs\n {\n DatabaseName = \"syncgroupcrud-4328\",\n DatabaseType = \"AzureSqlDatabase\",\n ResourceGroupName = \"syncgroupcrud-65440\",\n ServerName = \"syncgroupcrud-8475\",\n SyncDirection = \"Bidirectional\",\n SyncGroupName = \"syncgroupcrud-3187\",\n SyncMemberAzureDatabaseResourceId = \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/syncgroupcrud-65440/providers/Microsoft.Sql/servers/syncgroupcrud-8475/databases/syncgroupcrud-4328\",\n SyncMemberName = \"syncmembercrud-4879\",\n UsePrivateLinkConnection = true,\n UserName = \"myUser\",\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\tsql \"github.com/pulumi/pulumi-azure-nextgen/sdk/go/azure/sql/v20200801preview\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := sql.NewSyncMember(ctx, \"syncMember\", \u0026sql.SyncMemberArgs{\n\t\t\tDatabaseName: pulumi.String(\"syncgroupcrud-4328\"),\n\t\t\tDatabaseType: pulumi.String(\"AzureSqlDatabase\"),\n\t\t\tResourceGroupName: pulumi.String(\"syncgroupcrud-65440\"),\n\t\t\tServerName: pulumi.String(\"syncgroupcrud-8475\"),\n\t\t\tSyncDirection: pulumi.String(\"Bidirectional\"),\n\t\t\tSyncGroupName: pulumi.String(\"syncgroupcrud-3187\"),\n\t\t\tSyncMemberAzureDatabaseResourceId: pulumi.String(\"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/syncgroupcrud-65440/providers/Microsoft.Sql/servers/syncgroupcrud-8475/databases/syncgroupcrud-4328\"),\n\t\t\tSyncMemberName: pulumi.String(\"syncmembercrud-4879\"),\n\t\t\tUsePrivateLinkConnection: pulumi.Bool(true),\n\t\t\tUserName: pulumi.String(\"myUser\"),\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```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_nextgen from \"@pulumi/azure-nextgen\";\n\nconst syncMember = new azure_nextgen.sql.v20200801preview.SyncMember(\"syncMember\", {\n databaseName: \"syncgroupcrud-4328\",\n databaseType: \"AzureSqlDatabase\",\n resourceGroupName: \"syncgroupcrud-65440\",\n serverName: \"syncgroupcrud-8475\",\n syncDirection: \"Bidirectional\",\n syncGroupName: \"syncgroupcrud-3187\",\n syncMemberAzureDatabaseResourceId: \"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/syncgroupcrud-65440/providers/Microsoft.Sql/servers/syncgroupcrud-8475/databases/syncgroupcrud-4328\",\n syncMemberName: \"syncmembercrud-4879\",\n usePrivateLinkConnection: true,\n userName: \"myUser\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_nextgen as azure_nextgen\n\nsync_member = azure_nextgen.sql.v20200801preview.SyncMember(\"syncMember\",\n database_name=\"syncgroupcrud-4328\",\n database_type=\"AzureSqlDatabase\",\n resource_group_name=\"syncgroupcrud-65440\",\n server_name=\"syncgroupcrud-8475\",\n sync_direction=\"Bidirectional\",\n sync_group_name=\"syncgroupcrud-3187\",\n sync_member_azure_database_resource_id=\"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/syncgroupcrud-65440/providers/Microsoft.Sql/servers/syncgroupcrud-8475/databases/syncgroupcrud-4328\",\n sync_member_name=\"syncmembercrud-4879\",\n use_private_link_connection=True,\n user_name=\"myUser\")\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-nextgen:sql/v20200801preview:SyncMember syncmembercrud-4879 /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/syncgroupcrud-65440/providers/Microsoft.Sql/servers/syncgroupcrud-8475/databases/syncgroupcrud-4328/syncGroups/syncgroupcrud-3187/syncMembers/syncmembercrud-4879 \n```\n", "properties": { "databaseName": { "type": "string", @@ -374786,7 +376643,7 @@ ] }, "azure-nextgen:synapse/v20200401preview:SqlDatabase": { - "description": "A sql database resource.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Creates a sqldatabase.\n```csharp\nusing Pulumi;\nusing AzureNextGen = Pulumi.AzureNextGen;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var sqlDatabase = new AzureNextGen.Synapse.V20200401Preview.SqlDatabase(\"sqlDatabase\", new AzureNextGen.Synapse.V20200401Preview.SqlDatabaseArgs\n {\n Location = \"westus\",\n ResourceGroupName = \"rg_88eed28c-5243-4f02-8251-bfa1e69e7057\",\n SqlDatabaseName = \"73164535-f22d-4daa-b014-1f23bbe361b7\",\n Tags = \n {\n { \"tag1\", \"val1\" },\n },\n WorkspaceName = \"srv_85d31a1e-718b-4bda-9e53-a91230dd4ce5\",\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\tsynapse \"github.com/pulumi/pulumi-azure-nextgen/sdk/go/azure/synapse/v20200401preview\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := synapse.NewSqlDatabase(ctx, \"sqlDatabase\", \u0026synapse.SqlDatabaseArgs{\n\t\t\tLocation: pulumi.String(\"westus\"),\n\t\t\tResourceGroupName: pulumi.String(\"rg_88eed28c-5243-4f02-8251-bfa1e69e7057\"),\n\t\t\tSqlDatabaseName: pulumi.String(\"73164535-f22d-4daa-b014-1f23bbe361b7\"),\n\t\t\tTags: pulumi.StringMap{\n\t\t\t\t\"tag1\": pulumi.String(\"val1\"),\n\t\t\t},\n\t\t\tWorkspaceName: pulumi.String(\"srv_85d31a1e-718b-4bda-9e53-a91230dd4ce5\"),\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```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_nextgen from \"@pulumi/azure-nextgen\";\n\nconst sqlDatabase = new azure_nextgen.synapse.v20200401preview.SqlDatabase(\"sqlDatabase\", {\n location: \"westus\",\n resourceGroupName: \"rg_88eed28c-5243-4f02-8251-bfa1e69e7057\",\n sqlDatabaseName: \"73164535-f22d-4daa-b014-1f23bbe361b7\",\n tags: {\n tag1: \"val1\",\n },\n workspaceName: \"srv_85d31a1e-718b-4bda-9e53-a91230dd4ce5\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_nextgen as azure_nextgen\n\nsql_database = azure_nextgen.synapse.v20200401preview.SqlDatabase(\"sqlDatabase\",\n location=\"westus\",\n resource_group_name=\"rg_88eed28c-5243-4f02-8251-bfa1e69e7057\",\n sql_database_name=\"73164535-f22d-4daa-b014-1f23bbe361b7\",\n tags={\n \"tag1\": \"val1\",\n },\n workspace_name=\"srv_85d31a1e-718b-4bda-9e53-a91230dd4ce5\")\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-nextgen:synapse/v20200401preview:SqlDatabase 73164535-f22d-4daa-b014-1f23bbe361b7 /subscriptions/d9e39bed-00e1-4f5e-883e-6d94be335056/resourceGroups/rg_88eed28c-5243-4f02-8251-bfa1e69e7057/providers/Microsoft.Synapse/workspaces/srv_85d31a1e-718b-4bda-9e53-a91230dd4ce5/sqlDatabases/73164535-f22d-4daa-b014-1f23bbe361b7 \n```\n", + "description": "A sql database resource.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Creates a sqldatabase.\n```csharp\nusing Pulumi;\nusing AzureNextGen = Pulumi.AzureNextGen;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var sqlDatabase = new AzureNextGen.Synapse.V20200401Preview.SqlDatabase(\"sqlDatabase\", new AzureNextGen.Synapse.V20200401Preview.SqlDatabaseArgs\n {\n Location = \"westus\",\n ResourceGroupName = \"rg_88eed28c-5243-4f02-8251-bfa1e69e7057\",\n SqlDatabaseName = \"73164535-f22d-4daa-b014-1f23bbe361b7\",\n Tags = \n {\n { \"tag1\", \"val1\" },\n },\n WorkspaceName = \"srv_85d31a1e-718b-4bda-9e53-a91230dd4ce5\",\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\tsynapse \"github.com/pulumi/pulumi-azure-nextgen/sdk/go/azure/synapse/v20200401preview\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := synapse.NewSqlDatabase(ctx, \"sqlDatabase\", \u0026synapse.SqlDatabaseArgs{\n\t\t\tLocation: pulumi.String(\"westus\"),\n\t\t\tResourceGroupName: pulumi.String(\"rg_88eed28c-5243-4f02-8251-bfa1e69e7057\"),\n\t\t\tSqlDatabaseName: pulumi.String(\"73164535-f22d-4daa-b014-1f23bbe361b7\"),\n\t\t\tTags: pulumi.StringMap{\n\t\t\t\t\"tag1\": pulumi.String(\"val1\"),\n\t\t\t},\n\t\t\tWorkspaceName: pulumi.String(\"srv_85d31a1e-718b-4bda-9e53-a91230dd4ce5\"),\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```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_nextgen from \"@pulumi/azure-nextgen\";\n\nconst sqlDatabase = new azure_nextgen.synapse.v20200401preview.SqlDatabase(\"sqlDatabase\", {\n location: \"westus\",\n resourceGroupName: \"rg_88eed28c-5243-4f02-8251-bfa1e69e7057\",\n sqlDatabaseName: \"73164535-f22d-4daa-b014-1f23bbe361b7\",\n tags: {\n tag1: \"val1\",\n },\n workspaceName: \"srv_85d31a1e-718b-4bda-9e53-a91230dd4ce5\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_nextgen as azure_nextgen\n\nsql_database = azure_nextgen.synapse.v20200401preview.SqlDatabase(\"sqlDatabase\",\n location=\"westus\",\n resource_group_name=\"rg_88eed28c-5243-4f02-8251-bfa1e69e7057\",\n sql_database_name=\"73164535-f22d-4daa-b014-1f23bbe361b7\",\n tags={\n \"tag1\": \"val1\",\n },\n workspace_name=\"srv_85d31a1e-718b-4bda-9e53-a91230dd4ce5\")\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-nextgen:synapse/v20200401preview:SqlDatabase 428975cf-c682-4347-8412-468fcf11f988 /subscriptions/3e8c19f4-eeef-4cb9-bc14-2c3dd459e8a8/resourceGroups/rg_ce5b9d27-ae43-4fe0-986e-95d1df21adf5/providers/Microsoft.Synapse/workspaces/srv_6eeb976d-3b48-4a1f-b45f-d59797b23dac/sqlDatabases/428975cf-c682-4347-8412-468fcf11f988 \n```\n", "properties": { "collation": { "type": "string", @@ -415919,10 +417776,6 @@ "type": "string", "description": "Path to Azure KeyVault storing the secret used for communication to ADFS." }, - "ssoContext": { - "type": "string", - "description": "Path to keyvault containing ssoContext secret." - }, "ssoSecretType": { "type": "string", "description": "The type of single sign on Secret Type." @@ -421911,6 +423764,327 @@ ] } }, + "azure-nextgen:edgeorder/v20201201preview:getAddressByName": { + "inputs": { + "properties": { + "addressName": { + "type": "string", + "description": "The name of the address Resource within the specified resource group. address names must be between 3 and 24 characters in length and use any alphanumeric and underscore only" + }, + "resourceGroupName": { + "type": "string", + "description": "The name of the resource group. The name is case insensitive." + } + }, + "type": "object", + "required": [ + "addressName", + "resourceGroupName" + ] + }, + "outputs": { + "description": "Address Resource.", + "properties": { + "contactDetails": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:ContactDetailsResponse", + "description": "Contact details for the address" + }, + "id": { + "type": "string", + "description": "Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives" + }, + "name": { + "type": "string", + "description": "The name of the resource" + }, + "shippingAddress": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:ShippingAddressResponse", + "description": "Shipping details for the address" + }, + "systemData": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:SystemDataResponse", + "description": "Represents resource creation and update time" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags." + }, + "type": { + "type": "string", + "description": "The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\"" + } + }, + "type": "object", + "required": [ + "contactDetails", + "id", + "location", + "name", + "systemData", + "type" + ] + } + }, + "azure-nextgen:edgeorder/v20201201preview:getOrderByName": { + "inputs": { + "properties": { + "orderName": { + "type": "string", + "description": "The name of the order" + }, + "resourceGroupName": { + "type": "string", + "description": "The name of the resource group. The name is case insensitive." + } + }, + "type": "object", + "required": [ + "orderName", + "resourceGroupName" + ] + }, + "outputs": { + "description": "Represents order contract", + "properties": { + "addressDetails": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:AddressDetailsResponse", + "description": "Represents shipping and return address for order" + }, + "id": { + "type": "string", + "description": "Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives" + }, + "name": { + "type": "string", + "description": "The name of the resource" + }, + "orderCollectionId": { + "type": "string", + "description": "Id of the order collection to which order belongs to" + }, + "orderDetails": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:OrderDetailsResponse", + "description": "Represents order details." + }, + "startTime": { + "type": "string", + "description": "Start time of order" + }, + "systemData": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:SystemDataResponse", + "description": "Represents resource creation and update time" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags." + }, + "type": { + "type": "string", + "description": "The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\"" + } + }, + "type": "object", + "required": [ + "addressDetails", + "id", + "location", + "name", + "orderCollectionId", + "orderDetails", + "startTime", + "systemData", + "type" + ] + } + }, + "azure-nextgen:edgeorder/v20201201preview:getOrderCollectionByName": { + "inputs": { + "properties": { + "orderCollectionName": { + "type": "string", + "description": "The name of the order collection" + }, + "resourceGroupName": { + "type": "string", + "description": "The name of the resource group. The name is case insensitive." + } + }, + "type": "object", + "required": [ + "orderCollectionName", + "resourceGroupName" + ] + }, + "outputs": { + "description": "Specifies the properties or parameters for an order collection. Order collection is a grouping of one or more orders.", + "properties": { + "id": { + "type": "string", + "description": "Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives" + }, + "name": { + "type": "string", + "description": "The name of the resource" + }, + "orderIds": { + "type": "array", + "items": { + "type": "string" + }, + "description": "List of order ARM Ids which are part of an order collection." + }, + "systemData": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:SystemDataResponse", + "description": "Represents resource creation and update time" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags." + }, + "type": { + "type": "string", + "description": "The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\"" + } + }, + "type": "object", + "required": [ + "id", + "location", + "name", + "orderIds", + "systemData", + "type" + ] + } + }, + "azure-nextgen:edgeorder/v20201201preview:listConfigurations": { + "inputs": { + "properties": { + "configurationFilters": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:ConfigurationFilters" + }, + "description": "Holds details about product hierarchy information and filterable property." + }, + "customerSubscriptionDetails": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:CustomerSubscriptionDetails", + "description": "Customer subscription properties. Clients can display available products to unregistered customers by explicitly passing subscription details" + }, + "skipToken": { + "type": "string", + "description": "$skipToken is supported on list of configurations, which provides the next page in the list of configurations." + } + }, + "type": "object", + "required": [ + "configurationFilters" + ] + }, + "outputs": { + "description": "The list of configurations.", + "properties": { + "nextLink": { + "type": "string", + "description": "Link for the next set of configurations." + }, + "value": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:ConfigurationResponse" + }, + "description": "List of configurations." + } + }, + "type": "object", + "required": [ + "value" + ] + } + }, + "azure-nextgen:edgeorder/v20201201preview:listProductFamilies": { + "inputs": { + "properties": { + "customerSubscriptionDetails": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:CustomerSubscriptionDetails", + "description": "Customer subscription properties. Clients can display available products to unregistered customers by explicitly passing subscription details" + }, + "expand": { + "type": "string", + "description": "$expand is supported on configurations parameter for product, which provides details on the configurations for the product." + }, + "filterableProperties": { + "type": "object", + "additionalProperties": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:FilterableProperty" + }, + "description": "Dictionary of filterable properties on product family." + }, + "skipToken": { + "type": "string", + "description": "$skipToken is supported on list of product families, which provides the next page in the list of product families." + } + }, + "type": "object", + "required": [ + "filterableProperties" + ] + }, + "outputs": { + "description": "The list of product families.", + "properties": { + "nextLink": { + "type": "string", + "description": "Link for the next set of product families." + }, + "value": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/types/azure-nextgen:edgeorder/v20201201preview:ProductFamilyResponse" + }, + "description": "List of product families." + } + }, + "type": "object", + "required": [ + "value" + ] + } + }, "azure-nextgen:engagementfabric/v20180901preview:getAccount": { "inputs": { "properties": { @@ -424968,6 +427142,11 @@ "type": "string", "description": "The provisioning state of the private endpoint connection resource." }, + "systemData": { + "type": "object", + "$ref": "#/types/azure-nextgen:healthcareapis/latest:SystemDataResponse", + "description": "System metadata for this resource." + }, "type": { "type": "string", "description": "The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\"" @@ -424979,6 +427158,7 @@ "name", "privateLinkServiceConnectionState", "provisioningState", + "systemData", "type" ] } @@ -425034,6 +427214,11 @@ "$ref": "#/types/azure-nextgen:healthcareapis/latest:ServicesPropertiesResponse", "description": "The common properties of a service." }, + "systemData": { + "type": "object", + "$ref": "#/types/azure-nextgen:healthcareapis/latest:SystemDataResponse", + "description": "Metadata pertaining to creation and last modification of the resource." + }, "tags": { "type": "object", "additionalProperties": { @@ -425053,6 +427238,7 @@ "location", "name", "properties", + "systemData", "type" ] } @@ -438521,7 +440707,7 @@ ] } }, - "azure-nextgen:mixedreality/latest:getSpatialAnchorsAccount": { + "azure-nextgen:mixedreality/latest:getRemoteRenderingAccount": { "inputs": { "properties": { "accountName": { @@ -438540,7 +440726,7 @@ ] }, "outputs": { - "description": "SpatialAnchorsAccount Response.", + "description": "RemoteRenderingAccount Response.", "properties": { "accountDomain": { "type": "string", @@ -438559,6 +440745,11 @@ "$ref": "#/types/azure-nextgen:mixedreality/latest:IdentityResponse", "description": "The identity associated with this account" }, + "kind": { + "type": "object", + "$ref": "#/types/azure-nextgen:mixedreality/latest:SkuResponse", + "description": "The kind of account, if supported" + }, "location": { "type": "string", "description": "The geo-location where the resource lives" @@ -438567,6 +440758,21 @@ "type": "string", "description": "The name of the resource" }, + "plan": { + "type": "object", + "$ref": "#/types/azure-nextgen:mixedreality/latest:IdentityResponse", + "description": "The plan associated with this account" + }, + "sku": { + "type": "object", + "$ref": "#/types/azure-nextgen:mixedreality/latest:SkuResponse", + "description": "The sku associated with this account" + }, + "systemData": { + "type": "object", + "$ref": "#/types/azure-nextgen:mixedreality/latest:SystemDataResponse", + "description": "System metadata for this account" + }, "tags": { "type": "object", "additionalProperties": { @@ -438586,48 +440792,12 @@ "id", "location", "name", + "systemData", "type" ] } }, - "azure-nextgen:mixedreality/latest:listSpatialAnchorsAccountKeys": { - "inputs": { - "properties": { - "accountName": { - "type": "string", - "description": "Name of an Mixed Reality Account." - }, - "resourceGroupName": { - "type": "string", - "description": "Name of an Azure resource group." - } - }, - "type": "object", - "required": [ - "accountName", - "resourceGroupName" - ] - }, - "outputs": { - "description": "Developer Keys of account", - "properties": { - "primaryKey": { - "type": "string", - "description": "value of primary key." - }, - "secondaryKey": { - "type": "string", - "description": "value of secondary key." - } - }, - "type": "object", - "required": [ - "primaryKey", - "secondaryKey" - ] - } - }, - "azure-nextgen:mixedreality/v20200406preview:getRemoteRenderingAccount": { + "azure-nextgen:mixedreality/latest:getSpatialAnchorsAccount": { "inputs": { "properties": { "accountName": { @@ -438646,7 +440816,7 @@ ] }, "outputs": { - "description": "RemoteRenderingAccount Response.", + "description": "SpatialAnchorsAccount Response.", "properties": { "accountDomain": { "type": "string", @@ -438662,7 +440832,13 @@ }, "identity": { "type": "object", - "$ref": "#/types/azure-nextgen:mixedreality/v20200406preview:RemoteRenderingAccountResponseIdentity" + "$ref": "#/types/azure-nextgen:mixedreality/latest:IdentityResponse", + "description": "The identity associated with this account" + }, + "kind": { + "type": "object", + "$ref": "#/types/azure-nextgen:mixedreality/latest:SkuResponse", + "description": "The kind of account, if supported" }, "location": { "type": "string", @@ -438672,6 +440848,21 @@ "type": "string", "description": "The name of the resource" }, + "plan": { + "type": "object", + "$ref": "#/types/azure-nextgen:mixedreality/latest:IdentityResponse", + "description": "The plan associated with this account" + }, + "sku": { + "type": "object", + "$ref": "#/types/azure-nextgen:mixedreality/latest:SkuResponse", + "description": "The sku associated with this account" + }, + "systemData": { + "type": "object", + "$ref": "#/types/azure-nextgen:mixedreality/latest:SystemDataResponse", + "description": "System metadata for this account" + }, "tags": { "type": "object", "additionalProperties": { @@ -438691,11 +440882,49 @@ "id", "location", "name", + "systemData", "type" ] } }, - "azure-nextgen:mixedreality/v20200406preview:listRemoteRenderingAccountKeys": { + "azure-nextgen:mixedreality/latest:listRemoteRenderingAccountKeys": { + "inputs": { + "properties": { + "accountName": { + "type": "string", + "description": "Name of an Mixed Reality Account." + }, + "resourceGroupName": { + "type": "string", + "description": "Name of an Azure resource group." + } + }, + "type": "object", + "required": [ + "accountName", + "resourceGroupName" + ] + }, + "outputs": { + "description": "Developer Keys of account", + "properties": { + "primaryKey": { + "type": "string", + "description": "value of primary key." + }, + "secondaryKey": { + "type": "string", + "description": "value of secondary key." + } + }, + "type": "object", + "required": [ + "primaryKey", + "secondaryKey" + ] + } + }, + "azure-nextgen:mixedreality/latest:listSpatialAnchorsAccountKeys": { "inputs": { "properties": { "accountName": { @@ -444543,6 +446772,14 @@ }, "description": "Describes Routing Rules associated with this Web Application Firewall policy." }, + "securityPolicyLinks": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/types/azure-nextgen:network/latest:SecurityPolicyLinkResponse" + }, + "description": "Describes Security Policy associated with this Web Application Firewall policy." + }, "sku": { "type": "object", "$ref": "#/types/azure-nextgen:network/latest:SkuResponse", @@ -444568,6 +446805,7 @@ "provisioningState", "resourceState", "routingRuleLinks", + "securityPolicyLinks", "type" ] } @@ -449577,9 +451815,13 @@ ] } }, - "azure-nextgen:operationalinsights/latest:getAlertRule": { + "azure-nextgen:operationalinsights/latest:getAction": { "inputs": { "properties": { + "actionId": { + "type": "string", + "description": "Action ID" + }, "resourceGroupName": { "type": "string", "description": "The name of the resource group within the user's subscription. The name is case insensitive." @@ -449595,25 +451837,26 @@ }, "type": "object", "required": [ + "actionId", "resourceGroupName", "ruleId", "workspaceName" ] }, "outputs": { - "description": "Alert rule.", + "description": "Action for alert rule.", "properties": { "etag": { "type": "string", - "description": "Etag of the azure resource" + "description": "Etag of the action." }, "id": { "type": "string", "description": "Azure resource Id" }, - "kind": { + "logicAppResourceId": { "type": "string", - "description": "The alert rule kind" + "description": "Logic App Resource Id, /subscriptions/{my-subscription}/resourceGroups/{my-resource-group}/providers/Microsoft.Logic/workflows/{my-workflow-id}." }, "name": { "type": "string", @@ -449622,24 +451865,24 @@ "type": { "type": "string", "description": "Azure resource type" + }, + "workflowId": { + "type": "string", + "description": "The name of the logic app's workflow." } }, "type": "object", "required": [ "id", - "kind", + "logicAppResourceId", "name", "type" ] } }, - "azure-nextgen:operationalinsights/latest:getAlertRuleAction": { + "azure-nextgen:operationalinsights/latest:getAlertRule": { "inputs": { "properties": { - "actionId": { - "type": "string", - "description": "Action ID" - }, "resourceGroupName": { "type": "string", "description": "The name of the resource group within the user's subscription. The name is case insensitive." @@ -449655,26 +451898,25 @@ }, "type": "object", "required": [ - "actionId", "resourceGroupName", "ruleId", "workspaceName" ] }, "outputs": { - "description": "Action for alert rule.", + "description": "Alert rule.", "properties": { "etag": { "type": "string", - "description": "Etag of the action." + "description": "Etag of the azure resource" }, "id": { "type": "string", "description": "Azure resource Id" }, - "logicAppResourceId": { + "kind": { "type": "string", - "description": "Logic App Resource Id, /subscriptions/{my-subscription}/resourceGroups/{my-resource-group}/providers/Microsoft.Logic/workflows/{my-workflow-id}." + "description": "The alert rule kind" }, "name": { "type": "string", @@ -449683,16 +451925,12 @@ "type": { "type": "string", "description": "Azure resource type" - }, - "workflowId": { - "type": "string", - "description": "The name of the logic app's workflow." } }, "type": "object", "required": [ "id", - "logicAppResourceId", + "kind", "name", "type" ] @@ -453282,6 +455520,10 @@ "outputs": { "description": "The resource proxy definition object for quantum workspace.", "properties": { + "endpointUri": { + "type": "string", + "description": "The URI of the workspace endpoint." + }, "id": { "type": "string", "description": "Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" @@ -453333,6 +455575,7 @@ }, "type": "object", "required": [ + "endpointUri", "id", "location", "name", @@ -457830,9 +460073,13 @@ ] } }, - "azure-nextgen:securityinsights/v20190101preview:getAlertRule": { + "azure-nextgen:securityinsights/v20190101preview:getAction": { "inputs": { "properties": { + "actionId": { + "type": "string", + "description": "Action ID" + }, "operationalInsightsResourceProvider": { "type": "string", "description": "The namespace of workspaces resource provider- Microsoft.OperationalInsights." @@ -457852,6 +460099,7 @@ }, "type": "object", "required": [ + "actionId", "operationalInsightsResourceProvider", "resourceGroupName", "ruleId", @@ -457859,19 +460107,19 @@ ] }, "outputs": { - "description": "Alert rule.", + "description": "Action for alert rule.", "properties": { "etag": { "type": "string", - "description": "Etag of the azure resource" + "description": "Etag of the action." }, "id": { "type": "string", "description": "Azure resource Id" }, - "kind": { + "logicAppResourceId": { "type": "string", - "description": "The kind of the alert rule" + "description": "Logic App Resource Id, /subscriptions/{my-subscription}/resourceGroups/{my-resource-group}/providers/Microsoft.Logic/workflows/{my-workflow-id}." }, "name": { "type": "string", @@ -457880,24 +460128,23 @@ "type": { "type": "string", "description": "Azure resource type" + }, + "workflowId": { + "type": "string", + "description": "The name of the logic app's workflow." } }, "type": "object", "required": [ "id", - "kind", "name", "type" ] } }, - "azure-nextgen:securityinsights/v20190101preview:getAlertRuleAction": { + "azure-nextgen:securityinsights/v20190101preview:getAlertRule": { "inputs": { "properties": { - "actionId": { - "type": "string", - "description": "Action ID" - }, "operationalInsightsResourceProvider": { "type": "string", "description": "The namespace of workspaces resource provider- Microsoft.OperationalInsights." @@ -457917,7 +460164,6 @@ }, "type": "object", "required": [ - "actionId", "operationalInsightsResourceProvider", "resourceGroupName", "ruleId", @@ -457925,19 +460171,19 @@ ] }, "outputs": { - "description": "Action for alert rule.", + "description": "Alert rule.", "properties": { "etag": { "type": "string", - "description": "Etag of the action." + "description": "Etag of the azure resource" }, "id": { "type": "string", "description": "Azure resource Id" }, - "logicAppResourceId": { + "kind": { "type": "string", - "description": "Logic App Resource Id, /subscriptions/{my-subscription}/resourceGroups/{my-resource-group}/providers/Microsoft.Logic/workflows/{my-workflow-id}." + "description": "The kind of the alert rule" }, "name": { "type": "string", @@ -457946,15 +460192,12 @@ "type": { "type": "string", "description": "Azure resource type" - }, - "workflowId": { - "type": "string", - "description": "The name of the logic app's workflow." } }, "type": "object", "required": [ "id", + "kind", "name", "type" ] @@ -480353,6 +482596,9 @@ "domainregistration/latest": "DomainRegistration.Latest", "dynamicstelemetry": "DynamicsTelemetry", "dynamicstelemetry/latest": "DynamicsTelemetry.Latest", + "edgeorder": "EdgeOrder", + "edgeorder/latest": "EdgeOrder.Latest", + "edgeorder/v20201201preview": "EdgeOrder.V20201201Preview", "engagementfabric": "EngagementFabric", "engagementfabric/latest": "EngagementFabric.Latest", "engagementfabric/v20180901preview": "EngagementFabric.V20180901Preview", @@ -480468,7 +482714,6 @@ "migrate/v20191001preview": "Migrate.V20191001Preview", "mixedreality": "MixedReality", "mixedreality/latest": "MixedReality.Latest", - "mixedreality/v20200406preview": "MixedReality.V20200406Preview", "netapp": "NetApp", "netapp/latest": "NetApp.Latest", "network": "Network", @@ -480731,6 +482976,8 @@ "github.com/pulumi/pulumi-azure-nextgen/sdk/go/azure/documentdb/v20200601preview": "documentdb", "github.com/pulumi/pulumi-azure-nextgen/sdk/go/azure/domainregistration/latest": "domainregistration", "github.com/pulumi/pulumi-azure-nextgen/sdk/go/azure/dynamicstelemetry/latest": "dynamicstelemetry", + "github.com/pulumi/pulumi-azure-nextgen/sdk/go/azure/edgeorder/latest": "edgeorder", + "github.com/pulumi/pulumi-azure-nextgen/sdk/go/azure/edgeorder/v20201201preview": "edgeorder", "github.com/pulumi/pulumi-azure-nextgen/sdk/go/azure/engagementfabric/latest": "engagementfabric", "github.com/pulumi/pulumi-azure-nextgen/sdk/go/azure/engagementfabric/v20180901preview": "engagementfabric", "github.com/pulumi/pulumi-azure-nextgen/sdk/go/azure/enterpriseknowledgegraph/latest": "enterpriseknowledgegraph", @@ -480805,7 +483052,6 @@ "github.com/pulumi/pulumi-azure-nextgen/sdk/go/azure/migrate/v20180901preview": "migrate", "github.com/pulumi/pulumi-azure-nextgen/sdk/go/azure/migrate/v20191001preview": "migrate", "github.com/pulumi/pulumi-azure-nextgen/sdk/go/azure/mixedreality/latest": "mixedreality", - "github.com/pulumi/pulumi-azure-nextgen/sdk/go/azure/mixedreality/v20200406preview": "mixedreality", "github.com/pulumi/pulumi-azure-nextgen/sdk/go/azure/netapp/latest": "netapp", "github.com/pulumi/pulumi-azure-nextgen/sdk/go/azure/network/latest": "network", "github.com/pulumi/pulumi-azure-nextgen/sdk/go/azure/notebooks/latest": "notebooks", @@ -481015,6 +483261,8 @@ "documentdb/v20200601preview": "documentdb/v20200601preview", "domainregistration/latest": "domainregistration/latest", "dynamicstelemetry/latest": "dynamicstelemetry/latest", + "edgeorder/latest": "edgeorder/latest", + "edgeorder/v20201201preview": "edgeorder/v20201201preview", "engagementfabric/latest": "engagementfabric/latest", "engagementfabric/v20180901preview": "engagementfabric/v20180901preview", "enterpriseknowledgegraph/latest": "enterpriseknowledgegraph/latest", @@ -481089,7 +483337,6 @@ "migrate/v20180901preview": "migrate/v20180901preview", "migrate/v20191001preview": "migrate/v20191001preview", "mixedreality/latest": "mixedreality/latest", - "mixedreality/v20200406preview": "mixedreality/v20200406preview", "netapp/latest": "netapp/latest", "network/latest": "network/latest", "notebooks/latest": "notebooks/latest", diff --git a/sdk/dotnet/DesktopVirtualization/V20201110Preview/GetHostPool.cs b/sdk/dotnet/DesktopVirtualization/V20201110Preview/GetHostPool.cs index dc5c0115efb8..4926704d5e5e 100644 --- a/sdk/dotnet/DesktopVirtualization/V20201110Preview/GetHostPool.cs +++ b/sdk/dotnet/DesktopVirtualization/V20201110Preview/GetHostPool.cs @@ -104,10 +104,6 @@ public sealed class GetHostPoolResult /// public readonly string? SsoClientSecretKeyVaultPath; /// - /// Path to keyvault containing ssoContext secret. - /// - public readonly string? SsoContext; - /// /// The type of single sign on Secret Type. /// public readonly string? SsoSecretType; @@ -170,8 +166,6 @@ private GetHostPoolResult( string? ssoClientSecretKeyVaultPath, - string? ssoContext, - string? ssoSecretType, string? ssoadfsAuthority, @@ -202,7 +196,6 @@ private GetHostPoolResult( Ring = ring; SsoClientId = ssoClientId; SsoClientSecretKeyVaultPath = ssoClientSecretKeyVaultPath; - SsoContext = ssoContext; SsoSecretType = ssoSecretType; SsoadfsAuthority = ssoadfsAuthority; StartVMOnConnect = startVMOnConnect; diff --git a/sdk/dotnet/DesktopVirtualization/V20201110Preview/HostPool.cs b/sdk/dotnet/DesktopVirtualization/V20201110Preview/HostPool.cs index d34c72369a0b..bf2eb5b54939 100644 --- a/sdk/dotnet/DesktopVirtualization/V20201110Preview/HostPool.cs +++ b/sdk/dotnet/DesktopVirtualization/V20201110Preview/HostPool.cs @@ -105,12 +105,6 @@ public partial class HostPool : Pulumi.CustomResource [Output("ssoClientSecretKeyVaultPath")] public Output SsoClientSecretKeyVaultPath { get; private set; } = null!; - /// - /// Path to keyvault containing ssoContext secret. - /// - [Output("ssoContext")] - public Output SsoContext { get; private set; } = null!; - /// /// The type of single sign on Secret Type. /// @@ -297,12 +291,6 @@ public sealed class HostPoolArgs : Pulumi.ResourceArgs [Input("ssoClientSecretKeyVaultPath")] public Input? SsoClientSecretKeyVaultPath { get; set; } - /// - /// Path to keyvault containing ssoContext secret. - /// - [Input("ssoContext")] - public Input? SsoContext { get; set; } - /// /// The type of single sign on Secret Type. /// diff --git a/sdk/dotnet/DesktopVirtualization/V20201110Preview/Inputs/ScalingScheduleArgs.cs b/sdk/dotnet/DesktopVirtualization/V20201110Preview/Inputs/ScalingScheduleArgs.cs index 3e6814185e7f..687940d07791 100644 --- a/sdk/dotnet/DesktopVirtualization/V20201110Preview/Inputs/ScalingScheduleArgs.cs +++ b/sdk/dotnet/DesktopVirtualization/V20201110Preview/Inputs/ScalingScheduleArgs.cs @@ -87,12 +87,6 @@ public InputList DaysOfWeek [Input("rampDownNotificationMessage")] public Input? RampDownNotificationMessage { get; set; } - /// - /// Number of minutes to wait to stop hosts during ramp down period. - /// - [Input("rampDownNotificationMinutes")] - public Input? RampDownNotificationMinutes { get; set; } - /// /// Starting time for ramp down period. /// @@ -106,10 +100,10 @@ public InputList DaysOfWeek public InputUnion? RampDownStopHostsWhen { get; set; } /// - /// Load balancing algorithm for ramp up period. + /// Number of minutes to wait to stop hosts during ramp down period. /// - [Input("rampUpAlgorithm")] - public InputUnion? RampUpAlgorithm { get; set; } + [Input("rampDownWaitTimeMinutes")] + public Input? RampDownWaitTimeMinutes { get; set; } /// /// Capacity threshold for ramp up period. @@ -117,11 +111,17 @@ public InputList DaysOfWeek [Input("rampUpCapacityThresholdPct")] public Input? RampUpCapacityThresholdPct { get; set; } + /// + /// Load balancing algorithm for ramp up period. + /// + [Input("rampUpLoadBalancingAlgorithm")] + public InputUnion? RampUpLoadBalancingAlgorithm { get; set; } + /// /// Minimum host percentage for ramp up period. /// - [Input("rampUpMinimumHostPct")] - public Input? RampUpMinimumHostPct { get; set; } + [Input("rampUpMinimumHostsPct")] + public Input? RampUpMinimumHostsPct { get; set; } /// /// Starting time for ramp up period. diff --git a/sdk/dotnet/DesktopVirtualization/V20201110Preview/Outputs/ScalingScheduleResponse.cs b/sdk/dotnet/DesktopVirtualization/V20201110Preview/Outputs/ScalingScheduleResponse.cs index 6e554bcd85b2..490c51ca8edb 100644 --- a/sdk/dotnet/DesktopVirtualization/V20201110Preview/Outputs/ScalingScheduleResponse.cs +++ b/sdk/dotnet/DesktopVirtualization/V20201110Preview/Outputs/ScalingScheduleResponse.cs @@ -58,10 +58,6 @@ public sealed class ScalingScheduleResponse /// public readonly string? RampDownNotificationMessage; /// - /// Number of minutes to wait to stop hosts during ramp down period. - /// - public readonly int? RampDownNotificationMinutes; - /// /// Starting time for ramp down period. /// public readonly string? RampDownStartTime; @@ -70,17 +66,21 @@ public sealed class ScalingScheduleResponse /// public readonly string? RampDownStopHostsWhen; /// - /// Load balancing algorithm for ramp up period. + /// Number of minutes to wait to stop hosts during ramp down period. /// - public readonly string? RampUpAlgorithm; + public readonly int? RampDownWaitTimeMinutes; /// /// Capacity threshold for ramp up period. /// public readonly int? RampUpCapacityThresholdPct; /// + /// Load balancing algorithm for ramp up period. + /// + public readonly string? RampUpLoadBalancingAlgorithm; + /// /// Minimum host percentage for ramp up period. /// - public readonly int? RampUpMinimumHostPct; + public readonly int? RampUpMinimumHostsPct; /// /// Starting time for ramp up period. /// @@ -110,17 +110,17 @@ private ScalingScheduleResponse( string? rampDownNotificationMessage, - int? rampDownNotificationMinutes, - string? rampDownStartTime, string? rampDownStopHostsWhen, - string? rampUpAlgorithm, + int? rampDownWaitTimeMinutes, int? rampUpCapacityThresholdPct, - int? rampUpMinimumHostPct, + string? rampUpLoadBalancingAlgorithm, + + int? rampUpMinimumHostsPct, string? rampUpStartTime) { @@ -135,12 +135,12 @@ private ScalingScheduleResponse( RampDownLoadBalancingAlgorithm = rampDownLoadBalancingAlgorithm; RampDownMinimumHostsPct = rampDownMinimumHostsPct; RampDownNotificationMessage = rampDownNotificationMessage; - RampDownNotificationMinutes = rampDownNotificationMinutes; RampDownStartTime = rampDownStartTime; RampDownStopHostsWhen = rampDownStopHostsWhen; - RampUpAlgorithm = rampUpAlgorithm; + RampDownWaitTimeMinutes = rampDownWaitTimeMinutes; RampUpCapacityThresholdPct = rampUpCapacityThresholdPct; - RampUpMinimumHostPct = rampUpMinimumHostPct; + RampUpLoadBalancingAlgorithm = rampUpLoadBalancingAlgorithm; + RampUpMinimumHostsPct = rampUpMinimumHostsPct; RampUpStartTime = rampUpStartTime; } } diff --git a/sdk/dotnet/EdgeOrder/README.md b/sdk/dotnet/EdgeOrder/README.md new file mode 100644 index 000000000000..bd9c57f78375 --- /dev/null +++ b/sdk/dotnet/EdgeOrder/README.md @@ -0,0 +1 @@ +A Next Generation Pulumi package for creating and managing Azure resources. diff --git a/sdk/dotnet/EdgeOrder/V20201201Preview/AddressByName.cs b/sdk/dotnet/EdgeOrder/V20201201Preview/AddressByName.cs new file mode 100644 index 000000000000..f0be00a23d64 --- /dev/null +++ b/sdk/dotnet/EdgeOrder/V20201201Preview/AddressByName.cs @@ -0,0 +1,151 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.EdgeOrder.V20201201Preview +{ + /// + /// Address Resource. + /// + [AzureNextGenResourceType("azure-nextgen:edgeorder/v20201201preview:AddressByName")] + public partial class AddressByName : Pulumi.CustomResource + { + /// + /// Contact details for the address + /// + [Output("contactDetails")] + public Output ContactDetails { 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!; + + /// + /// Shipping details for the address + /// + [Output("shippingAddress")] + public Output ShippingAddress { get; private set; } = null!; + + /// + /// Represents resource creation and update time + /// + [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 AddressByName 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 AddressByName(string name, AddressByNameArgs args, CustomResourceOptions? options = null) + : base("azure-nextgen:edgeorder/v20201201preview:AddressByName", name, args ?? new AddressByNameArgs(), MakeResourceOptions(options, "")) + { + } + + private AddressByName(string name, Input id, CustomResourceOptions? options = null) + : base("azure-nextgen:edgeorder/v20201201preview:AddressByName", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + }; + 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 AddressByName 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 AddressByName Get(string name, Input id, CustomResourceOptions? options = null) + { + return new AddressByName(name, id, options); + } + } + + public sealed class AddressByNameArgs : Pulumi.ResourceArgs + { + /// + /// The name of the address Resource within the specified resource group. address names must be between 3 and 24 characters in length and use any alphanumeric and underscore only + /// + [Input("addressName", required: true)] + public Input AddressName { get; set; } = null!; + + /// + /// Contact details for the address + /// + [Input("contactDetails", required: true)] + public Input ContactDetails { get; set; } = null!; + + /// + /// The geo-location where the resource lives + /// + [Input("location", required: true)] + public Input Location { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// Shipping details for the address + /// + [Input("shippingAddress")] + public Input? ShippingAddress { get; set; } + + [Input("tags")] + private InputMap? _tags; + + /// + /// Resource tags. + /// + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + + public AddressByNameArgs() + { + } + } +} diff --git a/sdk/dotnet/EdgeOrder/V20201201Preview/Enums.cs b/sdk/dotnet/EdgeOrder/V20201201Preview/Enums.cs new file mode 100644 index 000000000000..eaaf1bdeccc0 --- /dev/null +++ b/sdk/dotnet/EdgeOrder/V20201201Preview/Enums.cs @@ -0,0 +1,210 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.ComponentModel; +using Pulumi; + +namespace Pulumi.AzureNextGen.EdgeOrder.V20201201Preview +{ + /// + /// Type of address. + /// + [EnumType] + public readonly struct AddressType : IEquatable + { + private readonly string _value; + + private AddressType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// Address type not known. + /// + public static AddressType None { get; } = new AddressType("None"); + /// + /// Residential Address. + /// + public static AddressType Residential { get; } = new AddressType("Residential"); + /// + /// Commercial Address. + /// + public static AddressType Commercial { get; } = new AddressType("Commercial"); + + public static bool operator ==(AddressType left, AddressType right) => left.Equals(right); + public static bool operator !=(AddressType left, AddressType right) => !left.Equals(right); + + public static explicit operator string(AddressType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is AddressType other && Equals(other); + public bool Equals(AddressType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Name of the stage. + /// + [EnumType] + public readonly struct NotificationStageName : IEquatable + { + private readonly string _value; + + private NotificationStageName(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// Notification at device prepared stage. + /// + public static NotificationStageName DevicePrepared { get; } = new NotificationStageName("DevicePrepared"); + /// + /// Notification at device dispatched stage. + /// + public static NotificationStageName Dispatched { get; } = new NotificationStageName("Dispatched"); + /// + /// Notification at device delivered stage. + /// + public static NotificationStageName Delivered { get; } = new NotificationStageName("Delivered"); + /// + /// Notification at device picked up from user stage. + /// + public static NotificationStageName PickedUp { get; } = new NotificationStageName("PickedUp"); + /// + /// Notification at device received at Azure datacenter stage. + /// + public static NotificationStageName AtAzureDC { get; } = new NotificationStageName("AtAzureDC"); + /// + /// Notification at data copy started stage. + /// + public static NotificationStageName DataCopy { get; } = new NotificationStageName("DataCopy"); + + public static bool operator ==(NotificationStageName left, NotificationStageName right) => left.Equals(right); + public static bool operator !=(NotificationStageName left, NotificationStageName right) => !left.Equals(right); + + public static explicit operator string(NotificationStageName value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is NotificationStageName other && Equals(other); + public bool Equals(NotificationStageName other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Order type. + /// + [EnumType] + public readonly struct OrderType : IEquatable + { + private readonly string _value; + + private OrderType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// Purchase Order. + /// + public static OrderType Purchase { get; } = new OrderType("Purchase"); + /// + /// Rental Order. + /// + public static OrderType Rental { get; } = new OrderType("Rental"); + + public static bool operator ==(OrderType left, OrderType right) => left.Equals(right); + public static bool operator !=(OrderType left, OrderType right) => !left.Equals(right); + + public static explicit operator string(OrderType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is OrderType other && Equals(other); + public bool Equals(OrderType 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 product filter. + /// + [EnumType] + public readonly struct SupportedFilterTypes : IEquatable + { + private readonly string _value; + + private SupportedFilterTypes(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// Ship to country + /// + public static SupportedFilterTypes ShipToCountries { get; } = new SupportedFilterTypes("ShipToCountries"); + + public static bool operator ==(SupportedFilterTypes left, SupportedFilterTypes right) => left.Equals(right); + public static bool operator !=(SupportedFilterTypes left, SupportedFilterTypes right) => !left.Equals(right); + + public static explicit operator string(SupportedFilterTypes value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is SupportedFilterTypes other && Equals(other); + public bool Equals(SupportedFilterTypes other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Indicates Shipment Logistics type that the customer preferred. + /// + [EnumType] + public readonly struct TransportShipmentTypes : IEquatable + { + private readonly string _value; + + private TransportShipmentTypes(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// Shipment Logistics is handled by the customer. + /// + public static TransportShipmentTypes CustomerManaged { get; } = new TransportShipmentTypes("CustomerManaged"); + /// + /// Shipment Logistics is handled by Microsoft. + /// + public static TransportShipmentTypes MicrosoftManaged { get; } = new TransportShipmentTypes("MicrosoftManaged"); + + public static bool operator ==(TransportShipmentTypes left, TransportShipmentTypes right) => left.Equals(right); + public static bool operator !=(TransportShipmentTypes left, TransportShipmentTypes right) => !left.Equals(right); + + public static explicit operator string(TransportShipmentTypes value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is TransportShipmentTypes other && Equals(other); + public bool Equals(TransportShipmentTypes 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/EdgeOrder/V20201201Preview/GetAddressByName.cs b/sdk/dotnet/EdgeOrder/V20201201Preview/GetAddressByName.cs new file mode 100644 index 000000000000..4a805694e75c --- /dev/null +++ b/sdk/dotnet/EdgeOrder/V20201201Preview/GetAddressByName.cs @@ -0,0 +1,103 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.EdgeOrder.V20201201Preview +{ + public static class GetAddressByName + { + public static Task InvokeAsync(GetAddressByNameArgs args, InvokeOptions? options = null) + => Pulumi.Deployment.Instance.InvokeAsync("azure-nextgen:edgeorder/v20201201preview:getAddressByName", args ?? new GetAddressByNameArgs(), options.WithVersion()); + } + + + public sealed class GetAddressByNameArgs : Pulumi.InvokeArgs + { + /// + /// The name of the address Resource within the specified resource group. address names must be between 3 and 24 characters in length and use any alphanumeric and underscore only + /// + [Input("addressName", required: true)] + public string AddressName { 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 GetAddressByNameArgs() + { + } + } + + + [OutputType] + public sealed class GetAddressByNameResult + { + /// + /// Contact details for the address + /// + public readonly Outputs.ContactDetailsResponse ContactDetails; + /// + /// Fully qualified resource ID for the resource. Ex - /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; + /// + /// Shipping details for the address + /// + public readonly Outputs.ShippingAddressResponse? ShippingAddress; + /// + /// Represents resource creation and update time + /// + 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 GetAddressByNameResult( + Outputs.ContactDetailsResponse contactDetails, + + string id, + + string location, + + string name, + + Outputs.ShippingAddressResponse? shippingAddress, + + Outputs.SystemDataResponse systemData, + + ImmutableDictionary? tags, + + string type) + { + ContactDetails = contactDetails; + Id = id; + Location = location; + Name = name; + ShippingAddress = shippingAddress; + SystemData = systemData; + Tags = tags; + Type = type; + } + } +} diff --git a/sdk/dotnet/EdgeOrder/V20201201Preview/GetOrderByName.cs b/sdk/dotnet/EdgeOrder/V20201201Preview/GetOrderByName.cs new file mode 100644 index 000000000000..bc1c4679446f --- /dev/null +++ b/sdk/dotnet/EdgeOrder/V20201201Preview/GetOrderByName.cs @@ -0,0 +1,117 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.EdgeOrder.V20201201Preview +{ + public static class GetOrderByName + { + public static Task InvokeAsync(GetOrderByNameArgs args, InvokeOptions? options = null) + => Pulumi.Deployment.Instance.InvokeAsync("azure-nextgen:edgeorder/v20201201preview:getOrderByName", args ?? new GetOrderByNameArgs(), options.WithVersion()); + } + + + public sealed class GetOrderByNameArgs : Pulumi.InvokeArgs + { + /// + /// The name of the order + /// + [Input("orderName", required: true)] + public string OrderName { 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 GetOrderByNameArgs() + { + } + } + + + [OutputType] + public sealed class GetOrderByNameResult + { + /// + /// Represents shipping and return address for order + /// + public readonly Outputs.AddressDetailsResponse AddressDetails; + /// + /// Fully qualified resource ID for the resource. Ex - /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; + /// + /// Id of the order collection to which order belongs to + /// + public readonly string OrderCollectionId; + /// + /// Represents order details. + /// + public readonly Outputs.OrderDetailsResponse OrderDetails; + /// + /// Start time of order + /// + public readonly string StartTime; + /// + /// Represents resource creation and update time + /// + 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 GetOrderByNameResult( + Outputs.AddressDetailsResponse addressDetails, + + string id, + + string location, + + string name, + + string orderCollectionId, + + Outputs.OrderDetailsResponse orderDetails, + + string startTime, + + Outputs.SystemDataResponse systemData, + + ImmutableDictionary? tags, + + string type) + { + AddressDetails = addressDetails; + Id = id; + Location = location; + Name = name; + OrderCollectionId = orderCollectionId; + OrderDetails = orderDetails; + StartTime = startTime; + SystemData = systemData; + Tags = tags; + Type = type; + } + } +} diff --git a/sdk/dotnet/EdgeOrder/V20201201Preview/GetOrderCollectionByName.cs b/sdk/dotnet/EdgeOrder/V20201201Preview/GetOrderCollectionByName.cs new file mode 100644 index 000000000000..ed6cbc99b16d --- /dev/null +++ b/sdk/dotnet/EdgeOrder/V20201201Preview/GetOrderCollectionByName.cs @@ -0,0 +1,96 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.EdgeOrder.V20201201Preview +{ + public static class GetOrderCollectionByName + { + public static Task InvokeAsync(GetOrderCollectionByNameArgs args, InvokeOptions? options = null) + => Pulumi.Deployment.Instance.InvokeAsync("azure-nextgen:edgeorder/v20201201preview:getOrderCollectionByName", args ?? new GetOrderCollectionByNameArgs(), options.WithVersion()); + } + + + public sealed class GetOrderCollectionByNameArgs : Pulumi.InvokeArgs + { + /// + /// The name of the order collection + /// + [Input("orderCollectionName", required: true)] + public string OrderCollectionName { 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 GetOrderCollectionByNameArgs() + { + } + } + + + [OutputType] + public sealed class GetOrderCollectionByNameResult + { + /// + /// Fully qualified resource ID for the resource. Ex - /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; + /// + /// List of order ARM Ids which are part of an order collection. + /// + public readonly ImmutableArray OrderIds; + /// + /// Represents resource creation and update time + /// + 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 GetOrderCollectionByNameResult( + string id, + + string location, + + string name, + + ImmutableArray orderIds, + + Outputs.SystemDataResponse systemData, + + ImmutableDictionary? tags, + + string type) + { + Id = id; + Location = location; + Name = name; + OrderIds = orderIds; + SystemData = systemData; + Tags = tags; + Type = type; + } + } +} diff --git a/sdk/dotnet/EdgeOrder/V20201201Preview/Inputs/AddressDetailsArgs.cs b/sdk/dotnet/EdgeOrder/V20201201Preview/Inputs/AddressDetailsArgs.cs new file mode 100644 index 000000000000..703813b8a0c6 --- /dev/null +++ b/sdk/dotnet/EdgeOrder/V20201201Preview/Inputs/AddressDetailsArgs.cs @@ -0,0 +1,28 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.EdgeOrder.V20201201Preview.Inputs +{ + + /// + /// Address details for an order. + /// + public sealed class AddressDetailsArgs : Pulumi.ResourceArgs + { + /// + /// Customer address and contact details. It should be address resource + /// + [Input("shippingAddress", required: true)] + public Input ShippingAddress { get; set; } = null!; + + public AddressDetailsArgs() + { + } + } +} diff --git a/sdk/dotnet/EdgeOrder/V20201201Preview/Inputs/AddressPropertiesArgs.cs b/sdk/dotnet/EdgeOrder/V20201201Preview/Inputs/AddressPropertiesArgs.cs new file mode 100644 index 000000000000..14e46b23752c --- /dev/null +++ b/sdk/dotnet/EdgeOrder/V20201201Preview/Inputs/AddressPropertiesArgs.cs @@ -0,0 +1,34 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.EdgeOrder.V20201201Preview.Inputs +{ + + /// + /// Address Properties + /// + public sealed class AddressPropertiesArgs : Pulumi.ResourceArgs + { + /// + /// Contact details for the address + /// + [Input("contactDetails", required: true)] + public Input ContactDetails { get; set; } = null!; + + /// + /// Shipping details for the address + /// + [Input("shippingAddress")] + public Input? ShippingAddress { get; set; } + + public AddressPropertiesArgs() + { + } + } +} diff --git a/sdk/dotnet/EdgeOrder/V20201201Preview/Inputs/ConfigurationFiltersArgs.cs b/sdk/dotnet/EdgeOrder/V20201201Preview/Inputs/ConfigurationFiltersArgs.cs new file mode 100644 index 000000000000..f7f6d765c371 --- /dev/null +++ b/sdk/dotnet/EdgeOrder/V20201201Preview/Inputs/ConfigurationFiltersArgs.cs @@ -0,0 +1,34 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.EdgeOrder.V20201201Preview.Inputs +{ + + /// + /// Configuration filters + /// + public sealed class ConfigurationFiltersArgs : Pulumi.InvokeArgs + { + /// + /// Filters specific to product + /// + [Input("filterableProperty")] + public Inputs.FilterablePropertyArgs? FilterableProperty { get; set; } + + /// + /// Product hierarchy information + /// + [Input("hierarchyInformation")] + public Inputs.HierarchyInformationArgs? HierarchyInformation { get; set; } + + public ConfigurationFiltersArgs() + { + } + } +} diff --git a/sdk/dotnet/EdgeOrder/V20201201Preview/Inputs/ContactDetailsArgs.cs b/sdk/dotnet/EdgeOrder/V20201201Preview/Inputs/ContactDetailsArgs.cs new file mode 100644 index 000000000000..3fb0c5f4c51e --- /dev/null +++ b/sdk/dotnet/EdgeOrder/V20201201Preview/Inputs/ContactDetailsArgs.cs @@ -0,0 +1,46 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.EdgeOrder.V20201201Preview.Inputs +{ + + /// + /// Contact Details. + /// + public sealed class ContactDetailsArgs : Pulumi.ResourceArgs + { + /// + /// Contact name of the person. + /// + [Input("contactName", required: true)] + public Input ContactName { get; set; } = null!; + + /// + /// Mobile number of the contact person. + /// + [Input("mobile")] + public Input? Mobile { get; set; } + + /// + /// Phone number of the contact person. + /// + [Input("phone", required: true)] + public Input Phone { get; set; } = null!; + + /// + /// Phone extension number of the contact person. + /// + [Input("phoneExtension")] + public Input? PhoneExtension { get; set; } + + public ContactDetailsArgs() + { + } + } +} diff --git a/sdk/dotnet/EdgeOrder/V20201201Preview/Inputs/CustomerSubscriptionDetailsArgs.cs b/sdk/dotnet/EdgeOrder/V20201201Preview/Inputs/CustomerSubscriptionDetailsArgs.cs new file mode 100644 index 000000000000..b8e4f11c5fd6 --- /dev/null +++ b/sdk/dotnet/EdgeOrder/V20201201Preview/Inputs/CustomerSubscriptionDetailsArgs.cs @@ -0,0 +1,43 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.EdgeOrder.V20201201Preview.Inputs +{ + + public sealed class CustomerSubscriptionDetailsArgs : Pulumi.InvokeArgs + { + /// + /// Location placement Id of a subscription + /// + [Input("locationPlacementId")] + public string? LocationPlacementId { get; set; } + + /// + /// Quota ID of a subscription + /// + [Input("quotaId", required: true)] + public string QuotaId { get; set; } = null!; + + [Input("registeredFeatures")] + private List? _registeredFeatures; + + /// + /// List of registered feature flags for subscription + /// + public List RegisteredFeatures + { + get => _registeredFeatures ?? (_registeredFeatures = new List()); + set => _registeredFeatures = value; + } + + public CustomerSubscriptionDetailsArgs() + { + } + } +} diff --git a/sdk/dotnet/EdgeOrder/V20201201Preview/Inputs/CustomerSubscriptionRegisteredFeaturesArgs.cs b/sdk/dotnet/EdgeOrder/V20201201Preview/Inputs/CustomerSubscriptionRegisteredFeaturesArgs.cs new file mode 100644 index 000000000000..36b20262bb66 --- /dev/null +++ b/sdk/dotnet/EdgeOrder/V20201201Preview/Inputs/CustomerSubscriptionRegisteredFeaturesArgs.cs @@ -0,0 +1,31 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.EdgeOrder.V20201201Preview.Inputs +{ + + public sealed class CustomerSubscriptionRegisteredFeaturesArgs : Pulumi.InvokeArgs + { + /// + /// Name of subscription registered feature + /// + [Input("name")] + public string? Name { get; set; } + + /// + /// State of subscription registered feature + /// + [Input("state")] + public string? State { get; set; } + + public CustomerSubscriptionRegisteredFeaturesArgs() + { + } + } +} diff --git a/sdk/dotnet/EdgeOrder/V20201201Preview/Inputs/FilterablePropertyArgs.cs b/sdk/dotnet/EdgeOrder/V20201201Preview/Inputs/FilterablePropertyArgs.cs new file mode 100644 index 000000000000..e780985c3cbd --- /dev/null +++ b/sdk/dotnet/EdgeOrder/V20201201Preview/Inputs/FilterablePropertyArgs.cs @@ -0,0 +1,40 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.EdgeOrder.V20201201Preview.Inputs +{ + + /// + /// Class defining the list of filter values on a filter type as part of configuration request. + /// + public sealed class FilterablePropertyArgs : Pulumi.InvokeArgs + { + [Input("supportedValues")] + private List? _supportedValues; + + /// + /// Values to be filtered. + /// + public List SupportedValues + { + get => _supportedValues ?? (_supportedValues = new List()); + set => _supportedValues = value; + } + + /// + /// Type of product filter. + /// + [Input("type", required: true)] + public Union Type { get; set; } = null!; + + public FilterablePropertyArgs() + { + } + } +} diff --git a/sdk/dotnet/EdgeOrder/V20201201Preview/Inputs/HierarchyInformationArgs.cs b/sdk/dotnet/EdgeOrder/V20201201Preview/Inputs/HierarchyInformationArgs.cs new file mode 100644 index 000000000000..4b4bd2351e38 --- /dev/null +++ b/sdk/dotnet/EdgeOrder/V20201201Preview/Inputs/HierarchyInformationArgs.cs @@ -0,0 +1,46 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.EdgeOrder.V20201201Preview.Inputs +{ + + /// + /// Holds details about product hierarchy information + /// + public sealed class HierarchyInformationArgs : Pulumi.ResourceArgs + { + /// + /// Represents configuration name that uniquely identifies configuration + /// + [Input("configurationName")] + public Input? ConfigurationName { get; set; } + + /// + /// Represents product family name that uniquely identifies product family + /// + [Input("productFamilyName")] + public Input? ProductFamilyName { get; set; } + + /// + /// Represents product line name that uniquely identifies product line + /// + [Input("productLineName")] + public Input? ProductLineName { get; set; } + + /// + /// Represents product name that uniquely identifies product + /// + [Input("productName")] + public Input? ProductName { get; set; } + + public HierarchyInformationArgs() + { + } + } +} diff --git a/sdk/dotnet/EdgeOrder/V20201201Preview/Inputs/NotificationPreferenceArgs.cs b/sdk/dotnet/EdgeOrder/V20201201Preview/Inputs/NotificationPreferenceArgs.cs new file mode 100644 index 000000000000..8c09d96a48ce --- /dev/null +++ b/sdk/dotnet/EdgeOrder/V20201201Preview/Inputs/NotificationPreferenceArgs.cs @@ -0,0 +1,34 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.EdgeOrder.V20201201Preview.Inputs +{ + + /// + /// Notification preference for a job stage. + /// + public sealed class NotificationPreferenceArgs : Pulumi.ResourceArgs + { + /// + /// Notification is required or not. + /// + [Input("sendNotification", required: true)] + public Input SendNotification { get; set; } = null!; + + /// + /// Name of the stage. + /// + [Input("stageName", required: true)] + public InputUnion StageName { get; set; } = null!; + + public NotificationPreferenceArgs() + { + } + } +} diff --git a/sdk/dotnet/EdgeOrder/V20201201Preview/Inputs/OrderDetailsArgs.cs b/sdk/dotnet/EdgeOrder/V20201201Preview/Inputs/OrderDetailsArgs.cs new file mode 100644 index 000000000000..e07009217d10 --- /dev/null +++ b/sdk/dotnet/EdgeOrder/V20201201Preview/Inputs/OrderDetailsArgs.cs @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.EdgeOrder.V20201201Preview.Inputs +{ + + /// + /// Order details + /// + public sealed class OrderDetailsArgs : Pulumi.ResourceArgs + { + [Input("notificationEmailList")] + private InputList? _notificationEmailList; + + /// + /// Package Shipping details + /// + public InputList NotificationEmailList + { + get => _notificationEmailList ?? (_notificationEmailList = new InputList()); + set => _notificationEmailList = value; + } + + /// + /// Order type. + /// + [Input("orderType", required: true)] + public InputUnion OrderType { get; set; } = null!; + + /// + /// Customer notification Preferences + /// + [Input("preferences")] + public Input? Preferences { get; set; } + + /// + /// Unique identifier for configuration. + /// + [Input("productDetails", required: true)] + public Input ProductDetails { get; set; } = null!; + + public OrderDetailsArgs() + { + } + } +} diff --git a/sdk/dotnet/EdgeOrder/V20201201Preview/Inputs/PreferencesArgs.cs b/sdk/dotnet/EdgeOrder/V20201201Preview/Inputs/PreferencesArgs.cs new file mode 100644 index 000000000000..c2512dca98ef --- /dev/null +++ b/sdk/dotnet/EdgeOrder/V20201201Preview/Inputs/PreferencesArgs.cs @@ -0,0 +1,40 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.EdgeOrder.V20201201Preview.Inputs +{ + + /// + /// Preferences related to the order + /// + public sealed class PreferencesArgs : Pulumi.ResourceArgs + { + [Input("notificationPreferences")] + private InputList? _notificationPreferences; + + /// + /// Notification preferences. + /// + public InputList NotificationPreferences + { + get => _notificationPreferences ?? (_notificationPreferences = new InputList()); + set => _notificationPreferences = value; + } + + /// + /// Preferences related to the shipment logistics of the order. + /// + [Input("transportPreferences")] + public Input? TransportPreferences { get; set; } + + public PreferencesArgs() + { + } + } +} diff --git a/sdk/dotnet/EdgeOrder/V20201201Preview/Inputs/ProductDetailsArgs.cs b/sdk/dotnet/EdgeOrder/V20201201Preview/Inputs/ProductDetailsArgs.cs new file mode 100644 index 000000000000..b8e81b73c199 --- /dev/null +++ b/sdk/dotnet/EdgeOrder/V20201201Preview/Inputs/ProductDetailsArgs.cs @@ -0,0 +1,34 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.EdgeOrder.V20201201Preview.Inputs +{ + + /// + /// Represents product details + /// + public sealed class ProductDetailsArgs : Pulumi.ResourceArgs + { + /// + /// Quantity of the product + /// + [Input("count")] + public Input? Count { get; set; } + + /// + /// Hierarchy of the product which uniquely identifies the product + /// + [Input("hierarchyInformation", required: true)] + public Input HierarchyInformation { get; set; } = null!; + + public ProductDetailsArgs() + { + } + } +} diff --git a/sdk/dotnet/EdgeOrder/V20201201Preview/Inputs/ShippingAddressArgs.cs b/sdk/dotnet/EdgeOrder/V20201201Preview/Inputs/ShippingAddressArgs.cs new file mode 100644 index 000000000000..a4a419a59609 --- /dev/null +++ b/sdk/dotnet/EdgeOrder/V20201201Preview/Inputs/ShippingAddressArgs.cs @@ -0,0 +1,82 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.EdgeOrder.V20201201Preview.Inputs +{ + + /// + /// Shipping address where customer wishes to receive the device. + /// + public sealed class ShippingAddressArgs : Pulumi.ResourceArgs + { + /// + /// Type of address. + /// + [Input("addressType")] + public InputUnion? AddressType { get; set; } + + /// + /// Name of the City. + /// + [Input("city")] + public Input? City { get; set; } + + /// + /// Name of the company. + /// + [Input("companyName")] + public Input? CompanyName { get; set; } + + /// + /// Name of the Country. + /// + [Input("country", required: true)] + public Input Country { get; set; } = null!; + + /// + /// Postal code. + /// + [Input("postalCode")] + public Input? PostalCode { get; set; } + + /// + /// Name of the State or Province. + /// + [Input("stateOrProvince")] + public Input? StateOrProvince { get; set; } + + /// + /// Street Address line 1. + /// + [Input("streetAddress1", required: true)] + public Input StreetAddress1 { get; set; } = null!; + + /// + /// Street Address line 2. + /// + [Input("streetAddress2")] + public Input? StreetAddress2 { get; set; } + + /// + /// Street Address line 3. + /// + [Input("streetAddress3")] + public Input? StreetAddress3 { get; set; } + + /// + /// Extended Zip Code. + /// + [Input("zipExtendedCode")] + public Input? ZipExtendedCode { get; set; } + + public ShippingAddressArgs() + { + } + } +} diff --git a/sdk/dotnet/EdgeOrder/V20201201Preview/Inputs/TransportPreferencesArgs.cs b/sdk/dotnet/EdgeOrder/V20201201Preview/Inputs/TransportPreferencesArgs.cs new file mode 100644 index 000000000000..bc5b80cf6cca --- /dev/null +++ b/sdk/dotnet/EdgeOrder/V20201201Preview/Inputs/TransportPreferencesArgs.cs @@ -0,0 +1,28 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.EdgeOrder.V20201201Preview.Inputs +{ + + /// + /// Preferences related to the shipment logistics of the sku + /// + public sealed class TransportPreferencesArgs : Pulumi.ResourceArgs + { + /// + /// Indicates Shipment Logistics type that the customer preferred. + /// + [Input("preferredShipmentType", required: true)] + public InputUnion PreferredShipmentType { get; set; } = null!; + + public TransportPreferencesArgs() + { + } + } +} diff --git a/sdk/dotnet/EdgeOrder/V20201201Preview/ListConfigurations.cs b/sdk/dotnet/EdgeOrder/V20201201Preview/ListConfigurations.cs new file mode 100644 index 000000000000..176b5959b993 --- /dev/null +++ b/sdk/dotnet/EdgeOrder/V20201201Preview/ListConfigurations.cs @@ -0,0 +1,73 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.EdgeOrder.V20201201Preview +{ + public static class ListConfigurations + { + public static Task InvokeAsync(ListConfigurationsArgs args, InvokeOptions? options = null) + => Pulumi.Deployment.Instance.InvokeAsync("azure-nextgen:edgeorder/v20201201preview:listConfigurations", args ?? new ListConfigurationsArgs(), options.WithVersion()); + } + + + public sealed class ListConfigurationsArgs : Pulumi.InvokeArgs + { + [Input("configurationFilters", required: true)] + private List? _configurationFilters; + + /// + /// Holds details about product hierarchy information and filterable property. + /// + public List ConfigurationFilters + { + get => _configurationFilters ?? (_configurationFilters = new List()); + set => _configurationFilters = value; + } + + /// + /// Customer subscription properties. Clients can display available products to unregistered customers by explicitly passing subscription details + /// + [Input("customerSubscriptionDetails")] + public Inputs.CustomerSubscriptionDetailsArgs? CustomerSubscriptionDetails { get; set; } + + /// + /// $skipToken is supported on list of configurations, which provides the next page in the list of configurations. + /// + [Input("skipToken")] + public string? SkipToken { get; set; } + + public ListConfigurationsArgs() + { + } + } + + + [OutputType] + public sealed class ListConfigurationsResult + { + /// + /// Link for the next set of configurations. + /// + public readonly string? NextLink; + /// + /// List of configurations. + /// + public readonly ImmutableArray Value; + + [OutputConstructor] + private ListConfigurationsResult( + string? nextLink, + + ImmutableArray value) + { + NextLink = nextLink; + Value = value; + } + } +} diff --git a/sdk/dotnet/EdgeOrder/V20201201Preview/ListProductFamilies.cs b/sdk/dotnet/EdgeOrder/V20201201Preview/ListProductFamilies.cs new file mode 100644 index 000000000000..bfeef04231e3 --- /dev/null +++ b/sdk/dotnet/EdgeOrder/V20201201Preview/ListProductFamilies.cs @@ -0,0 +1,79 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.EdgeOrder.V20201201Preview +{ + public static class ListProductFamilies + { + public static Task InvokeAsync(ListProductFamiliesArgs args, InvokeOptions? options = null) + => Pulumi.Deployment.Instance.InvokeAsync("azure-nextgen:edgeorder/v20201201preview:listProductFamilies", args ?? new ListProductFamiliesArgs(), options.WithVersion()); + } + + + public sealed class ListProductFamiliesArgs : Pulumi.InvokeArgs + { + /// + /// Customer subscription properties. Clients can display available products to unregistered customers by explicitly passing subscription details + /// + [Input("customerSubscriptionDetails")] + public Inputs.CustomerSubscriptionDetailsArgs? CustomerSubscriptionDetails { get; set; } + + /// + /// $expand is supported on configurations parameter for product, which provides details on the configurations for the product. + /// + [Input("expand")] + public string? Expand { get; set; } + + [Input("filterableProperties", required: true)] + private Dictionary? _filterableProperties; + + /// + /// Dictionary of filterable properties on product family. + /// + public Dictionary FilterableProperties + { + get => _filterableProperties ?? (_filterableProperties = new Dictionary()); + set => _filterableProperties = value; + } + + /// + /// $skipToken is supported on list of product families, which provides the next page in the list of product families. + /// + [Input("skipToken")] + public string? SkipToken { get; set; } + + public ListProductFamiliesArgs() + { + } + } + + + [OutputType] + public sealed class ListProductFamiliesResult + { + /// + /// Link for the next set of product families. + /// + public readonly string? NextLink; + /// + /// List of product families. + /// + public readonly ImmutableArray Value; + + [OutputConstructor] + private ListProductFamiliesResult( + string? nextLink, + + ImmutableArray value) + { + NextLink = nextLink; + Value = value; + } + } +} diff --git a/sdk/dotnet/EdgeOrder/V20201201Preview/OrderByName.cs b/sdk/dotnet/EdgeOrder/V20201201Preview/OrderByName.cs new file mode 100644 index 000000000000..7576ff71335b --- /dev/null +++ b/sdk/dotnet/EdgeOrder/V20201201Preview/OrderByName.cs @@ -0,0 +1,163 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.EdgeOrder.V20201201Preview +{ + /// + /// Represents order contract + /// + [AzureNextGenResourceType("azure-nextgen:edgeorder/v20201201preview:OrderByName")] + public partial class OrderByName : Pulumi.CustomResource + { + /// + /// Represents shipping and return address for order + /// + [Output("addressDetails")] + public Output AddressDetails { 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!; + + /// + /// Id of the order collection to which order belongs to + /// + [Output("orderCollectionId")] + public Output OrderCollectionId { get; private set; } = null!; + + /// + /// Represents order details. + /// + [Output("orderDetails")] + public Output OrderDetails { get; private set; } = null!; + + /// + /// Start time of order + /// + [Output("startTime")] + public Output StartTime { get; private set; } = null!; + + /// + /// Represents resource creation and update time + /// + [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 OrderByName 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 OrderByName(string name, OrderByNameArgs args, CustomResourceOptions? options = null) + : base("azure-nextgen:edgeorder/v20201201preview:OrderByName", name, args ?? new OrderByNameArgs(), MakeResourceOptions(options, "")) + { + } + + private OrderByName(string name, Input id, CustomResourceOptions? options = null) + : base("azure-nextgen:edgeorder/v20201201preview:OrderByName", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + }; + 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 OrderByName 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 OrderByName Get(string name, Input id, CustomResourceOptions? options = null) + { + return new OrderByName(name, id, options); + } + } + + public sealed class OrderByNameArgs : Pulumi.ResourceArgs + { + /// + /// Represents shipping and return address for order + /// + [Input("addressDetails", required: true)] + public Input AddressDetails { get; set; } = null!; + + /// + /// The geo-location where the resource lives + /// + [Input("location", required: true)] + public Input Location { get; set; } = null!; + + /// + /// Represents order details. + /// + [Input("orderDetails", required: true)] + public Input OrderDetails { get; set; } = null!; + + /// + /// The name of the order + /// + [Input("orderName", required: true)] + public Input OrderName { 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; + } + + public OrderByNameArgs() + { + } + } +} diff --git a/sdk/dotnet/EdgeOrder/V20201201Preview/OrderCollectionByName.cs b/sdk/dotnet/EdgeOrder/V20201201Preview/OrderCollectionByName.cs new file mode 100644 index 000000000000..23fdd10bd077 --- /dev/null +++ b/sdk/dotnet/EdgeOrder/V20201201Preview/OrderCollectionByName.cs @@ -0,0 +1,145 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.EdgeOrder.V20201201Preview +{ + /// + /// Specifies the properties or parameters for an order collection. Order collection is a grouping of one or more orders. + /// + [AzureNextGenResourceType("azure-nextgen:edgeorder/v20201201preview:OrderCollectionByName")] + public partial class OrderCollectionByName : Pulumi.CustomResource + { + /// + /// 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!; + + /// + /// List of order ARM Ids which are part of an order collection. + /// + [Output("orderIds")] + public Output> OrderIds { get; private set; } = null!; + + /// + /// Represents resource creation and update time + /// + [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 OrderCollectionByName 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 OrderCollectionByName(string name, OrderCollectionByNameArgs args, CustomResourceOptions? options = null) + : base("azure-nextgen:edgeorder/v20201201preview:OrderCollectionByName", name, args ?? new OrderCollectionByNameArgs(), MakeResourceOptions(options, "")) + { + } + + private OrderCollectionByName(string name, Input id, CustomResourceOptions? options = null) + : base("azure-nextgen:edgeorder/v20201201preview:OrderCollectionByName", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + }; + 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 OrderCollectionByName 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 OrderCollectionByName Get(string name, Input id, CustomResourceOptions? options = null) + { + return new OrderCollectionByName(name, id, options); + } + } + + public sealed class OrderCollectionByNameArgs : Pulumi.ResourceArgs + { + /// + /// The geo-location where the resource lives + /// + [Input("location", required: true)] + public Input Location { get; set; } = null!; + + /// + /// The name of the order collection + /// + [Input("orderCollectionName", required: true)] + public Input OrderCollectionName { get; set; } = null!; + + [Input("orderIds", required: true)] + private InputList? _orderIds; + + /// + /// List of order ARM Ids which are part of an order collection. + /// + public InputList OrderIds + { + get => _orderIds ?? (_orderIds = new InputList()); + set => _orderIds = value; + } + + /// + /// 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 OrderCollectionByNameArgs() + { + } + } +} diff --git a/sdk/dotnet/EdgeOrder/V20201201Preview/Outputs/AdditionalErrorInfoResponse.cs b/sdk/dotnet/EdgeOrder/V20201201Preview/Outputs/AdditionalErrorInfoResponse.cs new file mode 100644 index 000000000000..237a90ec8b51 --- /dev/null +++ b/sdk/dotnet/EdgeOrder/V20201201Preview/Outputs/AdditionalErrorInfoResponse.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.EdgeOrder.V20201201Preview.Outputs +{ + + [OutputType] + public sealed class AdditionalErrorInfoResponse + { + public readonly object? Info; + public readonly string? Type; + + [OutputConstructor] + private AdditionalErrorInfoResponse( + object? info, + + string? type) + { + Info = info; + Type = type; + } + } +} diff --git a/sdk/dotnet/EdgeOrder/V20201201Preview/Outputs/AddressDetailsResponse.cs b/sdk/dotnet/EdgeOrder/V20201201Preview/Outputs/AddressDetailsResponse.cs new file mode 100644 index 000000000000..bddec30d18bd --- /dev/null +++ b/sdk/dotnet/EdgeOrder/V20201201Preview/Outputs/AddressDetailsResponse.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.EdgeOrder.V20201201Preview.Outputs +{ + + [OutputType] + public sealed class AddressDetailsResponse + { + /// + /// Return shipping address + /// + public readonly Outputs.AddressPropertiesResponse ReturnAddress; + /// + /// Customer address and contact details. It should be address resource + /// + public readonly Outputs.AddressPropertiesResponse ShippingAddress; + + [OutputConstructor] + private AddressDetailsResponse( + Outputs.AddressPropertiesResponse returnAddress, + + Outputs.AddressPropertiesResponse shippingAddress) + { + ReturnAddress = returnAddress; + ShippingAddress = shippingAddress; + } + } +} diff --git a/sdk/dotnet/EdgeOrder/V20201201Preview/Outputs/AddressPropertiesResponse.cs b/sdk/dotnet/EdgeOrder/V20201201Preview/Outputs/AddressPropertiesResponse.cs new file mode 100644 index 000000000000..4f9135859c26 --- /dev/null +++ b/sdk/dotnet/EdgeOrder/V20201201Preview/Outputs/AddressPropertiesResponse.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.EdgeOrder.V20201201Preview.Outputs +{ + + [OutputType] + public sealed class AddressPropertiesResponse + { + /// + /// Contact details for the address + /// + public readonly Outputs.ContactDetailsResponse ContactDetails; + /// + /// Shipping details for the address + /// + public readonly Outputs.ShippingAddressResponse? ShippingAddress; + + [OutputConstructor] + private AddressPropertiesResponse( + Outputs.ContactDetailsResponse contactDetails, + + Outputs.ShippingAddressResponse? shippingAddress) + { + ContactDetails = contactDetails; + ShippingAddress = shippingAddress; + } + } +} diff --git a/sdk/dotnet/EdgeOrder/V20201201Preview/Outputs/AvailabilityInformationResponseResult.cs b/sdk/dotnet/EdgeOrder/V20201201Preview/Outputs/AvailabilityInformationResponseResult.cs new file mode 100644 index 000000000000..d027314751e7 --- /dev/null +++ b/sdk/dotnet/EdgeOrder/V20201201Preview/Outputs/AvailabilityInformationResponseResult.cs @@ -0,0 +1,42 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.EdgeOrder.V20201201Preview.Outputs +{ + + [OutputType] + public sealed class AvailabilityInformationResponseResult + { + /// + /// Current availability stage of the product. Availability stage + /// + public readonly string AvailabilityStage; + /// + /// Reason why the product is disabled. + /// + public readonly string DisabledReason; + /// + /// Message for why the product is disabled. + /// + public readonly string DisabledReasonMessage; + + [OutputConstructor] + private AvailabilityInformationResponseResult( + string availabilityStage, + + string disabledReason, + + string disabledReasonMessage) + { + AvailabilityStage = availabilityStage; + DisabledReason = disabledReason; + DisabledReasonMessage = disabledReasonMessage; + } + } +} diff --git a/sdk/dotnet/EdgeOrder/V20201201Preview/Outputs/BillingModelResponseResult.cs b/sdk/dotnet/EdgeOrder/V20201201Preview/Outputs/BillingModelResponseResult.cs new file mode 100644 index 000000000000..ab58b9418c0e --- /dev/null +++ b/sdk/dotnet/EdgeOrder/V20201201Preview/Outputs/BillingModelResponseResult.cs @@ -0,0 +1,27 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.EdgeOrder.V20201201Preview.Outputs +{ + + [OutputType] + public sealed class BillingModelResponseResult + { + /// + /// String to represent the billing model + /// + public readonly string Model; + + [OutputConstructor] + private BillingModelResponseResult(string model) + { + Model = model; + } + } +} diff --git a/sdk/dotnet/EdgeOrder/V20201201Preview/Outputs/CloudErrorResponse.cs b/sdk/dotnet/EdgeOrder/V20201201Preview/Outputs/CloudErrorResponse.cs new file mode 100644 index 000000000000..d74f93a0e364 --- /dev/null +++ b/sdk/dotnet/EdgeOrder/V20201201Preview/Outputs/CloudErrorResponse.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.EdgeOrder.V20201201Preview.Outputs +{ + + [OutputType] + public sealed class CloudErrorResponse + { + public readonly ImmutableArray AdditionalInfo; + public readonly string? Code; + public readonly ImmutableArray Details; + public readonly string? Message; + public readonly string? Target; + + [OutputConstructor] + private CloudErrorResponse( + 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/EdgeOrder/V20201201Preview/Outputs/ConfigurationResponseResult.cs b/sdk/dotnet/EdgeOrder/V20201201Preview/Outputs/ConfigurationResponseResult.cs new file mode 100644 index 000000000000..38a7349f83da --- /dev/null +++ b/sdk/dotnet/EdgeOrder/V20201201Preview/Outputs/ConfigurationResponseResult.cs @@ -0,0 +1,77 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.EdgeOrder.V20201201Preview.Outputs +{ + + [OutputType] + public sealed class ConfigurationResponseResult + { + /// + /// Availability information of the product system. + /// + public readonly Outputs.AvailabilityInformationResponseResult AvailabilityInformation; + /// + /// Cost information for the product system. + /// + public readonly Outputs.CostInformationResponseResult CostInformation; + /// + /// Description related to the product system. + /// + public readonly Outputs.DescriptionResponseResult Description; + /// + /// Display Name for the product system. + /// + public readonly string DisplayName; + /// + /// list of filters supported for a product + /// + public readonly ImmutableArray FilterableProperties; + /// + /// Hierarchy information of the product system. + /// + public readonly Outputs.HierarchyInformationResponse HierarchyInformation; + /// + /// Image information for the product system. + /// + public readonly ImmutableArray ImageInformation; + /// + /// Specifications of the configuration + /// + public readonly ImmutableArray Specifications; + + [OutputConstructor] + private ConfigurationResponseResult( + Outputs.AvailabilityInformationResponseResult availabilityInformation, + + Outputs.CostInformationResponseResult costInformation, + + Outputs.DescriptionResponseResult description, + + string displayName, + + ImmutableArray filterableProperties, + + Outputs.HierarchyInformationResponse hierarchyInformation, + + ImmutableArray imageInformation, + + ImmutableArray specifications) + { + AvailabilityInformation = availabilityInformation; + CostInformation = costInformation; + Description = description; + DisplayName = displayName; + FilterableProperties = filterableProperties; + HierarchyInformation = hierarchyInformation; + ImageInformation = imageInformation; + Specifications = specifications; + } + } +} diff --git a/sdk/dotnet/EdgeOrder/V20201201Preview/Outputs/ContactDetailsResponse.cs b/sdk/dotnet/EdgeOrder/V20201201Preview/Outputs/ContactDetailsResponse.cs new file mode 100644 index 000000000000..393bce270c58 --- /dev/null +++ b/sdk/dotnet/EdgeOrder/V20201201Preview/Outputs/ContactDetailsResponse.cs @@ -0,0 +1,49 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.EdgeOrder.V20201201Preview.Outputs +{ + + [OutputType] + public sealed class ContactDetailsResponse + { + /// + /// Contact name of the person. + /// + public readonly string ContactName; + /// + /// Mobile number of the contact person. + /// + public readonly string? Mobile; + /// + /// Phone number of the contact person. + /// + public readonly string Phone; + /// + /// Phone extension number of the contact person. + /// + public readonly string? PhoneExtension; + + [OutputConstructor] + private ContactDetailsResponse( + string contactName, + + string? mobile, + + string phone, + + string? phoneExtension) + { + ContactName = contactName; + Mobile = mobile; + Phone = phone; + PhoneExtension = phoneExtension; + } + } +} diff --git a/sdk/dotnet/EdgeOrder/V20201201Preview/Outputs/CostInformationResponseResult.cs b/sdk/dotnet/EdgeOrder/V20201201Preview/Outputs/CostInformationResponseResult.cs new file mode 100644 index 000000000000..61be4e0aa6d6 --- /dev/null +++ b/sdk/dotnet/EdgeOrder/V20201201Preview/Outputs/CostInformationResponseResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.EdgeOrder.V20201201Preview.Outputs +{ + + [OutputType] + public sealed class CostInformationResponseResult + { + /// + /// Details on the various billing aspects for the product system. + /// + public readonly ImmutableArray MeterDetails; + /// + /// Primary meter i.e. basic billing type for the product system. + /// + public readonly string PrimaryMeterType; + + [OutputConstructor] + private CostInformationResponseResult( + ImmutableArray meterDetails, + + string primaryMeterType) + { + MeterDetails = meterDetails; + PrimaryMeterType = primaryMeterType; + } + } +} diff --git a/sdk/dotnet/EdgeOrder/V20201201Preview/Outputs/DescriptionResponseResult.cs b/sdk/dotnet/EdgeOrder/V20201201Preview/Outputs/DescriptionResponseResult.cs new file mode 100644 index 000000000000..6b80aa0f50c1 --- /dev/null +++ b/sdk/dotnet/EdgeOrder/V20201201Preview/Outputs/DescriptionResponseResult.cs @@ -0,0 +1,63 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.EdgeOrder.V20201201Preview.Outputs +{ + + [OutputType] + public sealed class DescriptionResponseResult + { + /// + /// Attributes for the product system. + /// + public readonly ImmutableArray Attributes; + /// + /// Type of description. + /// + public readonly string DescriptionType; + /// + /// Keywords for the product system. + /// + public readonly ImmutableArray Keywords; + /// + /// Links for the product system. + /// + public readonly ImmutableArray Links; + /// + /// Long description of the product system. + /// + public readonly string LongDescription; + /// + /// Short description of the product system. + /// + public readonly string ShortDescription; + + [OutputConstructor] + private DescriptionResponseResult( + ImmutableArray attributes, + + string descriptionType, + + ImmutableArray keywords, + + ImmutableArray links, + + string longDescription, + + string shortDescription) + { + Attributes = attributes; + DescriptionType = descriptionType; + Keywords = keywords; + Links = links; + LongDescription = longDescription; + ShortDescription = shortDescription; + } + } +} diff --git a/sdk/dotnet/EdgeOrder/V20201201Preview/Outputs/DeviceDetailsResponse.cs b/sdk/dotnet/EdgeOrder/V20201201Preview/Outputs/DeviceDetailsResponse.cs new file mode 100644 index 000000000000..cf0c8987ccc0 --- /dev/null +++ b/sdk/dotnet/EdgeOrder/V20201201Preview/Outputs/DeviceDetailsResponse.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.EdgeOrder.V20201201Preview.Outputs +{ + + [OutputType] + public sealed class DeviceDetailsResponse + { + /// + /// Package Shipping details + /// + public readonly ImmutableArray DeviceHistory; + /// + /// device serial number + /// + public readonly string SerialNumber; + + [OutputConstructor] + private DeviceDetailsResponse( + ImmutableArray deviceHistory, + + string serialNumber) + { + DeviceHistory = deviceHistory; + SerialNumber = serialNumber; + } + } +} diff --git a/sdk/dotnet/EdgeOrder/V20201201Preview/Outputs/FilterablePropertyResponseResult.cs b/sdk/dotnet/EdgeOrder/V20201201Preview/Outputs/FilterablePropertyResponseResult.cs new file mode 100644 index 000000000000..0b91e7c2e25c --- /dev/null +++ b/sdk/dotnet/EdgeOrder/V20201201Preview/Outputs/FilterablePropertyResponseResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.EdgeOrder.V20201201Preview.Outputs +{ + + [OutputType] + public sealed class FilterablePropertyResponseResult + { + /// + /// Values to be filtered. + /// + public readonly ImmutableArray SupportedValues; + /// + /// Type of product filter. + /// + public readonly string Type; + + [OutputConstructor] + private FilterablePropertyResponseResult( + ImmutableArray supportedValues, + + string type) + { + SupportedValues = supportedValues; + Type = type; + } + } +} diff --git a/sdk/dotnet/EdgeOrder/V20201201Preview/Outputs/HierarchyInformationResponse.cs b/sdk/dotnet/EdgeOrder/V20201201Preview/Outputs/HierarchyInformationResponse.cs new file mode 100644 index 000000000000..7b00551ae750 --- /dev/null +++ b/sdk/dotnet/EdgeOrder/V20201201Preview/Outputs/HierarchyInformationResponse.cs @@ -0,0 +1,49 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.EdgeOrder.V20201201Preview.Outputs +{ + + [OutputType] + public sealed class HierarchyInformationResponse + { + /// + /// Represents configuration name that uniquely identifies configuration + /// + public readonly string? ConfigurationName; + /// + /// Represents product family name that uniquely identifies product family + /// + public readonly string? ProductFamilyName; + /// + /// Represents product line name that uniquely identifies product line + /// + public readonly string? ProductLineName; + /// + /// Represents product name that uniquely identifies product + /// + public readonly string? ProductName; + + [OutputConstructor] + private HierarchyInformationResponse( + string? configurationName, + + string? productFamilyName, + + string? productLineName, + + string? productName) + { + ConfigurationName = configurationName; + ProductFamilyName = productFamilyName; + ProductLineName = productLineName; + ProductName = productName; + } + } +} diff --git a/sdk/dotnet/EdgeOrder/V20201201Preview/Outputs/ImageInformationResponseResult.cs b/sdk/dotnet/EdgeOrder/V20201201Preview/Outputs/ImageInformationResponseResult.cs new file mode 100644 index 000000000000..5326dadd2e34 --- /dev/null +++ b/sdk/dotnet/EdgeOrder/V20201201Preview/Outputs/ImageInformationResponseResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.EdgeOrder.V20201201Preview.Outputs +{ + + [OutputType] + public sealed class ImageInformationResponseResult + { + /// + /// Type of the image + /// + public readonly string ImageType; + /// + /// Url of the image + /// + public readonly string ImageUrl; + + [OutputConstructor] + private ImageInformationResponseResult( + string imageType, + + string imageUrl) + { + ImageType = imageType; + ImageUrl = imageUrl; + } + } +} diff --git a/sdk/dotnet/EdgeOrder/V20201201Preview/Outputs/LinkResponseResult.cs b/sdk/dotnet/EdgeOrder/V20201201Preview/Outputs/LinkResponseResult.cs new file mode 100644 index 000000000000..34c07eff2683 --- /dev/null +++ b/sdk/dotnet/EdgeOrder/V20201201Preview/Outputs/LinkResponseResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.EdgeOrder.V20201201Preview.Outputs +{ + + [OutputType] + public sealed class LinkResponseResult + { + /// + /// Type of link + /// + public readonly string LinkType; + /// + /// Url of the link + /// + public readonly string LinkUrl; + + [OutputConstructor] + private LinkResponseResult( + string linkType, + + string linkUrl) + { + LinkType = linkType; + LinkUrl = linkUrl; + } + } +} diff --git a/sdk/dotnet/EdgeOrder/V20201201Preview/Outputs/MeterDetailsResponseResult.cs b/sdk/dotnet/EdgeOrder/V20201201Preview/Outputs/MeterDetailsResponseResult.cs new file mode 100644 index 000000000000..44e8f9eba3e0 --- /dev/null +++ b/sdk/dotnet/EdgeOrder/V20201201Preview/Outputs/MeterDetailsResponseResult.cs @@ -0,0 +1,42 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.EdgeOrder.V20201201Preview.Outputs +{ + + [OutputType] + public sealed class MeterDetailsResponseResult + { + /// + /// Billing model to represent billing cycle, i.e. Monthly, biweekly, daily, hourly etc. + /// + public readonly Outputs.BillingModelResponseResult BillingModel; + /// + /// MeterId/ Billing Guid against which the product system will be charged + /// + public readonly string MeterId; + /// + /// Category of the billing meter. + /// + public readonly string MeterType; + + [OutputConstructor] + private MeterDetailsResponseResult( + Outputs.BillingModelResponseResult billingModel, + + string meterId, + + string meterType) + { + BillingModel = billingModel; + MeterId = meterId; + MeterType = meterType; + } + } +} diff --git a/sdk/dotnet/EdgeOrder/V20201201Preview/Outputs/NotificationPreferenceResponse.cs b/sdk/dotnet/EdgeOrder/V20201201Preview/Outputs/NotificationPreferenceResponse.cs new file mode 100644 index 000000000000..78f0d54e9db3 --- /dev/null +++ b/sdk/dotnet/EdgeOrder/V20201201Preview/Outputs/NotificationPreferenceResponse.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.EdgeOrder.V20201201Preview.Outputs +{ + + [OutputType] + public sealed class NotificationPreferenceResponse + { + /// + /// Notification is required or not. + /// + public readonly bool SendNotification; + /// + /// Name of the stage. + /// + public readonly string StageName; + + [OutputConstructor] + private NotificationPreferenceResponse( + bool sendNotification, + + string stageName) + { + SendNotification = sendNotification; + StageName = stageName; + } + } +} diff --git a/sdk/dotnet/EdgeOrder/V20201201Preview/Outputs/OrderDetailsResponse.cs b/sdk/dotnet/EdgeOrder/V20201201Preview/Outputs/OrderDetailsResponse.cs new file mode 100644 index 000000000000..17230ef30c19 --- /dev/null +++ b/sdk/dotnet/EdgeOrder/V20201201Preview/Outputs/OrderDetailsResponse.cs @@ -0,0 +1,126 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.EdgeOrder.V20201201Preview.Outputs +{ + + [OutputType] + public sealed class OrderDetailsResponse + { + /// + /// Cancellation reason. + /// + public readonly string CancellationReason; + /// + /// Describes whether the order is cancellable or not. + /// + public readonly string CancellationStatus; + /// + /// Current Order Status + /// + public readonly Outputs.OrderStatusDetailsResponse CurrentStatus; + /// + /// Describes whether the order is deletable or not. + /// + public readonly string DeletionStatus; + /// + /// Top level error for the job. + /// + public readonly Outputs.CloudErrorResponse Error; + /// + /// Forward Package Shipping details + /// + public readonly Outputs.ShippingDetailsResponse ForwardShippingDetails; + /// + /// parent RP details + /// + public readonly object ManagementRpDetails; + /// + /// Package Shipping details + /// + public readonly ImmutableArray NotificationEmailList; + /// + /// Order history + /// + public readonly ImmutableArray OrderStatusHistory; + /// + /// Order type. + /// + public readonly string OrderType; + /// + /// Customer notification Preferences + /// + public readonly Outputs.PreferencesResponse? Preferences; + /// + /// Unique identifier for configuration. + /// + public readonly Outputs.ProductDetailsResponse ProductDetails; + /// + /// Return reason. + /// + public readonly string ReturnReason; + /// + /// Describes whether the order is returnable or not. + /// + public readonly string ReturnStatus; + /// + /// Reverse Package Shipping details + /// + public readonly Outputs.ShippingDetailsResponse ReverseShippingDetails; + + [OutputConstructor] + private OrderDetailsResponse( + string cancellationReason, + + string cancellationStatus, + + Outputs.OrderStatusDetailsResponse currentStatus, + + string deletionStatus, + + Outputs.CloudErrorResponse error, + + Outputs.ShippingDetailsResponse forwardShippingDetails, + + object managementRpDetails, + + ImmutableArray notificationEmailList, + + ImmutableArray orderStatusHistory, + + string orderType, + + Outputs.PreferencesResponse? preferences, + + Outputs.ProductDetailsResponse productDetails, + + string returnReason, + + string returnStatus, + + Outputs.ShippingDetailsResponse reverseShippingDetails) + { + CancellationReason = cancellationReason; + CancellationStatus = cancellationStatus; + CurrentStatus = currentStatus; + DeletionStatus = deletionStatus; + Error = error; + ForwardShippingDetails = forwardShippingDetails; + ManagementRpDetails = managementRpDetails; + NotificationEmailList = notificationEmailList; + OrderStatusHistory = orderStatusHistory; + OrderType = orderType; + Preferences = preferences; + ProductDetails = productDetails; + ReturnReason = returnReason; + ReturnStatus = returnStatus; + ReverseShippingDetails = reverseShippingDetails; + } + } +} diff --git a/sdk/dotnet/EdgeOrder/V20201201Preview/Outputs/OrderStatusDetailsResponse.cs b/sdk/dotnet/EdgeOrder/V20201201Preview/Outputs/OrderStatusDetailsResponse.cs new file mode 100644 index 000000000000..de302e357b5a --- /dev/null +++ b/sdk/dotnet/EdgeOrder/V20201201Preview/Outputs/OrderStatusDetailsResponse.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.EdgeOrder.V20201201Preview.Outputs +{ + + [OutputType] + public sealed class OrderStatusDetailsResponse + { + /// + /// last time order was updated + /// + public readonly string? LastUpdatedTime; + /// + /// Order status + /// + public readonly string OrderStatus; + + [OutputConstructor] + private OrderStatusDetailsResponse( + string? lastUpdatedTime, + + string orderStatus) + { + LastUpdatedTime = lastUpdatedTime; + OrderStatus = orderStatus; + } + } +} diff --git a/sdk/dotnet/EdgeOrder/V20201201Preview/Outputs/PreferencesResponse.cs b/sdk/dotnet/EdgeOrder/V20201201Preview/Outputs/PreferencesResponse.cs new file mode 100644 index 000000000000..28163d1aa60e --- /dev/null +++ b/sdk/dotnet/EdgeOrder/V20201201Preview/Outputs/PreferencesResponse.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.EdgeOrder.V20201201Preview.Outputs +{ + + [OutputType] + public sealed class PreferencesResponse + { + /// + /// Notification preferences. + /// + public readonly ImmutableArray NotificationPreferences; + /// + /// Preferences related to the shipment logistics of the order. + /// + public readonly Outputs.TransportPreferencesResponse? TransportPreferences; + + [OutputConstructor] + private PreferencesResponse( + ImmutableArray notificationPreferences, + + Outputs.TransportPreferencesResponse? transportPreferences) + { + NotificationPreferences = notificationPreferences; + TransportPreferences = transportPreferences; + } + } +} diff --git a/sdk/dotnet/EdgeOrder/V20201201Preview/Outputs/ProductDetailsResponse.cs b/sdk/dotnet/EdgeOrder/V20201201Preview/Outputs/ProductDetailsResponse.cs new file mode 100644 index 000000000000..e0c309240d4b --- /dev/null +++ b/sdk/dotnet/EdgeOrder/V20201201Preview/Outputs/ProductDetailsResponse.cs @@ -0,0 +1,42 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.EdgeOrder.V20201201Preview.Outputs +{ + + [OutputType] + public sealed class ProductDetailsResponse + { + /// + /// Quantity of the product + /// + public readonly int? Count; + /// + /// list of device details + /// + public readonly ImmutableArray DeviceDetails; + /// + /// Hierarchy of the product which uniquely identifies the product + /// + public readonly Outputs.HierarchyInformationResponse HierarchyInformation; + + [OutputConstructor] + private ProductDetailsResponse( + int? count, + + ImmutableArray deviceDetails, + + Outputs.HierarchyInformationResponse hierarchyInformation) + { + Count = count; + DeviceDetails = deviceDetails; + HierarchyInformation = hierarchyInformation; + } + } +} diff --git a/sdk/dotnet/EdgeOrder/V20201201Preview/Outputs/ProductFamilyResponseResult.cs b/sdk/dotnet/EdgeOrder/V20201201Preview/Outputs/ProductFamilyResponseResult.cs new file mode 100644 index 000000000000..94ebd3487f67 --- /dev/null +++ b/sdk/dotnet/EdgeOrder/V20201201Preview/Outputs/ProductFamilyResponseResult.cs @@ -0,0 +1,77 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.EdgeOrder.V20201201Preview.Outputs +{ + + [OutputType] + public sealed class ProductFamilyResponseResult + { + /// + /// Availability information of the product system. + /// + public readonly Outputs.AvailabilityInformationResponseResult AvailabilityInformation; + /// + /// Cost information for the product system. + /// + public readonly Outputs.CostInformationResponseResult CostInformation; + /// + /// Description related to the product system. + /// + public readonly Outputs.DescriptionResponseResult Description; + /// + /// Display Name for the product system. + /// + public readonly string DisplayName; + /// + /// list of filters supported for a product + /// + public readonly ImmutableArray FilterableProperties; + /// + /// Hierarchy information of the product system. + /// + public readonly Outputs.HierarchyInformationResponse HierarchyInformation; + /// + /// Image information for the product system. + /// + public readonly ImmutableArray ImageInformation; + /// + /// List of product lines supported in the product family + /// + public readonly ImmutableArray ProductLines; + + [OutputConstructor] + private ProductFamilyResponseResult( + Outputs.AvailabilityInformationResponseResult availabilityInformation, + + Outputs.CostInformationResponseResult costInformation, + + Outputs.DescriptionResponseResult description, + + string displayName, + + ImmutableArray filterableProperties, + + Outputs.HierarchyInformationResponse hierarchyInformation, + + ImmutableArray imageInformation, + + ImmutableArray productLines) + { + AvailabilityInformation = availabilityInformation; + CostInformation = costInformation; + Description = description; + DisplayName = displayName; + FilterableProperties = filterableProperties; + HierarchyInformation = hierarchyInformation; + ImageInformation = imageInformation; + ProductLines = productLines; + } + } +} diff --git a/sdk/dotnet/EdgeOrder/V20201201Preview/Outputs/ProductLineResponseResult.cs b/sdk/dotnet/EdgeOrder/V20201201Preview/Outputs/ProductLineResponseResult.cs new file mode 100644 index 000000000000..ab9dda472418 --- /dev/null +++ b/sdk/dotnet/EdgeOrder/V20201201Preview/Outputs/ProductLineResponseResult.cs @@ -0,0 +1,77 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.EdgeOrder.V20201201Preview.Outputs +{ + + [OutputType] + public sealed class ProductLineResponseResult + { + /// + /// Availability information of the product system. + /// + public readonly Outputs.AvailabilityInformationResponseResult AvailabilityInformation; + /// + /// Cost information for the product system. + /// + public readonly Outputs.CostInformationResponseResult CostInformation; + /// + /// Description related to the product system. + /// + public readonly Outputs.DescriptionResponseResult Description; + /// + /// Display Name for the product system. + /// + public readonly string DisplayName; + /// + /// list of filters supported for a product + /// + public readonly ImmutableArray FilterableProperties; + /// + /// Hierarchy information of the product system. + /// + public readonly Outputs.HierarchyInformationResponse HierarchyInformation; + /// + /// Image information for the product system. + /// + public readonly ImmutableArray ImageInformation; + /// + /// List of products in the product line + /// + public readonly ImmutableArray Products; + + [OutputConstructor] + private ProductLineResponseResult( + Outputs.AvailabilityInformationResponseResult availabilityInformation, + + Outputs.CostInformationResponseResult costInformation, + + Outputs.DescriptionResponseResult description, + + string displayName, + + ImmutableArray filterableProperties, + + Outputs.HierarchyInformationResponse hierarchyInformation, + + ImmutableArray imageInformation, + + ImmutableArray products) + { + AvailabilityInformation = availabilityInformation; + CostInformation = costInformation; + Description = description; + DisplayName = displayName; + FilterableProperties = filterableProperties; + HierarchyInformation = hierarchyInformation; + ImageInformation = imageInformation; + Products = products; + } + } +} diff --git a/sdk/dotnet/EdgeOrder/V20201201Preview/Outputs/ProductResponseResult.cs b/sdk/dotnet/EdgeOrder/V20201201Preview/Outputs/ProductResponseResult.cs new file mode 100644 index 000000000000..561d6ea9c7a3 --- /dev/null +++ b/sdk/dotnet/EdgeOrder/V20201201Preview/Outputs/ProductResponseResult.cs @@ -0,0 +1,77 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.EdgeOrder.V20201201Preview.Outputs +{ + + [OutputType] + public sealed class ProductResponseResult + { + /// + /// Availability information of the product system. + /// + public readonly Outputs.AvailabilityInformationResponseResult AvailabilityInformation; + /// + /// List of configurations for the product + /// + public readonly ImmutableArray Configurations; + /// + /// Cost information for the product system. + /// + public readonly Outputs.CostInformationResponseResult CostInformation; + /// + /// Description related to the product system. + /// + public readonly Outputs.DescriptionResponseResult Description; + /// + /// Display Name for the product system. + /// + public readonly string DisplayName; + /// + /// list of filters supported for a product + /// + public readonly ImmutableArray FilterableProperties; + /// + /// Hierarchy information of the product system. + /// + public readonly Outputs.HierarchyInformationResponse HierarchyInformation; + /// + /// Image information for the product system. + /// + public readonly ImmutableArray ImageInformation; + + [OutputConstructor] + private ProductResponseResult( + Outputs.AvailabilityInformationResponseResult availabilityInformation, + + ImmutableArray configurations, + + Outputs.CostInformationResponseResult costInformation, + + Outputs.DescriptionResponseResult description, + + string displayName, + + ImmutableArray filterableProperties, + + Outputs.HierarchyInformationResponse hierarchyInformation, + + ImmutableArray imageInformation) + { + AvailabilityInformation = availabilityInformation; + Configurations = configurations; + CostInformation = costInformation; + Description = description; + DisplayName = displayName; + FilterableProperties = filterableProperties; + HierarchyInformation = hierarchyInformation; + ImageInformation = imageInformation; + } + } +} diff --git a/sdk/dotnet/EdgeOrder/V20201201Preview/Outputs/ShippingAddressResponse.cs b/sdk/dotnet/EdgeOrder/V20201201Preview/Outputs/ShippingAddressResponse.cs new file mode 100644 index 000000000000..96fb77291472 --- /dev/null +++ b/sdk/dotnet/EdgeOrder/V20201201Preview/Outputs/ShippingAddressResponse.cs @@ -0,0 +1,91 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.EdgeOrder.V20201201Preview.Outputs +{ + + [OutputType] + public sealed class ShippingAddressResponse + { + /// + /// Type of address. + /// + public readonly string? AddressType; + /// + /// Name of the City. + /// + public readonly string? City; + /// + /// Name of the company. + /// + public readonly string? CompanyName; + /// + /// Name of the Country. + /// + public readonly string Country; + /// + /// Postal code. + /// + public readonly string? PostalCode; + /// + /// Name of the State or Province. + /// + public readonly string? StateOrProvince; + /// + /// Street Address line 1. + /// + public readonly string StreetAddress1; + /// + /// Street Address line 2. + /// + public readonly string? StreetAddress2; + /// + /// Street Address line 3. + /// + public readonly string? StreetAddress3; + /// + /// Extended Zip Code. + /// + public readonly string? ZipExtendedCode; + + [OutputConstructor] + private ShippingAddressResponse( + string? addressType, + + string? city, + + string? companyName, + + string country, + + string? postalCode, + + string? stateOrProvince, + + string streetAddress1, + + string? streetAddress2, + + string? streetAddress3, + + string? zipExtendedCode) + { + AddressType = addressType; + City = city; + CompanyName = companyName; + Country = country; + PostalCode = postalCode; + StateOrProvince = stateOrProvince; + StreetAddress1 = streetAddress1; + StreetAddress2 = streetAddress2; + StreetAddress3 = streetAddress3; + ZipExtendedCode = zipExtendedCode; + } + } +} diff --git a/sdk/dotnet/EdgeOrder/V20201201Preview/Outputs/ShippingDetailsResponse.cs b/sdk/dotnet/EdgeOrder/V20201201Preview/Outputs/ShippingDetailsResponse.cs new file mode 100644 index 000000000000..feb744d13f3e --- /dev/null +++ b/sdk/dotnet/EdgeOrder/V20201201Preview/Outputs/ShippingDetailsResponse.cs @@ -0,0 +1,49 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.EdgeOrder.V20201201Preview.Outputs +{ + + [OutputType] + public sealed class ShippingDetailsResponse + { + /// + /// Carrier Name for display purpose. Not to be used for any processing. + /// + public readonly string CarrierDisplayName; + /// + /// Name of the carrier. + /// + public readonly string CarrierName; + /// + /// TrackingId of the package + /// + public readonly string TrackingId; + /// + /// TrackingUrl of the package. + /// + public readonly string TrackingUrl; + + [OutputConstructor] + private ShippingDetailsResponse( + string carrierDisplayName, + + string carrierName, + + string trackingId, + + string trackingUrl) + { + CarrierDisplayName = carrierDisplayName; + CarrierName = carrierName; + TrackingId = trackingId; + TrackingUrl = trackingUrl; + } + } +} diff --git a/sdk/dotnet/EdgeOrder/V20201201Preview/Outputs/SpecificationResponseResult.cs b/sdk/dotnet/EdgeOrder/V20201201Preview/Outputs/SpecificationResponseResult.cs new file mode 100644 index 000000000000..324ddd76b7e9 --- /dev/null +++ b/sdk/dotnet/EdgeOrder/V20201201Preview/Outputs/SpecificationResponseResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.EdgeOrder.V20201201Preview.Outputs +{ + + [OutputType] + public sealed class SpecificationResponseResult + { + /// + /// Name of the specification + /// + public readonly string Name; + /// + /// Value of the specification + /// + public readonly string Value; + + [OutputConstructor] + private SpecificationResponseResult( + string name, + + string value) + { + Name = name; + Value = value; + } + } +} diff --git a/sdk/dotnet/EdgeOrder/V20201201Preview/Outputs/SystemDataResponse.cs b/sdk/dotnet/EdgeOrder/V20201201Preview/Outputs/SystemDataResponse.cs new file mode 100644 index 000000000000..5ec652414b37 --- /dev/null +++ b/sdk/dotnet/EdgeOrder/V20201201Preview/Outputs/SystemDataResponse.cs @@ -0,0 +1,63 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.EdgeOrder.V20201201Preview.Outputs +{ + + [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 type of identity that last modified the resource. + /// + 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/EdgeOrder/V20201201Preview/Outputs/TransportPreferencesResponse.cs b/sdk/dotnet/EdgeOrder/V20201201Preview/Outputs/TransportPreferencesResponse.cs new file mode 100644 index 000000000000..140a72b05614 --- /dev/null +++ b/sdk/dotnet/EdgeOrder/V20201201Preview/Outputs/TransportPreferencesResponse.cs @@ -0,0 +1,27 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.EdgeOrder.V20201201Preview.Outputs +{ + + [OutputType] + public sealed class TransportPreferencesResponse + { + /// + /// Indicates Shipment Logistics type that the customer preferred. + /// + public readonly string PreferredShipmentType; + + [OutputConstructor] + private TransportPreferencesResponse(string preferredShipmentType) + { + PreferredShipmentType = preferredShipmentType; + } + } +} diff --git a/sdk/dotnet/EdgeOrder/V20201201Preview/README.md b/sdk/dotnet/EdgeOrder/V20201201Preview/README.md new file mode 100644 index 000000000000..bd9c57f78375 --- /dev/null +++ b/sdk/dotnet/EdgeOrder/V20201201Preview/README.md @@ -0,0 +1 @@ +A Next Generation Pulumi package for creating and managing Azure resources. diff --git a/sdk/dotnet/HDInsight/V20180601Preview/Inputs/ApplicationGetEndpointArgs.cs b/sdk/dotnet/HDInsight/V20180601Preview/Inputs/ApplicationGetEndpointArgs.cs index a388e113cde6..cb9b0ee997ac 100644 --- a/sdk/dotnet/HDInsight/V20180601Preview/Inputs/ApplicationGetEndpointArgs.cs +++ b/sdk/dotnet/HDInsight/V20180601Preview/Inputs/ApplicationGetEndpointArgs.cs @@ -27,6 +27,12 @@ public sealed class ApplicationGetEndpointArgs : Pulumi.ResourceArgs [Input("location")] public Input? Location { get; set; } + /// + /// The private ip address of the endpoint. + /// + [Input("privateIPAddress")] + public Input? PrivateIPAddress { get; set; } + /// /// The public port to connect to. /// diff --git a/sdk/dotnet/HDInsight/V20180601Preview/Outputs/ApplicationGetEndpointResponse.cs b/sdk/dotnet/HDInsight/V20180601Preview/Outputs/ApplicationGetEndpointResponse.cs index b7e812a0db44..55fc429e5af8 100644 --- a/sdk/dotnet/HDInsight/V20180601Preview/Outputs/ApplicationGetEndpointResponse.cs +++ b/sdk/dotnet/HDInsight/V20180601Preview/Outputs/ApplicationGetEndpointResponse.cs @@ -22,6 +22,10 @@ public sealed class ApplicationGetEndpointResponse /// public readonly string? Location; /// + /// The private ip address of the endpoint. + /// + public readonly string? PrivateIPAddress; + /// /// The public port to connect to. /// public readonly int? PublicPort; @@ -32,10 +36,13 @@ private ApplicationGetEndpointResponse( string? location, + string? privateIPAddress, + int? publicPort) { DestinationPort = destinationPort; Location = location; + PrivateIPAddress = privateIPAddress; PublicPort = publicPort; } } diff --git a/sdk/dotnet/HDInsight/V20180601Preview/Outputs/ConnectivityEndpointResponse.cs b/sdk/dotnet/HDInsight/V20180601Preview/Outputs/ConnectivityEndpointResponse.cs index 321d4c76f607..e0a46b7f3068 100644 --- a/sdk/dotnet/HDInsight/V20180601Preview/Outputs/ConnectivityEndpointResponse.cs +++ b/sdk/dotnet/HDInsight/V20180601Preview/Outputs/ConnectivityEndpointResponse.cs @@ -26,6 +26,10 @@ public sealed class ConnectivityEndpointResponse /// public readonly int? Port; /// + /// The private ip address of the endpoint. + /// + public readonly string? PrivateIPAddress; + /// /// The protocol of the endpoint. /// public readonly string? Protocol; @@ -38,11 +42,14 @@ private ConnectivityEndpointResponse( int? port, + string? privateIPAddress, + string? protocol) { Location = location; Name = name; Port = port; + PrivateIPAddress = privateIPAddress; Protocol = protocol; } } diff --git a/sdk/dotnet/HealthcareApis/Latest/GetPrivateEndpointConnection.cs b/sdk/dotnet/HealthcareApis/Latest/GetPrivateEndpointConnection.cs index cc8ed72a7c8c..dfdf4112a714 100644 --- a/sdk/dotnet/HealthcareApis/Latest/GetPrivateEndpointConnection.cs +++ b/sdk/dotnet/HealthcareApis/Latest/GetPrivateEndpointConnection.cs @@ -66,6 +66,10 @@ public sealed class GetPrivateEndpointConnectionResult /// public readonly string ProvisioningState; /// + /// System metadata for this resource. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" /// public readonly string Type; @@ -82,6 +86,8 @@ private GetPrivateEndpointConnectionResult( string provisioningState, + Outputs.SystemDataResponse systemData, + string type) { Id = id; @@ -89,6 +95,7 @@ private GetPrivateEndpointConnectionResult( PrivateEndpoint = privateEndpoint; PrivateLinkServiceConnectionState = privateLinkServiceConnectionState; ProvisioningState = provisioningState; + SystemData = systemData; Type = type; } } diff --git a/sdk/dotnet/HealthcareApis/Latest/GetService.cs b/sdk/dotnet/HealthcareApis/Latest/GetService.cs index 901c9c09076f..e5fba5c31558 100644 --- a/sdk/dotnet/HealthcareApis/Latest/GetService.cs +++ b/sdk/dotnet/HealthcareApis/Latest/GetService.cs @@ -68,6 +68,10 @@ public sealed class GetServiceResult /// public readonly Outputs.ServicesPropertiesResponse Properties; /// + /// Metadata pertaining to creation and last modification of the resource. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// /// The resource tags. /// public readonly ImmutableDictionary? Tags; @@ -92,6 +96,8 @@ private GetServiceResult( Outputs.ServicesPropertiesResponse properties, + Outputs.SystemDataResponse systemData, + ImmutableDictionary? tags, string type) @@ -103,6 +109,7 @@ private GetServiceResult( Location = location; Name = name; Properties = properties; + SystemData = systemData; Tags = tags; Type = type; } diff --git a/sdk/dotnet/HealthcareApis/Latest/Inputs/ServiceAcrConfigurationInfoArgs.cs b/sdk/dotnet/HealthcareApis/Latest/Inputs/ServiceAcrConfigurationInfoArgs.cs new file mode 100644 index 000000000000..b762ba3322ea --- /dev/null +++ b/sdk/dotnet/HealthcareApis/Latest/Inputs/ServiceAcrConfigurationInfoArgs.cs @@ -0,0 +1,34 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.HealthcareApis.Latest.Inputs +{ + + /// + /// Azure container registry configuration information + /// + public sealed class ServiceAcrConfigurationInfoArgs : Pulumi.ResourceArgs + { + [Input("loginServers")] + private InputList? _loginServers; + + /// + /// The list of the ACR login servers. + /// + public InputList LoginServers + { + get => _loginServers ?? (_loginServers = new InputList()); + set => _loginServers = value; + } + + public ServiceAcrConfigurationInfoArgs() + { + } + } +} diff --git a/sdk/dotnet/HealthcareApis/Latest/Inputs/ServicesPropertiesArgs.cs b/sdk/dotnet/HealthcareApis/Latest/Inputs/ServicesPropertiesArgs.cs index cdf8320f89ed..c1d6551d7f0a 100644 --- a/sdk/dotnet/HealthcareApis/Latest/Inputs/ServicesPropertiesArgs.cs +++ b/sdk/dotnet/HealthcareApis/Latest/Inputs/ServicesPropertiesArgs.cs @@ -27,6 +27,12 @@ public InputList AccessPolicies set => _accessPolicies = value; } + /// + /// The azure container registry settings used for convert data operation of the service instance. + /// + [Input("acrConfiguration")] + public Input? AcrConfiguration { get; set; } + /// /// The authentication configuration for the service instance. /// diff --git a/sdk/dotnet/HealthcareApis/Latest/Outputs/ServiceAcrConfigurationInfoResponse.cs b/sdk/dotnet/HealthcareApis/Latest/Outputs/ServiceAcrConfigurationInfoResponse.cs new file mode 100644 index 000000000000..8a973cd545fb --- /dev/null +++ b/sdk/dotnet/HealthcareApis/Latest/Outputs/ServiceAcrConfigurationInfoResponse.cs @@ -0,0 +1,27 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.HealthcareApis.Latest.Outputs +{ + + [OutputType] + public sealed class ServiceAcrConfigurationInfoResponse + { + /// + /// The list of the ACR login servers. + /// + public readonly ImmutableArray LoginServers; + + [OutputConstructor] + private ServiceAcrConfigurationInfoResponse(ImmutableArray loginServers) + { + LoginServers = loginServers; + } + } +} diff --git a/sdk/dotnet/HealthcareApis/Latest/Outputs/ServicesPropertiesResponse.cs b/sdk/dotnet/HealthcareApis/Latest/Outputs/ServicesPropertiesResponse.cs index 803a3f727f91..b0865d2fec8c 100644 --- a/sdk/dotnet/HealthcareApis/Latest/Outputs/ServicesPropertiesResponse.cs +++ b/sdk/dotnet/HealthcareApis/Latest/Outputs/ServicesPropertiesResponse.cs @@ -18,6 +18,10 @@ public sealed class ServicesPropertiesResponse /// public readonly ImmutableArray AccessPolicies; /// + /// The azure container registry settings used for convert data operation of the service instance. + /// + public readonly Outputs.ServiceAcrConfigurationInfoResponse? AcrConfiguration; + /// /// The authentication configuration for the service instance. /// public readonly Outputs.ServiceAuthenticationConfigurationInfoResponse? AuthenticationConfiguration; @@ -50,6 +54,8 @@ public sealed class ServicesPropertiesResponse private ServicesPropertiesResponse( ImmutableArray accessPolicies, + Outputs.ServiceAcrConfigurationInfoResponse? acrConfiguration, + Outputs.ServiceAuthenticationConfigurationInfoResponse? authenticationConfiguration, Outputs.ServiceCorsConfigurationInfoResponse? corsConfiguration, @@ -65,6 +71,7 @@ private ServicesPropertiesResponse( string? publicNetworkAccess) { AccessPolicies = accessPolicies; + AcrConfiguration = acrConfiguration; AuthenticationConfiguration = authenticationConfiguration; CorsConfiguration = corsConfiguration; CosmosDbConfiguration = cosmosDbConfiguration; diff --git a/sdk/dotnet/HealthcareApis/Latest/Outputs/SystemDataResponse.cs b/sdk/dotnet/HealthcareApis/Latest/Outputs/SystemDataResponse.cs new file mode 100644 index 000000000000..983bcde716d5 --- /dev/null +++ b/sdk/dotnet/HealthcareApis/Latest/Outputs/SystemDataResponse.cs @@ -0,0 +1,63 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.HealthcareApis.Latest.Outputs +{ + + [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 type of identity that last modified the resource. + /// + 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/HealthcareApis/Latest/PrivateEndpointConnection.cs b/sdk/dotnet/HealthcareApis/Latest/PrivateEndpointConnection.cs index ff2cf6c7b5fd..0cfc69270d7c 100644 --- a/sdk/dotnet/HealthcareApis/Latest/PrivateEndpointConnection.cs +++ b/sdk/dotnet/HealthcareApis/Latest/PrivateEndpointConnection.cs @@ -11,7 +11,7 @@ namespace Pulumi.AzureNextGen.HealthcareApis.Latest { /// /// The Private Endpoint Connection resource. - /// Latest API Version: 2020-03-30. + /// Latest API Version: 2021-01-11. /// [AzureNextGenResourceType("azure-nextgen:healthcareapis/latest:PrivateEndpointConnection")] public partial class PrivateEndpointConnection : Pulumi.CustomResource @@ -40,6 +40,12 @@ public partial class PrivateEndpointConnection : Pulumi.CustomResource [Output("provisioningState")] public Output ProvisioningState { get; private set; } = null!; + /// + /// System metadata for this resource. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + /// /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" /// @@ -72,6 +78,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? Aliases = { new Pulumi.Alias { Type = "azure-nextgen:healthcareapis/v20200330:PrivateEndpointConnection"}, + new Pulumi.Alias { Type = "azure-nextgen:healthcareapis/v20210111:PrivateEndpointConnection"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/HealthcareApis/Latest/Service.cs b/sdk/dotnet/HealthcareApis/Latest/Service.cs index 7c7f0d061d59..9176b4dec461 100644 --- a/sdk/dotnet/HealthcareApis/Latest/Service.cs +++ b/sdk/dotnet/HealthcareApis/Latest/Service.cs @@ -11,7 +11,7 @@ namespace Pulumi.AzureNextGen.HealthcareApis.Latest { /// /// The description of the service. - /// Latest API Version: 2020-03-30. + /// Latest API Version: 2021-01-11. /// [AzureNextGenResourceType("azure-nextgen:healthcareapis/latest:Service")] public partial class Service : Pulumi.CustomResource @@ -52,6 +52,12 @@ public partial class Service : Pulumi.CustomResource [Output("properties")] public Output Properties { get; private set; } = null!; + /// + /// Metadata pertaining to creation and last modification of the resource. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + /// /// The resource tags. /// @@ -93,6 +99,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new Pulumi.Alias { Type = "azure-nextgen:healthcareapis/v20190916:Service"}, new Pulumi.Alias { Type = "azure-nextgen:healthcareapis/v20200315:Service"}, new Pulumi.Alias { Type = "azure-nextgen:healthcareapis/v20200330:Service"}, + new Pulumi.Alias { Type = "azure-nextgen:healthcareapis/v20210111:Service"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/HealthcareApis/V20180820Preview/Service.cs b/sdk/dotnet/HealthcareApis/V20180820Preview/Service.cs index be3efa9879df..4556d9303af8 100644 --- a/sdk/dotnet/HealthcareApis/V20180820Preview/Service.cs +++ b/sdk/dotnet/HealthcareApis/V20180820Preview/Service.cs @@ -86,6 +86,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new Pulumi.Alias { Type = "azure-nextgen:healthcareapis/v20190916:Service"}, new Pulumi.Alias { Type = "azure-nextgen:healthcareapis/v20200315:Service"}, new Pulumi.Alias { Type = "azure-nextgen:healthcareapis/v20200330:Service"}, + new Pulumi.Alias { Type = "azure-nextgen:healthcareapis/v20210111:Service"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/HealthcareApis/V20190916/Service.cs b/sdk/dotnet/HealthcareApis/V20190916/Service.cs index 104478ea21bb..11c83a006a46 100644 --- a/sdk/dotnet/HealthcareApis/V20190916/Service.cs +++ b/sdk/dotnet/HealthcareApis/V20190916/Service.cs @@ -92,6 +92,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new Pulumi.Alias { Type = "azure-nextgen:healthcareapis/v20180820preview:Service"}, new Pulumi.Alias { Type = "azure-nextgen:healthcareapis/v20200315:Service"}, new Pulumi.Alias { Type = "azure-nextgen:healthcareapis/v20200330:Service"}, + new Pulumi.Alias { Type = "azure-nextgen:healthcareapis/v20210111:Service"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/HealthcareApis/V20200315/Service.cs b/sdk/dotnet/HealthcareApis/V20200315/Service.cs index d6d4b4ffb47d..f533dce346e8 100644 --- a/sdk/dotnet/HealthcareApis/V20200315/Service.cs +++ b/sdk/dotnet/HealthcareApis/V20200315/Service.cs @@ -92,6 +92,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new Pulumi.Alias { Type = "azure-nextgen:healthcareapis/v20180820preview:Service"}, new Pulumi.Alias { Type = "azure-nextgen:healthcareapis/v20190916:Service"}, new Pulumi.Alias { Type = "azure-nextgen:healthcareapis/v20200330:Service"}, + new Pulumi.Alias { Type = "azure-nextgen:healthcareapis/v20210111:Service"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/HealthcareApis/V20200330/PrivateEndpointConnection.cs b/sdk/dotnet/HealthcareApis/V20200330/PrivateEndpointConnection.cs index 232e87590d0d..3e57e7fcfe0a 100644 --- a/sdk/dotnet/HealthcareApis/V20200330/PrivateEndpointConnection.cs +++ b/sdk/dotnet/HealthcareApis/V20200330/PrivateEndpointConnection.cs @@ -71,6 +71,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? Aliases = { new Pulumi.Alias { Type = "azure-nextgen:healthcareapis/latest:PrivateEndpointConnection"}, + new Pulumi.Alias { Type = "azure-nextgen:healthcareapis/v20210111:PrivateEndpointConnection"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/HealthcareApis/V20200330/Service.cs b/sdk/dotnet/HealthcareApis/V20200330/Service.cs index 18915dc55ae1..0a0373d07c94 100644 --- a/sdk/dotnet/HealthcareApis/V20200330/Service.cs +++ b/sdk/dotnet/HealthcareApis/V20200330/Service.cs @@ -92,6 +92,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new Pulumi.Alias { Type = "azure-nextgen:healthcareapis/v20180820preview:Service"}, new Pulumi.Alias { Type = "azure-nextgen:healthcareapis/v20190916:Service"}, new Pulumi.Alias { Type = "azure-nextgen:healthcareapis/v20200315:Service"}, + new Pulumi.Alias { Type = "azure-nextgen:healthcareapis/v20210111:Service"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/HealthcareApis/V20210111/Enums.cs b/sdk/dotnet/HealthcareApis/V20210111/Enums.cs new file mode 100644 index 000000000000..85e2b7895aad --- /dev/null +++ b/sdk/dotnet/HealthcareApis/V20210111/Enums.cs @@ -0,0 +1,135 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.ComponentModel; +using Pulumi; + +namespace Pulumi.AzureNextGen.HealthcareApis.V20210111 +{ + /// + /// The kind of the service. + /// + [EnumType] + public readonly struct Kind : IEquatable + { + private readonly string _value; + + private Kind(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static Kind Fhir { get; } = new Kind("fhir"); + public static Kind Fhir_Stu3 { get; } = new Kind("fhir-Stu3"); + public static Kind Fhir_R4 { get; } = new Kind("fhir-R4"); + + public static bool operator ==(Kind left, Kind right) => left.Equals(right); + public static bool operator !=(Kind left, Kind right) => !left.Equals(right); + + public static explicit operator string(Kind value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is Kind other && Equals(other); + public bool Equals(Kind 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 identity being specified, currently SystemAssigned and None 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 SystemAssigned { get; } = new ManagedServiceIdentityType("SystemAssigned"); + public static ManagedServiceIdentityType None { get; } = new ManagedServiceIdentityType("None"); + + 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; + } + + /// + /// Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. + /// + [EnumType] + public readonly struct PrivateEndpointServiceConnectionStatus : IEquatable + { + private readonly string _value; + + private PrivateEndpointServiceConnectionStatus(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static PrivateEndpointServiceConnectionStatus Pending { get; } = new PrivateEndpointServiceConnectionStatus("Pending"); + public static PrivateEndpointServiceConnectionStatus Approved { get; } = new PrivateEndpointServiceConnectionStatus("Approved"); + public static PrivateEndpointServiceConnectionStatus Rejected { get; } = new PrivateEndpointServiceConnectionStatus("Rejected"); + + public static bool operator ==(PrivateEndpointServiceConnectionStatus left, PrivateEndpointServiceConnectionStatus right) => left.Equals(right); + public static bool operator !=(PrivateEndpointServiceConnectionStatus left, PrivateEndpointServiceConnectionStatus right) => !left.Equals(right); + + public static explicit operator string(PrivateEndpointServiceConnectionStatus value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is PrivateEndpointServiceConnectionStatus other && Equals(other); + public bool Equals(PrivateEndpointServiceConnectionStatus other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Control permission for data plane traffic coming from public networks while private endpoint is enabled. + /// + [EnumType] + public readonly struct PublicNetworkAccess : IEquatable + { + private readonly string _value; + + private PublicNetworkAccess(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static PublicNetworkAccess Enabled { get; } = new PublicNetworkAccess("Enabled"); + 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; + } +} diff --git a/sdk/dotnet/HealthcareApis/V20210111/GetPrivateEndpointConnection.cs b/sdk/dotnet/HealthcareApis/V20210111/GetPrivateEndpointConnection.cs new file mode 100644 index 000000000000..5c0e84a4cd0c --- /dev/null +++ b/sdk/dotnet/HealthcareApis/V20210111/GetPrivateEndpointConnection.cs @@ -0,0 +1,102 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.HealthcareApis.V20210111 +{ + public static class GetPrivateEndpointConnection + { + public static Task InvokeAsync(GetPrivateEndpointConnectionArgs args, InvokeOptions? options = null) + => Pulumi.Deployment.Instance.InvokeAsync("azure-nextgen:healthcareapis/v20210111:getPrivateEndpointConnection", args ?? new GetPrivateEndpointConnectionArgs(), options.WithVersion()); + } + + + public sealed class GetPrivateEndpointConnectionArgs : Pulumi.InvokeArgs + { + /// + /// The name of the private endpoint connection associated with the Azure resource + /// + [Input("privateEndpointConnectionName", required: true)] + public string PrivateEndpointConnectionName { get; set; } = null!; + + /// + /// The name of the resource group that contains the service instance. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the service instance. + /// + [Input("resourceName", required: true)] + public string ResourceName { get; set; } = null!; + + public GetPrivateEndpointConnectionArgs() + { + } + } + + + [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; + /// + /// The resource of private end point. + /// + public readonly Outputs.PrivateEndpointResponse? PrivateEndpoint; + /// + /// A collection of information about the state of the connection between service consumer and provider. + /// + public readonly Outputs.PrivateLinkServiceConnectionStateResponse PrivateLinkServiceConnectionState; + /// + /// The provisioning state of the private endpoint connection resource. + /// + public readonly string ProvisioningState; + /// + /// System metadata for this resource. + /// + 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 GetPrivateEndpointConnectionResult( + string id, + + string name, + + Outputs.PrivateEndpointResponse? privateEndpoint, + + Outputs.PrivateLinkServiceConnectionStateResponse privateLinkServiceConnectionState, + + string provisioningState, + + Outputs.SystemDataResponse systemData, + + string type) + { + Id = id; + Name = name; + PrivateEndpoint = privateEndpoint; + PrivateLinkServiceConnectionState = privateLinkServiceConnectionState; + ProvisioningState = provisioningState; + SystemData = systemData; + Type = type; + } + } +} diff --git a/sdk/dotnet/HealthcareApis/V20210111/GetService.cs b/sdk/dotnet/HealthcareApis/V20210111/GetService.cs new file mode 100644 index 000000000000..49e42ff981a5 --- /dev/null +++ b/sdk/dotnet/HealthcareApis/V20210111/GetService.cs @@ -0,0 +1,117 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.HealthcareApis.V20210111 +{ + public static class GetService + { + public static Task InvokeAsync(GetServiceArgs args, InvokeOptions? options = null) + => Pulumi.Deployment.Instance.InvokeAsync("azure-nextgen:healthcareapis/v20210111:getService", args ?? new GetServiceArgs(), options.WithVersion()); + } + + + public sealed class GetServiceArgs : Pulumi.InvokeArgs + { + /// + /// The name of the resource group that contains the service instance. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the service instance. + /// + [Input("resourceName", required: true)] + public string ResourceName { get; set; } = null!; + + public GetServiceArgs() + { + } + } + + + [OutputType] + public sealed class GetServiceResult + { + /// + /// An etag associated with the resource, used for optimistic concurrency when editing it. + /// + public readonly string? Etag; + /// + /// The resource identifier. + /// + public readonly string Id; + /// + /// Setting indicating whether the service has a managed identity associated with it. + /// + public readonly Outputs.ServicesResourceResponseIdentity? Identity; + /// + /// The kind of the service. + /// + public readonly string Kind; + /// + /// The resource location. + /// + public readonly string Location; + /// + /// The resource name. + /// + public readonly string Name; + /// + /// The common properties of a service. + /// + public readonly Outputs.ServicesPropertiesResponse Properties; + /// + /// Metadata pertaining to creation and last modification of the resource. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// The resource tags. + /// + public readonly ImmutableDictionary? Tags; + /// + /// The resource type. + /// + public readonly string Type; + + [OutputConstructor] + private GetServiceResult( + string? etag, + + string id, + + Outputs.ServicesResourceResponseIdentity? identity, + + string kind, + + string location, + + string name, + + Outputs.ServicesPropertiesResponse properties, + + Outputs.SystemDataResponse systemData, + + ImmutableDictionary? tags, + + string type) + { + Etag = etag; + Id = id; + Identity = identity; + Kind = kind; + Location = location; + Name = name; + Properties = properties; + SystemData = systemData; + Tags = tags; + Type = type; + } + } +} diff --git a/sdk/dotnet/HealthcareApis/V20210111/Inputs/PrivateEndpointConnectionArgs.cs b/sdk/dotnet/HealthcareApis/V20210111/Inputs/PrivateEndpointConnectionArgs.cs new file mode 100644 index 000000000000..e5b490ae9982 --- /dev/null +++ b/sdk/dotnet/HealthcareApis/V20210111/Inputs/PrivateEndpointConnectionArgs.cs @@ -0,0 +1,28 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.HealthcareApis.V20210111.Inputs +{ + + /// + /// The Private Endpoint Connection resource. + /// + public sealed class PrivateEndpointConnectionArgs : Pulumi.ResourceArgs + { + /// + /// A collection of information about the state of the connection between service consumer and provider. + /// + [Input("privateLinkServiceConnectionState", required: true)] + public Input PrivateLinkServiceConnectionState { get; set; } = null!; + + public PrivateEndpointConnectionArgs() + { + } + } +} diff --git a/sdk/dotnet/HealthcareApis/V20210111/Inputs/PrivateLinkServiceConnectionStateArgs.cs b/sdk/dotnet/HealthcareApis/V20210111/Inputs/PrivateLinkServiceConnectionStateArgs.cs new file mode 100644 index 000000000000..84fa61600a89 --- /dev/null +++ b/sdk/dotnet/HealthcareApis/V20210111/Inputs/PrivateLinkServiceConnectionStateArgs.cs @@ -0,0 +1,40 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.HealthcareApis.V20210111.Inputs +{ + + /// + /// A collection of information about the state of the connection between service consumer and provider. + /// + public sealed class PrivateLinkServiceConnectionStateArgs : Pulumi.ResourceArgs + { + /// + /// A message indicating if changes on the service provider require any updates on the consumer. + /// + [Input("actionsRequired")] + public Input? ActionsRequired { get; set; } + + /// + /// The reason for approval/rejection of the connection. + /// + [Input("description")] + public Input? Description { get; set; } + + /// + /// Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. + /// + [Input("status")] + public InputUnion? Status { get; set; } + + public PrivateLinkServiceConnectionStateArgs() + { + } + } +} diff --git a/sdk/dotnet/HealthcareApis/V20210111/Inputs/ServiceAccessPolicyEntryArgs.cs b/sdk/dotnet/HealthcareApis/V20210111/Inputs/ServiceAccessPolicyEntryArgs.cs new file mode 100644 index 000000000000..ef35c20d215f --- /dev/null +++ b/sdk/dotnet/HealthcareApis/V20210111/Inputs/ServiceAccessPolicyEntryArgs.cs @@ -0,0 +1,28 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.HealthcareApis.V20210111.Inputs +{ + + /// + /// An access policy entry. + /// + public sealed class ServiceAccessPolicyEntryArgs : Pulumi.ResourceArgs + { + /// + /// An Azure AD object ID (User or Apps) that is allowed access to the FHIR service. + /// + [Input("objectId", required: true)] + public Input ObjectId { get; set; } = null!; + + public ServiceAccessPolicyEntryArgs() + { + } + } +} diff --git a/sdk/dotnet/HealthcareApis/V20210111/Inputs/ServiceAcrConfigurationInfoArgs.cs b/sdk/dotnet/HealthcareApis/V20210111/Inputs/ServiceAcrConfigurationInfoArgs.cs new file mode 100644 index 000000000000..d0c41b28b01b --- /dev/null +++ b/sdk/dotnet/HealthcareApis/V20210111/Inputs/ServiceAcrConfigurationInfoArgs.cs @@ -0,0 +1,34 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.HealthcareApis.V20210111.Inputs +{ + + /// + /// Azure container registry configuration information + /// + public sealed class ServiceAcrConfigurationInfoArgs : Pulumi.ResourceArgs + { + [Input("loginServers")] + private InputList? _loginServers; + + /// + /// The list of the ACR login servers. + /// + public InputList LoginServers + { + get => _loginServers ?? (_loginServers = new InputList()); + set => _loginServers = value; + } + + public ServiceAcrConfigurationInfoArgs() + { + } + } +} diff --git a/sdk/dotnet/HealthcareApis/V20210111/Inputs/ServiceAuthenticationConfigurationInfoArgs.cs b/sdk/dotnet/HealthcareApis/V20210111/Inputs/ServiceAuthenticationConfigurationInfoArgs.cs new file mode 100644 index 000000000000..7d9106a24df0 --- /dev/null +++ b/sdk/dotnet/HealthcareApis/V20210111/Inputs/ServiceAuthenticationConfigurationInfoArgs.cs @@ -0,0 +1,40 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.HealthcareApis.V20210111.Inputs +{ + + /// + /// Authentication configuration information + /// + public sealed class ServiceAuthenticationConfigurationInfoArgs : Pulumi.ResourceArgs + { + /// + /// The audience url for the service + /// + [Input("audience")] + public Input? Audience { get; set; } + + /// + /// The authority url for the service + /// + [Input("authority")] + public Input? Authority { get; set; } + + /// + /// If the SMART on FHIR proxy is enabled + /// + [Input("smartProxyEnabled")] + public Input? SmartProxyEnabled { get; set; } + + public ServiceAuthenticationConfigurationInfoArgs() + { + } + } +} diff --git a/sdk/dotnet/HealthcareApis/V20210111/Inputs/ServiceCorsConfigurationInfoArgs.cs b/sdk/dotnet/HealthcareApis/V20210111/Inputs/ServiceCorsConfigurationInfoArgs.cs new file mode 100644 index 000000000000..060d56bb794c --- /dev/null +++ b/sdk/dotnet/HealthcareApis/V20210111/Inputs/ServiceCorsConfigurationInfoArgs.cs @@ -0,0 +1,70 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.HealthcareApis.V20210111.Inputs +{ + + /// + /// The settings for the CORS configuration of the service instance. + /// + public sealed class ServiceCorsConfigurationInfoArgs : Pulumi.ResourceArgs + { + /// + /// If credentials are allowed via CORS. + /// + [Input("allowCredentials")] + public Input? AllowCredentials { get; set; } + + [Input("headers")] + private InputList? _headers; + + /// + /// The headers to be allowed via CORS. + /// + public InputList Headers + { + get => _headers ?? (_headers = new InputList()); + set => _headers = value; + } + + /// + /// The max age to be allowed via CORS. + /// + [Input("maxAge")] + public Input? MaxAge { get; set; } + + [Input("methods")] + private InputList? _methods; + + /// + /// The methods to be allowed via CORS. + /// + public InputList Methods + { + get => _methods ?? (_methods = new InputList()); + set => _methods = value; + } + + [Input("origins")] + private InputList? _origins; + + /// + /// The origins to be allowed via CORS. + /// + public InputList Origins + { + get => _origins ?? (_origins = new InputList()); + set => _origins = value; + } + + public ServiceCorsConfigurationInfoArgs() + { + } + } +} diff --git a/sdk/dotnet/HealthcareApis/V20210111/Inputs/ServiceCosmosDbConfigurationInfoArgs.cs b/sdk/dotnet/HealthcareApis/V20210111/Inputs/ServiceCosmosDbConfigurationInfoArgs.cs new file mode 100644 index 000000000000..f823318fbee9 --- /dev/null +++ b/sdk/dotnet/HealthcareApis/V20210111/Inputs/ServiceCosmosDbConfigurationInfoArgs.cs @@ -0,0 +1,34 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.HealthcareApis.V20210111.Inputs +{ + + /// + /// The settings for the Cosmos DB database backing the service. + /// + public sealed class ServiceCosmosDbConfigurationInfoArgs : Pulumi.ResourceArgs + { + /// + /// The URI of the customer-managed key for the backing database. + /// + [Input("keyVaultKeyUri")] + public Input? KeyVaultKeyUri { get; set; } + + /// + /// The provisioned throughput for the backing database. + /// + [Input("offerThroughput")] + public Input? OfferThroughput { get; set; } + + public ServiceCosmosDbConfigurationInfoArgs() + { + } + } +} diff --git a/sdk/dotnet/HealthcareApis/V20210111/Inputs/ServiceExportConfigurationInfoArgs.cs b/sdk/dotnet/HealthcareApis/V20210111/Inputs/ServiceExportConfigurationInfoArgs.cs new file mode 100644 index 000000000000..1c26cb6bf231 --- /dev/null +++ b/sdk/dotnet/HealthcareApis/V20210111/Inputs/ServiceExportConfigurationInfoArgs.cs @@ -0,0 +1,28 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.HealthcareApis.V20210111.Inputs +{ + + /// + /// Export operation configuration information + /// + public sealed class ServiceExportConfigurationInfoArgs : Pulumi.ResourceArgs + { + /// + /// The name of the default export storage account. + /// + [Input("storageAccountName")] + public Input? StorageAccountName { get; set; } + + public ServiceExportConfigurationInfoArgs() + { + } + } +} diff --git a/sdk/dotnet/HealthcareApis/V20210111/Inputs/ServicesPropertiesArgs.cs b/sdk/dotnet/HealthcareApis/V20210111/Inputs/ServicesPropertiesArgs.cs new file mode 100644 index 000000000000..56bae7ddf1df --- /dev/null +++ b/sdk/dotnet/HealthcareApis/V20210111/Inputs/ServicesPropertiesArgs.cs @@ -0,0 +1,82 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.HealthcareApis.V20210111.Inputs +{ + + /// + /// The properties of a service instance. + /// + public sealed class ServicesPropertiesArgs : Pulumi.ResourceArgs + { + [Input("accessPolicies")] + private InputList? _accessPolicies; + + /// + /// The access policies of the service instance. + /// + public InputList AccessPolicies + { + get => _accessPolicies ?? (_accessPolicies = new InputList()); + set => _accessPolicies = value; + } + + /// + /// The azure container registry settings used for convert data operation of the service instance. + /// + [Input("acrConfiguration")] + public Input? AcrConfiguration { get; set; } + + /// + /// The authentication configuration for the service instance. + /// + [Input("authenticationConfiguration")] + public Input? AuthenticationConfiguration { get; set; } + + /// + /// The settings for the CORS configuration of the service instance. + /// + [Input("corsConfiguration")] + public Input? CorsConfiguration { get; set; } + + /// + /// The settings for the Cosmos DB database backing the service. + /// + [Input("cosmosDbConfiguration")] + public Input? CosmosDbConfiguration { get; set; } + + /// + /// The settings for the export operation of the service instance. + /// + [Input("exportConfiguration")] + public Input? ExportConfiguration { get; set; } + + [Input("privateEndpointConnections")] + private InputList? _privateEndpointConnections; + + /// + /// The list of private endpoint connections that are set up for this resource. + /// + public InputList PrivateEndpointConnections + { + get => _privateEndpointConnections ?? (_privateEndpointConnections = new InputList()); + set => _privateEndpointConnections = value; + } + + /// + /// Control permission for data plane traffic coming from public networks while private endpoint is enabled. + /// + [Input("publicNetworkAccess")] + public InputUnion? PublicNetworkAccess { get; set; } + + public ServicesPropertiesArgs() + { + } + } +} diff --git a/sdk/dotnet/HealthcareApis/V20210111/Inputs/ServicesResourceIdentityArgs.cs b/sdk/dotnet/HealthcareApis/V20210111/Inputs/ServicesResourceIdentityArgs.cs new file mode 100644 index 000000000000..e3c96770d9a5 --- /dev/null +++ b/sdk/dotnet/HealthcareApis/V20210111/Inputs/ServicesResourceIdentityArgs.cs @@ -0,0 +1,28 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.HealthcareApis.V20210111.Inputs +{ + + /// + /// Setting indicating whether the service has a managed identity associated with it. + /// + public sealed class ServicesResourceIdentityArgs : Pulumi.ResourceArgs + { + /// + /// Type of identity being specified, currently SystemAssigned and None are allowed. + /// + [Input("type")] + public InputUnion? Type { get; set; } + + public ServicesResourceIdentityArgs() + { + } + } +} diff --git a/sdk/dotnet/HealthcareApis/V20210111/Outputs/PrivateEndpointConnectionResponse.cs b/sdk/dotnet/HealthcareApis/V20210111/Outputs/PrivateEndpointConnectionResponse.cs new file mode 100644 index 000000000000..e734e20d49fb --- /dev/null +++ b/sdk/dotnet/HealthcareApis/V20210111/Outputs/PrivateEndpointConnectionResponse.cs @@ -0,0 +1,63 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.HealthcareApis.V20210111.Outputs +{ + + [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; + /// + /// The resource of private end point. + /// + public readonly Outputs.PrivateEndpointResponse? PrivateEndpoint; + /// + /// A collection of information about the state of the connection between service consumer and provider. + /// + public readonly Outputs.PrivateLinkServiceConnectionStateResponse PrivateLinkServiceConnectionState; + /// + /// The provisioning state of the private endpoint connection resource. + /// + public readonly string ProvisioningState; + /// + /// 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.PrivateEndpointResponse? privateEndpoint, + + Outputs.PrivateLinkServiceConnectionStateResponse privateLinkServiceConnectionState, + + string provisioningState, + + string type) + { + Id = id; + Name = name; + PrivateEndpoint = privateEndpoint; + PrivateLinkServiceConnectionState = privateLinkServiceConnectionState; + ProvisioningState = provisioningState; + Type = type; + } + } +} diff --git a/sdk/dotnet/HealthcareApis/V20210111/Outputs/PrivateEndpointResponse.cs b/sdk/dotnet/HealthcareApis/V20210111/Outputs/PrivateEndpointResponse.cs new file mode 100644 index 000000000000..104e4267ee21 --- /dev/null +++ b/sdk/dotnet/HealthcareApis/V20210111/Outputs/PrivateEndpointResponse.cs @@ -0,0 +1,27 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.HealthcareApis.V20210111.Outputs +{ + + [OutputType] + public sealed class PrivateEndpointResponse + { + /// + /// The ARM identifier for Private Endpoint + /// + public readonly string Id; + + [OutputConstructor] + private PrivateEndpointResponse(string id) + { + Id = id; + } + } +} diff --git a/sdk/dotnet/HealthcareApis/V20210111/Outputs/PrivateLinkServiceConnectionStateResponse.cs b/sdk/dotnet/HealthcareApis/V20210111/Outputs/PrivateLinkServiceConnectionStateResponse.cs new file mode 100644 index 000000000000..84ab39e7fc39 --- /dev/null +++ b/sdk/dotnet/HealthcareApis/V20210111/Outputs/PrivateLinkServiceConnectionStateResponse.cs @@ -0,0 +1,42 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.HealthcareApis.V20210111.Outputs +{ + + [OutputType] + public sealed class PrivateLinkServiceConnectionStateResponse + { + /// + /// A message indicating if changes on the service provider require any updates on the consumer. + /// + public readonly string? ActionsRequired; + /// + /// The reason for approval/rejection of the connection. + /// + public readonly string? Description; + /// + /// Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. + /// + public readonly string? Status; + + [OutputConstructor] + private PrivateLinkServiceConnectionStateResponse( + string? actionsRequired, + + string? description, + + string? status) + { + ActionsRequired = actionsRequired; + Description = description; + Status = status; + } + } +} diff --git a/sdk/dotnet/HealthcareApis/V20210111/Outputs/ServiceAccessPolicyEntryResponse.cs b/sdk/dotnet/HealthcareApis/V20210111/Outputs/ServiceAccessPolicyEntryResponse.cs new file mode 100644 index 000000000000..425fc0445a5f --- /dev/null +++ b/sdk/dotnet/HealthcareApis/V20210111/Outputs/ServiceAccessPolicyEntryResponse.cs @@ -0,0 +1,27 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.HealthcareApis.V20210111.Outputs +{ + + [OutputType] + public sealed class ServiceAccessPolicyEntryResponse + { + /// + /// An Azure AD object ID (User or Apps) that is allowed access to the FHIR service. + /// + public readonly string ObjectId; + + [OutputConstructor] + private ServiceAccessPolicyEntryResponse(string objectId) + { + ObjectId = objectId; + } + } +} diff --git a/sdk/dotnet/HealthcareApis/V20210111/Outputs/ServiceAcrConfigurationInfoResponse.cs b/sdk/dotnet/HealthcareApis/V20210111/Outputs/ServiceAcrConfigurationInfoResponse.cs new file mode 100644 index 000000000000..07aecc740000 --- /dev/null +++ b/sdk/dotnet/HealthcareApis/V20210111/Outputs/ServiceAcrConfigurationInfoResponse.cs @@ -0,0 +1,27 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.HealthcareApis.V20210111.Outputs +{ + + [OutputType] + public sealed class ServiceAcrConfigurationInfoResponse + { + /// + /// The list of the ACR login servers. + /// + public readonly ImmutableArray LoginServers; + + [OutputConstructor] + private ServiceAcrConfigurationInfoResponse(ImmutableArray loginServers) + { + LoginServers = loginServers; + } + } +} diff --git a/sdk/dotnet/HealthcareApis/V20210111/Outputs/ServiceAuthenticationConfigurationInfoResponse.cs b/sdk/dotnet/HealthcareApis/V20210111/Outputs/ServiceAuthenticationConfigurationInfoResponse.cs new file mode 100644 index 000000000000..86e81699e12a --- /dev/null +++ b/sdk/dotnet/HealthcareApis/V20210111/Outputs/ServiceAuthenticationConfigurationInfoResponse.cs @@ -0,0 +1,42 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.HealthcareApis.V20210111.Outputs +{ + + [OutputType] + public sealed class ServiceAuthenticationConfigurationInfoResponse + { + /// + /// The audience url for the service + /// + public readonly string? Audience; + /// + /// The authority url for the service + /// + public readonly string? Authority; + /// + /// If the SMART on FHIR proxy is enabled + /// + public readonly bool? SmartProxyEnabled; + + [OutputConstructor] + private ServiceAuthenticationConfigurationInfoResponse( + string? audience, + + string? authority, + + bool? smartProxyEnabled) + { + Audience = audience; + Authority = authority; + SmartProxyEnabled = smartProxyEnabled; + } + } +} diff --git a/sdk/dotnet/HealthcareApis/V20210111/Outputs/ServiceCorsConfigurationInfoResponse.cs b/sdk/dotnet/HealthcareApis/V20210111/Outputs/ServiceCorsConfigurationInfoResponse.cs new file mode 100644 index 000000000000..b5ba524b2b7d --- /dev/null +++ b/sdk/dotnet/HealthcareApis/V20210111/Outputs/ServiceCorsConfigurationInfoResponse.cs @@ -0,0 +1,56 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.HealthcareApis.V20210111.Outputs +{ + + [OutputType] + public sealed class ServiceCorsConfigurationInfoResponse + { + /// + /// If credentials are allowed via CORS. + /// + public readonly bool? AllowCredentials; + /// + /// The headers to be allowed via CORS. + /// + public readonly ImmutableArray Headers; + /// + /// The max age to be allowed via CORS. + /// + public readonly int? MaxAge; + /// + /// The methods to be allowed via CORS. + /// + public readonly ImmutableArray Methods; + /// + /// The origins to be allowed via CORS. + /// + public readonly ImmutableArray Origins; + + [OutputConstructor] + private ServiceCorsConfigurationInfoResponse( + bool? allowCredentials, + + ImmutableArray headers, + + int? maxAge, + + ImmutableArray methods, + + ImmutableArray origins) + { + AllowCredentials = allowCredentials; + Headers = headers; + MaxAge = maxAge; + Methods = methods; + Origins = origins; + } + } +} diff --git a/sdk/dotnet/HealthcareApis/V20210111/Outputs/ServiceCosmosDbConfigurationInfoResponse.cs b/sdk/dotnet/HealthcareApis/V20210111/Outputs/ServiceCosmosDbConfigurationInfoResponse.cs new file mode 100644 index 000000000000..94b85a50005d --- /dev/null +++ b/sdk/dotnet/HealthcareApis/V20210111/Outputs/ServiceCosmosDbConfigurationInfoResponse.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.HealthcareApis.V20210111.Outputs +{ + + [OutputType] + public sealed class ServiceCosmosDbConfigurationInfoResponse + { + /// + /// The URI of the customer-managed key for the backing database. + /// + public readonly string? KeyVaultKeyUri; + /// + /// The provisioned throughput for the backing database. + /// + public readonly int? OfferThroughput; + + [OutputConstructor] + private ServiceCosmosDbConfigurationInfoResponse( + string? keyVaultKeyUri, + + int? offerThroughput) + { + KeyVaultKeyUri = keyVaultKeyUri; + OfferThroughput = offerThroughput; + } + } +} diff --git a/sdk/dotnet/HealthcareApis/V20210111/Outputs/ServiceExportConfigurationInfoResponse.cs b/sdk/dotnet/HealthcareApis/V20210111/Outputs/ServiceExportConfigurationInfoResponse.cs new file mode 100644 index 000000000000..f31f10ef3dd4 --- /dev/null +++ b/sdk/dotnet/HealthcareApis/V20210111/Outputs/ServiceExportConfigurationInfoResponse.cs @@ -0,0 +1,27 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.HealthcareApis.V20210111.Outputs +{ + + [OutputType] + public sealed class ServiceExportConfigurationInfoResponse + { + /// + /// The name of the default export storage account. + /// + public readonly string? StorageAccountName; + + [OutputConstructor] + private ServiceExportConfigurationInfoResponse(string? storageAccountName) + { + StorageAccountName = storageAccountName; + } + } +} diff --git a/sdk/dotnet/HealthcareApis/V20210111/Outputs/ServicesPropertiesResponse.cs b/sdk/dotnet/HealthcareApis/V20210111/Outputs/ServicesPropertiesResponse.cs new file mode 100644 index 000000000000..72273641eb54 --- /dev/null +++ b/sdk/dotnet/HealthcareApis/V20210111/Outputs/ServicesPropertiesResponse.cs @@ -0,0 +1,84 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.HealthcareApis.V20210111.Outputs +{ + + [OutputType] + public sealed class ServicesPropertiesResponse + { + /// + /// The access policies of the service instance. + /// + public readonly ImmutableArray AccessPolicies; + /// + /// The azure container registry settings used for convert data operation of the service instance. + /// + public readonly Outputs.ServiceAcrConfigurationInfoResponse? AcrConfiguration; + /// + /// The authentication configuration for the service instance. + /// + public readonly Outputs.ServiceAuthenticationConfigurationInfoResponse? AuthenticationConfiguration; + /// + /// The settings for the CORS configuration of the service instance. + /// + public readonly Outputs.ServiceCorsConfigurationInfoResponse? CorsConfiguration; + /// + /// The settings for the Cosmos DB database backing the service. + /// + public readonly Outputs.ServiceCosmosDbConfigurationInfoResponse? CosmosDbConfiguration; + /// + /// The settings for the export operation of the service instance. + /// + public readonly Outputs.ServiceExportConfigurationInfoResponse? ExportConfiguration; + /// + /// The list of private endpoint connections that are set up for this resource. + /// + public readonly ImmutableArray PrivateEndpointConnections; + /// + /// The provisioning state. + /// + public readonly string ProvisioningState; + /// + /// Control permission for data plane traffic coming from public networks while private endpoint is enabled. + /// + public readonly string? PublicNetworkAccess; + + [OutputConstructor] + private ServicesPropertiesResponse( + ImmutableArray accessPolicies, + + Outputs.ServiceAcrConfigurationInfoResponse? acrConfiguration, + + Outputs.ServiceAuthenticationConfigurationInfoResponse? authenticationConfiguration, + + Outputs.ServiceCorsConfigurationInfoResponse? corsConfiguration, + + Outputs.ServiceCosmosDbConfigurationInfoResponse? cosmosDbConfiguration, + + Outputs.ServiceExportConfigurationInfoResponse? exportConfiguration, + + ImmutableArray privateEndpointConnections, + + string provisioningState, + + string? publicNetworkAccess) + { + AccessPolicies = accessPolicies; + AcrConfiguration = acrConfiguration; + AuthenticationConfiguration = authenticationConfiguration; + CorsConfiguration = corsConfiguration; + CosmosDbConfiguration = cosmosDbConfiguration; + ExportConfiguration = exportConfiguration; + PrivateEndpointConnections = privateEndpointConnections; + ProvisioningState = provisioningState; + PublicNetworkAccess = publicNetworkAccess; + } + } +} diff --git a/sdk/dotnet/HealthcareApis/V20210111/Outputs/ServicesResourceResponseIdentity.cs b/sdk/dotnet/HealthcareApis/V20210111/Outputs/ServicesResourceResponseIdentity.cs new file mode 100644 index 000000000000..3431623adee0 --- /dev/null +++ b/sdk/dotnet/HealthcareApis/V20210111/Outputs/ServicesResourceResponseIdentity.cs @@ -0,0 +1,42 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.HealthcareApis.V20210111.Outputs +{ + + [OutputType] + public sealed class ServicesResourceResponseIdentity + { + /// + /// The principal ID of the resource identity. + /// + public readonly string PrincipalId; + /// + /// The tenant ID of the resource. + /// + public readonly string TenantId; + /// + /// Type of identity being specified, currently SystemAssigned and None are allowed. + /// + public readonly string? Type; + + [OutputConstructor] + private ServicesResourceResponseIdentity( + string principalId, + + string tenantId, + + string? type) + { + PrincipalId = principalId; + TenantId = tenantId; + Type = type; + } + } +} diff --git a/sdk/dotnet/HealthcareApis/V20210111/Outputs/SystemDataResponse.cs b/sdk/dotnet/HealthcareApis/V20210111/Outputs/SystemDataResponse.cs new file mode 100644 index 000000000000..eefa126e46d6 --- /dev/null +++ b/sdk/dotnet/HealthcareApis/V20210111/Outputs/SystemDataResponse.cs @@ -0,0 +1,63 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.HealthcareApis.V20210111.Outputs +{ + + [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 type of identity that last modified the resource. + /// + 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/HealthcareApis/V20210111/PrivateEndpointConnection.cs b/sdk/dotnet/HealthcareApis/V20210111/PrivateEndpointConnection.cs new file mode 100644 index 000000000000..fe798a712365 --- /dev/null +++ b/sdk/dotnet/HealthcareApis/V20210111/PrivateEndpointConnection.cs @@ -0,0 +1,132 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.HealthcareApis.V20210111 +{ + /// + /// The Private Endpoint Connection resource. + /// + [AzureNextGenResourceType("azure-nextgen:healthcareapis/v20210111:PrivateEndpointConnection")] + public partial class PrivateEndpointConnection : Pulumi.CustomResource + { + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// The resource of private end point. + /// + [Output("privateEndpoint")] + public Output PrivateEndpoint { get; private set; } = null!; + + /// + /// A collection of information about the state of the connection between service consumer and provider. + /// + [Output("privateLinkServiceConnectionState")] + public Output PrivateLinkServiceConnectionState { get; private set; } = null!; + + /// + /// The provisioning state of the private endpoint connection resource. + /// + [Output("provisioningState")] + public Output ProvisioningState { get; private set; } = null!; + + /// + /// System metadata for this resource. + /// + [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 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-nextgen:healthcareapis/v20210111:PrivateEndpointConnection", name, args ?? new PrivateEndpointConnectionArgs(), MakeResourceOptions(options, "")) + { + } + + private PrivateEndpointConnection(string name, Input id, CustomResourceOptions? options = null) + : base("azure-nextgen:healthcareapis/v20210111:PrivateEndpointConnection", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new Pulumi.Alias { Type = "azure-nextgen:healthcareapis/latest:PrivateEndpointConnection"}, + new Pulumi.Alias { Type = "azure-nextgen:healthcareapis/v20200330: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 : Pulumi.ResourceArgs + { + /// + /// The name of the private endpoint connection associated with the Azure resource + /// + [Input("privateEndpointConnectionName", required: true)] + public Input PrivateEndpointConnectionName { get; set; } = null!; + + /// + /// A collection of information about the state of the connection between service consumer and provider. + /// + [Input("privateLinkServiceConnectionState", required: true)] + public Input PrivateLinkServiceConnectionState { get; set; } = null!; + + /// + /// The name of the resource group that contains the service instance. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the service instance. + /// + [Input("resourceName", required: true)] + public Input ResourceName { get; set; } = null!; + + public PrivateEndpointConnectionArgs() + { + } + } +} diff --git a/sdk/dotnet/HealthcareApis/V20210111/README.md b/sdk/dotnet/HealthcareApis/V20210111/README.md new file mode 100644 index 000000000000..bd9c57f78375 --- /dev/null +++ b/sdk/dotnet/HealthcareApis/V20210111/README.md @@ -0,0 +1 @@ +A Next Generation Pulumi package for creating and managing Azure resources. diff --git a/sdk/dotnet/HealthcareApis/V20210111/Service.cs b/sdk/dotnet/HealthcareApis/V20210111/Service.cs new file mode 100644 index 000000000000..9698552baacf --- /dev/null +++ b/sdk/dotnet/HealthcareApis/V20210111/Service.cs @@ -0,0 +1,183 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.HealthcareApis.V20210111 +{ + /// + /// The description of the service. + /// + [AzureNextGenResourceType("azure-nextgen:healthcareapis/v20210111:Service")] + public partial class Service : Pulumi.CustomResource + { + /// + /// An etag associated with the resource, used for optimistic concurrency when editing it. + /// + [Output("etag")] + public Output Etag { get; private set; } = null!; + + /// + /// Setting indicating whether the service has a managed identity associated with it. + /// + [Output("identity")] + public Output Identity { get; private set; } = null!; + + /// + /// The kind of the service. + /// + [Output("kind")] + public Output Kind { get; private set; } = null!; + + /// + /// The resource location. + /// + [Output("location")] + public Output Location { get; private set; } = null!; + + /// + /// The resource name. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// The common properties of a service. + /// + [Output("properties")] + public Output Properties { get; private set; } = null!; + + /// + /// Metadata pertaining to creation and last modification of the resource. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// The resource tags. + /// + [Output("tags")] + public Output?> Tags { get; private set; } = null!; + + /// + /// The resource type. + /// + [Output("type")] + public Output Type { 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-nextgen:healthcareapis/v20210111:Service", name, args ?? new ServiceArgs(), MakeResourceOptions(options, "")) + { + } + + private Service(string name, Input id, CustomResourceOptions? options = null) + : base("azure-nextgen:healthcareapis/v20210111:Service", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new Pulumi.Alias { Type = "azure-nextgen:healthcareapis/latest:Service"}, + new Pulumi.Alias { Type = "azure-nextgen:healthcareapis/v20180820preview:Service"}, + new Pulumi.Alias { Type = "azure-nextgen:healthcareapis/v20190916:Service"}, + new Pulumi.Alias { Type = "azure-nextgen:healthcareapis/v20200315:Service"}, + new Pulumi.Alias { Type = "azure-nextgen:healthcareapis/v20200330: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 : Pulumi.ResourceArgs + { + /// + /// An etag associated with the resource, used for optimistic concurrency when editing it. + /// + [Input("etag")] + public Input? Etag { get; set; } + + /// + /// Setting indicating whether the service has a managed identity associated with it. + /// + [Input("identity")] + public Input? Identity { get; set; } + + /// + /// The kind of the service. + /// + [Input("kind", required: true)] + public Input Kind { get; set; } = null!; + + /// + /// The resource location. + /// + [Input("location", required: true)] + public Input Location { get; set; } = null!; + + /// + /// The common properties of a service. + /// + [Input("properties")] + public Input? Properties { get; set; } + + /// + /// The name of the resource group that contains the service instance. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the service instance. + /// + [Input("resourceName", required: true)] + public Input ResourceName { get; set; } = null!; + + [Input("tags")] + private InputMap? _tags; + + /// + /// The resource tags. + /// + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + + public ServiceArgs() + { + } + } +} diff --git a/sdk/dotnet/MixedReality/Latest/Enums.cs b/sdk/dotnet/MixedReality/Latest/Enums.cs index 85fee439b6f7..92f3e393941e 100644 --- a/sdk/dotnet/MixedReality/Latest/Enums.cs +++ b/sdk/dotnet/MixedReality/Latest/Enums.cs @@ -36,4 +36,37 @@ private ResourceIdentityType(string value) public override string ToString() => _value; } + + /// + /// This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. + /// + [EnumType] + public readonly struct SkuTier : IEquatable + { + private readonly string _value; + + private SkuTier(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static SkuTier Free { get; } = new SkuTier("Free"); + public static SkuTier Basic { get; } = new SkuTier("Basic"); + public static SkuTier Standard { get; } = new SkuTier("Standard"); + public static SkuTier Premium { get; } = new SkuTier("Premium"); + + public static bool operator ==(SkuTier left, SkuTier right) => left.Equals(right); + public static bool operator !=(SkuTier left, SkuTier right) => !left.Equals(right); + + public static explicit operator string(SkuTier value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is SkuTier other && Equals(other); + public bool Equals(SkuTier 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/MixedReality/Latest/GetRemoteRenderingAccount.cs b/sdk/dotnet/MixedReality/Latest/GetRemoteRenderingAccount.cs new file mode 100644 index 000000000000..7578aeca7189 --- /dev/null +++ b/sdk/dotnet/MixedReality/Latest/GetRemoteRenderingAccount.cs @@ -0,0 +1,131 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.MixedReality.Latest +{ + public static class GetRemoteRenderingAccount + { + public static Task InvokeAsync(GetRemoteRenderingAccountArgs args, InvokeOptions? options = null) + => Pulumi.Deployment.Instance.InvokeAsync("azure-nextgen:mixedreality/latest:getRemoteRenderingAccount", args ?? new GetRemoteRenderingAccountArgs(), options.WithVersion()); + } + + + public sealed class GetRemoteRenderingAccountArgs : Pulumi.InvokeArgs + { + /// + /// Name of an Mixed Reality Account. + /// + [Input("accountName", required: true)] + public string AccountName { get; set; } = null!; + + /// + /// Name of an Azure resource group. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetRemoteRenderingAccountArgs() + { + } + } + + + [OutputType] + public sealed class GetRemoteRenderingAccountResult + { + /// + /// Correspond domain name of certain Spatial Anchors Account + /// + public readonly string AccountDomain; + /// + /// unique id of certain account. + /// + public readonly string AccountId; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// The identity associated with this account + /// + public readonly Outputs.IdentityResponse? Identity; + /// + /// The kind of account, if supported + /// + public readonly Outputs.SkuResponse? Kind; + /// + /// The geo-location where the resource lives + /// + public readonly string Location; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// The plan associated with this account + /// + public readonly Outputs.IdentityResponse? Plan; + /// + /// The sku associated with this account + /// + public readonly Outputs.SkuResponse? Sku; + /// + /// System metadata for this account + /// + 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 GetRemoteRenderingAccountResult( + string accountDomain, + + string accountId, + + string id, + + Outputs.IdentityResponse? identity, + + Outputs.SkuResponse? kind, + + string location, + + string name, + + Outputs.IdentityResponse? plan, + + Outputs.SkuResponse? sku, + + Outputs.SystemDataResponse systemData, + + ImmutableDictionary? tags, + + string type) + { + AccountDomain = accountDomain; + AccountId = accountId; + Id = id; + Identity = identity; + Kind = kind; + Location = location; + Name = name; + Plan = plan; + Sku = sku; + SystemData = systemData; + Tags = tags; + Type = type; + } + } +} diff --git a/sdk/dotnet/MixedReality/Latest/GetSpatialAnchorsAccount.cs b/sdk/dotnet/MixedReality/Latest/GetSpatialAnchorsAccount.cs index 0b9668423f7c..df57934768fa 100644 --- a/sdk/dotnet/MixedReality/Latest/GetSpatialAnchorsAccount.cs +++ b/sdk/dotnet/MixedReality/Latest/GetSpatialAnchorsAccount.cs @@ -56,6 +56,10 @@ public sealed class GetSpatialAnchorsAccountResult /// public readonly Outputs.IdentityResponse? Identity; /// + /// The kind of account, if supported + /// + public readonly Outputs.SkuResponse? Kind; + /// /// The geo-location where the resource lives /// public readonly string Location; @@ -64,6 +68,18 @@ public sealed class GetSpatialAnchorsAccountResult /// public readonly string Name; /// + /// The plan associated with this account + /// + public readonly Outputs.IdentityResponse? Plan; + /// + /// The sku associated with this account + /// + public readonly Outputs.SkuResponse? Sku; + /// + /// System metadata for this account + /// + public readonly Outputs.SystemDataResponse SystemData; + /// /// Resource tags. /// public readonly ImmutableDictionary? Tags; @@ -82,10 +98,18 @@ private GetSpatialAnchorsAccountResult( Outputs.IdentityResponse? identity, + Outputs.SkuResponse? kind, + string location, string name, + Outputs.IdentityResponse? plan, + + Outputs.SkuResponse? sku, + + Outputs.SystemDataResponse systemData, + ImmutableDictionary? tags, string type) @@ -94,8 +118,12 @@ private GetSpatialAnchorsAccountResult( AccountId = accountId; Id = id; Identity = identity; + Kind = kind; Location = location; Name = name; + Plan = plan; + Sku = sku; + SystemData = systemData; Tags = tags; Type = type; } diff --git a/sdk/dotnet/MixedReality/Latest/Inputs/SkuArgs.cs b/sdk/dotnet/MixedReality/Latest/Inputs/SkuArgs.cs new file mode 100644 index 000000000000..a18ea700df1c --- /dev/null +++ b/sdk/dotnet/MixedReality/Latest/Inputs/SkuArgs.cs @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.MixedReality.Latest.Inputs +{ + + /// + /// The resource model definition representing SKU + /// + public sealed class SkuArgs : Pulumi.ResourceArgs + { + /// + /// If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. + /// + [Input("capacity")] + public Input? Capacity { get; set; } + + /// + /// If the service has different generations of hardware, for the same SKU, then that can be captured here. + /// + [Input("family")] + public Input? Family { get; set; } + + /// + /// The name of the SKU. Ex - P3. It is typically a letter+number code + /// + [Input("name", required: true)] + public Input Name { get; set; } = null!; + + /// + /// The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. + /// + [Input("size")] + public Input? Size { get; set; } + + /// + /// This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. + /// + [Input("tier")] + public Input? Tier { get; set; } + + public SkuArgs() + { + } + } +} diff --git a/sdk/dotnet/MixedReality/Latest/ListRemoteRenderingAccountKeys.cs b/sdk/dotnet/MixedReality/Latest/ListRemoteRenderingAccountKeys.cs new file mode 100644 index 000000000000..72f0371dd752 --- /dev/null +++ b/sdk/dotnet/MixedReality/Latest/ListRemoteRenderingAccountKeys.cs @@ -0,0 +1,61 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.MixedReality.Latest +{ + public static class ListRemoteRenderingAccountKeys + { + public static Task InvokeAsync(ListRemoteRenderingAccountKeysArgs args, InvokeOptions? options = null) + => Pulumi.Deployment.Instance.InvokeAsync("azure-nextgen:mixedreality/latest:listRemoteRenderingAccountKeys", args ?? new ListRemoteRenderingAccountKeysArgs(), options.WithVersion()); + } + + + public sealed class ListRemoteRenderingAccountKeysArgs : Pulumi.InvokeArgs + { + /// + /// Name of an Mixed Reality Account. + /// + [Input("accountName", required: true)] + public string AccountName { get; set; } = null!; + + /// + /// Name of an Azure resource group. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public ListRemoteRenderingAccountKeysArgs() + { + } + } + + + [OutputType] + public sealed class ListRemoteRenderingAccountKeysResult + { + /// + /// value of primary key. + /// + public readonly string PrimaryKey; + /// + /// value of secondary key. + /// + public readonly string SecondaryKey; + + [OutputConstructor] + private ListRemoteRenderingAccountKeysResult( + string primaryKey, + + string secondaryKey) + { + PrimaryKey = primaryKey; + SecondaryKey = secondaryKey; + } + } +} diff --git a/sdk/dotnet/MixedReality/Latest/Outputs/SkuResponse.cs b/sdk/dotnet/MixedReality/Latest/Outputs/SkuResponse.cs new file mode 100644 index 000000000000..1605f4c30885 --- /dev/null +++ b/sdk/dotnet/MixedReality/Latest/Outputs/SkuResponse.cs @@ -0,0 +1,56 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.MixedReality.Latest.Outputs +{ + + [OutputType] + public sealed class SkuResponse + { + /// + /// If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. + /// + public readonly int? Capacity; + /// + /// If the service has different generations of hardware, for the same SKU, then that can be captured here. + /// + public readonly string? Family; + /// + /// The name of the SKU. Ex - P3. It is typically a letter+number code + /// + public readonly string Name; + /// + /// The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. + /// + public readonly string? Size; + /// + /// This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. + /// + public readonly string? Tier; + + [OutputConstructor] + private SkuResponse( + int? capacity, + + string? family, + + string name, + + string? size, + + string? tier) + { + Capacity = capacity; + Family = family; + Name = name; + Size = size; + Tier = tier; + } + } +} diff --git a/sdk/dotnet/MixedReality/Latest/Outputs/SystemDataResponse.cs b/sdk/dotnet/MixedReality/Latest/Outputs/SystemDataResponse.cs new file mode 100644 index 000000000000..aa184d2f2623 --- /dev/null +++ b/sdk/dotnet/MixedReality/Latest/Outputs/SystemDataResponse.cs @@ -0,0 +1,63 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.MixedReality.Latest.Outputs +{ + + [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 type of identity that last modified the resource. + /// + 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/MixedReality/Latest/RemoteRenderingAccount.cs b/sdk/dotnet/MixedReality/Latest/RemoteRenderingAccount.cs new file mode 100644 index 000000000000..3171c42a61e1 --- /dev/null +++ b/sdk/dotnet/MixedReality/Latest/RemoteRenderingAccount.cs @@ -0,0 +1,194 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.MixedReality.Latest +{ + /// + /// RemoteRenderingAccount Response. + /// Latest API Version: 2021-01-01. + /// + [AzureNextGenResourceType("azure-nextgen:mixedreality/latest:RemoteRenderingAccount")] + public partial class RemoteRenderingAccount : Pulumi.CustomResource + { + /// + /// Correspond domain name of certain Spatial Anchors Account + /// + [Output("accountDomain")] + public Output AccountDomain { get; private set; } = null!; + + /// + /// unique id of certain account. + /// + [Output("accountId")] + public Output AccountId { get; private set; } = null!; + + /// + /// The identity associated with this account + /// + [Output("identity")] + public Output Identity { get; private set; } = null!; + + /// + /// The kind of account, if supported + /// + [Output("kind")] + public Output Kind { 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!; + + /// + /// The plan associated with this account + /// + [Output("plan")] + public Output Plan { get; private set; } = null!; + + /// + /// The sku associated with this account + /// + [Output("sku")] + public Output Sku { get; private set; } = null!; + + /// + /// System metadata for this account + /// + [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 RemoteRenderingAccount 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 RemoteRenderingAccount(string name, RemoteRenderingAccountArgs args, CustomResourceOptions? options = null) + : base("azure-nextgen:mixedreality/latest:RemoteRenderingAccount", name, args ?? new RemoteRenderingAccountArgs(), MakeResourceOptions(options, "")) + { + } + + private RemoteRenderingAccount(string name, Input id, CustomResourceOptions? options = null) + : base("azure-nextgen:mixedreality/latest:RemoteRenderingAccount", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new Pulumi.Alias { Type = "azure-nextgen:mixedreality/v20191202preview:RemoteRenderingAccount"}, + new Pulumi.Alias { Type = "azure-nextgen:mixedreality/v20200406preview:RemoteRenderingAccount"}, + new Pulumi.Alias { Type = "azure-nextgen:mixedreality/v20210101:RemoteRenderingAccount"}, + }, + }; + 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 RemoteRenderingAccount 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 RemoteRenderingAccount Get(string name, Input id, CustomResourceOptions? options = null) + { + return new RemoteRenderingAccount(name, id, options); + } + } + + public sealed class RemoteRenderingAccountArgs : Pulumi.ResourceArgs + { + /// + /// Name of an Mixed Reality Account. + /// + [Input("accountName", required: true)] + public Input AccountName { get; set; } = null!; + + /// + /// The identity associated with this account + /// + [Input("identity")] + public Input? Identity { get; set; } + + /// + /// The kind of account, if supported + /// + [Input("kind")] + public Input? Kind { get; set; } + + /// + /// The geo-location where the resource lives + /// + [Input("location", required: true)] + public Input Location { get; set; } = null!; + + /// + /// The plan associated with this account + /// + [Input("plan")] + public Input? Plan { get; set; } + + /// + /// Name of an Azure resource group. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The sku associated with this account + /// + [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 RemoteRenderingAccountArgs() + { + } + } +} diff --git a/sdk/dotnet/MixedReality/Latest/SpatialAnchorsAccount.cs b/sdk/dotnet/MixedReality/Latest/SpatialAnchorsAccount.cs index 474c99fc7414..5b85f4d2b2cc 100644 --- a/sdk/dotnet/MixedReality/Latest/SpatialAnchorsAccount.cs +++ b/sdk/dotnet/MixedReality/Latest/SpatialAnchorsAccount.cs @@ -11,7 +11,7 @@ namespace Pulumi.AzureNextGen.MixedReality.Latest { /// /// SpatialAnchorsAccount Response. - /// Latest API Version: 2020-05-01. + /// Latest API Version: 2021-01-01. /// [AzureNextGenResourceType("azure-nextgen:mixedreality/latest:SpatialAnchorsAccount")] public partial class SpatialAnchorsAccount : Pulumi.CustomResource @@ -34,6 +34,12 @@ public partial class SpatialAnchorsAccount : Pulumi.CustomResource [Output("identity")] public Output Identity { get; private set; } = null!; + /// + /// The kind of account, if supported + /// + [Output("kind")] + public Output Kind { get; private set; } = null!; + /// /// The geo-location where the resource lives /// @@ -46,6 +52,24 @@ public partial class SpatialAnchorsAccount : Pulumi.CustomResource [Output("name")] public Output Name { get; private set; } = null!; + /// + /// The plan associated with this account + /// + [Output("plan")] + public Output Plan { get; private set; } = null!; + + /// + /// The sku associated with this account + /// + [Output("sku")] + public Output Sku { get; private set; } = null!; + + /// + /// System metadata for this account + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + /// /// Resource tags. /// @@ -86,6 +110,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new Pulumi.Alias { Type = "azure-nextgen:mixedreality/v20190228preview:SpatialAnchorsAccount"}, new Pulumi.Alias { Type = "azure-nextgen:mixedreality/v20191202preview:SpatialAnchorsAccount"}, new Pulumi.Alias { Type = "azure-nextgen:mixedreality/v20200501:SpatialAnchorsAccount"}, + new Pulumi.Alias { Type = "azure-nextgen:mixedreality/v20210101:SpatialAnchorsAccount"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); @@ -121,18 +146,36 @@ public sealed class SpatialAnchorsAccountArgs : Pulumi.ResourceArgs [Input("identity")] public Input? Identity { get; set; } + /// + /// The kind of account, if supported + /// + [Input("kind")] + public Input? Kind { get; set; } + /// /// The geo-location where the resource lives /// [Input("location", required: true)] public Input Location { get; set; } = null!; + /// + /// The plan associated with this account + /// + [Input("plan")] + public Input? Plan { get; set; } + /// /// Name of an Azure resource group. /// [Input("resourceGroupName", required: true)] public Input ResourceGroupName { get; set; } = null!; + /// + /// The sku associated with this account + /// + [Input("sku")] + public Input? Sku { get; set; } + [Input("tags")] private InputMap? _tags; diff --git a/sdk/dotnet/MixedReality/V20190228Preview/SpatialAnchorsAccount.cs b/sdk/dotnet/MixedReality/V20190228Preview/SpatialAnchorsAccount.cs index a8c1a6534851..6643831c6693 100644 --- a/sdk/dotnet/MixedReality/V20190228Preview/SpatialAnchorsAccount.cs +++ b/sdk/dotnet/MixedReality/V20190228Preview/SpatialAnchorsAccount.cs @@ -85,6 +85,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new Pulumi.Alias { Type = "azure-nextgen:mixedreality/latest:SpatialAnchorsAccount"}, new Pulumi.Alias { Type = "azure-nextgen:mixedreality/v20191202preview:SpatialAnchorsAccount"}, new Pulumi.Alias { Type = "azure-nextgen:mixedreality/v20200501:SpatialAnchorsAccount"}, + new Pulumi.Alias { Type = "azure-nextgen:mixedreality/v20210101:SpatialAnchorsAccount"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/MixedReality/V20191202Preview/RemoteRenderingAccount.cs b/sdk/dotnet/MixedReality/V20191202Preview/RemoteRenderingAccount.cs index 3216983e367e..31cd69d16e42 100644 --- a/sdk/dotnet/MixedReality/V20191202Preview/RemoteRenderingAccount.cs +++ b/sdk/dotnet/MixedReality/V20191202Preview/RemoteRenderingAccount.cs @@ -82,7 +82,9 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? Version = Utilities.Version, Aliases = { + new Pulumi.Alias { Type = "azure-nextgen:mixedreality/latest:RemoteRenderingAccount"}, new Pulumi.Alias { Type = "azure-nextgen:mixedreality/v20200406preview:RemoteRenderingAccount"}, + new Pulumi.Alias { Type = "azure-nextgen:mixedreality/v20210101:RemoteRenderingAccount"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/MixedReality/V20191202Preview/SpatialAnchorsAccount.cs b/sdk/dotnet/MixedReality/V20191202Preview/SpatialAnchorsAccount.cs index 6494c6376387..822099f0d7de 100644 --- a/sdk/dotnet/MixedReality/V20191202Preview/SpatialAnchorsAccount.cs +++ b/sdk/dotnet/MixedReality/V20191202Preview/SpatialAnchorsAccount.cs @@ -85,6 +85,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new Pulumi.Alias { Type = "azure-nextgen:mixedreality/latest:SpatialAnchorsAccount"}, new Pulumi.Alias { Type = "azure-nextgen:mixedreality/v20190228preview:SpatialAnchorsAccount"}, new Pulumi.Alias { Type = "azure-nextgen:mixedreality/v20200501:SpatialAnchorsAccount"}, + new Pulumi.Alias { Type = "azure-nextgen:mixedreality/v20210101:SpatialAnchorsAccount"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/MixedReality/V20200406Preview/RemoteRenderingAccount.cs b/sdk/dotnet/MixedReality/V20200406Preview/RemoteRenderingAccount.cs index f745fe3e36cc..d0566ca7c530 100644 --- a/sdk/dotnet/MixedReality/V20200406Preview/RemoteRenderingAccount.cs +++ b/sdk/dotnet/MixedReality/V20200406Preview/RemoteRenderingAccount.cs @@ -79,7 +79,9 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? Version = Utilities.Version, Aliases = { + new Pulumi.Alias { Type = "azure-nextgen:mixedreality/latest:RemoteRenderingAccount"}, new Pulumi.Alias { Type = "azure-nextgen:mixedreality/v20191202preview:RemoteRenderingAccount"}, + new Pulumi.Alias { Type = "azure-nextgen:mixedreality/v20210101:RemoteRenderingAccount"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/MixedReality/V20200501/SpatialAnchorsAccount.cs b/sdk/dotnet/MixedReality/V20200501/SpatialAnchorsAccount.cs index c8de87228919..88abe5cccc8d 100644 --- a/sdk/dotnet/MixedReality/V20200501/SpatialAnchorsAccount.cs +++ b/sdk/dotnet/MixedReality/V20200501/SpatialAnchorsAccount.cs @@ -85,6 +85,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new Pulumi.Alias { Type = "azure-nextgen:mixedreality/latest:SpatialAnchorsAccount"}, new Pulumi.Alias { Type = "azure-nextgen:mixedreality/v20190228preview:SpatialAnchorsAccount"}, new Pulumi.Alias { Type = "azure-nextgen:mixedreality/v20191202preview:SpatialAnchorsAccount"}, + new Pulumi.Alias { Type = "azure-nextgen:mixedreality/v20210101:SpatialAnchorsAccount"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/MixedReality/V20210101/Enums.cs b/sdk/dotnet/MixedReality/V20210101/Enums.cs new file mode 100644 index 000000000000..d2f1ef47bb69 --- /dev/null +++ b/sdk/dotnet/MixedReality/V20210101/Enums.cs @@ -0,0 +1,72 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.ComponentModel; +using Pulumi; + +namespace Pulumi.AzureNextGen.MixedReality.V20210101 +{ + /// + /// The identity type. + /// + [EnumType] + public readonly struct ResourceIdentityType : IEquatable + { + private readonly string _value; + + private ResourceIdentityType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static ResourceIdentityType SystemAssigned { get; } = new ResourceIdentityType("SystemAssigned"); + + public static bool operator ==(ResourceIdentityType left, ResourceIdentityType right) => left.Equals(right); + public static bool operator !=(ResourceIdentityType left, ResourceIdentityType right) => !left.Equals(right); + + public static explicit operator string(ResourceIdentityType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is ResourceIdentityType other && Equals(other); + public bool Equals(ResourceIdentityType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. + /// + [EnumType] + public readonly struct SkuTier : IEquatable + { + private readonly string _value; + + private SkuTier(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static SkuTier Free { get; } = new SkuTier("Free"); + public static SkuTier Basic { get; } = new SkuTier("Basic"); + public static SkuTier Standard { get; } = new SkuTier("Standard"); + public static SkuTier Premium { get; } = new SkuTier("Premium"); + + public static bool operator ==(SkuTier left, SkuTier right) => left.Equals(right); + public static bool operator !=(SkuTier left, SkuTier right) => !left.Equals(right); + + public static explicit operator string(SkuTier value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is SkuTier other && Equals(other); + public bool Equals(SkuTier 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/MixedReality/V20210101/GetRemoteRenderingAccount.cs b/sdk/dotnet/MixedReality/V20210101/GetRemoteRenderingAccount.cs new file mode 100644 index 000000000000..c6ce470e41a5 --- /dev/null +++ b/sdk/dotnet/MixedReality/V20210101/GetRemoteRenderingAccount.cs @@ -0,0 +1,131 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.MixedReality.V20210101 +{ + public static class GetRemoteRenderingAccount + { + public static Task InvokeAsync(GetRemoteRenderingAccountArgs args, InvokeOptions? options = null) + => Pulumi.Deployment.Instance.InvokeAsync("azure-nextgen:mixedreality/v20210101:getRemoteRenderingAccount", args ?? new GetRemoteRenderingAccountArgs(), options.WithVersion()); + } + + + public sealed class GetRemoteRenderingAccountArgs : Pulumi.InvokeArgs + { + /// + /// Name of an Mixed Reality Account. + /// + [Input("accountName", required: true)] + public string AccountName { get; set; } = null!; + + /// + /// Name of an Azure resource group. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetRemoteRenderingAccountArgs() + { + } + } + + + [OutputType] + public sealed class GetRemoteRenderingAccountResult + { + /// + /// Correspond domain name of certain Spatial Anchors Account + /// + public readonly string AccountDomain; + /// + /// unique id of certain account. + /// + public readonly string AccountId; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// The identity associated with this account + /// + public readonly Outputs.IdentityResponse? Identity; + /// + /// The kind of account, if supported + /// + public readonly Outputs.SkuResponse? Kind; + /// + /// The geo-location where the resource lives + /// + public readonly string Location; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// The plan associated with this account + /// + public readonly Outputs.IdentityResponse? Plan; + /// + /// The sku associated with this account + /// + public readonly Outputs.SkuResponse? Sku; + /// + /// System metadata for this account + /// + 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 GetRemoteRenderingAccountResult( + string accountDomain, + + string accountId, + + string id, + + Outputs.IdentityResponse? identity, + + Outputs.SkuResponse? kind, + + string location, + + string name, + + Outputs.IdentityResponse? plan, + + Outputs.SkuResponse? sku, + + Outputs.SystemDataResponse systemData, + + ImmutableDictionary? tags, + + string type) + { + AccountDomain = accountDomain; + AccountId = accountId; + Id = id; + Identity = identity; + Kind = kind; + Location = location; + Name = name; + Plan = plan; + Sku = sku; + SystemData = systemData; + Tags = tags; + Type = type; + } + } +} diff --git a/sdk/dotnet/MixedReality/V20210101/GetSpatialAnchorsAccount.cs b/sdk/dotnet/MixedReality/V20210101/GetSpatialAnchorsAccount.cs new file mode 100644 index 000000000000..6236878347f6 --- /dev/null +++ b/sdk/dotnet/MixedReality/V20210101/GetSpatialAnchorsAccount.cs @@ -0,0 +1,131 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.MixedReality.V20210101 +{ + public static class GetSpatialAnchorsAccount + { + public static Task InvokeAsync(GetSpatialAnchorsAccountArgs args, InvokeOptions? options = null) + => Pulumi.Deployment.Instance.InvokeAsync("azure-nextgen:mixedreality/v20210101:getSpatialAnchorsAccount", args ?? new GetSpatialAnchorsAccountArgs(), options.WithVersion()); + } + + + public sealed class GetSpatialAnchorsAccountArgs : Pulumi.InvokeArgs + { + /// + /// Name of an Mixed Reality Account. + /// + [Input("accountName", required: true)] + public string AccountName { get; set; } = null!; + + /// + /// Name of an Azure resource group. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetSpatialAnchorsAccountArgs() + { + } + } + + + [OutputType] + public sealed class GetSpatialAnchorsAccountResult + { + /// + /// Correspond domain name of certain Spatial Anchors Account + /// + public readonly string AccountDomain; + /// + /// unique id of certain account. + /// + public readonly string AccountId; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// The identity associated with this account + /// + public readonly Outputs.IdentityResponse? Identity; + /// + /// The kind of account, if supported + /// + public readonly Outputs.SkuResponse? Kind; + /// + /// The geo-location where the resource lives + /// + public readonly string Location; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// The plan associated with this account + /// + public readonly Outputs.IdentityResponse? Plan; + /// + /// The sku associated with this account + /// + public readonly Outputs.SkuResponse? Sku; + /// + /// System metadata for this account + /// + 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 GetSpatialAnchorsAccountResult( + string accountDomain, + + string accountId, + + string id, + + Outputs.IdentityResponse? identity, + + Outputs.SkuResponse? kind, + + string location, + + string name, + + Outputs.IdentityResponse? plan, + + Outputs.SkuResponse? sku, + + Outputs.SystemDataResponse systemData, + + ImmutableDictionary? tags, + + string type) + { + AccountDomain = accountDomain; + AccountId = accountId; + Id = id; + Identity = identity; + Kind = kind; + Location = location; + Name = name; + Plan = plan; + Sku = sku; + SystemData = systemData; + Tags = tags; + Type = type; + } + } +} diff --git a/sdk/dotnet/MixedReality/V20210101/Inputs/IdentityArgs.cs b/sdk/dotnet/MixedReality/V20210101/Inputs/IdentityArgs.cs new file mode 100644 index 000000000000..ad00bf5eb522 --- /dev/null +++ b/sdk/dotnet/MixedReality/V20210101/Inputs/IdentityArgs.cs @@ -0,0 +1,28 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.MixedReality.V20210101.Inputs +{ + + /// + /// Identity for the resource. + /// + public sealed class IdentityArgs : Pulumi.ResourceArgs + { + /// + /// The identity type. + /// + [Input("type")] + public Input? Type { get; set; } + + public IdentityArgs() + { + } + } +} diff --git a/sdk/dotnet/MixedReality/V20210101/Inputs/SkuArgs.cs b/sdk/dotnet/MixedReality/V20210101/Inputs/SkuArgs.cs new file mode 100644 index 000000000000..e3dd14035d3f --- /dev/null +++ b/sdk/dotnet/MixedReality/V20210101/Inputs/SkuArgs.cs @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.MixedReality.V20210101.Inputs +{ + + /// + /// The resource model definition representing SKU + /// + public sealed class SkuArgs : Pulumi.ResourceArgs + { + /// + /// If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. + /// + [Input("capacity")] + public Input? Capacity { get; set; } + + /// + /// If the service has different generations of hardware, for the same SKU, then that can be captured here. + /// + [Input("family")] + public Input? Family { get; set; } + + /// + /// The name of the SKU. Ex - P3. It is typically a letter+number code + /// + [Input("name", required: true)] + public Input Name { get; set; } = null!; + + /// + /// The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. + /// + [Input("size")] + public Input? Size { get; set; } + + /// + /// This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. + /// + [Input("tier")] + public Input? Tier { get; set; } + + public SkuArgs() + { + } + } +} diff --git a/sdk/dotnet/MixedReality/V20210101/ListRemoteRenderingAccountKeys.cs b/sdk/dotnet/MixedReality/V20210101/ListRemoteRenderingAccountKeys.cs new file mode 100644 index 000000000000..a7d32d9c6d30 --- /dev/null +++ b/sdk/dotnet/MixedReality/V20210101/ListRemoteRenderingAccountKeys.cs @@ -0,0 +1,61 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.MixedReality.V20210101 +{ + public static class ListRemoteRenderingAccountKeys + { + public static Task InvokeAsync(ListRemoteRenderingAccountKeysArgs args, InvokeOptions? options = null) + => Pulumi.Deployment.Instance.InvokeAsync("azure-nextgen:mixedreality/v20210101:listRemoteRenderingAccountKeys", args ?? new ListRemoteRenderingAccountKeysArgs(), options.WithVersion()); + } + + + public sealed class ListRemoteRenderingAccountKeysArgs : Pulumi.InvokeArgs + { + /// + /// Name of an Mixed Reality Account. + /// + [Input("accountName", required: true)] + public string AccountName { get; set; } = null!; + + /// + /// Name of an Azure resource group. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public ListRemoteRenderingAccountKeysArgs() + { + } + } + + + [OutputType] + public sealed class ListRemoteRenderingAccountKeysResult + { + /// + /// value of primary key. + /// + public readonly string PrimaryKey; + /// + /// value of secondary key. + /// + public readonly string SecondaryKey; + + [OutputConstructor] + private ListRemoteRenderingAccountKeysResult( + string primaryKey, + + string secondaryKey) + { + PrimaryKey = primaryKey; + SecondaryKey = secondaryKey; + } + } +} diff --git a/sdk/dotnet/MixedReality/V20210101/ListSpatialAnchorsAccountKeys.cs b/sdk/dotnet/MixedReality/V20210101/ListSpatialAnchorsAccountKeys.cs new file mode 100644 index 000000000000..cfc4c3f0e85a --- /dev/null +++ b/sdk/dotnet/MixedReality/V20210101/ListSpatialAnchorsAccountKeys.cs @@ -0,0 +1,61 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.MixedReality.V20210101 +{ + public static class ListSpatialAnchorsAccountKeys + { + public static Task InvokeAsync(ListSpatialAnchorsAccountKeysArgs args, InvokeOptions? options = null) + => Pulumi.Deployment.Instance.InvokeAsync("azure-nextgen:mixedreality/v20210101:listSpatialAnchorsAccountKeys", args ?? new ListSpatialAnchorsAccountKeysArgs(), options.WithVersion()); + } + + + public sealed class ListSpatialAnchorsAccountKeysArgs : Pulumi.InvokeArgs + { + /// + /// Name of an Mixed Reality Account. + /// + [Input("accountName", required: true)] + public string AccountName { get; set; } = null!; + + /// + /// Name of an Azure resource group. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public ListSpatialAnchorsAccountKeysArgs() + { + } + } + + + [OutputType] + public sealed class ListSpatialAnchorsAccountKeysResult + { + /// + /// value of primary key. + /// + public readonly string PrimaryKey; + /// + /// value of secondary key. + /// + public readonly string SecondaryKey; + + [OutputConstructor] + private ListSpatialAnchorsAccountKeysResult( + string primaryKey, + + string secondaryKey) + { + PrimaryKey = primaryKey; + SecondaryKey = secondaryKey; + } + } +} diff --git a/sdk/dotnet/MixedReality/V20210101/Outputs/IdentityResponse.cs b/sdk/dotnet/MixedReality/V20210101/Outputs/IdentityResponse.cs new file mode 100644 index 000000000000..2c14de08cd15 --- /dev/null +++ b/sdk/dotnet/MixedReality/V20210101/Outputs/IdentityResponse.cs @@ -0,0 +1,42 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.MixedReality.V20210101.Outputs +{ + + [OutputType] + public sealed class IdentityResponse + { + /// + /// The principal ID of resource identity. + /// + public readonly string PrincipalId; + /// + /// The tenant ID of resource. + /// + public readonly string TenantId; + /// + /// The identity type. + /// + public readonly string? Type; + + [OutputConstructor] + private IdentityResponse( + string principalId, + + string tenantId, + + string? type) + { + PrincipalId = principalId; + TenantId = tenantId; + Type = type; + } + } +} diff --git a/sdk/dotnet/MixedReality/V20210101/Outputs/SkuResponse.cs b/sdk/dotnet/MixedReality/V20210101/Outputs/SkuResponse.cs new file mode 100644 index 000000000000..ee3c356a66fc --- /dev/null +++ b/sdk/dotnet/MixedReality/V20210101/Outputs/SkuResponse.cs @@ -0,0 +1,56 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.MixedReality.V20210101.Outputs +{ + + [OutputType] + public sealed class SkuResponse + { + /// + /// If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. + /// + public readonly int? Capacity; + /// + /// If the service has different generations of hardware, for the same SKU, then that can be captured here. + /// + public readonly string? Family; + /// + /// The name of the SKU. Ex - P3. It is typically a letter+number code + /// + public readonly string Name; + /// + /// The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. + /// + public readonly string? Size; + /// + /// This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. + /// + public readonly string? Tier; + + [OutputConstructor] + private SkuResponse( + int? capacity, + + string? family, + + string name, + + string? size, + + string? tier) + { + Capacity = capacity; + Family = family; + Name = name; + Size = size; + Tier = tier; + } + } +} diff --git a/sdk/dotnet/MixedReality/V20210101/Outputs/SystemDataResponse.cs b/sdk/dotnet/MixedReality/V20210101/Outputs/SystemDataResponse.cs new file mode 100644 index 000000000000..102f80231a48 --- /dev/null +++ b/sdk/dotnet/MixedReality/V20210101/Outputs/SystemDataResponse.cs @@ -0,0 +1,63 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.MixedReality.V20210101.Outputs +{ + + [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 type of identity that last modified the resource. + /// + 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/MixedReality/V20210101/README.md b/sdk/dotnet/MixedReality/V20210101/README.md new file mode 100644 index 000000000000..bd9c57f78375 --- /dev/null +++ b/sdk/dotnet/MixedReality/V20210101/README.md @@ -0,0 +1 @@ +A Next Generation Pulumi package for creating and managing Azure resources. diff --git a/sdk/dotnet/MixedReality/V20210101/RemoteRenderingAccount.cs b/sdk/dotnet/MixedReality/V20210101/RemoteRenderingAccount.cs new file mode 100644 index 000000000000..8890abc87b15 --- /dev/null +++ b/sdk/dotnet/MixedReality/V20210101/RemoteRenderingAccount.cs @@ -0,0 +1,193 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.MixedReality.V20210101 +{ + /// + /// RemoteRenderingAccount Response. + /// + [AzureNextGenResourceType("azure-nextgen:mixedreality/v20210101:RemoteRenderingAccount")] + public partial class RemoteRenderingAccount : Pulumi.CustomResource + { + /// + /// Correspond domain name of certain Spatial Anchors Account + /// + [Output("accountDomain")] + public Output AccountDomain { get; private set; } = null!; + + /// + /// unique id of certain account. + /// + [Output("accountId")] + public Output AccountId { get; private set; } = null!; + + /// + /// The identity associated with this account + /// + [Output("identity")] + public Output Identity { get; private set; } = null!; + + /// + /// The kind of account, if supported + /// + [Output("kind")] + public Output Kind { 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!; + + /// + /// The plan associated with this account + /// + [Output("plan")] + public Output Plan { get; private set; } = null!; + + /// + /// The sku associated with this account + /// + [Output("sku")] + public Output Sku { get; private set; } = null!; + + /// + /// System metadata for this account + /// + [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 RemoteRenderingAccount 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 RemoteRenderingAccount(string name, RemoteRenderingAccountArgs args, CustomResourceOptions? options = null) + : base("azure-nextgen:mixedreality/v20210101:RemoteRenderingAccount", name, args ?? new RemoteRenderingAccountArgs(), MakeResourceOptions(options, "")) + { + } + + private RemoteRenderingAccount(string name, Input id, CustomResourceOptions? options = null) + : base("azure-nextgen:mixedreality/v20210101:RemoteRenderingAccount", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new Pulumi.Alias { Type = "azure-nextgen:mixedreality/latest:RemoteRenderingAccount"}, + new Pulumi.Alias { Type = "azure-nextgen:mixedreality/v20191202preview:RemoteRenderingAccount"}, + new Pulumi.Alias { Type = "azure-nextgen:mixedreality/v20200406preview:RemoteRenderingAccount"}, + }, + }; + 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 RemoteRenderingAccount 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 RemoteRenderingAccount Get(string name, Input id, CustomResourceOptions? options = null) + { + return new RemoteRenderingAccount(name, id, options); + } + } + + public sealed class RemoteRenderingAccountArgs : Pulumi.ResourceArgs + { + /// + /// Name of an Mixed Reality Account. + /// + [Input("accountName", required: true)] + public Input AccountName { get; set; } = null!; + + /// + /// The identity associated with this account + /// + [Input("identity")] + public Input? Identity { get; set; } + + /// + /// The kind of account, if supported + /// + [Input("kind")] + public Input? Kind { get; set; } + + /// + /// The geo-location where the resource lives + /// + [Input("location", required: true)] + public Input Location { get; set; } = null!; + + /// + /// The plan associated with this account + /// + [Input("plan")] + public Input? Plan { get; set; } + + /// + /// Name of an Azure resource group. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The sku associated with this account + /// + [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 RemoteRenderingAccountArgs() + { + } + } +} diff --git a/sdk/dotnet/MixedReality/V20210101/SpatialAnchorsAccount.cs b/sdk/dotnet/MixedReality/V20210101/SpatialAnchorsAccount.cs new file mode 100644 index 000000000000..64c726ca8ea1 --- /dev/null +++ b/sdk/dotnet/MixedReality/V20210101/SpatialAnchorsAccount.cs @@ -0,0 +1,194 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.MixedReality.V20210101 +{ + /// + /// SpatialAnchorsAccount Response. + /// + [AzureNextGenResourceType("azure-nextgen:mixedreality/v20210101:SpatialAnchorsAccount")] + public partial class SpatialAnchorsAccount : Pulumi.CustomResource + { + /// + /// Correspond domain name of certain Spatial Anchors Account + /// + [Output("accountDomain")] + public Output AccountDomain { get; private set; } = null!; + + /// + /// unique id of certain account. + /// + [Output("accountId")] + public Output AccountId { get; private set; } = null!; + + /// + /// The identity associated with this account + /// + [Output("identity")] + public Output Identity { get; private set; } = null!; + + /// + /// The kind of account, if supported + /// + [Output("kind")] + public Output Kind { 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!; + + /// + /// The plan associated with this account + /// + [Output("plan")] + public Output Plan { get; private set; } = null!; + + /// + /// The sku associated with this account + /// + [Output("sku")] + public Output Sku { get; private set; } = null!; + + /// + /// System metadata for this account + /// + [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 SpatialAnchorsAccount 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 SpatialAnchorsAccount(string name, SpatialAnchorsAccountArgs args, CustomResourceOptions? options = null) + : base("azure-nextgen:mixedreality/v20210101:SpatialAnchorsAccount", name, args ?? new SpatialAnchorsAccountArgs(), MakeResourceOptions(options, "")) + { + } + + private SpatialAnchorsAccount(string name, Input id, CustomResourceOptions? options = null) + : base("azure-nextgen:mixedreality/v20210101:SpatialAnchorsAccount", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new Pulumi.Alias { Type = "azure-nextgen:mixedreality/latest:SpatialAnchorsAccount"}, + new Pulumi.Alias { Type = "azure-nextgen:mixedreality/v20190228preview:SpatialAnchorsAccount"}, + new Pulumi.Alias { Type = "azure-nextgen:mixedreality/v20191202preview:SpatialAnchorsAccount"}, + new Pulumi.Alias { Type = "azure-nextgen:mixedreality/v20200501:SpatialAnchorsAccount"}, + }, + }; + 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 SpatialAnchorsAccount 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 SpatialAnchorsAccount Get(string name, Input id, CustomResourceOptions? options = null) + { + return new SpatialAnchorsAccount(name, id, options); + } + } + + public sealed class SpatialAnchorsAccountArgs : Pulumi.ResourceArgs + { + /// + /// Name of an Mixed Reality Account. + /// + [Input("accountName", required: true)] + public Input AccountName { get; set; } = null!; + + /// + /// The identity associated with this account + /// + [Input("identity")] + public Input? Identity { get; set; } + + /// + /// The kind of account, if supported + /// + [Input("kind")] + public Input? Kind { get; set; } + + /// + /// The geo-location where the resource lives + /// + [Input("location", required: true)] + public Input Location { get; set; } = null!; + + /// + /// The plan associated with this account + /// + [Input("plan")] + public Input? Plan { get; set; } + + /// + /// Name of an Azure resource group. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The sku associated with this account + /// + [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 SpatialAnchorsAccountArgs() + { + } + } +} diff --git a/sdk/dotnet/Network/Latest/Enums.cs b/sdk/dotnet/Network/Latest/Enums.cs index ecfb991b682b..14f2a7479056 100644 --- a/sdk/dotnet/Network/Latest/Enums.cs +++ b/sdk/dotnet/Network/Latest/Enums.cs @@ -2794,6 +2794,7 @@ private ManagedRuleExclusionMatchVariable(string value) public static ManagedRuleExclusionMatchVariable RequestCookieNames { get; } = new ManagedRuleExclusionMatchVariable("RequestCookieNames"); public static ManagedRuleExclusionMatchVariable QueryStringArgNames { get; } = new ManagedRuleExclusionMatchVariable("QueryStringArgNames"); public static ManagedRuleExclusionMatchVariable RequestBodyPostArgNames { get; } = new ManagedRuleExclusionMatchVariable("RequestBodyPostArgNames"); + public static ManagedRuleExclusionMatchVariable RequestBodyJsonArgNames { get; } = new ManagedRuleExclusionMatchVariable("RequestBodyJsonArgNames"); public static bool operator ==(ManagedRuleExclusionMatchVariable left, ManagedRuleExclusionMatchVariable right) => left.Equals(right); public static bool operator !=(ManagedRuleExclusionMatchVariable left, ManagedRuleExclusionMatchVariable right) => !left.Equals(right); diff --git a/sdk/dotnet/Network/Latest/GetPolicy.cs b/sdk/dotnet/Network/Latest/GetPolicy.cs index 71a44e1fa8b5..6b6f96e38799 100644 --- a/sdk/dotnet/Network/Latest/GetPolicy.cs +++ b/sdk/dotnet/Network/Latest/GetPolicy.cs @@ -81,6 +81,10 @@ public sealed class GetPolicyResult /// public readonly ImmutableArray RoutingRuleLinks; /// + /// Describes Security Policy associated with this Web Application Firewall policy. + /// + public readonly ImmutableArray SecurityPolicyLinks; + /// /// The pricing tier of web application firewall policy. Defaults to Classic_AzureFrontDoor if not specified. /// public readonly Outputs.SkuResponse? Sku; @@ -117,6 +121,8 @@ private GetPolicyResult( ImmutableArray routingRuleLinks, + ImmutableArray securityPolicyLinks, + Outputs.SkuResponse? sku, ImmutableDictionary? tags, @@ -134,6 +140,7 @@ private GetPolicyResult( ProvisioningState = provisioningState; ResourceState = resourceState; RoutingRuleLinks = routingRuleLinks; + SecurityPolicyLinks = securityPolicyLinks; Sku = sku; Tags = tags; Type = type; diff --git a/sdk/dotnet/Network/Latest/Outputs/SecurityPolicyLinkResponse.cs b/sdk/dotnet/Network/Latest/Outputs/SecurityPolicyLinkResponse.cs new file mode 100644 index 000000000000..d01441ead744 --- /dev/null +++ b/sdk/dotnet/Network/Latest/Outputs/SecurityPolicyLinkResponse.cs @@ -0,0 +1,27 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.Network.Latest.Outputs +{ + + [OutputType] + public sealed class SecurityPolicyLinkResponse + { + /// + /// Resource ID. + /// + public readonly string? Id; + + [OutputConstructor] + private SecurityPolicyLinkResponse(string? id) + { + Id = id; + } + } +} diff --git a/sdk/dotnet/Network/Latest/Policy.cs b/sdk/dotnet/Network/Latest/Policy.cs index f5b698000c66..50e727a176d4 100644 --- a/sdk/dotnet/Network/Latest/Policy.cs +++ b/sdk/dotnet/Network/Latest/Policy.cs @@ -73,6 +73,12 @@ public partial class Policy : Pulumi.CustomResource [Output("routingRuleLinks")] public Output> RoutingRuleLinks { get; private set; } = null!; + /// + /// Describes Security Policy associated with this Web Application Firewall policy. + /// + [Output("securityPolicyLinks")] + public Output> SecurityPolicyLinks { get; private set; } = null!; + /// /// The pricing tier of web application firewall policy. Defaults to Classic_AzureFrontDoor if not specified. /// diff --git a/sdk/dotnet/Network/V20201101/Enums.cs b/sdk/dotnet/Network/V20201101/Enums.cs index 544a19a6692a..822be211c2e0 100644 --- a/sdk/dotnet/Network/V20201101/Enums.cs +++ b/sdk/dotnet/Network/V20201101/Enums.cs @@ -119,6 +119,7 @@ private ManagedRuleExclusionMatchVariable(string value) public static ManagedRuleExclusionMatchVariable RequestCookieNames { get; } = new ManagedRuleExclusionMatchVariable("RequestCookieNames"); public static ManagedRuleExclusionMatchVariable QueryStringArgNames { get; } = new ManagedRuleExclusionMatchVariable("QueryStringArgNames"); public static ManagedRuleExclusionMatchVariable RequestBodyPostArgNames { get; } = new ManagedRuleExclusionMatchVariable("RequestBodyPostArgNames"); + public static ManagedRuleExclusionMatchVariable RequestBodyJsonArgNames { get; } = new ManagedRuleExclusionMatchVariable("RequestBodyJsonArgNames"); public static bool operator ==(ManagedRuleExclusionMatchVariable left, ManagedRuleExclusionMatchVariable right) => left.Equals(right); public static bool operator !=(ManagedRuleExclusionMatchVariable left, ManagedRuleExclusionMatchVariable right) => !left.Equals(right); diff --git a/sdk/dotnet/Network/V20201101/GetPolicy.cs b/sdk/dotnet/Network/V20201101/GetPolicy.cs index a18c40358e85..bf1db0f16abe 100644 --- a/sdk/dotnet/Network/V20201101/GetPolicy.cs +++ b/sdk/dotnet/Network/V20201101/GetPolicy.cs @@ -81,6 +81,10 @@ public sealed class GetPolicyResult /// public readonly ImmutableArray RoutingRuleLinks; /// + /// Describes Security Policy associated with this Web Application Firewall policy. + /// + public readonly ImmutableArray SecurityPolicyLinks; + /// /// The pricing tier of web application firewall policy. Defaults to Classic_AzureFrontDoor if not specified. /// public readonly Outputs.SkuResponse? Sku; @@ -117,6 +121,8 @@ private GetPolicyResult( ImmutableArray routingRuleLinks, + ImmutableArray securityPolicyLinks, + Outputs.SkuResponse? sku, ImmutableDictionary? tags, @@ -134,6 +140,7 @@ private GetPolicyResult( ProvisioningState = provisioningState; ResourceState = resourceState; RoutingRuleLinks = routingRuleLinks; + SecurityPolicyLinks = securityPolicyLinks; Sku = sku; Tags = tags; Type = type; diff --git a/sdk/dotnet/Network/V20201101/Outputs/SecurityPolicyLinkResponse.cs b/sdk/dotnet/Network/V20201101/Outputs/SecurityPolicyLinkResponse.cs new file mode 100644 index 000000000000..8399505a3278 --- /dev/null +++ b/sdk/dotnet/Network/V20201101/Outputs/SecurityPolicyLinkResponse.cs @@ -0,0 +1,27 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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.AzureNextGen.Network.V20201101.Outputs +{ + + [OutputType] + public sealed class SecurityPolicyLinkResponse + { + /// + /// Resource ID. + /// + public readonly string? Id; + + [OutputConstructor] + private SecurityPolicyLinkResponse(string? id) + { + Id = id; + } + } +} diff --git a/sdk/dotnet/Network/V20201101/Policy.cs b/sdk/dotnet/Network/V20201101/Policy.cs index 0fef9e25dedd..1ddd7cf4e61c 100644 --- a/sdk/dotnet/Network/V20201101/Policy.cs +++ b/sdk/dotnet/Network/V20201101/Policy.cs @@ -72,6 +72,12 @@ public partial class Policy : Pulumi.CustomResource [Output("routingRuleLinks")] public Output> RoutingRuleLinks { get; private set; } = null!; + /// + /// Describes Security Policy associated with this Web Application Firewall policy. + /// + [Output("securityPolicyLinks")] + public Output> SecurityPolicyLinks { get; private set; } = null!; + /// /// The pricing tier of web application firewall policy. Defaults to Classic_AzureFrontDoor if not specified. /// diff --git a/sdk/dotnet/OperationalInsights/Latest/AlertRuleAction.cs b/sdk/dotnet/OperationalInsights/Latest/Action.cs similarity index 80% rename from sdk/dotnet/OperationalInsights/Latest/AlertRuleAction.cs rename to sdk/dotnet/OperationalInsights/Latest/Action.cs index c519e6833ef1..a2c8059910e7 100644 --- a/sdk/dotnet/OperationalInsights/Latest/AlertRuleAction.cs +++ b/sdk/dotnet/OperationalInsights/Latest/Action.cs @@ -13,8 +13,8 @@ namespace Pulumi.AzureNextGen.OperationalInsights.Latest /// Action for alert rule. /// Latest API Version: 2020-01-01. /// - [AzureNextGenResourceType("azure-nextgen:operationalinsights/latest:AlertRuleAction")] - public partial class AlertRuleAction : Pulumi.CustomResource + [AzureNextGenResourceType("azure-nextgen:operationalinsights/latest:Action")] + public partial class Action : Pulumi.CustomResource { /// /// Etag of the action. @@ -48,19 +48,19 @@ public partial class AlertRuleAction : Pulumi.CustomResource /// - /// Create a AlertRuleAction resource with the given unique name, arguments, and options. + /// Create a Action 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 AlertRuleAction(string name, AlertRuleActionArgs args, CustomResourceOptions? options = null) - : base("azure-nextgen:operationalinsights/latest:AlertRuleAction", name, args ?? new AlertRuleActionArgs(), MakeResourceOptions(options, "")) + public Action(string name, ActionArgs args, CustomResourceOptions? options = null) + : base("azure-nextgen:operationalinsights/latest:Action", name, args ?? new ActionArgs(), MakeResourceOptions(options, "")) { } - private AlertRuleAction(string name, Input id, CustomResourceOptions? options = null) - : base("azure-nextgen:operationalinsights/latest:AlertRuleAction", name, null, MakeResourceOptions(options, id)) + private Action(string name, Input id, CustomResourceOptions? options = null) + : base("azure-nextgen:operationalinsights/latest:Action", name, null, MakeResourceOptions(options, id)) { } @@ -71,7 +71,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? Version = Utilities.Version, Aliases = { - new Pulumi.Alias { Type = "azure-nextgen:operationalinsights/v20200101:AlertRuleAction"}, + new Pulumi.Alias { Type = "azure-nextgen:operationalinsights/v20200101:Action"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); @@ -80,20 +80,20 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? return merged; } /// - /// Get an existing AlertRuleAction resource's state with the given name, ID, and optional extra + /// Get an existing Action 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 AlertRuleAction Get(string name, Input id, CustomResourceOptions? options = null) + public static Action Get(string name, Input id, CustomResourceOptions? options = null) { - return new AlertRuleAction(name, id, options); + return new Action(name, id, options); } } - public sealed class AlertRuleActionArgs : Pulumi.ResourceArgs + public sealed class ActionArgs : Pulumi.ResourceArgs { /// /// Action ID @@ -137,7 +137,7 @@ public sealed class AlertRuleActionArgs : Pulumi.ResourceArgs [Input("workspaceName", required: true)] public Input WorkspaceName { get; set; } = null!; - public AlertRuleActionArgs() + public ActionArgs() { } } diff --git a/sdk/dotnet/OperationalInsights/Latest/GetAlertRuleAction.cs b/sdk/dotnet/OperationalInsights/Latest/GetAction.cs similarity index 81% rename from sdk/dotnet/OperationalInsights/Latest/GetAlertRuleAction.cs rename to sdk/dotnet/OperationalInsights/Latest/GetAction.cs index d18b815d7f74..268f200ea888 100644 --- a/sdk/dotnet/OperationalInsights/Latest/GetAlertRuleAction.cs +++ b/sdk/dotnet/OperationalInsights/Latest/GetAction.cs @@ -9,14 +9,14 @@ namespace Pulumi.AzureNextGen.OperationalInsights.Latest { - public static class GetAlertRuleAction + public static class GetAction { - public static Task InvokeAsync(GetAlertRuleActionArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.InvokeAsync("azure-nextgen:operationalinsights/latest:getAlertRuleAction", args ?? new GetAlertRuleActionArgs(), options.WithVersion()); + public static Task InvokeAsync(GetActionArgs args, InvokeOptions? options = null) + => Pulumi.Deployment.Instance.InvokeAsync("azure-nextgen:operationalinsights/latest:getAction", args ?? new GetActionArgs(), options.WithVersion()); } - public sealed class GetAlertRuleActionArgs : Pulumi.InvokeArgs + public sealed class GetActionArgs : Pulumi.InvokeArgs { /// /// Action ID @@ -42,14 +42,14 @@ public sealed class GetAlertRuleActionArgs : Pulumi.InvokeArgs [Input("workspaceName", required: true)] public string WorkspaceName { get; set; } = null!; - public GetAlertRuleActionArgs() + public GetActionArgs() { } } [OutputType] - public sealed class GetAlertRuleActionResult + public sealed class GetActionResult { /// /// Etag of the action. @@ -77,7 +77,7 @@ public sealed class GetAlertRuleActionResult public readonly string? WorkflowId; [OutputConstructor] - private GetAlertRuleActionResult( + private GetActionResult( string? etag, string id, diff --git a/sdk/dotnet/OperationalInsights/V20200101/AlertRuleAction.cs b/sdk/dotnet/OperationalInsights/V20200101/Action.cs similarity index 82% rename from sdk/dotnet/OperationalInsights/V20200101/AlertRuleAction.cs rename to sdk/dotnet/OperationalInsights/V20200101/Action.cs index ac55c5682e99..836ea11ccc56 100644 --- a/sdk/dotnet/OperationalInsights/V20200101/AlertRuleAction.cs +++ b/sdk/dotnet/OperationalInsights/V20200101/Action.cs @@ -12,8 +12,8 @@ namespace Pulumi.AzureNextGen.OperationalInsights.V20200101 /// /// Action for alert rule. /// - [AzureNextGenResourceType("azure-nextgen:operationalinsights/v20200101:AlertRuleAction")] - public partial class AlertRuleAction : Pulumi.CustomResource + [AzureNextGenResourceType("azure-nextgen:operationalinsights/v20200101:Action")] + public partial class Action : Pulumi.CustomResource { /// /// Etag of the action. @@ -47,19 +47,19 @@ public partial class AlertRuleAction : Pulumi.CustomResource /// - /// Create a AlertRuleAction resource with the given unique name, arguments, and options. + /// Create a Action 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 AlertRuleAction(string name, AlertRuleActionArgs args, CustomResourceOptions? options = null) - : base("azure-nextgen:operationalinsights/v20200101:AlertRuleAction", name, args ?? new AlertRuleActionArgs(), MakeResourceOptions(options, "")) + public Action(string name, ActionArgs args, CustomResourceOptions? options = null) + : base("azure-nextgen:operationalinsights/v20200101:Action", name, args ?? new ActionArgs(), MakeResourceOptions(options, "")) { } - private AlertRuleAction(string name, Input id, CustomResourceOptions? options = null) - : base("azure-nextgen:operationalinsights/v20200101:AlertRuleAction", name, null, MakeResourceOptions(options, id)) + private Action(string name, Input id, CustomResourceOptions? options = null) + : base("azure-nextgen:operationalinsights/v20200101:Action", name, null, MakeResourceOptions(options, id)) { } @@ -70,7 +70,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? Version = Utilities.Version, Aliases = { - new Pulumi.Alias { Type = "azure-nextgen:operationalinsights/latest:AlertRuleAction"}, + new Pulumi.Alias { Type = "azure-nextgen:operationalinsights/latest:Action"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); @@ -79,20 +79,20 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? return merged; } /// - /// Get an existing AlertRuleAction resource's state with the given name, ID, and optional extra + /// Get an existing Action 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 AlertRuleAction Get(string name, Input id, CustomResourceOptions? options = null) + public static Action Get(string name, Input id, CustomResourceOptions? options = null) { - return new AlertRuleAction(name, id, options); + return new Action(name, id, options); } } - public sealed class AlertRuleActionArgs : Pulumi.ResourceArgs + public sealed class ActionArgs : Pulumi.ResourceArgs { /// /// Action ID @@ -136,7 +136,7 @@ public sealed class AlertRuleActionArgs : Pulumi.ResourceArgs [Input("workspaceName", required: true)] public Input WorkspaceName { get; set; } = null!; - public AlertRuleActionArgs() + public ActionArgs() { } } diff --git a/sdk/dotnet/OperationalInsights/V20200101/GetAlertRuleAction.cs b/sdk/dotnet/OperationalInsights/V20200101/GetAction.cs similarity index 81% rename from sdk/dotnet/OperationalInsights/V20200101/GetAlertRuleAction.cs rename to sdk/dotnet/OperationalInsights/V20200101/GetAction.cs index a16bfc55c7db..15785aca1861 100644 --- a/sdk/dotnet/OperationalInsights/V20200101/GetAlertRuleAction.cs +++ b/sdk/dotnet/OperationalInsights/V20200101/GetAction.cs @@ -9,14 +9,14 @@ namespace Pulumi.AzureNextGen.OperationalInsights.V20200101 { - public static class GetAlertRuleAction + public static class GetAction { - public static Task InvokeAsync(GetAlertRuleActionArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.InvokeAsync("azure-nextgen:operationalinsights/v20200101:getAlertRuleAction", args ?? new GetAlertRuleActionArgs(), options.WithVersion()); + public static Task InvokeAsync(GetActionArgs args, InvokeOptions? options = null) + => Pulumi.Deployment.Instance.InvokeAsync("azure-nextgen:operationalinsights/v20200101:getAction", args ?? new GetActionArgs(), options.WithVersion()); } - public sealed class GetAlertRuleActionArgs : Pulumi.InvokeArgs + public sealed class GetActionArgs : Pulumi.InvokeArgs { /// /// Action ID @@ -42,14 +42,14 @@ public sealed class GetAlertRuleActionArgs : Pulumi.InvokeArgs [Input("workspaceName", required: true)] public string WorkspaceName { get; set; } = null!; - public GetAlertRuleActionArgs() + public GetActionArgs() { } } [OutputType] - public sealed class GetAlertRuleActionResult + public sealed class GetActionResult { /// /// Etag of the action. @@ -77,7 +77,7 @@ public sealed class GetAlertRuleActionResult public readonly string? WorkflowId; [OutputConstructor] - private GetAlertRuleActionResult( + private GetActionResult( string? etag, string id, diff --git a/sdk/dotnet/Quantum/V20191104Preview/GetWorkspace.cs b/sdk/dotnet/Quantum/V20191104Preview/GetWorkspace.cs index 53e44363e550..51473ba426c1 100644 --- a/sdk/dotnet/Quantum/V20191104Preview/GetWorkspace.cs +++ b/sdk/dotnet/Quantum/V20191104Preview/GetWorkspace.cs @@ -39,6 +39,10 @@ public GetWorkspaceArgs() [OutputType] public sealed class GetWorkspaceResult { + /// + /// The URI of the workspace endpoint. + /// + public readonly string EndpointUri; /// /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} /// @@ -82,6 +86,8 @@ public sealed class GetWorkspaceResult [OutputConstructor] private GetWorkspaceResult( + string endpointUri, + string id, Outputs.QuantumWorkspaceResponseIdentity? identity, @@ -102,6 +108,7 @@ private GetWorkspaceResult( string usable) { + EndpointUri = endpointUri; Id = id; Identity = identity; Location = location; diff --git a/sdk/dotnet/Quantum/V20191104Preview/Workspace.cs b/sdk/dotnet/Quantum/V20191104Preview/Workspace.cs index 5be0ce5de7c4..81ca39b7ca2d 100644 --- a/sdk/dotnet/Quantum/V20191104Preview/Workspace.cs +++ b/sdk/dotnet/Quantum/V20191104Preview/Workspace.cs @@ -15,6 +15,12 @@ namespace Pulumi.AzureNextGen.Quantum.V20191104Preview [AzureNextGenResourceType("azure-nextgen:quantum/v20191104preview:Workspace")] public partial class Workspace : Pulumi.CustomResource { + /// + /// The URI of the workspace endpoint. + /// + [Output("endpointUri")] + public Output EndpointUri { get; private set; } = null!; + /// /// Managed Identity information. /// diff --git a/sdk/dotnet/SecurityInsights/V20190101Preview/AlertRuleAction.cs b/sdk/dotnet/SecurityInsights/V20190101Preview/Action.cs similarity index 83% rename from sdk/dotnet/SecurityInsights/V20190101Preview/AlertRuleAction.cs rename to sdk/dotnet/SecurityInsights/V20190101Preview/Action.cs index d7abbaa8b112..6f1d4b6835b1 100644 --- a/sdk/dotnet/SecurityInsights/V20190101Preview/AlertRuleAction.cs +++ b/sdk/dotnet/SecurityInsights/V20190101Preview/Action.cs @@ -12,8 +12,8 @@ namespace Pulumi.AzureNextGen.SecurityInsights.V20190101Preview /// /// Action for alert rule. /// - [AzureNextGenResourceType("azure-nextgen:securityinsights/v20190101preview:AlertRuleAction")] - public partial class AlertRuleAction : Pulumi.CustomResource + [AzureNextGenResourceType("azure-nextgen:securityinsights/v20190101preview:Action")] + public partial class Action : Pulumi.CustomResource { /// /// Etag of the action. @@ -47,19 +47,19 @@ public partial class AlertRuleAction : Pulumi.CustomResource /// - /// Create a AlertRuleAction resource with the given unique name, arguments, and options. + /// Create a Action 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 AlertRuleAction(string name, AlertRuleActionArgs args, CustomResourceOptions? options = null) - : base("azure-nextgen:securityinsights/v20190101preview:AlertRuleAction", name, args ?? new AlertRuleActionArgs(), MakeResourceOptions(options, "")) + public Action(string name, ActionArgs args, CustomResourceOptions? options = null) + : base("azure-nextgen:securityinsights/v20190101preview:Action", name, args ?? new ActionArgs(), MakeResourceOptions(options, "")) { } - private AlertRuleAction(string name, Input id, CustomResourceOptions? options = null) - : base("azure-nextgen:securityinsights/v20190101preview:AlertRuleAction", name, null, MakeResourceOptions(options, id)) + private Action(string name, Input id, CustomResourceOptions? options = null) + : base("azure-nextgen:securityinsights/v20190101preview:Action", name, null, MakeResourceOptions(options, id)) { } @@ -75,20 +75,20 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? return merged; } /// - /// Get an existing AlertRuleAction resource's state with the given name, ID, and optional extra + /// Get an existing Action 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 AlertRuleAction Get(string name, Input id, CustomResourceOptions? options = null) + public static Action Get(string name, Input id, CustomResourceOptions? options = null) { - return new AlertRuleAction(name, id, options); + return new Action(name, id, options); } } - public sealed class AlertRuleActionArgs : Pulumi.ResourceArgs + public sealed class ActionArgs : Pulumi.ResourceArgs { /// /// Action ID @@ -138,7 +138,7 @@ public sealed class AlertRuleActionArgs : Pulumi.ResourceArgs [Input("workspaceName", required: true)] public Input WorkspaceName { get; set; } = null!; - public AlertRuleActionArgs() + public ActionArgs() { } } diff --git a/sdk/dotnet/SecurityInsights/V20190101Preview/Enums.cs b/sdk/dotnet/SecurityInsights/V20190101Preview/Enums.cs index 9d7ddee9f20f..fac57a96b55e 100644 --- a/sdk/dotnet/SecurityInsights/V20190101Preview/Enums.cs +++ b/sdk/dotnet/SecurityInsights/V20190101Preview/Enums.cs @@ -25,6 +25,7 @@ private AlertRuleKind(string value) public static AlertRuleKind Fusion { get; } = new AlertRuleKind("Fusion"); public static AlertRuleKind MLBehaviorAnalytics { get; } = new AlertRuleKind("MLBehaviorAnalytics"); public static AlertRuleKind ThreatIntelligence { get; } = new AlertRuleKind("ThreatIntelligence"); + public static AlertRuleKind Anomaly { get; } = new AlertRuleKind("Anomaly"); public static bool operator ==(AlertRuleKind left, AlertRuleKind right) => left.Equals(right); public static bool operator !=(AlertRuleKind left, AlertRuleKind right) => !left.Equals(right); diff --git a/sdk/dotnet/SecurityInsights/V20190101Preview/GetAlertRuleAction.cs b/sdk/dotnet/SecurityInsights/V20190101Preview/GetAction.cs similarity index 82% rename from sdk/dotnet/SecurityInsights/V20190101Preview/GetAlertRuleAction.cs rename to sdk/dotnet/SecurityInsights/V20190101Preview/GetAction.cs index 990e1d131a27..e7803045f768 100644 --- a/sdk/dotnet/SecurityInsights/V20190101Preview/GetAlertRuleAction.cs +++ b/sdk/dotnet/SecurityInsights/V20190101Preview/GetAction.cs @@ -9,14 +9,14 @@ namespace Pulumi.AzureNextGen.SecurityInsights.V20190101Preview { - public static class GetAlertRuleAction + public static class GetAction { - public static Task InvokeAsync(GetAlertRuleActionArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.InvokeAsync("azure-nextgen:securityinsights/v20190101preview:getAlertRuleAction", args ?? new GetAlertRuleActionArgs(), options.WithVersion()); + public static Task InvokeAsync(GetActionArgs args, InvokeOptions? options = null) + => Pulumi.Deployment.Instance.InvokeAsync("azure-nextgen:securityinsights/v20190101preview:getAction", args ?? new GetActionArgs(), options.WithVersion()); } - public sealed class GetAlertRuleActionArgs : Pulumi.InvokeArgs + public sealed class GetActionArgs : Pulumi.InvokeArgs { /// /// Action ID @@ -48,14 +48,14 @@ public sealed class GetAlertRuleActionArgs : Pulumi.InvokeArgs [Input("workspaceName", required: true)] public string WorkspaceName { get; set; } = null!; - public GetAlertRuleActionArgs() + public GetActionArgs() { } } [OutputType] - public sealed class GetAlertRuleActionResult + public sealed class GetActionResult { /// /// Etag of the action. @@ -83,7 +83,7 @@ public sealed class GetAlertRuleActionResult public readonly string? WorkflowId; [OutputConstructor] - private GetAlertRuleActionResult( + private GetActionResult( string? etag, string id, diff --git a/sdk/go/azure/desktopvirtualization/v20201110preview/getHostPool.go b/sdk/go/azure/desktopvirtualization/v20201110preview/getHostPool.go index 7780641e809a..be39fe8ee765 100644 --- a/sdk/go/azure/desktopvirtualization/v20201110preview/getHostPool.go +++ b/sdk/go/azure/desktopvirtualization/v20201110preview/getHostPool.go @@ -57,8 +57,6 @@ type LookupHostPoolResult struct { SsoClientId *string `pulumi:"ssoClientId"` // Path to Azure KeyVault storing the secret used for communication to ADFS. SsoClientSecretKeyVaultPath *string `pulumi:"ssoClientSecretKeyVaultPath"` - // Path to keyvault containing ssoContext secret. - SsoContext *string `pulumi:"ssoContext"` // The type of single sign on Secret Type. SsoSecretType *string `pulumi:"ssoSecretType"` // URL to customer ADFS server for signing WVD SSO certificates. diff --git a/sdk/go/azure/desktopvirtualization/v20201110preview/hostPool.go b/sdk/go/azure/desktopvirtualization/v20201110preview/hostPool.go index adff2bf18e66..fc4c25690585 100644 --- a/sdk/go/azure/desktopvirtualization/v20201110preview/hostPool.go +++ b/sdk/go/azure/desktopvirtualization/v20201110preview/hostPool.go @@ -45,8 +45,6 @@ type HostPool struct { SsoClientId pulumi.StringPtrOutput `pulumi:"ssoClientId"` // Path to Azure KeyVault storing the secret used for communication to ADFS. SsoClientSecretKeyVaultPath pulumi.StringPtrOutput `pulumi:"ssoClientSecretKeyVaultPath"` - // Path to keyvault containing ssoContext secret. - SsoContext pulumi.StringPtrOutput `pulumi:"ssoContext"` // The type of single sign on Secret Type. SsoSecretType pulumi.StringPtrOutput `pulumi:"ssoSecretType"` // URL to customer ADFS server for signing WVD SSO certificates. @@ -161,8 +159,6 @@ type hostPoolState struct { SsoClientId *string `pulumi:"ssoClientId"` // Path to Azure KeyVault storing the secret used for communication to ADFS. SsoClientSecretKeyVaultPath *string `pulumi:"ssoClientSecretKeyVaultPath"` - // Path to keyvault containing ssoContext secret. - SsoContext *string `pulumi:"ssoContext"` // The type of single sign on Secret Type. SsoSecretType *string `pulumi:"ssoSecretType"` // URL to customer ADFS server for signing WVD SSO certificates. @@ -210,8 +206,6 @@ type HostPoolState struct { SsoClientId pulumi.StringPtrInput // Path to Azure KeyVault storing the secret used for communication to ADFS. SsoClientSecretKeyVaultPath pulumi.StringPtrInput - // Path to keyvault containing ssoContext secret. - SsoContext pulumi.StringPtrInput // The type of single sign on Secret Type. SsoSecretType pulumi.StringPtrInput // URL to customer ADFS server for signing WVD SSO certificates. @@ -263,8 +257,6 @@ type hostPoolArgs struct { SsoClientId *string `pulumi:"ssoClientId"` // Path to Azure KeyVault storing the secret used for communication to ADFS. SsoClientSecretKeyVaultPath *string `pulumi:"ssoClientSecretKeyVaultPath"` - // Path to keyvault containing ssoContext secret. - SsoContext *string `pulumi:"ssoContext"` // The type of single sign on Secret Type. SsoSecretType *string `pulumi:"ssoSecretType"` // URL to customer ADFS server for signing WVD SSO certificates. @@ -311,8 +303,6 @@ type HostPoolArgs struct { SsoClientId pulumi.StringPtrInput // Path to Azure KeyVault storing the secret used for communication to ADFS. SsoClientSecretKeyVaultPath pulumi.StringPtrInput - // Path to keyvault containing ssoContext secret. - SsoContext pulumi.StringPtrInput // The type of single sign on Secret Type. SsoSecretType pulumi.StringPtrInput // URL to customer ADFS server for signing WVD SSO certificates. diff --git a/sdk/go/azure/desktopvirtualization/v20201110preview/pulumiTypes.go b/sdk/go/azure/desktopvirtualization/v20201110preview/pulumiTypes.go index b0e903831eb8..eaaff0198ff3 100644 --- a/sdk/go/azure/desktopvirtualization/v20201110preview/pulumiTypes.go +++ b/sdk/go/azure/desktopvirtualization/v20201110preview/pulumiTypes.go @@ -1140,18 +1140,18 @@ type ScalingSchedule struct { RampDownMinimumHostsPct *int `pulumi:"rampDownMinimumHostsPct"` // Notification message for users during ramp down period. RampDownNotificationMessage *string `pulumi:"rampDownNotificationMessage"` - // Number of minutes to wait to stop hosts during ramp down period. - RampDownNotificationMinutes *int `pulumi:"rampDownNotificationMinutes"` // Starting time for ramp down period. RampDownStartTime *string `pulumi:"rampDownStartTime"` // Specifies when to stop hosts during ramp down period. RampDownStopHostsWhen *string `pulumi:"rampDownStopHostsWhen"` - // Load balancing algorithm for ramp up period. - RampUpAlgorithm *string `pulumi:"rampUpAlgorithm"` + // Number of minutes to wait to stop hosts during ramp down period. + RampDownWaitTimeMinutes *int `pulumi:"rampDownWaitTimeMinutes"` // Capacity threshold for ramp up period. RampUpCapacityThresholdPct *int `pulumi:"rampUpCapacityThresholdPct"` + // Load balancing algorithm for ramp up period. + RampUpLoadBalancingAlgorithm *string `pulumi:"rampUpLoadBalancingAlgorithm"` // Minimum host percentage for ramp up period. - RampUpMinimumHostPct *int `pulumi:"rampUpMinimumHostPct"` + RampUpMinimumHostsPct *int `pulumi:"rampUpMinimumHostsPct"` // Starting time for ramp up period. RampUpStartTime *string `pulumi:"rampUpStartTime"` } @@ -1191,18 +1191,18 @@ type ScalingScheduleArgs struct { RampDownMinimumHostsPct pulumi.IntPtrInput `pulumi:"rampDownMinimumHostsPct"` // Notification message for users during ramp down period. RampDownNotificationMessage pulumi.StringPtrInput `pulumi:"rampDownNotificationMessage"` - // Number of minutes to wait to stop hosts during ramp down period. - RampDownNotificationMinutes pulumi.IntPtrInput `pulumi:"rampDownNotificationMinutes"` // Starting time for ramp down period. RampDownStartTime pulumi.StringPtrInput `pulumi:"rampDownStartTime"` // Specifies when to stop hosts during ramp down period. RampDownStopHostsWhen pulumi.StringPtrInput `pulumi:"rampDownStopHostsWhen"` - // Load balancing algorithm for ramp up period. - RampUpAlgorithm pulumi.StringPtrInput `pulumi:"rampUpAlgorithm"` + // Number of minutes to wait to stop hosts during ramp down period. + RampDownWaitTimeMinutes pulumi.IntPtrInput `pulumi:"rampDownWaitTimeMinutes"` // Capacity threshold for ramp up period. RampUpCapacityThresholdPct pulumi.IntPtrInput `pulumi:"rampUpCapacityThresholdPct"` + // Load balancing algorithm for ramp up period. + RampUpLoadBalancingAlgorithm pulumi.StringPtrInput `pulumi:"rampUpLoadBalancingAlgorithm"` // Minimum host percentage for ramp up period. - RampUpMinimumHostPct pulumi.IntPtrInput `pulumi:"rampUpMinimumHostPct"` + RampUpMinimumHostsPct pulumi.IntPtrInput `pulumi:"rampUpMinimumHostsPct"` // Starting time for ramp up period. RampUpStartTime pulumi.StringPtrInput `pulumi:"rampUpStartTime"` } @@ -1314,11 +1314,6 @@ func (o ScalingScheduleOutput) RampDownNotificationMessage() pulumi.StringPtrOut return o.ApplyT(func(v ScalingSchedule) *string { return v.RampDownNotificationMessage }).(pulumi.StringPtrOutput) } -// Number of minutes to wait to stop hosts during ramp down period. -func (o ScalingScheduleOutput) RampDownNotificationMinutes() pulumi.IntPtrOutput { - return o.ApplyT(func(v ScalingSchedule) *int { return v.RampDownNotificationMinutes }).(pulumi.IntPtrOutput) -} - // Starting time for ramp down period. func (o ScalingScheduleOutput) RampDownStartTime() pulumi.StringPtrOutput { return o.ApplyT(func(v ScalingSchedule) *string { return v.RampDownStartTime }).(pulumi.StringPtrOutput) @@ -1329,9 +1324,9 @@ func (o ScalingScheduleOutput) RampDownStopHostsWhen() pulumi.StringPtrOutput { return o.ApplyT(func(v ScalingSchedule) *string { return v.RampDownStopHostsWhen }).(pulumi.StringPtrOutput) } -// Load balancing algorithm for ramp up period. -func (o ScalingScheduleOutput) RampUpAlgorithm() pulumi.StringPtrOutput { - return o.ApplyT(func(v ScalingSchedule) *string { return v.RampUpAlgorithm }).(pulumi.StringPtrOutput) +// Number of minutes to wait to stop hosts during ramp down period. +func (o ScalingScheduleOutput) RampDownWaitTimeMinutes() pulumi.IntPtrOutput { + return o.ApplyT(func(v ScalingSchedule) *int { return v.RampDownWaitTimeMinutes }).(pulumi.IntPtrOutput) } // Capacity threshold for ramp up period. @@ -1339,9 +1334,14 @@ func (o ScalingScheduleOutput) RampUpCapacityThresholdPct() pulumi.IntPtrOutput return o.ApplyT(func(v ScalingSchedule) *int { return v.RampUpCapacityThresholdPct }).(pulumi.IntPtrOutput) } +// Load balancing algorithm for ramp up period. +func (o ScalingScheduleOutput) RampUpLoadBalancingAlgorithm() pulumi.StringPtrOutput { + return o.ApplyT(func(v ScalingSchedule) *string { return v.RampUpLoadBalancingAlgorithm }).(pulumi.StringPtrOutput) +} + // Minimum host percentage for ramp up period. -func (o ScalingScheduleOutput) RampUpMinimumHostPct() pulumi.IntPtrOutput { - return o.ApplyT(func(v ScalingSchedule) *int { return v.RampUpMinimumHostPct }).(pulumi.IntPtrOutput) +func (o ScalingScheduleOutput) RampUpMinimumHostsPct() pulumi.IntPtrOutput { + return o.ApplyT(func(v ScalingSchedule) *int { return v.RampUpMinimumHostsPct }).(pulumi.IntPtrOutput) } // Starting time for ramp up period. @@ -1393,18 +1393,18 @@ type ScalingScheduleResponse struct { RampDownMinimumHostsPct *int `pulumi:"rampDownMinimumHostsPct"` // Notification message for users during ramp down period. RampDownNotificationMessage *string `pulumi:"rampDownNotificationMessage"` - // Number of minutes to wait to stop hosts during ramp down period. - RampDownNotificationMinutes *int `pulumi:"rampDownNotificationMinutes"` // Starting time for ramp down period. RampDownStartTime *string `pulumi:"rampDownStartTime"` // Specifies when to stop hosts during ramp down period. RampDownStopHostsWhen *string `pulumi:"rampDownStopHostsWhen"` - // Load balancing algorithm for ramp up period. - RampUpAlgorithm *string `pulumi:"rampUpAlgorithm"` + // Number of minutes to wait to stop hosts during ramp down period. + RampDownWaitTimeMinutes *int `pulumi:"rampDownWaitTimeMinutes"` // Capacity threshold for ramp up period. RampUpCapacityThresholdPct *int `pulumi:"rampUpCapacityThresholdPct"` + // Load balancing algorithm for ramp up period. + RampUpLoadBalancingAlgorithm *string `pulumi:"rampUpLoadBalancingAlgorithm"` // Minimum host percentage for ramp up period. - RampUpMinimumHostPct *int `pulumi:"rampUpMinimumHostPct"` + RampUpMinimumHostsPct *int `pulumi:"rampUpMinimumHostsPct"` // Starting time for ramp up period. RampUpStartTime *string `pulumi:"rampUpStartTime"` } @@ -1444,18 +1444,18 @@ type ScalingScheduleResponseArgs struct { RampDownMinimumHostsPct pulumi.IntPtrInput `pulumi:"rampDownMinimumHostsPct"` // Notification message for users during ramp down period. RampDownNotificationMessage pulumi.StringPtrInput `pulumi:"rampDownNotificationMessage"` - // Number of minutes to wait to stop hosts during ramp down period. - RampDownNotificationMinutes pulumi.IntPtrInput `pulumi:"rampDownNotificationMinutes"` // Starting time for ramp down period. RampDownStartTime pulumi.StringPtrInput `pulumi:"rampDownStartTime"` // Specifies when to stop hosts during ramp down period. RampDownStopHostsWhen pulumi.StringPtrInput `pulumi:"rampDownStopHostsWhen"` - // Load balancing algorithm for ramp up period. - RampUpAlgorithm pulumi.StringPtrInput `pulumi:"rampUpAlgorithm"` + // Number of minutes to wait to stop hosts during ramp down period. + RampDownWaitTimeMinutes pulumi.IntPtrInput `pulumi:"rampDownWaitTimeMinutes"` // Capacity threshold for ramp up period. RampUpCapacityThresholdPct pulumi.IntPtrInput `pulumi:"rampUpCapacityThresholdPct"` + // Load balancing algorithm for ramp up period. + RampUpLoadBalancingAlgorithm pulumi.StringPtrInput `pulumi:"rampUpLoadBalancingAlgorithm"` // Minimum host percentage for ramp up period. - RampUpMinimumHostPct pulumi.IntPtrInput `pulumi:"rampUpMinimumHostPct"` + RampUpMinimumHostsPct pulumi.IntPtrInput `pulumi:"rampUpMinimumHostsPct"` // Starting time for ramp up period. RampUpStartTime pulumi.StringPtrInput `pulumi:"rampUpStartTime"` } @@ -1567,11 +1567,6 @@ func (o ScalingScheduleResponseOutput) RampDownNotificationMessage() pulumi.Stri return o.ApplyT(func(v ScalingScheduleResponse) *string { return v.RampDownNotificationMessage }).(pulumi.StringPtrOutput) } -// Number of minutes to wait to stop hosts during ramp down period. -func (o ScalingScheduleResponseOutput) RampDownNotificationMinutes() pulumi.IntPtrOutput { - return o.ApplyT(func(v ScalingScheduleResponse) *int { return v.RampDownNotificationMinutes }).(pulumi.IntPtrOutput) -} - // Starting time for ramp down period. func (o ScalingScheduleResponseOutput) RampDownStartTime() pulumi.StringPtrOutput { return o.ApplyT(func(v ScalingScheduleResponse) *string { return v.RampDownStartTime }).(pulumi.StringPtrOutput) @@ -1582,9 +1577,9 @@ func (o ScalingScheduleResponseOutput) RampDownStopHostsWhen() pulumi.StringPtrO return o.ApplyT(func(v ScalingScheduleResponse) *string { return v.RampDownStopHostsWhen }).(pulumi.StringPtrOutput) } -// Load balancing algorithm for ramp up period. -func (o ScalingScheduleResponseOutput) RampUpAlgorithm() pulumi.StringPtrOutput { - return o.ApplyT(func(v ScalingScheduleResponse) *string { return v.RampUpAlgorithm }).(pulumi.StringPtrOutput) +// Number of minutes to wait to stop hosts during ramp down period. +func (o ScalingScheduleResponseOutput) RampDownWaitTimeMinutes() pulumi.IntPtrOutput { + return o.ApplyT(func(v ScalingScheduleResponse) *int { return v.RampDownWaitTimeMinutes }).(pulumi.IntPtrOutput) } // Capacity threshold for ramp up period. @@ -1592,9 +1587,14 @@ func (o ScalingScheduleResponseOutput) RampUpCapacityThresholdPct() pulumi.IntPt return o.ApplyT(func(v ScalingScheduleResponse) *int { return v.RampUpCapacityThresholdPct }).(pulumi.IntPtrOutput) } +// Load balancing algorithm for ramp up period. +func (o ScalingScheduleResponseOutput) RampUpLoadBalancingAlgorithm() pulumi.StringPtrOutput { + return o.ApplyT(func(v ScalingScheduleResponse) *string { return v.RampUpLoadBalancingAlgorithm }).(pulumi.StringPtrOutput) +} + // Minimum host percentage for ramp up period. -func (o ScalingScheduleResponseOutput) RampUpMinimumHostPct() pulumi.IntPtrOutput { - return o.ApplyT(func(v ScalingScheduleResponse) *int { return v.RampUpMinimumHostPct }).(pulumi.IntPtrOutput) +func (o ScalingScheduleResponseOutput) RampUpMinimumHostsPct() pulumi.IntPtrOutput { + return o.ApplyT(func(v ScalingScheduleResponse) *int { return v.RampUpMinimumHostsPct }).(pulumi.IntPtrOutput) } // Starting time for ramp up period. diff --git a/sdk/go/azure/edgeorder/v20201201preview/addressByName.go b/sdk/go/azure/edgeorder/v20201201preview/addressByName.go new file mode 100644 index 000000000000..40e0d5e32aaf --- /dev/null +++ b/sdk/go/azure/edgeorder/v20201201preview/addressByName.go @@ -0,0 +1,184 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package v20201201preview + +import ( + "context" + "reflect" + + "github.com/pkg/errors" + "github.com/pulumi/pulumi/sdk/v2/go/pulumi" +) + +// Address Resource. +type AddressByName struct { + pulumi.CustomResourceState + + // Contact details for the address + ContactDetails ContactDetailsResponseOutput `pulumi:"contactDetails"` + // The geo-location where the resource lives + Location pulumi.StringOutput `pulumi:"location"` + // The name of the resource + Name pulumi.StringOutput `pulumi:"name"` + // Shipping details for the address + ShippingAddress ShippingAddressResponsePtrOutput `pulumi:"shippingAddress"` + // Represents resource creation and update time + SystemData SystemDataResponseOutput `pulumi:"systemData"` + // Resource tags. + Tags pulumi.StringMapOutput `pulumi:"tags"` + // The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + Type pulumi.StringOutput `pulumi:"type"` +} + +// NewAddressByName registers a new resource with the given unique name, arguments, and options. +func NewAddressByName(ctx *pulumi.Context, + name string, args *AddressByNameArgs, opts ...pulumi.ResourceOption) (*AddressByName, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.AddressName == nil { + return nil, errors.New("invalid value for required argument 'AddressName'") + } + if args.ContactDetails == nil { + return nil, errors.New("invalid value for required argument 'ContactDetails'") + } + if args.Location == nil { + return nil, errors.New("invalid value for required argument 'Location'") + } + if args.ResourceGroupName == nil { + return nil, errors.New("invalid value for required argument 'ResourceGroupName'") + } + var resource AddressByName + err := ctx.RegisterResource("azure-nextgen:edgeorder/v20201201preview:AddressByName", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetAddressByName gets an existing AddressByName resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetAddressByName(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *AddressByNameState, opts ...pulumi.ResourceOption) (*AddressByName, error) { + var resource AddressByName + err := ctx.ReadResource("azure-nextgen:edgeorder/v20201201preview:AddressByName", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering AddressByName resources. +type addressByNameState struct { + // Contact details for the address + ContactDetails *ContactDetailsResponse `pulumi:"contactDetails"` + // The geo-location where the resource lives + Location *string `pulumi:"location"` + // The name of the resource + Name *string `pulumi:"name"` + // Shipping details for the address + ShippingAddress *ShippingAddressResponse `pulumi:"shippingAddress"` + // Represents resource creation and update time + SystemData *SystemDataResponse `pulumi:"systemData"` + // Resource tags. + Tags map[string]string `pulumi:"tags"` + // The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + Type *string `pulumi:"type"` +} + +type AddressByNameState struct { + // Contact details for the address + ContactDetails ContactDetailsResponsePtrInput + // The geo-location where the resource lives + Location pulumi.StringPtrInput + // The name of the resource + Name pulumi.StringPtrInput + // Shipping details for the address + ShippingAddress ShippingAddressResponsePtrInput + // Represents resource creation and update time + SystemData SystemDataResponsePtrInput + // Resource tags. + Tags pulumi.StringMapInput + // The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + Type pulumi.StringPtrInput +} + +func (AddressByNameState) ElementType() reflect.Type { + return reflect.TypeOf((*addressByNameState)(nil)).Elem() +} + +type addressByNameArgs struct { + // The name of the address Resource within the specified resource group. address names must be between 3 and 24 characters in length and use any alphanumeric and underscore only + AddressName string `pulumi:"addressName"` + // Contact details for the address + ContactDetails ContactDetails `pulumi:"contactDetails"` + // The geo-location where the resource lives + Location string `pulumi:"location"` + // The name of the resource group. The name is case insensitive. + ResourceGroupName string `pulumi:"resourceGroupName"` + // Shipping details for the address + ShippingAddress *ShippingAddress `pulumi:"shippingAddress"` + // Resource tags. + Tags map[string]string `pulumi:"tags"` +} + +// The set of arguments for constructing a AddressByName resource. +type AddressByNameArgs struct { + // The name of the address Resource within the specified resource group. address names must be between 3 and 24 characters in length and use any alphanumeric and underscore only + AddressName pulumi.StringInput + // Contact details for the address + ContactDetails ContactDetailsInput + // The geo-location where the resource lives + Location pulumi.StringInput + // The name of the resource group. The name is case insensitive. + ResourceGroupName pulumi.StringInput + // Shipping details for the address + ShippingAddress ShippingAddressPtrInput + // Resource tags. + Tags pulumi.StringMapInput +} + +func (AddressByNameArgs) ElementType() reflect.Type { + return reflect.TypeOf((*addressByNameArgs)(nil)).Elem() +} + +type AddressByNameInput interface { + pulumi.Input + + ToAddressByNameOutput() AddressByNameOutput + ToAddressByNameOutputWithContext(ctx context.Context) AddressByNameOutput +} + +func (*AddressByName) ElementType() reflect.Type { + return reflect.TypeOf((*AddressByName)(nil)) +} + +func (i *AddressByName) ToAddressByNameOutput() AddressByNameOutput { + return i.ToAddressByNameOutputWithContext(context.Background()) +} + +func (i *AddressByName) ToAddressByNameOutputWithContext(ctx context.Context) AddressByNameOutput { + return pulumi.ToOutputWithContext(ctx, i).(AddressByNameOutput) +} + +type AddressByNameOutput struct { + *pulumi.OutputState +} + +func (AddressByNameOutput) ElementType() reflect.Type { + return reflect.TypeOf((*AddressByName)(nil)) +} + +func (o AddressByNameOutput) ToAddressByNameOutput() AddressByNameOutput { + return o +} + +func (o AddressByNameOutput) ToAddressByNameOutputWithContext(ctx context.Context) AddressByNameOutput { + return o +} + +func init() { + pulumi.RegisterOutputType(AddressByNameOutput{}) +} diff --git a/sdk/go/azure/edgeorder/v20201201preview/getAddressByName.go b/sdk/go/azure/edgeorder/v20201201preview/getAddressByName.go new file mode 100644 index 000000000000..4aa00f6f08ad --- /dev/null +++ b/sdk/go/azure/edgeorder/v20201201preview/getAddressByName.go @@ -0,0 +1,44 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package v20201201preview + +import ( + "github.com/pulumi/pulumi/sdk/v2/go/pulumi" +) + +func LookupAddressByName(ctx *pulumi.Context, args *LookupAddressByNameArgs, opts ...pulumi.InvokeOption) (*LookupAddressByNameResult, error) { + var rv LookupAddressByNameResult + err := ctx.Invoke("azure-nextgen:edgeorder/v20201201preview:getAddressByName", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +type LookupAddressByNameArgs struct { + // The name of the address Resource within the specified resource group. address names must be between 3 and 24 characters in length and use any alphanumeric and underscore only + AddressName string `pulumi:"addressName"` + // The name of the resource group. The name is case insensitive. + ResourceGroupName string `pulumi:"resourceGroupName"` +} + +// Address Resource. +type LookupAddressByNameResult struct { + // Contact details for the address + ContactDetails ContactDetailsResponse `pulumi:"contactDetails"` + // Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + Id string `pulumi:"id"` + // The geo-location where the resource lives + Location string `pulumi:"location"` + // The name of the resource + Name string `pulumi:"name"` + // Shipping details for the address + ShippingAddress *ShippingAddressResponse `pulumi:"shippingAddress"` + // Represents resource creation and update time + SystemData SystemDataResponse `pulumi:"systemData"` + // Resource tags. + Tags map[string]string `pulumi:"tags"` + // The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + Type string `pulumi:"type"` +} diff --git a/sdk/go/azure/edgeorder/v20201201preview/getOrderByName.go b/sdk/go/azure/edgeorder/v20201201preview/getOrderByName.go new file mode 100644 index 000000000000..93685e083dd8 --- /dev/null +++ b/sdk/go/azure/edgeorder/v20201201preview/getOrderByName.go @@ -0,0 +1,48 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package v20201201preview + +import ( + "github.com/pulumi/pulumi/sdk/v2/go/pulumi" +) + +func LookupOrderByName(ctx *pulumi.Context, args *LookupOrderByNameArgs, opts ...pulumi.InvokeOption) (*LookupOrderByNameResult, error) { + var rv LookupOrderByNameResult + err := ctx.Invoke("azure-nextgen:edgeorder/v20201201preview:getOrderByName", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +type LookupOrderByNameArgs struct { + // The name of the order + OrderName string `pulumi:"orderName"` + // The name of the resource group. The name is case insensitive. + ResourceGroupName string `pulumi:"resourceGroupName"` +} + +// Represents order contract +type LookupOrderByNameResult struct { + // Represents shipping and return address for order + AddressDetails AddressDetailsResponse `pulumi:"addressDetails"` + // Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + Id string `pulumi:"id"` + // The geo-location where the resource lives + Location string `pulumi:"location"` + // The name of the resource + Name string `pulumi:"name"` + // Id of the order collection to which order belongs to + OrderCollectionId string `pulumi:"orderCollectionId"` + // Represents order details. + OrderDetails OrderDetailsResponse `pulumi:"orderDetails"` + // Start time of order + StartTime string `pulumi:"startTime"` + // Represents resource creation and update time + SystemData SystemDataResponse `pulumi:"systemData"` + // Resource tags. + Tags map[string]string `pulumi:"tags"` + // The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + Type string `pulumi:"type"` +} diff --git a/sdk/go/azure/edgeorder/v20201201preview/getOrderCollectionByName.go b/sdk/go/azure/edgeorder/v20201201preview/getOrderCollectionByName.go new file mode 100644 index 000000000000..f6aa2f5a96e6 --- /dev/null +++ b/sdk/go/azure/edgeorder/v20201201preview/getOrderCollectionByName.go @@ -0,0 +1,42 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package v20201201preview + +import ( + "github.com/pulumi/pulumi/sdk/v2/go/pulumi" +) + +func LookupOrderCollectionByName(ctx *pulumi.Context, args *LookupOrderCollectionByNameArgs, opts ...pulumi.InvokeOption) (*LookupOrderCollectionByNameResult, error) { + var rv LookupOrderCollectionByNameResult + err := ctx.Invoke("azure-nextgen:edgeorder/v20201201preview:getOrderCollectionByName", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +type LookupOrderCollectionByNameArgs struct { + // The name of the order collection + OrderCollectionName string `pulumi:"orderCollectionName"` + // The name of the resource group. The name is case insensitive. + ResourceGroupName string `pulumi:"resourceGroupName"` +} + +// Specifies the properties or parameters for an order collection. Order collection is a grouping of one or more orders. +type LookupOrderCollectionByNameResult struct { + // Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + Id string `pulumi:"id"` + // The geo-location where the resource lives + Location string `pulumi:"location"` + // The name of the resource + Name string `pulumi:"name"` + // List of order ARM Ids which are part of an order collection. + OrderIds []string `pulumi:"orderIds"` + // Represents resource creation and update time + SystemData SystemDataResponse `pulumi:"systemData"` + // Resource tags. + Tags map[string]string `pulumi:"tags"` + // The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + Type string `pulumi:"type"` +} diff --git a/sdk/go/azure/edgeorder/v20201201preview/listConfigurations.go b/sdk/go/azure/edgeorder/v20201201preview/listConfigurations.go new file mode 100644 index 000000000000..e63947b1454d --- /dev/null +++ b/sdk/go/azure/edgeorder/v20201201preview/listConfigurations.go @@ -0,0 +1,34 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package v20201201preview + +import ( + "github.com/pulumi/pulumi/sdk/v2/go/pulumi" +) + +func ListConfigurations(ctx *pulumi.Context, args *ListConfigurationsArgs, opts ...pulumi.InvokeOption) (*ListConfigurationsResult, error) { + var rv ListConfigurationsResult + err := ctx.Invoke("azure-nextgen:edgeorder/v20201201preview:listConfigurations", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +type ListConfigurationsArgs struct { + // Holds details about product hierarchy information and filterable property. + ConfigurationFilters []ConfigurationFilters `pulumi:"configurationFilters"` + // Customer subscription properties. Clients can display available products to unregistered customers by explicitly passing subscription details + CustomerSubscriptionDetails *CustomerSubscriptionDetails `pulumi:"customerSubscriptionDetails"` + // $skipToken is supported on list of configurations, which provides the next page in the list of configurations. + SkipToken *string `pulumi:"skipToken"` +} + +// The list of configurations. +type ListConfigurationsResult struct { + // Link for the next set of configurations. + NextLink *string `pulumi:"nextLink"` + // List of configurations. + Value []ConfigurationResponse `pulumi:"value"` +} diff --git a/sdk/go/azure/edgeorder/v20201201preview/listProductFamilies.go b/sdk/go/azure/edgeorder/v20201201preview/listProductFamilies.go new file mode 100644 index 000000000000..cd8b591f42a3 --- /dev/null +++ b/sdk/go/azure/edgeorder/v20201201preview/listProductFamilies.go @@ -0,0 +1,36 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package v20201201preview + +import ( + "github.com/pulumi/pulumi/sdk/v2/go/pulumi" +) + +func ListProductFamilies(ctx *pulumi.Context, args *ListProductFamiliesArgs, opts ...pulumi.InvokeOption) (*ListProductFamiliesResult, error) { + var rv ListProductFamiliesResult + err := ctx.Invoke("azure-nextgen:edgeorder/v20201201preview:listProductFamilies", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +type ListProductFamiliesArgs struct { + // Customer subscription properties. Clients can display available products to unregistered customers by explicitly passing subscription details + CustomerSubscriptionDetails *CustomerSubscriptionDetails `pulumi:"customerSubscriptionDetails"` + // $expand is supported on configurations parameter for product, which provides details on the configurations for the product. + Expand *string `pulumi:"expand"` + // Dictionary of filterable properties on product family. + FilterableProperties map[string]FilterableProperty `pulumi:"filterableProperties"` + // $skipToken is supported on list of product families, which provides the next page in the list of product families. + SkipToken *string `pulumi:"skipToken"` +} + +// The list of product families. +type ListProductFamiliesResult struct { + // Link for the next set of product families. + NextLink *string `pulumi:"nextLink"` + // List of product families. + Value []ProductFamilyResponse `pulumi:"value"` +} diff --git a/sdk/go/azure/edgeorder/v20201201preview/orderByName.go b/sdk/go/azure/edgeorder/v20201201preview/orderByName.go new file mode 100644 index 000000000000..52adbc14436b --- /dev/null +++ b/sdk/go/azure/edgeorder/v20201201preview/orderByName.go @@ -0,0 +1,199 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package v20201201preview + +import ( + "context" + "reflect" + + "github.com/pkg/errors" + "github.com/pulumi/pulumi/sdk/v2/go/pulumi" +) + +// Represents order contract +type OrderByName struct { + pulumi.CustomResourceState + + // Represents shipping and return address for order + AddressDetails AddressDetailsResponseOutput `pulumi:"addressDetails"` + // The geo-location where the resource lives + Location pulumi.StringOutput `pulumi:"location"` + // The name of the resource + Name pulumi.StringOutput `pulumi:"name"` + // Id of the order collection to which order belongs to + OrderCollectionId pulumi.StringOutput `pulumi:"orderCollectionId"` + // Represents order details. + OrderDetails OrderDetailsResponseOutput `pulumi:"orderDetails"` + // Start time of order + StartTime pulumi.StringOutput `pulumi:"startTime"` + // Represents resource creation and update time + SystemData SystemDataResponseOutput `pulumi:"systemData"` + // Resource tags. + Tags pulumi.StringMapOutput `pulumi:"tags"` + // The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + Type pulumi.StringOutput `pulumi:"type"` +} + +// NewOrderByName registers a new resource with the given unique name, arguments, and options. +func NewOrderByName(ctx *pulumi.Context, + name string, args *OrderByNameArgs, opts ...pulumi.ResourceOption) (*OrderByName, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.AddressDetails == nil { + return nil, errors.New("invalid value for required argument 'AddressDetails'") + } + if args.Location == nil { + return nil, errors.New("invalid value for required argument 'Location'") + } + if args.OrderDetails == nil { + return nil, errors.New("invalid value for required argument 'OrderDetails'") + } + if args.OrderName == nil { + return nil, errors.New("invalid value for required argument 'OrderName'") + } + if args.ResourceGroupName == nil { + return nil, errors.New("invalid value for required argument 'ResourceGroupName'") + } + var resource OrderByName + err := ctx.RegisterResource("azure-nextgen:edgeorder/v20201201preview:OrderByName", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetOrderByName gets an existing OrderByName resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetOrderByName(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *OrderByNameState, opts ...pulumi.ResourceOption) (*OrderByName, error) { + var resource OrderByName + err := ctx.ReadResource("azure-nextgen:edgeorder/v20201201preview:OrderByName", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering OrderByName resources. +type orderByNameState struct { + // Represents shipping and return address for order + AddressDetails *AddressDetailsResponse `pulumi:"addressDetails"` + // The geo-location where the resource lives + Location *string `pulumi:"location"` + // The name of the resource + Name *string `pulumi:"name"` + // Id of the order collection to which order belongs to + OrderCollectionId *string `pulumi:"orderCollectionId"` + // Represents order details. + OrderDetails *OrderDetailsResponse `pulumi:"orderDetails"` + // Start time of order + StartTime *string `pulumi:"startTime"` + // Represents resource creation and update time + SystemData *SystemDataResponse `pulumi:"systemData"` + // Resource tags. + Tags map[string]string `pulumi:"tags"` + // The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + Type *string `pulumi:"type"` +} + +type OrderByNameState struct { + // Represents shipping and return address for order + AddressDetails AddressDetailsResponsePtrInput + // The geo-location where the resource lives + Location pulumi.StringPtrInput + // The name of the resource + Name pulumi.StringPtrInput + // Id of the order collection to which order belongs to + OrderCollectionId pulumi.StringPtrInput + // Represents order details. + OrderDetails OrderDetailsResponsePtrInput + // Start time of order + StartTime pulumi.StringPtrInput + // Represents resource creation and update time + SystemData SystemDataResponsePtrInput + // Resource tags. + Tags pulumi.StringMapInput + // The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + Type pulumi.StringPtrInput +} + +func (OrderByNameState) ElementType() reflect.Type { + return reflect.TypeOf((*orderByNameState)(nil)).Elem() +} + +type orderByNameArgs struct { + // Represents shipping and return address for order + AddressDetails AddressDetails `pulumi:"addressDetails"` + // The geo-location where the resource lives + Location string `pulumi:"location"` + // Represents order details. + OrderDetails OrderDetails `pulumi:"orderDetails"` + // The name of the order + OrderName string `pulumi:"orderName"` + // The name of the resource group. The name is case insensitive. + ResourceGroupName string `pulumi:"resourceGroupName"` + // Resource tags. + Tags map[string]string `pulumi:"tags"` +} + +// The set of arguments for constructing a OrderByName resource. +type OrderByNameArgs struct { + // Represents shipping and return address for order + AddressDetails AddressDetailsInput + // The geo-location where the resource lives + Location pulumi.StringInput + // Represents order details. + OrderDetails OrderDetailsInput + // The name of the order + OrderName pulumi.StringInput + // The name of the resource group. The name is case insensitive. + ResourceGroupName pulumi.StringInput + // Resource tags. + Tags pulumi.StringMapInput +} + +func (OrderByNameArgs) ElementType() reflect.Type { + return reflect.TypeOf((*orderByNameArgs)(nil)).Elem() +} + +type OrderByNameInput interface { + pulumi.Input + + ToOrderByNameOutput() OrderByNameOutput + ToOrderByNameOutputWithContext(ctx context.Context) OrderByNameOutput +} + +func (*OrderByName) ElementType() reflect.Type { + return reflect.TypeOf((*OrderByName)(nil)) +} + +func (i *OrderByName) ToOrderByNameOutput() OrderByNameOutput { + return i.ToOrderByNameOutputWithContext(context.Background()) +} + +func (i *OrderByName) ToOrderByNameOutputWithContext(ctx context.Context) OrderByNameOutput { + return pulumi.ToOutputWithContext(ctx, i).(OrderByNameOutput) +} + +type OrderByNameOutput struct { + *pulumi.OutputState +} + +func (OrderByNameOutput) ElementType() reflect.Type { + return reflect.TypeOf((*OrderByName)(nil)) +} + +func (o OrderByNameOutput) ToOrderByNameOutput() OrderByNameOutput { + return o +} + +func (o OrderByNameOutput) ToOrderByNameOutputWithContext(ctx context.Context) OrderByNameOutput { + return o +} + +func init() { + pulumi.RegisterOutputType(OrderByNameOutput{}) +} diff --git a/sdk/go/azure/edgeorder/v20201201preview/orderCollectionByName.go b/sdk/go/azure/edgeorder/v20201201preview/orderCollectionByName.go new file mode 100644 index 000000000000..0c512cfe0e6d --- /dev/null +++ b/sdk/go/azure/edgeorder/v20201201preview/orderCollectionByName.go @@ -0,0 +1,174 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package v20201201preview + +import ( + "context" + "reflect" + + "github.com/pkg/errors" + "github.com/pulumi/pulumi/sdk/v2/go/pulumi" +) + +// Specifies the properties or parameters for an order collection. Order collection is a grouping of one or more orders. +type OrderCollectionByName struct { + pulumi.CustomResourceState + + // The geo-location where the resource lives + Location pulumi.StringOutput `pulumi:"location"` + // The name of the resource + Name pulumi.StringOutput `pulumi:"name"` + // List of order ARM Ids which are part of an order collection. + OrderIds pulumi.StringArrayOutput `pulumi:"orderIds"` + // Represents resource creation and update time + SystemData SystemDataResponseOutput `pulumi:"systemData"` + // Resource tags. + Tags pulumi.StringMapOutput `pulumi:"tags"` + // The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + Type pulumi.StringOutput `pulumi:"type"` +} + +// NewOrderCollectionByName registers a new resource with the given unique name, arguments, and options. +func NewOrderCollectionByName(ctx *pulumi.Context, + name string, args *OrderCollectionByNameArgs, opts ...pulumi.ResourceOption) (*OrderCollectionByName, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.Location == nil { + return nil, errors.New("invalid value for required argument 'Location'") + } + if args.OrderCollectionName == nil { + return nil, errors.New("invalid value for required argument 'OrderCollectionName'") + } + if args.OrderIds == nil { + return nil, errors.New("invalid value for required argument 'OrderIds'") + } + if args.ResourceGroupName == nil { + return nil, errors.New("invalid value for required argument 'ResourceGroupName'") + } + var resource OrderCollectionByName + err := ctx.RegisterResource("azure-nextgen:edgeorder/v20201201preview:OrderCollectionByName", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetOrderCollectionByName gets an existing OrderCollectionByName resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetOrderCollectionByName(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *OrderCollectionByNameState, opts ...pulumi.ResourceOption) (*OrderCollectionByName, error) { + var resource OrderCollectionByName + err := ctx.ReadResource("azure-nextgen:edgeorder/v20201201preview:OrderCollectionByName", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering OrderCollectionByName resources. +type orderCollectionByNameState struct { + // The geo-location where the resource lives + Location *string `pulumi:"location"` + // The name of the resource + Name *string `pulumi:"name"` + // List of order ARM Ids which are part of an order collection. + OrderIds []string `pulumi:"orderIds"` + // Represents resource creation and update time + SystemData *SystemDataResponse `pulumi:"systemData"` + // Resource tags. + Tags map[string]string `pulumi:"tags"` + // The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + Type *string `pulumi:"type"` +} + +type OrderCollectionByNameState struct { + // The geo-location where the resource lives + Location pulumi.StringPtrInput + // The name of the resource + Name pulumi.StringPtrInput + // List of order ARM Ids which are part of an order collection. + OrderIds pulumi.StringArrayInput + // Represents resource creation and update time + SystemData SystemDataResponsePtrInput + // Resource tags. + Tags pulumi.StringMapInput + // The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + Type pulumi.StringPtrInput +} + +func (OrderCollectionByNameState) ElementType() reflect.Type { + return reflect.TypeOf((*orderCollectionByNameState)(nil)).Elem() +} + +type orderCollectionByNameArgs struct { + // The geo-location where the resource lives + Location string `pulumi:"location"` + // The name of the order collection + OrderCollectionName string `pulumi:"orderCollectionName"` + // List of order ARM Ids which are part of an order collection. + OrderIds []string `pulumi:"orderIds"` + // The name of the resource group. The name is case insensitive. + ResourceGroupName string `pulumi:"resourceGroupName"` + // Resource tags. + Tags map[string]string `pulumi:"tags"` +} + +// The set of arguments for constructing a OrderCollectionByName resource. +type OrderCollectionByNameArgs struct { + // The geo-location where the resource lives + Location pulumi.StringInput + // The name of the order collection + OrderCollectionName pulumi.StringInput + // List of order ARM Ids which are part of an order collection. + OrderIds pulumi.StringArrayInput + // The name of the resource group. The name is case insensitive. + ResourceGroupName pulumi.StringInput + // Resource tags. + Tags pulumi.StringMapInput +} + +func (OrderCollectionByNameArgs) ElementType() reflect.Type { + return reflect.TypeOf((*orderCollectionByNameArgs)(nil)).Elem() +} + +type OrderCollectionByNameInput interface { + pulumi.Input + + ToOrderCollectionByNameOutput() OrderCollectionByNameOutput + ToOrderCollectionByNameOutputWithContext(ctx context.Context) OrderCollectionByNameOutput +} + +func (*OrderCollectionByName) ElementType() reflect.Type { + return reflect.TypeOf((*OrderCollectionByName)(nil)) +} + +func (i *OrderCollectionByName) ToOrderCollectionByNameOutput() OrderCollectionByNameOutput { + return i.ToOrderCollectionByNameOutputWithContext(context.Background()) +} + +func (i *OrderCollectionByName) ToOrderCollectionByNameOutputWithContext(ctx context.Context) OrderCollectionByNameOutput { + return pulumi.ToOutputWithContext(ctx, i).(OrderCollectionByNameOutput) +} + +type OrderCollectionByNameOutput struct { + *pulumi.OutputState +} + +func (OrderCollectionByNameOutput) ElementType() reflect.Type { + return reflect.TypeOf((*OrderCollectionByName)(nil)) +} + +func (o OrderCollectionByNameOutput) ToOrderCollectionByNameOutput() OrderCollectionByNameOutput { + return o +} + +func (o OrderCollectionByNameOutput) ToOrderCollectionByNameOutputWithContext(ctx context.Context) OrderCollectionByNameOutput { + return o +} + +func init() { + pulumi.RegisterOutputType(OrderCollectionByNameOutput{}) +} diff --git a/sdk/go/azure/edgeorder/v20201201preview/pulumiEnums.go b/sdk/go/azure/edgeorder/v20201201preview/pulumiEnums.go new file mode 100644 index 000000000000..c2616206a430 --- /dev/null +++ b/sdk/go/azure/edgeorder/v20201201preview/pulumiEnums.go @@ -0,0 +1,169 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package v20201201preview + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi/sdk/v2/go/pulumi" +) + +// Type of address. +type AddressType pulumi.String + +const ( + // Address type not known. + AddressTypeNone = AddressType("None") + // Residential Address. + AddressTypeResidential = AddressType("Residential") + // Commercial Address. + AddressTypeCommercial = AddressType("Commercial") +) + +func (AddressType) ElementType() reflect.Type { + return reflect.TypeOf((*pulumi.String)(nil)).Elem() +} + +func (e AddressType) ToStringOutput() pulumi.StringOutput { + return pulumi.ToOutput(pulumi.String(e)).(pulumi.StringOutput) +} + +func (e AddressType) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput { + return pulumi.ToOutputWithContext(ctx, pulumi.String(e)).(pulumi.StringOutput) +} + +func (e AddressType) ToStringPtrOutput() pulumi.StringPtrOutput { + return pulumi.String(e).ToStringPtrOutputWithContext(context.Background()) +} + +func (e AddressType) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput { + return pulumi.String(e).ToStringOutputWithContext(ctx).ToStringPtrOutputWithContext(ctx) +} + +// Name of the stage. +type NotificationStageName pulumi.String + +const ( + // Notification at device prepared stage. + NotificationStageNameDevicePrepared = NotificationStageName("DevicePrepared") + // Notification at device dispatched stage. + NotificationStageNameDispatched = NotificationStageName("Dispatched") + // Notification at device delivered stage. + NotificationStageNameDelivered = NotificationStageName("Delivered") + // Notification at device picked up from user stage. + NotificationStageNamePickedUp = NotificationStageName("PickedUp") + // Notification at device received at Azure datacenter stage. + NotificationStageNameAtAzureDC = NotificationStageName("AtAzureDC") + // Notification at data copy started stage. + NotificationStageNameDataCopy = NotificationStageName("DataCopy") +) + +func (NotificationStageName) ElementType() reflect.Type { + return reflect.TypeOf((*pulumi.String)(nil)).Elem() +} + +func (e NotificationStageName) ToStringOutput() pulumi.StringOutput { + return pulumi.ToOutput(pulumi.String(e)).(pulumi.StringOutput) +} + +func (e NotificationStageName) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput { + return pulumi.ToOutputWithContext(ctx, pulumi.String(e)).(pulumi.StringOutput) +} + +func (e NotificationStageName) ToStringPtrOutput() pulumi.StringPtrOutput { + return pulumi.String(e).ToStringPtrOutputWithContext(context.Background()) +} + +func (e NotificationStageName) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput { + return pulumi.String(e).ToStringOutputWithContext(ctx).ToStringPtrOutputWithContext(ctx) +} + +// Order type. +type OrderType pulumi.String + +const ( + // Purchase Order. + OrderTypePurchase = OrderType("Purchase") + // Rental Order. + OrderTypeRental = OrderType("Rental") +) + +func (OrderType) ElementType() reflect.Type { + return reflect.TypeOf((*pulumi.String)(nil)).Elem() +} + +func (e OrderType) ToStringOutput() pulumi.StringOutput { + return pulumi.ToOutput(pulumi.String(e)).(pulumi.StringOutput) +} + +func (e OrderType) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput { + return pulumi.ToOutputWithContext(ctx, pulumi.String(e)).(pulumi.StringOutput) +} + +func (e OrderType) ToStringPtrOutput() pulumi.StringPtrOutput { + return pulumi.String(e).ToStringPtrOutputWithContext(context.Background()) +} + +func (e OrderType) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput { + return pulumi.String(e).ToStringOutputWithContext(ctx).ToStringPtrOutputWithContext(ctx) +} + +// Type of product filter. +type SupportedFilterTypes pulumi.String + +const ( + // Ship to country + SupportedFilterTypesShipToCountries = SupportedFilterTypes("ShipToCountries") +) + +func (SupportedFilterTypes) ElementType() reflect.Type { + return reflect.TypeOf((*pulumi.String)(nil)).Elem() +} + +func (e SupportedFilterTypes) ToStringOutput() pulumi.StringOutput { + return pulumi.ToOutput(pulumi.String(e)).(pulumi.StringOutput) +} + +func (e SupportedFilterTypes) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput { + return pulumi.ToOutputWithContext(ctx, pulumi.String(e)).(pulumi.StringOutput) +} + +func (e SupportedFilterTypes) ToStringPtrOutput() pulumi.StringPtrOutput { + return pulumi.String(e).ToStringPtrOutputWithContext(context.Background()) +} + +func (e SupportedFilterTypes) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput { + return pulumi.String(e).ToStringOutputWithContext(ctx).ToStringPtrOutputWithContext(ctx) +} + +// Indicates Shipment Logistics type that the customer preferred. +type TransportShipmentTypes pulumi.String + +const ( + // Shipment Logistics is handled by the customer. + TransportShipmentTypesCustomerManaged = TransportShipmentTypes("CustomerManaged") + // Shipment Logistics is handled by Microsoft. + TransportShipmentTypesMicrosoftManaged = TransportShipmentTypes("MicrosoftManaged") +) + +func (TransportShipmentTypes) ElementType() reflect.Type { + return reflect.TypeOf((*pulumi.String)(nil)).Elem() +} + +func (e TransportShipmentTypes) ToStringOutput() pulumi.StringOutput { + return pulumi.ToOutput(pulumi.String(e)).(pulumi.StringOutput) +} + +func (e TransportShipmentTypes) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput { + return pulumi.ToOutputWithContext(ctx, pulumi.String(e)).(pulumi.StringOutput) +} + +func (e TransportShipmentTypes) ToStringPtrOutput() pulumi.StringPtrOutput { + return pulumi.String(e).ToStringPtrOutputWithContext(context.Background()) +} + +func (e TransportShipmentTypes) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput { + return pulumi.String(e).ToStringOutputWithContext(ctx).ToStringPtrOutputWithContext(ctx) +} diff --git a/sdk/go/azure/edgeorder/v20201201preview/pulumiTypes.go b/sdk/go/azure/edgeorder/v20201201preview/pulumiTypes.go new file mode 100644 index 000000000000..dfcd50bd11eb --- /dev/null +++ b/sdk/go/azure/edgeorder/v20201201preview/pulumiTypes.go @@ -0,0 +1,6814 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package v20201201preview + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi/sdk/v2/go/pulumi" +) + +type AdditionalErrorInfoResponse struct { + Info interface{} `pulumi:"info"` + Type *string `pulumi:"type"` +} + +// AdditionalErrorInfoResponseInput is an input type that accepts AdditionalErrorInfoResponseArgs and AdditionalErrorInfoResponseOutput values. +// You can construct a concrete instance of `AdditionalErrorInfoResponseInput` via: +// +// AdditionalErrorInfoResponseArgs{...} +type AdditionalErrorInfoResponseInput interface { + pulumi.Input + + ToAdditionalErrorInfoResponseOutput() AdditionalErrorInfoResponseOutput + ToAdditionalErrorInfoResponseOutputWithContext(context.Context) AdditionalErrorInfoResponseOutput +} + +type AdditionalErrorInfoResponseArgs struct { + Info pulumi.Input `pulumi:"info"` + Type pulumi.StringPtrInput `pulumi:"type"` +} + +func (AdditionalErrorInfoResponseArgs) ElementType() reflect.Type { + return reflect.TypeOf((*AdditionalErrorInfoResponse)(nil)).Elem() +} + +func (i AdditionalErrorInfoResponseArgs) ToAdditionalErrorInfoResponseOutput() AdditionalErrorInfoResponseOutput { + return i.ToAdditionalErrorInfoResponseOutputWithContext(context.Background()) +} + +func (i AdditionalErrorInfoResponseArgs) ToAdditionalErrorInfoResponseOutputWithContext(ctx context.Context) AdditionalErrorInfoResponseOutput { + return pulumi.ToOutputWithContext(ctx, i).(AdditionalErrorInfoResponseOutput) +} + +// AdditionalErrorInfoResponseArrayInput is an input type that accepts AdditionalErrorInfoResponseArray and AdditionalErrorInfoResponseArrayOutput values. +// You can construct a concrete instance of `AdditionalErrorInfoResponseArrayInput` via: +// +// AdditionalErrorInfoResponseArray{ AdditionalErrorInfoResponseArgs{...} } +type AdditionalErrorInfoResponseArrayInput interface { + pulumi.Input + + ToAdditionalErrorInfoResponseArrayOutput() AdditionalErrorInfoResponseArrayOutput + ToAdditionalErrorInfoResponseArrayOutputWithContext(context.Context) AdditionalErrorInfoResponseArrayOutput +} + +type AdditionalErrorInfoResponseArray []AdditionalErrorInfoResponseInput + +func (AdditionalErrorInfoResponseArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]AdditionalErrorInfoResponse)(nil)).Elem() +} + +func (i AdditionalErrorInfoResponseArray) ToAdditionalErrorInfoResponseArrayOutput() AdditionalErrorInfoResponseArrayOutput { + return i.ToAdditionalErrorInfoResponseArrayOutputWithContext(context.Background()) +} + +func (i AdditionalErrorInfoResponseArray) ToAdditionalErrorInfoResponseArrayOutputWithContext(ctx context.Context) AdditionalErrorInfoResponseArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(AdditionalErrorInfoResponseArrayOutput) +} + +type AdditionalErrorInfoResponseOutput struct{ *pulumi.OutputState } + +func (AdditionalErrorInfoResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*AdditionalErrorInfoResponse)(nil)).Elem() +} + +func (o AdditionalErrorInfoResponseOutput) ToAdditionalErrorInfoResponseOutput() AdditionalErrorInfoResponseOutput { + return o +} + +func (o AdditionalErrorInfoResponseOutput) ToAdditionalErrorInfoResponseOutputWithContext(ctx context.Context) AdditionalErrorInfoResponseOutput { + return o +} + +func (o AdditionalErrorInfoResponseOutput) Info() pulumi.AnyOutput { + return o.ApplyT(func(v AdditionalErrorInfoResponse) interface{} { return v.Info }).(pulumi.AnyOutput) +} + +func (o AdditionalErrorInfoResponseOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v AdditionalErrorInfoResponse) *string { return v.Type }).(pulumi.StringPtrOutput) +} + +type AdditionalErrorInfoResponseArrayOutput struct{ *pulumi.OutputState } + +func (AdditionalErrorInfoResponseArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]AdditionalErrorInfoResponse)(nil)).Elem() +} + +func (o AdditionalErrorInfoResponseArrayOutput) ToAdditionalErrorInfoResponseArrayOutput() AdditionalErrorInfoResponseArrayOutput { + return o +} + +func (o AdditionalErrorInfoResponseArrayOutput) ToAdditionalErrorInfoResponseArrayOutputWithContext(ctx context.Context) AdditionalErrorInfoResponseArrayOutput { + return o +} + +func (o AdditionalErrorInfoResponseArrayOutput) Index(i pulumi.IntInput) AdditionalErrorInfoResponseOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) AdditionalErrorInfoResponse { + return vs[0].([]AdditionalErrorInfoResponse)[vs[1].(int)] + }).(AdditionalErrorInfoResponseOutput) +} + +// Address details for an order. +type AddressDetails struct { + // Customer address and contact details. It should be address resource + ShippingAddress AddressProperties `pulumi:"shippingAddress"` +} + +// AddressDetailsInput is an input type that accepts AddressDetailsArgs and AddressDetailsOutput values. +// You can construct a concrete instance of `AddressDetailsInput` via: +// +// AddressDetailsArgs{...} +type AddressDetailsInput interface { + pulumi.Input + + ToAddressDetailsOutput() AddressDetailsOutput + ToAddressDetailsOutputWithContext(context.Context) AddressDetailsOutput +} + +// Address details for an order. +type AddressDetailsArgs struct { + // Customer address and contact details. It should be address resource + ShippingAddress AddressPropertiesInput `pulumi:"shippingAddress"` +} + +func (AddressDetailsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*AddressDetails)(nil)).Elem() +} + +func (i AddressDetailsArgs) ToAddressDetailsOutput() AddressDetailsOutput { + return i.ToAddressDetailsOutputWithContext(context.Background()) +} + +func (i AddressDetailsArgs) ToAddressDetailsOutputWithContext(ctx context.Context) AddressDetailsOutput { + return pulumi.ToOutputWithContext(ctx, i).(AddressDetailsOutput) +} + +func (i AddressDetailsArgs) ToAddressDetailsPtrOutput() AddressDetailsPtrOutput { + return i.ToAddressDetailsPtrOutputWithContext(context.Background()) +} + +func (i AddressDetailsArgs) ToAddressDetailsPtrOutputWithContext(ctx context.Context) AddressDetailsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AddressDetailsOutput).ToAddressDetailsPtrOutputWithContext(ctx) +} + +// AddressDetailsPtrInput is an input type that accepts AddressDetailsArgs, AddressDetailsPtr and AddressDetailsPtrOutput values. +// You can construct a concrete instance of `AddressDetailsPtrInput` via: +// +// AddressDetailsArgs{...} +// +// or: +// +// nil +type AddressDetailsPtrInput interface { + pulumi.Input + + ToAddressDetailsPtrOutput() AddressDetailsPtrOutput + ToAddressDetailsPtrOutputWithContext(context.Context) AddressDetailsPtrOutput +} + +type addressDetailsPtrType AddressDetailsArgs + +func AddressDetailsPtr(v *AddressDetailsArgs) AddressDetailsPtrInput { + return (*addressDetailsPtrType)(v) +} + +func (*addressDetailsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**AddressDetails)(nil)).Elem() +} + +func (i *addressDetailsPtrType) ToAddressDetailsPtrOutput() AddressDetailsPtrOutput { + return i.ToAddressDetailsPtrOutputWithContext(context.Background()) +} + +func (i *addressDetailsPtrType) ToAddressDetailsPtrOutputWithContext(ctx context.Context) AddressDetailsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AddressDetailsPtrOutput) +} + +// Address details for an order. +type AddressDetailsOutput struct{ *pulumi.OutputState } + +func (AddressDetailsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*AddressDetails)(nil)).Elem() +} + +func (o AddressDetailsOutput) ToAddressDetailsOutput() AddressDetailsOutput { + return o +} + +func (o AddressDetailsOutput) ToAddressDetailsOutputWithContext(ctx context.Context) AddressDetailsOutput { + return o +} + +func (o AddressDetailsOutput) ToAddressDetailsPtrOutput() AddressDetailsPtrOutput { + return o.ToAddressDetailsPtrOutputWithContext(context.Background()) +} + +func (o AddressDetailsOutput) ToAddressDetailsPtrOutputWithContext(ctx context.Context) AddressDetailsPtrOutput { + return o.ApplyT(func(v AddressDetails) *AddressDetails { + return &v + }).(AddressDetailsPtrOutput) +} + +// Customer address and contact details. It should be address resource +func (o AddressDetailsOutput) ShippingAddress() AddressPropertiesOutput { + return o.ApplyT(func(v AddressDetails) AddressProperties { return v.ShippingAddress }).(AddressPropertiesOutput) +} + +type AddressDetailsPtrOutput struct{ *pulumi.OutputState } + +func (AddressDetailsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**AddressDetails)(nil)).Elem() +} + +func (o AddressDetailsPtrOutput) ToAddressDetailsPtrOutput() AddressDetailsPtrOutput { + return o +} + +func (o AddressDetailsPtrOutput) ToAddressDetailsPtrOutputWithContext(ctx context.Context) AddressDetailsPtrOutput { + return o +} + +func (o AddressDetailsPtrOutput) Elem() AddressDetailsOutput { + return o.ApplyT(func(v *AddressDetails) AddressDetails { return *v }).(AddressDetailsOutput) +} + +// Customer address and contact details. It should be address resource +func (o AddressDetailsPtrOutput) ShippingAddress() AddressPropertiesPtrOutput { + return o.ApplyT(func(v *AddressDetails) *AddressProperties { + if v == nil { + return nil + } + return &v.ShippingAddress + }).(AddressPropertiesPtrOutput) +} + +// Address details for an order. +type AddressDetailsResponse struct { + // Return shipping address + ReturnAddress AddressPropertiesResponse `pulumi:"returnAddress"` + // Customer address and contact details. It should be address resource + ShippingAddress AddressPropertiesResponse `pulumi:"shippingAddress"` +} + +// AddressDetailsResponseInput is an input type that accepts AddressDetailsResponseArgs and AddressDetailsResponseOutput values. +// You can construct a concrete instance of `AddressDetailsResponseInput` via: +// +// AddressDetailsResponseArgs{...} +type AddressDetailsResponseInput interface { + pulumi.Input + + ToAddressDetailsResponseOutput() AddressDetailsResponseOutput + ToAddressDetailsResponseOutputWithContext(context.Context) AddressDetailsResponseOutput +} + +// Address details for an order. +type AddressDetailsResponseArgs struct { + // Return shipping address + ReturnAddress AddressPropertiesResponseInput `pulumi:"returnAddress"` + // Customer address and contact details. It should be address resource + ShippingAddress AddressPropertiesResponseInput `pulumi:"shippingAddress"` +} + +func (AddressDetailsResponseArgs) ElementType() reflect.Type { + return reflect.TypeOf((*AddressDetailsResponse)(nil)).Elem() +} + +func (i AddressDetailsResponseArgs) ToAddressDetailsResponseOutput() AddressDetailsResponseOutput { + return i.ToAddressDetailsResponseOutputWithContext(context.Background()) +} + +func (i AddressDetailsResponseArgs) ToAddressDetailsResponseOutputWithContext(ctx context.Context) AddressDetailsResponseOutput { + return pulumi.ToOutputWithContext(ctx, i).(AddressDetailsResponseOutput) +} + +func (i AddressDetailsResponseArgs) ToAddressDetailsResponsePtrOutput() AddressDetailsResponsePtrOutput { + return i.ToAddressDetailsResponsePtrOutputWithContext(context.Background()) +} + +func (i AddressDetailsResponseArgs) ToAddressDetailsResponsePtrOutputWithContext(ctx context.Context) AddressDetailsResponsePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AddressDetailsResponseOutput).ToAddressDetailsResponsePtrOutputWithContext(ctx) +} + +// AddressDetailsResponsePtrInput is an input type that accepts AddressDetailsResponseArgs, AddressDetailsResponsePtr and AddressDetailsResponsePtrOutput values. +// You can construct a concrete instance of `AddressDetailsResponsePtrInput` via: +// +// AddressDetailsResponseArgs{...} +// +// or: +// +// nil +type AddressDetailsResponsePtrInput interface { + pulumi.Input + + ToAddressDetailsResponsePtrOutput() AddressDetailsResponsePtrOutput + ToAddressDetailsResponsePtrOutputWithContext(context.Context) AddressDetailsResponsePtrOutput +} + +type addressDetailsResponsePtrType AddressDetailsResponseArgs + +func AddressDetailsResponsePtr(v *AddressDetailsResponseArgs) AddressDetailsResponsePtrInput { + return (*addressDetailsResponsePtrType)(v) +} + +func (*addressDetailsResponsePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**AddressDetailsResponse)(nil)).Elem() +} + +func (i *addressDetailsResponsePtrType) ToAddressDetailsResponsePtrOutput() AddressDetailsResponsePtrOutput { + return i.ToAddressDetailsResponsePtrOutputWithContext(context.Background()) +} + +func (i *addressDetailsResponsePtrType) ToAddressDetailsResponsePtrOutputWithContext(ctx context.Context) AddressDetailsResponsePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AddressDetailsResponsePtrOutput) +} + +// Address details for an order. +type AddressDetailsResponseOutput struct{ *pulumi.OutputState } + +func (AddressDetailsResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*AddressDetailsResponse)(nil)).Elem() +} + +func (o AddressDetailsResponseOutput) ToAddressDetailsResponseOutput() AddressDetailsResponseOutput { + return o +} + +func (o AddressDetailsResponseOutput) ToAddressDetailsResponseOutputWithContext(ctx context.Context) AddressDetailsResponseOutput { + return o +} + +func (o AddressDetailsResponseOutput) ToAddressDetailsResponsePtrOutput() AddressDetailsResponsePtrOutput { + return o.ToAddressDetailsResponsePtrOutputWithContext(context.Background()) +} + +func (o AddressDetailsResponseOutput) ToAddressDetailsResponsePtrOutputWithContext(ctx context.Context) AddressDetailsResponsePtrOutput { + return o.ApplyT(func(v AddressDetailsResponse) *AddressDetailsResponse { + return &v + }).(AddressDetailsResponsePtrOutput) +} + +// Return shipping address +func (o AddressDetailsResponseOutput) ReturnAddress() AddressPropertiesResponseOutput { + return o.ApplyT(func(v AddressDetailsResponse) AddressPropertiesResponse { return v.ReturnAddress }).(AddressPropertiesResponseOutput) +} + +// Customer address and contact details. It should be address resource +func (o AddressDetailsResponseOutput) ShippingAddress() AddressPropertiesResponseOutput { + return o.ApplyT(func(v AddressDetailsResponse) AddressPropertiesResponse { return v.ShippingAddress }).(AddressPropertiesResponseOutput) +} + +type AddressDetailsResponsePtrOutput struct{ *pulumi.OutputState } + +func (AddressDetailsResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**AddressDetailsResponse)(nil)).Elem() +} + +func (o AddressDetailsResponsePtrOutput) ToAddressDetailsResponsePtrOutput() AddressDetailsResponsePtrOutput { + return o +} + +func (o AddressDetailsResponsePtrOutput) ToAddressDetailsResponsePtrOutputWithContext(ctx context.Context) AddressDetailsResponsePtrOutput { + return o +} + +func (o AddressDetailsResponsePtrOutput) Elem() AddressDetailsResponseOutput { + return o.ApplyT(func(v *AddressDetailsResponse) AddressDetailsResponse { return *v }).(AddressDetailsResponseOutput) +} + +// Return shipping address +func (o AddressDetailsResponsePtrOutput) ReturnAddress() AddressPropertiesResponsePtrOutput { + return o.ApplyT(func(v *AddressDetailsResponse) *AddressPropertiesResponse { + if v == nil { + return nil + } + return &v.ReturnAddress + }).(AddressPropertiesResponsePtrOutput) +} + +// Customer address and contact details. It should be address resource +func (o AddressDetailsResponsePtrOutput) ShippingAddress() AddressPropertiesResponsePtrOutput { + return o.ApplyT(func(v *AddressDetailsResponse) *AddressPropertiesResponse { + if v == nil { + return nil + } + return &v.ShippingAddress + }).(AddressPropertiesResponsePtrOutput) +} + +// Address Properties +type AddressProperties struct { + // Contact details for the address + ContactDetails ContactDetails `pulumi:"contactDetails"` + // Shipping details for the address + ShippingAddress *ShippingAddress `pulumi:"shippingAddress"` +} + +// AddressPropertiesInput is an input type that accepts AddressPropertiesArgs and AddressPropertiesOutput values. +// You can construct a concrete instance of `AddressPropertiesInput` via: +// +// AddressPropertiesArgs{...} +type AddressPropertiesInput interface { + pulumi.Input + + ToAddressPropertiesOutput() AddressPropertiesOutput + ToAddressPropertiesOutputWithContext(context.Context) AddressPropertiesOutput +} + +// Address Properties +type AddressPropertiesArgs struct { + // Contact details for the address + ContactDetails ContactDetailsInput `pulumi:"contactDetails"` + // Shipping details for the address + ShippingAddress ShippingAddressPtrInput `pulumi:"shippingAddress"` +} + +func (AddressPropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*AddressProperties)(nil)).Elem() +} + +func (i AddressPropertiesArgs) ToAddressPropertiesOutput() AddressPropertiesOutput { + return i.ToAddressPropertiesOutputWithContext(context.Background()) +} + +func (i AddressPropertiesArgs) ToAddressPropertiesOutputWithContext(ctx context.Context) AddressPropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(AddressPropertiesOutput) +} + +func (i AddressPropertiesArgs) ToAddressPropertiesPtrOutput() AddressPropertiesPtrOutput { + return i.ToAddressPropertiesPtrOutputWithContext(context.Background()) +} + +func (i AddressPropertiesArgs) ToAddressPropertiesPtrOutputWithContext(ctx context.Context) AddressPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AddressPropertiesOutput).ToAddressPropertiesPtrOutputWithContext(ctx) +} + +// AddressPropertiesPtrInput is an input type that accepts AddressPropertiesArgs, AddressPropertiesPtr and AddressPropertiesPtrOutput values. +// You can construct a concrete instance of `AddressPropertiesPtrInput` via: +// +// AddressPropertiesArgs{...} +// +// or: +// +// nil +type AddressPropertiesPtrInput interface { + pulumi.Input + + ToAddressPropertiesPtrOutput() AddressPropertiesPtrOutput + ToAddressPropertiesPtrOutputWithContext(context.Context) AddressPropertiesPtrOutput +} + +type addressPropertiesPtrType AddressPropertiesArgs + +func AddressPropertiesPtr(v *AddressPropertiesArgs) AddressPropertiesPtrInput { + return (*addressPropertiesPtrType)(v) +} + +func (*addressPropertiesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**AddressProperties)(nil)).Elem() +} + +func (i *addressPropertiesPtrType) ToAddressPropertiesPtrOutput() AddressPropertiesPtrOutput { + return i.ToAddressPropertiesPtrOutputWithContext(context.Background()) +} + +func (i *addressPropertiesPtrType) ToAddressPropertiesPtrOutputWithContext(ctx context.Context) AddressPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AddressPropertiesPtrOutput) +} + +// Address Properties +type AddressPropertiesOutput struct{ *pulumi.OutputState } + +func (AddressPropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*AddressProperties)(nil)).Elem() +} + +func (o AddressPropertiesOutput) ToAddressPropertiesOutput() AddressPropertiesOutput { + return o +} + +func (o AddressPropertiesOutput) ToAddressPropertiesOutputWithContext(ctx context.Context) AddressPropertiesOutput { + return o +} + +func (o AddressPropertiesOutput) ToAddressPropertiesPtrOutput() AddressPropertiesPtrOutput { + return o.ToAddressPropertiesPtrOutputWithContext(context.Background()) +} + +func (o AddressPropertiesOutput) ToAddressPropertiesPtrOutputWithContext(ctx context.Context) AddressPropertiesPtrOutput { + return o.ApplyT(func(v AddressProperties) *AddressProperties { + return &v + }).(AddressPropertiesPtrOutput) +} + +// Contact details for the address +func (o AddressPropertiesOutput) ContactDetails() ContactDetailsOutput { + return o.ApplyT(func(v AddressProperties) ContactDetails { return v.ContactDetails }).(ContactDetailsOutput) +} + +// Shipping details for the address +func (o AddressPropertiesOutput) ShippingAddress() ShippingAddressPtrOutput { + return o.ApplyT(func(v AddressProperties) *ShippingAddress { return v.ShippingAddress }).(ShippingAddressPtrOutput) +} + +type AddressPropertiesPtrOutput struct{ *pulumi.OutputState } + +func (AddressPropertiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**AddressProperties)(nil)).Elem() +} + +func (o AddressPropertiesPtrOutput) ToAddressPropertiesPtrOutput() AddressPropertiesPtrOutput { + return o +} + +func (o AddressPropertiesPtrOutput) ToAddressPropertiesPtrOutputWithContext(ctx context.Context) AddressPropertiesPtrOutput { + return o +} + +func (o AddressPropertiesPtrOutput) Elem() AddressPropertiesOutput { + return o.ApplyT(func(v *AddressProperties) AddressProperties { return *v }).(AddressPropertiesOutput) +} + +// Contact details for the address +func (o AddressPropertiesPtrOutput) ContactDetails() ContactDetailsPtrOutput { + return o.ApplyT(func(v *AddressProperties) *ContactDetails { + if v == nil { + return nil + } + return &v.ContactDetails + }).(ContactDetailsPtrOutput) +} + +// Shipping details for the address +func (o AddressPropertiesPtrOutput) ShippingAddress() ShippingAddressPtrOutput { + return o.ApplyT(func(v *AddressProperties) *ShippingAddress { + if v == nil { + return nil + } + return v.ShippingAddress + }).(ShippingAddressPtrOutput) +} + +// Address Properties +type AddressPropertiesResponse struct { + // Contact details for the address + ContactDetails ContactDetailsResponse `pulumi:"contactDetails"` + // Shipping details for the address + ShippingAddress *ShippingAddressResponse `pulumi:"shippingAddress"` +} + +// AddressPropertiesResponseInput is an input type that accepts AddressPropertiesResponseArgs and AddressPropertiesResponseOutput values. +// You can construct a concrete instance of `AddressPropertiesResponseInput` via: +// +// AddressPropertiesResponseArgs{...} +type AddressPropertiesResponseInput interface { + pulumi.Input + + ToAddressPropertiesResponseOutput() AddressPropertiesResponseOutput + ToAddressPropertiesResponseOutputWithContext(context.Context) AddressPropertiesResponseOutput +} + +// Address Properties +type AddressPropertiesResponseArgs struct { + // Contact details for the address + ContactDetails ContactDetailsResponseInput `pulumi:"contactDetails"` + // Shipping details for the address + ShippingAddress ShippingAddressResponsePtrInput `pulumi:"shippingAddress"` +} + +func (AddressPropertiesResponseArgs) ElementType() reflect.Type { + return reflect.TypeOf((*AddressPropertiesResponse)(nil)).Elem() +} + +func (i AddressPropertiesResponseArgs) ToAddressPropertiesResponseOutput() AddressPropertiesResponseOutput { + return i.ToAddressPropertiesResponseOutputWithContext(context.Background()) +} + +func (i AddressPropertiesResponseArgs) ToAddressPropertiesResponseOutputWithContext(ctx context.Context) AddressPropertiesResponseOutput { + return pulumi.ToOutputWithContext(ctx, i).(AddressPropertiesResponseOutput) +} + +func (i AddressPropertiesResponseArgs) ToAddressPropertiesResponsePtrOutput() AddressPropertiesResponsePtrOutput { + return i.ToAddressPropertiesResponsePtrOutputWithContext(context.Background()) +} + +func (i AddressPropertiesResponseArgs) ToAddressPropertiesResponsePtrOutputWithContext(ctx context.Context) AddressPropertiesResponsePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AddressPropertiesResponseOutput).ToAddressPropertiesResponsePtrOutputWithContext(ctx) +} + +// AddressPropertiesResponsePtrInput is an input type that accepts AddressPropertiesResponseArgs, AddressPropertiesResponsePtr and AddressPropertiesResponsePtrOutput values. +// You can construct a concrete instance of `AddressPropertiesResponsePtrInput` via: +// +// AddressPropertiesResponseArgs{...} +// +// or: +// +// nil +type AddressPropertiesResponsePtrInput interface { + pulumi.Input + + ToAddressPropertiesResponsePtrOutput() AddressPropertiesResponsePtrOutput + ToAddressPropertiesResponsePtrOutputWithContext(context.Context) AddressPropertiesResponsePtrOutput +} + +type addressPropertiesResponsePtrType AddressPropertiesResponseArgs + +func AddressPropertiesResponsePtr(v *AddressPropertiesResponseArgs) AddressPropertiesResponsePtrInput { + return (*addressPropertiesResponsePtrType)(v) +} + +func (*addressPropertiesResponsePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**AddressPropertiesResponse)(nil)).Elem() +} + +func (i *addressPropertiesResponsePtrType) ToAddressPropertiesResponsePtrOutput() AddressPropertiesResponsePtrOutput { + return i.ToAddressPropertiesResponsePtrOutputWithContext(context.Background()) +} + +func (i *addressPropertiesResponsePtrType) ToAddressPropertiesResponsePtrOutputWithContext(ctx context.Context) AddressPropertiesResponsePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AddressPropertiesResponsePtrOutput) +} + +// Address Properties +type AddressPropertiesResponseOutput struct{ *pulumi.OutputState } + +func (AddressPropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*AddressPropertiesResponse)(nil)).Elem() +} + +func (o AddressPropertiesResponseOutput) ToAddressPropertiesResponseOutput() AddressPropertiesResponseOutput { + return o +} + +func (o AddressPropertiesResponseOutput) ToAddressPropertiesResponseOutputWithContext(ctx context.Context) AddressPropertiesResponseOutput { + return o +} + +func (o AddressPropertiesResponseOutput) ToAddressPropertiesResponsePtrOutput() AddressPropertiesResponsePtrOutput { + return o.ToAddressPropertiesResponsePtrOutputWithContext(context.Background()) +} + +func (o AddressPropertiesResponseOutput) ToAddressPropertiesResponsePtrOutputWithContext(ctx context.Context) AddressPropertiesResponsePtrOutput { + return o.ApplyT(func(v AddressPropertiesResponse) *AddressPropertiesResponse { + return &v + }).(AddressPropertiesResponsePtrOutput) +} + +// Contact details for the address +func (o AddressPropertiesResponseOutput) ContactDetails() ContactDetailsResponseOutput { + return o.ApplyT(func(v AddressPropertiesResponse) ContactDetailsResponse { return v.ContactDetails }).(ContactDetailsResponseOutput) +} + +// Shipping details for the address +func (o AddressPropertiesResponseOutput) ShippingAddress() ShippingAddressResponsePtrOutput { + return o.ApplyT(func(v AddressPropertiesResponse) *ShippingAddressResponse { return v.ShippingAddress }).(ShippingAddressResponsePtrOutput) +} + +type AddressPropertiesResponsePtrOutput struct{ *pulumi.OutputState } + +func (AddressPropertiesResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**AddressPropertiesResponse)(nil)).Elem() +} + +func (o AddressPropertiesResponsePtrOutput) ToAddressPropertiesResponsePtrOutput() AddressPropertiesResponsePtrOutput { + return o +} + +func (o AddressPropertiesResponsePtrOutput) ToAddressPropertiesResponsePtrOutputWithContext(ctx context.Context) AddressPropertiesResponsePtrOutput { + return o +} + +func (o AddressPropertiesResponsePtrOutput) Elem() AddressPropertiesResponseOutput { + return o.ApplyT(func(v *AddressPropertiesResponse) AddressPropertiesResponse { return *v }).(AddressPropertiesResponseOutput) +} + +// Contact details for the address +func (o AddressPropertiesResponsePtrOutput) ContactDetails() ContactDetailsResponsePtrOutput { + return o.ApplyT(func(v *AddressPropertiesResponse) *ContactDetailsResponse { + if v == nil { + return nil + } + return &v.ContactDetails + }).(ContactDetailsResponsePtrOutput) +} + +// Shipping details for the address +func (o AddressPropertiesResponsePtrOutput) ShippingAddress() ShippingAddressResponsePtrOutput { + return o.ApplyT(func(v *AddressPropertiesResponse) *ShippingAddressResponse { + if v == nil { + return nil + } + return v.ShippingAddress + }).(ShippingAddressResponsePtrOutput) +} + +// Availability information of a product system. +type AvailabilityInformationResponse struct { + // Current availability stage of the product. Availability stage + AvailabilityStage string `pulumi:"availabilityStage"` + // Reason why the product is disabled. + DisabledReason string `pulumi:"disabledReason"` + // Message for why the product is disabled. + DisabledReasonMessage string `pulumi:"disabledReasonMessage"` +} + +// AvailabilityInformationResponseInput is an input type that accepts AvailabilityInformationResponseArgs and AvailabilityInformationResponseOutput values. +// You can construct a concrete instance of `AvailabilityInformationResponseInput` via: +// +// AvailabilityInformationResponseArgs{...} +type AvailabilityInformationResponseInput interface { + pulumi.Input + + ToAvailabilityInformationResponseOutput() AvailabilityInformationResponseOutput + ToAvailabilityInformationResponseOutputWithContext(context.Context) AvailabilityInformationResponseOutput +} + +// Availability information of a product system. +type AvailabilityInformationResponseArgs struct { + // Current availability stage of the product. Availability stage + AvailabilityStage pulumi.StringInput `pulumi:"availabilityStage"` + // Reason why the product is disabled. + DisabledReason pulumi.StringInput `pulumi:"disabledReason"` + // Message for why the product is disabled. + DisabledReasonMessage pulumi.StringInput `pulumi:"disabledReasonMessage"` +} + +func (AvailabilityInformationResponseArgs) ElementType() reflect.Type { + return reflect.TypeOf((*AvailabilityInformationResponse)(nil)).Elem() +} + +func (i AvailabilityInformationResponseArgs) ToAvailabilityInformationResponseOutput() AvailabilityInformationResponseOutput { + return i.ToAvailabilityInformationResponseOutputWithContext(context.Background()) +} + +func (i AvailabilityInformationResponseArgs) ToAvailabilityInformationResponseOutputWithContext(ctx context.Context) AvailabilityInformationResponseOutput { + return pulumi.ToOutputWithContext(ctx, i).(AvailabilityInformationResponseOutput) +} + +// Availability information of a product system. +type AvailabilityInformationResponseOutput struct{ *pulumi.OutputState } + +func (AvailabilityInformationResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*AvailabilityInformationResponse)(nil)).Elem() +} + +func (o AvailabilityInformationResponseOutput) ToAvailabilityInformationResponseOutput() AvailabilityInformationResponseOutput { + return o +} + +func (o AvailabilityInformationResponseOutput) ToAvailabilityInformationResponseOutputWithContext(ctx context.Context) AvailabilityInformationResponseOutput { + return o +} + +// Current availability stage of the product. Availability stage +func (o AvailabilityInformationResponseOutput) AvailabilityStage() pulumi.StringOutput { + return o.ApplyT(func(v AvailabilityInformationResponse) string { return v.AvailabilityStage }).(pulumi.StringOutput) +} + +// Reason why the product is disabled. +func (o AvailabilityInformationResponseOutput) DisabledReason() pulumi.StringOutput { + return o.ApplyT(func(v AvailabilityInformationResponse) string { return v.DisabledReason }).(pulumi.StringOutput) +} + +// Message for why the product is disabled. +func (o AvailabilityInformationResponseOutput) DisabledReasonMessage() pulumi.StringOutput { + return o.ApplyT(func(v AvailabilityInformationResponse) string { return v.DisabledReasonMessage }).(pulumi.StringOutput) +} + +// Model to represent the billing cycle +type BillingModelResponse struct { + // String to represent the billing model + Model string `pulumi:"model"` +} + +// BillingModelResponseInput is an input type that accepts BillingModelResponseArgs and BillingModelResponseOutput values. +// You can construct a concrete instance of `BillingModelResponseInput` via: +// +// BillingModelResponseArgs{...} +type BillingModelResponseInput interface { + pulumi.Input + + ToBillingModelResponseOutput() BillingModelResponseOutput + ToBillingModelResponseOutputWithContext(context.Context) BillingModelResponseOutput +} + +// Model to represent the billing cycle +type BillingModelResponseArgs struct { + // String to represent the billing model + Model pulumi.StringInput `pulumi:"model"` +} + +func (BillingModelResponseArgs) ElementType() reflect.Type { + return reflect.TypeOf((*BillingModelResponse)(nil)).Elem() +} + +func (i BillingModelResponseArgs) ToBillingModelResponseOutput() BillingModelResponseOutput { + return i.ToBillingModelResponseOutputWithContext(context.Background()) +} + +func (i BillingModelResponseArgs) ToBillingModelResponseOutputWithContext(ctx context.Context) BillingModelResponseOutput { + return pulumi.ToOutputWithContext(ctx, i).(BillingModelResponseOutput) +} + +// Model to represent the billing cycle +type BillingModelResponseOutput struct{ *pulumi.OutputState } + +func (BillingModelResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*BillingModelResponse)(nil)).Elem() +} + +func (o BillingModelResponseOutput) ToBillingModelResponseOutput() BillingModelResponseOutput { + return o +} + +func (o BillingModelResponseOutput) ToBillingModelResponseOutputWithContext(ctx context.Context) BillingModelResponseOutput { + return o +} + +// String to represent the billing model +func (o BillingModelResponseOutput) Model() pulumi.StringOutput { + return o.ApplyT(func(v BillingModelResponse) string { return v.Model }).(pulumi.StringOutput) +} + +type CloudErrorResponse struct { + AdditionalInfo []AdditionalErrorInfoResponse `pulumi:"additionalInfo"` + Code *string `pulumi:"code"` + Details []CloudErrorResponse `pulumi:"details"` + Message *string `pulumi:"message"` + Target *string `pulumi:"target"` +} + +// CloudErrorResponseInput is an input type that accepts CloudErrorResponseArgs and CloudErrorResponseOutput values. +// You can construct a concrete instance of `CloudErrorResponseInput` via: +// +// CloudErrorResponseArgs{...} +type CloudErrorResponseInput interface { + pulumi.Input + + ToCloudErrorResponseOutput() CloudErrorResponseOutput + ToCloudErrorResponseOutputWithContext(context.Context) CloudErrorResponseOutput +} + +type CloudErrorResponseArgs struct { + AdditionalInfo AdditionalErrorInfoResponseArrayInput `pulumi:"additionalInfo"` + Code pulumi.StringPtrInput `pulumi:"code"` + Details CloudErrorResponseArrayInput `pulumi:"details"` + Message pulumi.StringPtrInput `pulumi:"message"` + Target pulumi.StringPtrInput `pulumi:"target"` +} + +func (CloudErrorResponseArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CloudErrorResponse)(nil)).Elem() +} + +func (i CloudErrorResponseArgs) ToCloudErrorResponseOutput() CloudErrorResponseOutput { + return i.ToCloudErrorResponseOutputWithContext(context.Background()) +} + +func (i CloudErrorResponseArgs) ToCloudErrorResponseOutputWithContext(ctx context.Context) CloudErrorResponseOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudErrorResponseOutput) +} + +func (i CloudErrorResponseArgs) ToCloudErrorResponsePtrOutput() CloudErrorResponsePtrOutput { + return i.ToCloudErrorResponsePtrOutputWithContext(context.Background()) +} + +func (i CloudErrorResponseArgs) ToCloudErrorResponsePtrOutputWithContext(ctx context.Context) CloudErrorResponsePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudErrorResponseOutput).ToCloudErrorResponsePtrOutputWithContext(ctx) +} + +// CloudErrorResponsePtrInput is an input type that accepts CloudErrorResponseArgs, CloudErrorResponsePtr and CloudErrorResponsePtrOutput values. +// You can construct a concrete instance of `CloudErrorResponsePtrInput` via: +// +// CloudErrorResponseArgs{...} +// +// or: +// +// nil +type CloudErrorResponsePtrInput interface { + pulumi.Input + + ToCloudErrorResponsePtrOutput() CloudErrorResponsePtrOutput + ToCloudErrorResponsePtrOutputWithContext(context.Context) CloudErrorResponsePtrOutput +} + +type cloudErrorResponsePtrType CloudErrorResponseArgs + +func CloudErrorResponsePtr(v *CloudErrorResponseArgs) CloudErrorResponsePtrInput { + return (*cloudErrorResponsePtrType)(v) +} + +func (*cloudErrorResponsePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**CloudErrorResponse)(nil)).Elem() +} + +func (i *cloudErrorResponsePtrType) ToCloudErrorResponsePtrOutput() CloudErrorResponsePtrOutput { + return i.ToCloudErrorResponsePtrOutputWithContext(context.Background()) +} + +func (i *cloudErrorResponsePtrType) ToCloudErrorResponsePtrOutputWithContext(ctx context.Context) CloudErrorResponsePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudErrorResponsePtrOutput) +} + +// CloudErrorResponseArrayInput is an input type that accepts CloudErrorResponseArray and CloudErrorResponseArrayOutput values. +// You can construct a concrete instance of `CloudErrorResponseArrayInput` via: +// +// CloudErrorResponseArray{ CloudErrorResponseArgs{...} } +type CloudErrorResponseArrayInput interface { + pulumi.Input + + ToCloudErrorResponseArrayOutput() CloudErrorResponseArrayOutput + ToCloudErrorResponseArrayOutputWithContext(context.Context) CloudErrorResponseArrayOutput +} + +type CloudErrorResponseArray []CloudErrorResponseInput + +func (CloudErrorResponseArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]CloudErrorResponse)(nil)).Elem() +} + +func (i CloudErrorResponseArray) ToCloudErrorResponseArrayOutput() CloudErrorResponseArrayOutput { + return i.ToCloudErrorResponseArrayOutputWithContext(context.Background()) +} + +func (i CloudErrorResponseArray) ToCloudErrorResponseArrayOutputWithContext(ctx context.Context) CloudErrorResponseArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudErrorResponseArrayOutput) +} + +type CloudErrorResponseOutput struct{ *pulumi.OutputState } + +func (CloudErrorResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CloudErrorResponse)(nil)).Elem() +} + +func (o CloudErrorResponseOutput) ToCloudErrorResponseOutput() CloudErrorResponseOutput { + return o +} + +func (o CloudErrorResponseOutput) ToCloudErrorResponseOutputWithContext(ctx context.Context) CloudErrorResponseOutput { + return o +} + +func (o CloudErrorResponseOutput) ToCloudErrorResponsePtrOutput() CloudErrorResponsePtrOutput { + return o.ToCloudErrorResponsePtrOutputWithContext(context.Background()) +} + +func (o CloudErrorResponseOutput) ToCloudErrorResponsePtrOutputWithContext(ctx context.Context) CloudErrorResponsePtrOutput { + return o.ApplyT(func(v CloudErrorResponse) *CloudErrorResponse { + return &v + }).(CloudErrorResponsePtrOutput) +} +func (o CloudErrorResponseOutput) AdditionalInfo() AdditionalErrorInfoResponseArrayOutput { + return o.ApplyT(func(v CloudErrorResponse) []AdditionalErrorInfoResponse { return v.AdditionalInfo }).(AdditionalErrorInfoResponseArrayOutput) +} + +func (o CloudErrorResponseOutput) Code() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudErrorResponse) *string { return v.Code }).(pulumi.StringPtrOutput) +} + +func (o CloudErrorResponseOutput) Details() CloudErrorResponseArrayOutput { + return o.ApplyT(func(v CloudErrorResponse) []CloudErrorResponse { return v.Details }).(CloudErrorResponseArrayOutput) +} + +func (o CloudErrorResponseOutput) Message() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudErrorResponse) *string { return v.Message }).(pulumi.StringPtrOutput) +} + +func (o CloudErrorResponseOutput) Target() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudErrorResponse) *string { return v.Target }).(pulumi.StringPtrOutput) +} + +type CloudErrorResponsePtrOutput struct{ *pulumi.OutputState } + +func (CloudErrorResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CloudErrorResponse)(nil)).Elem() +} + +func (o CloudErrorResponsePtrOutput) ToCloudErrorResponsePtrOutput() CloudErrorResponsePtrOutput { + return o +} + +func (o CloudErrorResponsePtrOutput) ToCloudErrorResponsePtrOutputWithContext(ctx context.Context) CloudErrorResponsePtrOutput { + return o +} + +func (o CloudErrorResponsePtrOutput) Elem() CloudErrorResponseOutput { + return o.ApplyT(func(v *CloudErrorResponse) CloudErrorResponse { return *v }).(CloudErrorResponseOutput) +} + +func (o CloudErrorResponsePtrOutput) AdditionalInfo() AdditionalErrorInfoResponseArrayOutput { + return o.ApplyT(func(v *CloudErrorResponse) []AdditionalErrorInfoResponse { + if v == nil { + return nil + } + return v.AdditionalInfo + }).(AdditionalErrorInfoResponseArrayOutput) +} + +func (o CloudErrorResponsePtrOutput) Code() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudErrorResponse) *string { + if v == nil { + return nil + } + return v.Code + }).(pulumi.StringPtrOutput) +} + +func (o CloudErrorResponsePtrOutput) Details() CloudErrorResponseArrayOutput { + return o.ApplyT(func(v *CloudErrorResponse) []CloudErrorResponse { + if v == nil { + return nil + } + return v.Details + }).(CloudErrorResponseArrayOutput) +} + +func (o CloudErrorResponsePtrOutput) Message() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudErrorResponse) *string { + if v == nil { + return nil + } + return v.Message + }).(pulumi.StringPtrOutput) +} + +func (o CloudErrorResponsePtrOutput) Target() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudErrorResponse) *string { + if v == nil { + return nil + } + return v.Target + }).(pulumi.StringPtrOutput) +} + +type CloudErrorResponseArrayOutput struct{ *pulumi.OutputState } + +func (CloudErrorResponseArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]CloudErrorResponse)(nil)).Elem() +} + +func (o CloudErrorResponseArrayOutput) ToCloudErrorResponseArrayOutput() CloudErrorResponseArrayOutput { + return o +} + +func (o CloudErrorResponseArrayOutput) ToCloudErrorResponseArrayOutputWithContext(ctx context.Context) CloudErrorResponseArrayOutput { + return o +} + +func (o CloudErrorResponseArrayOutput) Index(i pulumi.IntInput) CloudErrorResponseOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) CloudErrorResponse { + return vs[0].([]CloudErrorResponse)[vs[1].(int)] + }).(CloudErrorResponseOutput) +} + +// Configuration filters +type ConfigurationFilters struct { + // Filters specific to product + FilterableProperty *FilterableProperty `pulumi:"filterableProperty"` + // Product hierarchy information + HierarchyInformation *HierarchyInformation `pulumi:"hierarchyInformation"` +} + +// ConfigurationFiltersInput is an input type that accepts ConfigurationFiltersArgs and ConfigurationFiltersOutput values. +// You can construct a concrete instance of `ConfigurationFiltersInput` via: +// +// ConfigurationFiltersArgs{...} +type ConfigurationFiltersInput interface { + pulumi.Input + + ToConfigurationFiltersOutput() ConfigurationFiltersOutput + ToConfigurationFiltersOutputWithContext(context.Context) ConfigurationFiltersOutput +} + +// Configuration filters +type ConfigurationFiltersArgs struct { + // Filters specific to product + FilterableProperty FilterablePropertyPtrInput `pulumi:"filterableProperty"` + // Product hierarchy information + HierarchyInformation HierarchyInformationPtrInput `pulumi:"hierarchyInformation"` +} + +func (ConfigurationFiltersArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigurationFilters)(nil)).Elem() +} + +func (i ConfigurationFiltersArgs) ToConfigurationFiltersOutput() ConfigurationFiltersOutput { + return i.ToConfigurationFiltersOutputWithContext(context.Background()) +} + +func (i ConfigurationFiltersArgs) ToConfigurationFiltersOutputWithContext(ctx context.Context) ConfigurationFiltersOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigurationFiltersOutput) +} + +// ConfigurationFiltersArrayInput is an input type that accepts ConfigurationFiltersArray and ConfigurationFiltersArrayOutput values. +// You can construct a concrete instance of `ConfigurationFiltersArrayInput` via: +// +// ConfigurationFiltersArray{ ConfigurationFiltersArgs{...} } +type ConfigurationFiltersArrayInput interface { + pulumi.Input + + ToConfigurationFiltersArrayOutput() ConfigurationFiltersArrayOutput + ToConfigurationFiltersArrayOutputWithContext(context.Context) ConfigurationFiltersArrayOutput +} + +type ConfigurationFiltersArray []ConfigurationFiltersInput + +func (ConfigurationFiltersArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ConfigurationFilters)(nil)).Elem() +} + +func (i ConfigurationFiltersArray) ToConfigurationFiltersArrayOutput() ConfigurationFiltersArrayOutput { + return i.ToConfigurationFiltersArrayOutputWithContext(context.Background()) +} + +func (i ConfigurationFiltersArray) ToConfigurationFiltersArrayOutputWithContext(ctx context.Context) ConfigurationFiltersArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigurationFiltersArrayOutput) +} + +// Configuration filters +type ConfigurationFiltersOutput struct{ *pulumi.OutputState } + +func (ConfigurationFiltersOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigurationFilters)(nil)).Elem() +} + +func (o ConfigurationFiltersOutput) ToConfigurationFiltersOutput() ConfigurationFiltersOutput { + return o +} + +func (o ConfigurationFiltersOutput) ToConfigurationFiltersOutputWithContext(ctx context.Context) ConfigurationFiltersOutput { + return o +} + +// Filters specific to product +func (o ConfigurationFiltersOutput) FilterableProperty() FilterablePropertyPtrOutput { + return o.ApplyT(func(v ConfigurationFilters) *FilterableProperty { return v.FilterableProperty }).(FilterablePropertyPtrOutput) +} + +// Product hierarchy information +func (o ConfigurationFiltersOutput) HierarchyInformation() HierarchyInformationPtrOutput { + return o.ApplyT(func(v ConfigurationFilters) *HierarchyInformation { return v.HierarchyInformation }).(HierarchyInformationPtrOutput) +} + +type ConfigurationFiltersArrayOutput struct{ *pulumi.OutputState } + +func (ConfigurationFiltersArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ConfigurationFilters)(nil)).Elem() +} + +func (o ConfigurationFiltersArrayOutput) ToConfigurationFiltersArrayOutput() ConfigurationFiltersArrayOutput { + return o +} + +func (o ConfigurationFiltersArrayOutput) ToConfigurationFiltersArrayOutputWithContext(ctx context.Context) ConfigurationFiltersArrayOutput { + return o +} + +func (o ConfigurationFiltersArrayOutput) Index(i pulumi.IntInput) ConfigurationFiltersOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConfigurationFilters { + return vs[0].([]ConfigurationFilters)[vs[1].(int)] + }).(ConfigurationFiltersOutput) +} + +// Configuration object. +type ConfigurationResponse struct { + // Availability information of the product system. + AvailabilityInformation AvailabilityInformationResponse `pulumi:"availabilityInformation"` + // Cost information for the product system. + CostInformation CostInformationResponse `pulumi:"costInformation"` + // Description related to the product system. + Description DescriptionResponse `pulumi:"description"` + // Display Name for the product system. + DisplayName string `pulumi:"displayName"` + // list of filters supported for a product + FilterableProperties []FilterablePropertyResponse `pulumi:"filterableProperties"` + // Hierarchy information of the product system. + HierarchyInformation HierarchyInformationResponse `pulumi:"hierarchyInformation"` + // Image information for the product system. + ImageInformation []ImageInformationResponse `pulumi:"imageInformation"` + // Specifications of the configuration + Specifications []SpecificationResponse `pulumi:"specifications"` +} + +// ConfigurationResponseInput is an input type that accepts ConfigurationResponseArgs and ConfigurationResponseOutput values. +// You can construct a concrete instance of `ConfigurationResponseInput` via: +// +// ConfigurationResponseArgs{...} +type ConfigurationResponseInput interface { + pulumi.Input + + ToConfigurationResponseOutput() ConfigurationResponseOutput + ToConfigurationResponseOutputWithContext(context.Context) ConfigurationResponseOutput +} + +// Configuration object. +type ConfigurationResponseArgs struct { + // Availability information of the product system. + AvailabilityInformation AvailabilityInformationResponseInput `pulumi:"availabilityInformation"` + // Cost information for the product system. + CostInformation CostInformationResponseInput `pulumi:"costInformation"` + // Description related to the product system. + Description DescriptionResponseInput `pulumi:"description"` + // Display Name for the product system. + DisplayName pulumi.StringInput `pulumi:"displayName"` + // list of filters supported for a product + FilterableProperties FilterablePropertyResponseArrayInput `pulumi:"filterableProperties"` + // Hierarchy information of the product system. + HierarchyInformation HierarchyInformationResponseInput `pulumi:"hierarchyInformation"` + // Image information for the product system. + ImageInformation ImageInformationResponseArrayInput `pulumi:"imageInformation"` + // Specifications of the configuration + Specifications SpecificationResponseArrayInput `pulumi:"specifications"` +} + +func (ConfigurationResponseArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigurationResponse)(nil)).Elem() +} + +func (i ConfigurationResponseArgs) ToConfigurationResponseOutput() ConfigurationResponseOutput { + return i.ToConfigurationResponseOutputWithContext(context.Background()) +} + +func (i ConfigurationResponseArgs) ToConfigurationResponseOutputWithContext(ctx context.Context) ConfigurationResponseOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigurationResponseOutput) +} + +// ConfigurationResponseArrayInput is an input type that accepts ConfigurationResponseArray and ConfigurationResponseArrayOutput values. +// You can construct a concrete instance of `ConfigurationResponseArrayInput` via: +// +// ConfigurationResponseArray{ ConfigurationResponseArgs{...} } +type ConfigurationResponseArrayInput interface { + pulumi.Input + + ToConfigurationResponseArrayOutput() ConfigurationResponseArrayOutput + ToConfigurationResponseArrayOutputWithContext(context.Context) ConfigurationResponseArrayOutput +} + +type ConfigurationResponseArray []ConfigurationResponseInput + +func (ConfigurationResponseArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ConfigurationResponse)(nil)).Elem() +} + +func (i ConfigurationResponseArray) ToConfigurationResponseArrayOutput() ConfigurationResponseArrayOutput { + return i.ToConfigurationResponseArrayOutputWithContext(context.Background()) +} + +func (i ConfigurationResponseArray) ToConfigurationResponseArrayOutputWithContext(ctx context.Context) ConfigurationResponseArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConfigurationResponseArrayOutput) +} + +// Configuration object. +type ConfigurationResponseOutput struct{ *pulumi.OutputState } + +func (ConfigurationResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConfigurationResponse)(nil)).Elem() +} + +func (o ConfigurationResponseOutput) ToConfigurationResponseOutput() ConfigurationResponseOutput { + return o +} + +func (o ConfigurationResponseOutput) ToConfigurationResponseOutputWithContext(ctx context.Context) ConfigurationResponseOutput { + return o +} + +// Availability information of the product system. +func (o ConfigurationResponseOutput) AvailabilityInformation() AvailabilityInformationResponseOutput { + return o.ApplyT(func(v ConfigurationResponse) AvailabilityInformationResponse { return v.AvailabilityInformation }).(AvailabilityInformationResponseOutput) +} + +// Cost information for the product system. +func (o ConfigurationResponseOutput) CostInformation() CostInformationResponseOutput { + return o.ApplyT(func(v ConfigurationResponse) CostInformationResponse { return v.CostInformation }).(CostInformationResponseOutput) +} + +// Description related to the product system. +func (o ConfigurationResponseOutput) Description() DescriptionResponseOutput { + return o.ApplyT(func(v ConfigurationResponse) DescriptionResponse { return v.Description }).(DescriptionResponseOutput) +} + +// Display Name for the product system. +func (o ConfigurationResponseOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v ConfigurationResponse) string { return v.DisplayName }).(pulumi.StringOutput) +} + +// list of filters supported for a product +func (o ConfigurationResponseOutput) FilterableProperties() FilterablePropertyResponseArrayOutput { + return o.ApplyT(func(v ConfigurationResponse) []FilterablePropertyResponse { return v.FilterableProperties }).(FilterablePropertyResponseArrayOutput) +} + +// Hierarchy information of the product system. +func (o ConfigurationResponseOutput) HierarchyInformation() HierarchyInformationResponseOutput { + return o.ApplyT(func(v ConfigurationResponse) HierarchyInformationResponse { return v.HierarchyInformation }).(HierarchyInformationResponseOutput) +} + +// Image information for the product system. +func (o ConfigurationResponseOutput) ImageInformation() ImageInformationResponseArrayOutput { + return o.ApplyT(func(v ConfigurationResponse) []ImageInformationResponse { return v.ImageInformation }).(ImageInformationResponseArrayOutput) +} + +// Specifications of the configuration +func (o ConfigurationResponseOutput) Specifications() SpecificationResponseArrayOutput { + return o.ApplyT(func(v ConfigurationResponse) []SpecificationResponse { return v.Specifications }).(SpecificationResponseArrayOutput) +} + +type ConfigurationResponseArrayOutput struct{ *pulumi.OutputState } + +func (ConfigurationResponseArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ConfigurationResponse)(nil)).Elem() +} + +func (o ConfigurationResponseArrayOutput) ToConfigurationResponseArrayOutput() ConfigurationResponseArrayOutput { + return o +} + +func (o ConfigurationResponseArrayOutput) ToConfigurationResponseArrayOutputWithContext(ctx context.Context) ConfigurationResponseArrayOutput { + return o +} + +func (o ConfigurationResponseArrayOutput) Index(i pulumi.IntInput) ConfigurationResponseOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConfigurationResponse { + return vs[0].([]ConfigurationResponse)[vs[1].(int)] + }).(ConfigurationResponseOutput) +} + +// Contact Details. +type ContactDetails struct { + // Contact name of the person. + ContactName string `pulumi:"contactName"` + // Mobile number of the contact person. + Mobile *string `pulumi:"mobile"` + // Phone number of the contact person. + Phone string `pulumi:"phone"` + // Phone extension number of the contact person. + PhoneExtension *string `pulumi:"phoneExtension"` +} + +// ContactDetailsInput is an input type that accepts ContactDetailsArgs and ContactDetailsOutput values. +// You can construct a concrete instance of `ContactDetailsInput` via: +// +// ContactDetailsArgs{...} +type ContactDetailsInput interface { + pulumi.Input + + ToContactDetailsOutput() ContactDetailsOutput + ToContactDetailsOutputWithContext(context.Context) ContactDetailsOutput +} + +// Contact Details. +type ContactDetailsArgs struct { + // Contact name of the person. + ContactName pulumi.StringInput `pulumi:"contactName"` + // Mobile number of the contact person. + Mobile pulumi.StringPtrInput `pulumi:"mobile"` + // Phone number of the contact person. + Phone pulumi.StringInput `pulumi:"phone"` + // Phone extension number of the contact person. + PhoneExtension pulumi.StringPtrInput `pulumi:"phoneExtension"` +} + +func (ContactDetailsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ContactDetails)(nil)).Elem() +} + +func (i ContactDetailsArgs) ToContactDetailsOutput() ContactDetailsOutput { + return i.ToContactDetailsOutputWithContext(context.Background()) +} + +func (i ContactDetailsArgs) ToContactDetailsOutputWithContext(ctx context.Context) ContactDetailsOutput { + return pulumi.ToOutputWithContext(ctx, i).(ContactDetailsOutput) +} + +func (i ContactDetailsArgs) ToContactDetailsPtrOutput() ContactDetailsPtrOutput { + return i.ToContactDetailsPtrOutputWithContext(context.Background()) +} + +func (i ContactDetailsArgs) ToContactDetailsPtrOutputWithContext(ctx context.Context) ContactDetailsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ContactDetailsOutput).ToContactDetailsPtrOutputWithContext(ctx) +} + +// ContactDetailsPtrInput is an input type that accepts ContactDetailsArgs, ContactDetailsPtr and ContactDetailsPtrOutput values. +// You can construct a concrete instance of `ContactDetailsPtrInput` via: +// +// ContactDetailsArgs{...} +// +// or: +// +// nil +type ContactDetailsPtrInput interface { + pulumi.Input + + ToContactDetailsPtrOutput() ContactDetailsPtrOutput + ToContactDetailsPtrOutputWithContext(context.Context) ContactDetailsPtrOutput +} + +type contactDetailsPtrType ContactDetailsArgs + +func ContactDetailsPtr(v *ContactDetailsArgs) ContactDetailsPtrInput { + return (*contactDetailsPtrType)(v) +} + +func (*contactDetailsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ContactDetails)(nil)).Elem() +} + +func (i *contactDetailsPtrType) ToContactDetailsPtrOutput() ContactDetailsPtrOutput { + return i.ToContactDetailsPtrOutputWithContext(context.Background()) +} + +func (i *contactDetailsPtrType) ToContactDetailsPtrOutputWithContext(ctx context.Context) ContactDetailsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ContactDetailsPtrOutput) +} + +// Contact Details. +type ContactDetailsOutput struct{ *pulumi.OutputState } + +func (ContactDetailsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ContactDetails)(nil)).Elem() +} + +func (o ContactDetailsOutput) ToContactDetailsOutput() ContactDetailsOutput { + return o +} + +func (o ContactDetailsOutput) ToContactDetailsOutputWithContext(ctx context.Context) ContactDetailsOutput { + return o +} + +func (o ContactDetailsOutput) ToContactDetailsPtrOutput() ContactDetailsPtrOutput { + return o.ToContactDetailsPtrOutputWithContext(context.Background()) +} + +func (o ContactDetailsOutput) ToContactDetailsPtrOutputWithContext(ctx context.Context) ContactDetailsPtrOutput { + return o.ApplyT(func(v ContactDetails) *ContactDetails { + return &v + }).(ContactDetailsPtrOutput) +} + +// Contact name of the person. +func (o ContactDetailsOutput) ContactName() pulumi.StringOutput { + return o.ApplyT(func(v ContactDetails) string { return v.ContactName }).(pulumi.StringOutput) +} + +// Mobile number of the contact person. +func (o ContactDetailsOutput) Mobile() pulumi.StringPtrOutput { + return o.ApplyT(func(v ContactDetails) *string { return v.Mobile }).(pulumi.StringPtrOutput) +} + +// Phone number of the contact person. +func (o ContactDetailsOutput) Phone() pulumi.StringOutput { + return o.ApplyT(func(v ContactDetails) string { return v.Phone }).(pulumi.StringOutput) +} + +// Phone extension number of the contact person. +func (o ContactDetailsOutput) PhoneExtension() pulumi.StringPtrOutput { + return o.ApplyT(func(v ContactDetails) *string { return v.PhoneExtension }).(pulumi.StringPtrOutput) +} + +type ContactDetailsPtrOutput struct{ *pulumi.OutputState } + +func (ContactDetailsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ContactDetails)(nil)).Elem() +} + +func (o ContactDetailsPtrOutput) ToContactDetailsPtrOutput() ContactDetailsPtrOutput { + return o +} + +func (o ContactDetailsPtrOutput) ToContactDetailsPtrOutputWithContext(ctx context.Context) ContactDetailsPtrOutput { + return o +} + +func (o ContactDetailsPtrOutput) Elem() ContactDetailsOutput { + return o.ApplyT(func(v *ContactDetails) ContactDetails { return *v }).(ContactDetailsOutput) +} + +// Contact name of the person. +func (o ContactDetailsPtrOutput) ContactName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ContactDetails) *string { + if v == nil { + return nil + } + return &v.ContactName + }).(pulumi.StringPtrOutput) +} + +// Mobile number of the contact person. +func (o ContactDetailsPtrOutput) Mobile() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ContactDetails) *string { + if v == nil { + return nil + } + return v.Mobile + }).(pulumi.StringPtrOutput) +} + +// Phone number of the contact person. +func (o ContactDetailsPtrOutput) Phone() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ContactDetails) *string { + if v == nil { + return nil + } + return &v.Phone + }).(pulumi.StringPtrOutput) +} + +// Phone extension number of the contact person. +func (o ContactDetailsPtrOutput) PhoneExtension() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ContactDetails) *string { + if v == nil { + return nil + } + return v.PhoneExtension + }).(pulumi.StringPtrOutput) +} + +// Contact Details. +type ContactDetailsResponse struct { + // Contact name of the person. + ContactName string `pulumi:"contactName"` + // Mobile number of the contact person. + Mobile *string `pulumi:"mobile"` + // Phone number of the contact person. + Phone string `pulumi:"phone"` + // Phone extension number of the contact person. + PhoneExtension *string `pulumi:"phoneExtension"` +} + +// ContactDetailsResponseInput is an input type that accepts ContactDetailsResponseArgs and ContactDetailsResponseOutput values. +// You can construct a concrete instance of `ContactDetailsResponseInput` via: +// +// ContactDetailsResponseArgs{...} +type ContactDetailsResponseInput interface { + pulumi.Input + + ToContactDetailsResponseOutput() ContactDetailsResponseOutput + ToContactDetailsResponseOutputWithContext(context.Context) ContactDetailsResponseOutput +} + +// Contact Details. +type ContactDetailsResponseArgs struct { + // Contact name of the person. + ContactName pulumi.StringInput `pulumi:"contactName"` + // Mobile number of the contact person. + Mobile pulumi.StringPtrInput `pulumi:"mobile"` + // Phone number of the contact person. + Phone pulumi.StringInput `pulumi:"phone"` + // Phone extension number of the contact person. + PhoneExtension pulumi.StringPtrInput `pulumi:"phoneExtension"` +} + +func (ContactDetailsResponseArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ContactDetailsResponse)(nil)).Elem() +} + +func (i ContactDetailsResponseArgs) ToContactDetailsResponseOutput() ContactDetailsResponseOutput { + return i.ToContactDetailsResponseOutputWithContext(context.Background()) +} + +func (i ContactDetailsResponseArgs) ToContactDetailsResponseOutputWithContext(ctx context.Context) ContactDetailsResponseOutput { + return pulumi.ToOutputWithContext(ctx, i).(ContactDetailsResponseOutput) +} + +func (i ContactDetailsResponseArgs) ToContactDetailsResponsePtrOutput() ContactDetailsResponsePtrOutput { + return i.ToContactDetailsResponsePtrOutputWithContext(context.Background()) +} + +func (i ContactDetailsResponseArgs) ToContactDetailsResponsePtrOutputWithContext(ctx context.Context) ContactDetailsResponsePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ContactDetailsResponseOutput).ToContactDetailsResponsePtrOutputWithContext(ctx) +} + +// ContactDetailsResponsePtrInput is an input type that accepts ContactDetailsResponseArgs, ContactDetailsResponsePtr and ContactDetailsResponsePtrOutput values. +// You can construct a concrete instance of `ContactDetailsResponsePtrInput` via: +// +// ContactDetailsResponseArgs{...} +// +// or: +// +// nil +type ContactDetailsResponsePtrInput interface { + pulumi.Input + + ToContactDetailsResponsePtrOutput() ContactDetailsResponsePtrOutput + ToContactDetailsResponsePtrOutputWithContext(context.Context) ContactDetailsResponsePtrOutput +} + +type contactDetailsResponsePtrType ContactDetailsResponseArgs + +func ContactDetailsResponsePtr(v *ContactDetailsResponseArgs) ContactDetailsResponsePtrInput { + return (*contactDetailsResponsePtrType)(v) +} + +func (*contactDetailsResponsePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ContactDetailsResponse)(nil)).Elem() +} + +func (i *contactDetailsResponsePtrType) ToContactDetailsResponsePtrOutput() ContactDetailsResponsePtrOutput { + return i.ToContactDetailsResponsePtrOutputWithContext(context.Background()) +} + +func (i *contactDetailsResponsePtrType) ToContactDetailsResponsePtrOutputWithContext(ctx context.Context) ContactDetailsResponsePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ContactDetailsResponsePtrOutput) +} + +// Contact Details. +type ContactDetailsResponseOutput struct{ *pulumi.OutputState } + +func (ContactDetailsResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ContactDetailsResponse)(nil)).Elem() +} + +func (o ContactDetailsResponseOutput) ToContactDetailsResponseOutput() ContactDetailsResponseOutput { + return o +} + +func (o ContactDetailsResponseOutput) ToContactDetailsResponseOutputWithContext(ctx context.Context) ContactDetailsResponseOutput { + return o +} + +func (o ContactDetailsResponseOutput) ToContactDetailsResponsePtrOutput() ContactDetailsResponsePtrOutput { + return o.ToContactDetailsResponsePtrOutputWithContext(context.Background()) +} + +func (o ContactDetailsResponseOutput) ToContactDetailsResponsePtrOutputWithContext(ctx context.Context) ContactDetailsResponsePtrOutput { + return o.ApplyT(func(v ContactDetailsResponse) *ContactDetailsResponse { + return &v + }).(ContactDetailsResponsePtrOutput) +} + +// Contact name of the person. +func (o ContactDetailsResponseOutput) ContactName() pulumi.StringOutput { + return o.ApplyT(func(v ContactDetailsResponse) string { return v.ContactName }).(pulumi.StringOutput) +} + +// Mobile number of the contact person. +func (o ContactDetailsResponseOutput) Mobile() pulumi.StringPtrOutput { + return o.ApplyT(func(v ContactDetailsResponse) *string { return v.Mobile }).(pulumi.StringPtrOutput) +} + +// Phone number of the contact person. +func (o ContactDetailsResponseOutput) Phone() pulumi.StringOutput { + return o.ApplyT(func(v ContactDetailsResponse) string { return v.Phone }).(pulumi.StringOutput) +} + +// Phone extension number of the contact person. +func (o ContactDetailsResponseOutput) PhoneExtension() pulumi.StringPtrOutput { + return o.ApplyT(func(v ContactDetailsResponse) *string { return v.PhoneExtension }).(pulumi.StringPtrOutput) +} + +type ContactDetailsResponsePtrOutput struct{ *pulumi.OutputState } + +func (ContactDetailsResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ContactDetailsResponse)(nil)).Elem() +} + +func (o ContactDetailsResponsePtrOutput) ToContactDetailsResponsePtrOutput() ContactDetailsResponsePtrOutput { + return o +} + +func (o ContactDetailsResponsePtrOutput) ToContactDetailsResponsePtrOutputWithContext(ctx context.Context) ContactDetailsResponsePtrOutput { + return o +} + +func (o ContactDetailsResponsePtrOutput) Elem() ContactDetailsResponseOutput { + return o.ApplyT(func(v *ContactDetailsResponse) ContactDetailsResponse { return *v }).(ContactDetailsResponseOutput) +} + +// Contact name of the person. +func (o ContactDetailsResponsePtrOutput) ContactName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ContactDetailsResponse) *string { + if v == nil { + return nil + } + return &v.ContactName + }).(pulumi.StringPtrOutput) +} + +// Mobile number of the contact person. +func (o ContactDetailsResponsePtrOutput) Mobile() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ContactDetailsResponse) *string { + if v == nil { + return nil + } + return v.Mobile + }).(pulumi.StringPtrOutput) +} + +// Phone number of the contact person. +func (o ContactDetailsResponsePtrOutput) Phone() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ContactDetailsResponse) *string { + if v == nil { + return nil + } + return &v.Phone + }).(pulumi.StringPtrOutput) +} + +// Phone extension number of the contact person. +func (o ContactDetailsResponsePtrOutput) PhoneExtension() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ContactDetailsResponse) *string { + if v == nil { + return nil + } + return v.PhoneExtension + }).(pulumi.StringPtrOutput) +} + +// Cost information for the product system +type CostInformationResponse struct { + // Details on the various billing aspects for the product system. + MeterDetails []MeterDetailsResponse `pulumi:"meterDetails"` + // Primary meter i.e. basic billing type for the product system. + PrimaryMeterType string `pulumi:"primaryMeterType"` +} + +// CostInformationResponseInput is an input type that accepts CostInformationResponseArgs and CostInformationResponseOutput values. +// You can construct a concrete instance of `CostInformationResponseInput` via: +// +// CostInformationResponseArgs{...} +type CostInformationResponseInput interface { + pulumi.Input + + ToCostInformationResponseOutput() CostInformationResponseOutput + ToCostInformationResponseOutputWithContext(context.Context) CostInformationResponseOutput +} + +// Cost information for the product system +type CostInformationResponseArgs struct { + // Details on the various billing aspects for the product system. + MeterDetails MeterDetailsResponseArrayInput `pulumi:"meterDetails"` + // Primary meter i.e. basic billing type for the product system. + PrimaryMeterType pulumi.StringInput `pulumi:"primaryMeterType"` +} + +func (CostInformationResponseArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CostInformationResponse)(nil)).Elem() +} + +func (i CostInformationResponseArgs) ToCostInformationResponseOutput() CostInformationResponseOutput { + return i.ToCostInformationResponseOutputWithContext(context.Background()) +} + +func (i CostInformationResponseArgs) ToCostInformationResponseOutputWithContext(ctx context.Context) CostInformationResponseOutput { + return pulumi.ToOutputWithContext(ctx, i).(CostInformationResponseOutput) +} + +// Cost information for the product system +type CostInformationResponseOutput struct{ *pulumi.OutputState } + +func (CostInformationResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CostInformationResponse)(nil)).Elem() +} + +func (o CostInformationResponseOutput) ToCostInformationResponseOutput() CostInformationResponseOutput { + return o +} + +func (o CostInformationResponseOutput) ToCostInformationResponseOutputWithContext(ctx context.Context) CostInformationResponseOutput { + return o +} + +// Details on the various billing aspects for the product system. +func (o CostInformationResponseOutput) MeterDetails() MeterDetailsResponseArrayOutput { + return o.ApplyT(func(v CostInformationResponse) []MeterDetailsResponse { return v.MeterDetails }).(MeterDetailsResponseArrayOutput) +} + +// Primary meter i.e. basic billing type for the product system. +func (o CostInformationResponseOutput) PrimaryMeterType() pulumi.StringOutput { + return o.ApplyT(func(v CostInformationResponse) string { return v.PrimaryMeterType }).(pulumi.StringOutput) +} + +type CustomerSubscriptionDetails struct { + // Location placement Id of a subscription + LocationPlacementId *string `pulumi:"locationPlacementId"` + // Quota ID of a subscription + QuotaId string `pulumi:"quotaId"` + // List of registered feature flags for subscription + RegisteredFeatures []CustomerSubscriptionRegisteredFeatures `pulumi:"registeredFeatures"` +} + +// CustomerSubscriptionDetailsInput is an input type that accepts CustomerSubscriptionDetailsArgs and CustomerSubscriptionDetailsOutput values. +// You can construct a concrete instance of `CustomerSubscriptionDetailsInput` via: +// +// CustomerSubscriptionDetailsArgs{...} +type CustomerSubscriptionDetailsInput interface { + pulumi.Input + + ToCustomerSubscriptionDetailsOutput() CustomerSubscriptionDetailsOutput + ToCustomerSubscriptionDetailsOutputWithContext(context.Context) CustomerSubscriptionDetailsOutput +} + +type CustomerSubscriptionDetailsArgs struct { + // Location placement Id of a subscription + LocationPlacementId pulumi.StringPtrInput `pulumi:"locationPlacementId"` + // Quota ID of a subscription + QuotaId pulumi.StringInput `pulumi:"quotaId"` + // List of registered feature flags for subscription + RegisteredFeatures CustomerSubscriptionRegisteredFeaturesArrayInput `pulumi:"registeredFeatures"` +} + +func (CustomerSubscriptionDetailsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CustomerSubscriptionDetails)(nil)).Elem() +} + +func (i CustomerSubscriptionDetailsArgs) ToCustomerSubscriptionDetailsOutput() CustomerSubscriptionDetailsOutput { + return i.ToCustomerSubscriptionDetailsOutputWithContext(context.Background()) +} + +func (i CustomerSubscriptionDetailsArgs) ToCustomerSubscriptionDetailsOutputWithContext(ctx context.Context) CustomerSubscriptionDetailsOutput { + return pulumi.ToOutputWithContext(ctx, i).(CustomerSubscriptionDetailsOutput) +} + +type CustomerSubscriptionDetailsOutput struct{ *pulumi.OutputState } + +func (CustomerSubscriptionDetailsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CustomerSubscriptionDetails)(nil)).Elem() +} + +func (o CustomerSubscriptionDetailsOutput) ToCustomerSubscriptionDetailsOutput() CustomerSubscriptionDetailsOutput { + return o +} + +func (o CustomerSubscriptionDetailsOutput) ToCustomerSubscriptionDetailsOutputWithContext(ctx context.Context) CustomerSubscriptionDetailsOutput { + return o +} + +// Location placement Id of a subscription +func (o CustomerSubscriptionDetailsOutput) LocationPlacementId() pulumi.StringPtrOutput { + return o.ApplyT(func(v CustomerSubscriptionDetails) *string { return v.LocationPlacementId }).(pulumi.StringPtrOutput) +} + +// Quota ID of a subscription +func (o CustomerSubscriptionDetailsOutput) QuotaId() pulumi.StringOutput { + return o.ApplyT(func(v CustomerSubscriptionDetails) string { return v.QuotaId }).(pulumi.StringOutput) +} + +// List of registered feature flags for subscription +func (o CustomerSubscriptionDetailsOutput) RegisteredFeatures() CustomerSubscriptionRegisteredFeaturesArrayOutput { + return o.ApplyT(func(v CustomerSubscriptionDetails) []CustomerSubscriptionRegisteredFeatures { + return v.RegisteredFeatures + }).(CustomerSubscriptionRegisteredFeaturesArrayOutput) +} + +type CustomerSubscriptionRegisteredFeatures struct { + // Name of subscription registered feature + Name *string `pulumi:"name"` + // State of subscription registered feature + State *string `pulumi:"state"` +} + +// CustomerSubscriptionRegisteredFeaturesInput is an input type that accepts CustomerSubscriptionRegisteredFeaturesArgs and CustomerSubscriptionRegisteredFeaturesOutput values. +// You can construct a concrete instance of `CustomerSubscriptionRegisteredFeaturesInput` via: +// +// CustomerSubscriptionRegisteredFeaturesArgs{...} +type CustomerSubscriptionRegisteredFeaturesInput interface { + pulumi.Input + + ToCustomerSubscriptionRegisteredFeaturesOutput() CustomerSubscriptionRegisteredFeaturesOutput + ToCustomerSubscriptionRegisteredFeaturesOutputWithContext(context.Context) CustomerSubscriptionRegisteredFeaturesOutput +} + +type CustomerSubscriptionRegisteredFeaturesArgs struct { + // Name of subscription registered feature + Name pulumi.StringPtrInput `pulumi:"name"` + // State of subscription registered feature + State pulumi.StringPtrInput `pulumi:"state"` +} + +func (CustomerSubscriptionRegisteredFeaturesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CustomerSubscriptionRegisteredFeatures)(nil)).Elem() +} + +func (i CustomerSubscriptionRegisteredFeaturesArgs) ToCustomerSubscriptionRegisteredFeaturesOutput() CustomerSubscriptionRegisteredFeaturesOutput { + return i.ToCustomerSubscriptionRegisteredFeaturesOutputWithContext(context.Background()) +} + +func (i CustomerSubscriptionRegisteredFeaturesArgs) ToCustomerSubscriptionRegisteredFeaturesOutputWithContext(ctx context.Context) CustomerSubscriptionRegisteredFeaturesOutput { + return pulumi.ToOutputWithContext(ctx, i).(CustomerSubscriptionRegisteredFeaturesOutput) +} + +// CustomerSubscriptionRegisteredFeaturesArrayInput is an input type that accepts CustomerSubscriptionRegisteredFeaturesArray and CustomerSubscriptionRegisteredFeaturesArrayOutput values. +// You can construct a concrete instance of `CustomerSubscriptionRegisteredFeaturesArrayInput` via: +// +// CustomerSubscriptionRegisteredFeaturesArray{ CustomerSubscriptionRegisteredFeaturesArgs{...} } +type CustomerSubscriptionRegisteredFeaturesArrayInput interface { + pulumi.Input + + ToCustomerSubscriptionRegisteredFeaturesArrayOutput() CustomerSubscriptionRegisteredFeaturesArrayOutput + ToCustomerSubscriptionRegisteredFeaturesArrayOutputWithContext(context.Context) CustomerSubscriptionRegisteredFeaturesArrayOutput +} + +type CustomerSubscriptionRegisteredFeaturesArray []CustomerSubscriptionRegisteredFeaturesInput + +func (CustomerSubscriptionRegisteredFeaturesArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]CustomerSubscriptionRegisteredFeatures)(nil)).Elem() +} + +func (i CustomerSubscriptionRegisteredFeaturesArray) ToCustomerSubscriptionRegisteredFeaturesArrayOutput() CustomerSubscriptionRegisteredFeaturesArrayOutput { + return i.ToCustomerSubscriptionRegisteredFeaturesArrayOutputWithContext(context.Background()) +} + +func (i CustomerSubscriptionRegisteredFeaturesArray) ToCustomerSubscriptionRegisteredFeaturesArrayOutputWithContext(ctx context.Context) CustomerSubscriptionRegisteredFeaturesArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(CustomerSubscriptionRegisteredFeaturesArrayOutput) +} + +type CustomerSubscriptionRegisteredFeaturesOutput struct{ *pulumi.OutputState } + +func (CustomerSubscriptionRegisteredFeaturesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CustomerSubscriptionRegisteredFeatures)(nil)).Elem() +} + +func (o CustomerSubscriptionRegisteredFeaturesOutput) ToCustomerSubscriptionRegisteredFeaturesOutput() CustomerSubscriptionRegisteredFeaturesOutput { + return o +} + +func (o CustomerSubscriptionRegisteredFeaturesOutput) ToCustomerSubscriptionRegisteredFeaturesOutputWithContext(ctx context.Context) CustomerSubscriptionRegisteredFeaturesOutput { + return o +} + +// Name of subscription registered feature +func (o CustomerSubscriptionRegisteredFeaturesOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v CustomerSubscriptionRegisteredFeatures) *string { return v.Name }).(pulumi.StringPtrOutput) +} + +// State of subscription registered feature +func (o CustomerSubscriptionRegisteredFeaturesOutput) State() pulumi.StringPtrOutput { + return o.ApplyT(func(v CustomerSubscriptionRegisteredFeatures) *string { return v.State }).(pulumi.StringPtrOutput) +} + +type CustomerSubscriptionRegisteredFeaturesArrayOutput struct{ *pulumi.OutputState } + +func (CustomerSubscriptionRegisteredFeaturesArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]CustomerSubscriptionRegisteredFeatures)(nil)).Elem() +} + +func (o CustomerSubscriptionRegisteredFeaturesArrayOutput) ToCustomerSubscriptionRegisteredFeaturesArrayOutput() CustomerSubscriptionRegisteredFeaturesArrayOutput { + return o +} + +func (o CustomerSubscriptionRegisteredFeaturesArrayOutput) ToCustomerSubscriptionRegisteredFeaturesArrayOutputWithContext(ctx context.Context) CustomerSubscriptionRegisteredFeaturesArrayOutput { + return o +} + +func (o CustomerSubscriptionRegisteredFeaturesArrayOutput) Index(i pulumi.IntInput) CustomerSubscriptionRegisteredFeaturesOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) CustomerSubscriptionRegisteredFeatures { + return vs[0].([]CustomerSubscriptionRegisteredFeatures)[vs[1].(int)] + }).(CustomerSubscriptionRegisteredFeaturesOutput) +} + +// Description related properties of a product system. +type DescriptionResponse struct { + // Attributes for the product system. + Attributes []string `pulumi:"attributes"` + // Type of description. + DescriptionType string `pulumi:"descriptionType"` + // Keywords for the product system. + Keywords []string `pulumi:"keywords"` + // Links for the product system. + Links []LinkResponse `pulumi:"links"` + // Long description of the product system. + LongDescription string `pulumi:"longDescription"` + // Short description of the product system. + ShortDescription string `pulumi:"shortDescription"` +} + +// DescriptionResponseInput is an input type that accepts DescriptionResponseArgs and DescriptionResponseOutput values. +// You can construct a concrete instance of `DescriptionResponseInput` via: +// +// DescriptionResponseArgs{...} +type DescriptionResponseInput interface { + pulumi.Input + + ToDescriptionResponseOutput() DescriptionResponseOutput + ToDescriptionResponseOutputWithContext(context.Context) DescriptionResponseOutput +} + +// Description related properties of a product system. +type DescriptionResponseArgs struct { + // Attributes for the product system. + Attributes pulumi.StringArrayInput `pulumi:"attributes"` + // Type of description. + DescriptionType pulumi.StringInput `pulumi:"descriptionType"` + // Keywords for the product system. + Keywords pulumi.StringArrayInput `pulumi:"keywords"` + // Links for the product system. + Links LinkResponseArrayInput `pulumi:"links"` + // Long description of the product system. + LongDescription pulumi.StringInput `pulumi:"longDescription"` + // Short description of the product system. + ShortDescription pulumi.StringInput `pulumi:"shortDescription"` +} + +func (DescriptionResponseArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DescriptionResponse)(nil)).Elem() +} + +func (i DescriptionResponseArgs) ToDescriptionResponseOutput() DescriptionResponseOutput { + return i.ToDescriptionResponseOutputWithContext(context.Background()) +} + +func (i DescriptionResponseArgs) ToDescriptionResponseOutputWithContext(ctx context.Context) DescriptionResponseOutput { + return pulumi.ToOutputWithContext(ctx, i).(DescriptionResponseOutput) +} + +// Description related properties of a product system. +type DescriptionResponseOutput struct{ *pulumi.OutputState } + +func (DescriptionResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DescriptionResponse)(nil)).Elem() +} + +func (o DescriptionResponseOutput) ToDescriptionResponseOutput() DescriptionResponseOutput { + return o +} + +func (o DescriptionResponseOutput) ToDescriptionResponseOutputWithContext(ctx context.Context) DescriptionResponseOutput { + return o +} + +// Attributes for the product system. +func (o DescriptionResponseOutput) Attributes() pulumi.StringArrayOutput { + return o.ApplyT(func(v DescriptionResponse) []string { return v.Attributes }).(pulumi.StringArrayOutput) +} + +// Type of description. +func (o DescriptionResponseOutput) DescriptionType() pulumi.StringOutput { + return o.ApplyT(func(v DescriptionResponse) string { return v.DescriptionType }).(pulumi.StringOutput) +} + +// Keywords for the product system. +func (o DescriptionResponseOutput) Keywords() pulumi.StringArrayOutput { + return o.ApplyT(func(v DescriptionResponse) []string { return v.Keywords }).(pulumi.StringArrayOutput) +} + +// Links for the product system. +func (o DescriptionResponseOutput) Links() LinkResponseArrayOutput { + return o.ApplyT(func(v DescriptionResponse) []LinkResponse { return v.Links }).(LinkResponseArrayOutput) +} + +// Long description of the product system. +func (o DescriptionResponseOutput) LongDescription() pulumi.StringOutput { + return o.ApplyT(func(v DescriptionResponse) string { return v.LongDescription }).(pulumi.StringOutput) +} + +// Short description of the product system. +func (o DescriptionResponseOutput) ShortDescription() pulumi.StringOutput { + return o.ApplyT(func(v DescriptionResponse) string { return v.ShortDescription }).(pulumi.StringOutput) +} + +// Device details. +type DeviceDetailsResponse struct { + // Package Shipping details + DeviceHistory []string `pulumi:"deviceHistory"` + // device serial number + SerialNumber string `pulumi:"serialNumber"` +} + +// DeviceDetailsResponseInput is an input type that accepts DeviceDetailsResponseArgs and DeviceDetailsResponseOutput values. +// You can construct a concrete instance of `DeviceDetailsResponseInput` via: +// +// DeviceDetailsResponseArgs{...} +type DeviceDetailsResponseInput interface { + pulumi.Input + + ToDeviceDetailsResponseOutput() DeviceDetailsResponseOutput + ToDeviceDetailsResponseOutputWithContext(context.Context) DeviceDetailsResponseOutput +} + +// Device details. +type DeviceDetailsResponseArgs struct { + // Package Shipping details + DeviceHistory pulumi.StringArrayInput `pulumi:"deviceHistory"` + // device serial number + SerialNumber pulumi.StringInput `pulumi:"serialNumber"` +} + +func (DeviceDetailsResponseArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DeviceDetailsResponse)(nil)).Elem() +} + +func (i DeviceDetailsResponseArgs) ToDeviceDetailsResponseOutput() DeviceDetailsResponseOutput { + return i.ToDeviceDetailsResponseOutputWithContext(context.Background()) +} + +func (i DeviceDetailsResponseArgs) ToDeviceDetailsResponseOutputWithContext(ctx context.Context) DeviceDetailsResponseOutput { + return pulumi.ToOutputWithContext(ctx, i).(DeviceDetailsResponseOutput) +} + +// DeviceDetailsResponseArrayInput is an input type that accepts DeviceDetailsResponseArray and DeviceDetailsResponseArrayOutput values. +// You can construct a concrete instance of `DeviceDetailsResponseArrayInput` via: +// +// DeviceDetailsResponseArray{ DeviceDetailsResponseArgs{...} } +type DeviceDetailsResponseArrayInput interface { + pulumi.Input + + ToDeviceDetailsResponseArrayOutput() DeviceDetailsResponseArrayOutput + ToDeviceDetailsResponseArrayOutputWithContext(context.Context) DeviceDetailsResponseArrayOutput +} + +type DeviceDetailsResponseArray []DeviceDetailsResponseInput + +func (DeviceDetailsResponseArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]DeviceDetailsResponse)(nil)).Elem() +} + +func (i DeviceDetailsResponseArray) ToDeviceDetailsResponseArrayOutput() DeviceDetailsResponseArrayOutput { + return i.ToDeviceDetailsResponseArrayOutputWithContext(context.Background()) +} + +func (i DeviceDetailsResponseArray) ToDeviceDetailsResponseArrayOutputWithContext(ctx context.Context) DeviceDetailsResponseArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(DeviceDetailsResponseArrayOutput) +} + +// Device details. +type DeviceDetailsResponseOutput struct{ *pulumi.OutputState } + +func (DeviceDetailsResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DeviceDetailsResponse)(nil)).Elem() +} + +func (o DeviceDetailsResponseOutput) ToDeviceDetailsResponseOutput() DeviceDetailsResponseOutput { + return o +} + +func (o DeviceDetailsResponseOutput) ToDeviceDetailsResponseOutputWithContext(ctx context.Context) DeviceDetailsResponseOutput { + return o +} + +// Package Shipping details +func (o DeviceDetailsResponseOutput) DeviceHistory() pulumi.StringArrayOutput { + return o.ApplyT(func(v DeviceDetailsResponse) []string { return v.DeviceHistory }).(pulumi.StringArrayOutput) +} + +// device serial number +func (o DeviceDetailsResponseOutput) SerialNumber() pulumi.StringOutput { + return o.ApplyT(func(v DeviceDetailsResponse) string { return v.SerialNumber }).(pulumi.StringOutput) +} + +type DeviceDetailsResponseArrayOutput struct{ *pulumi.OutputState } + +func (DeviceDetailsResponseArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]DeviceDetailsResponse)(nil)).Elem() +} + +func (o DeviceDetailsResponseArrayOutput) ToDeviceDetailsResponseArrayOutput() DeviceDetailsResponseArrayOutput { + return o +} + +func (o DeviceDetailsResponseArrayOutput) ToDeviceDetailsResponseArrayOutputWithContext(ctx context.Context) DeviceDetailsResponseArrayOutput { + return o +} + +func (o DeviceDetailsResponseArrayOutput) Index(i pulumi.IntInput) DeviceDetailsResponseOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) DeviceDetailsResponse { + return vs[0].([]DeviceDetailsResponse)[vs[1].(int)] + }).(DeviceDetailsResponseOutput) +} + +// Class defining the list of filter values on a filter type as part of configuration request. +type FilterableProperty struct { + // Values to be filtered. + SupportedValues []string `pulumi:"supportedValues"` + // Type of product filter. + Type string `pulumi:"type"` +} + +// FilterablePropertyInput is an input type that accepts FilterablePropertyArgs and FilterablePropertyOutput values. +// You can construct a concrete instance of `FilterablePropertyInput` via: +// +// FilterablePropertyArgs{...} +type FilterablePropertyInput interface { + pulumi.Input + + ToFilterablePropertyOutput() FilterablePropertyOutput + ToFilterablePropertyOutputWithContext(context.Context) FilterablePropertyOutput +} + +// Class defining the list of filter values on a filter type as part of configuration request. +type FilterablePropertyArgs struct { + // Values to be filtered. + SupportedValues pulumi.StringArrayInput `pulumi:"supportedValues"` + // Type of product filter. + Type pulumi.StringInput `pulumi:"type"` +} + +func (FilterablePropertyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*FilterableProperty)(nil)).Elem() +} + +func (i FilterablePropertyArgs) ToFilterablePropertyOutput() FilterablePropertyOutput { + return i.ToFilterablePropertyOutputWithContext(context.Background()) +} + +func (i FilterablePropertyArgs) ToFilterablePropertyOutputWithContext(ctx context.Context) FilterablePropertyOutput { + return pulumi.ToOutputWithContext(ctx, i).(FilterablePropertyOutput) +} + +func (i FilterablePropertyArgs) ToFilterablePropertyPtrOutput() FilterablePropertyPtrOutput { + return i.ToFilterablePropertyPtrOutputWithContext(context.Background()) +} + +func (i FilterablePropertyArgs) ToFilterablePropertyPtrOutputWithContext(ctx context.Context) FilterablePropertyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(FilterablePropertyOutput).ToFilterablePropertyPtrOutputWithContext(ctx) +} + +// FilterablePropertyPtrInput is an input type that accepts FilterablePropertyArgs, FilterablePropertyPtr and FilterablePropertyPtrOutput values. +// You can construct a concrete instance of `FilterablePropertyPtrInput` via: +// +// FilterablePropertyArgs{...} +// +// or: +// +// nil +type FilterablePropertyPtrInput interface { + pulumi.Input + + ToFilterablePropertyPtrOutput() FilterablePropertyPtrOutput + ToFilterablePropertyPtrOutputWithContext(context.Context) FilterablePropertyPtrOutput +} + +type filterablePropertyPtrType FilterablePropertyArgs + +func FilterablePropertyPtr(v *FilterablePropertyArgs) FilterablePropertyPtrInput { + return (*filterablePropertyPtrType)(v) +} + +func (*filterablePropertyPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**FilterableProperty)(nil)).Elem() +} + +func (i *filterablePropertyPtrType) ToFilterablePropertyPtrOutput() FilterablePropertyPtrOutput { + return i.ToFilterablePropertyPtrOutputWithContext(context.Background()) +} + +func (i *filterablePropertyPtrType) ToFilterablePropertyPtrOutputWithContext(ctx context.Context) FilterablePropertyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(FilterablePropertyPtrOutput) +} + +// FilterablePropertyMapInput is an input type that accepts FilterablePropertyMap and FilterablePropertyMapOutput values. +// You can construct a concrete instance of `FilterablePropertyMapInput` via: +// +// FilterablePropertyMap{ "key": FilterablePropertyArgs{...} } +type FilterablePropertyMapInput interface { + pulumi.Input + + ToFilterablePropertyMapOutput() FilterablePropertyMapOutput + ToFilterablePropertyMapOutputWithContext(context.Context) FilterablePropertyMapOutput +} + +type FilterablePropertyMap map[string]FilterablePropertyInput + +func (FilterablePropertyMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]FilterableProperty)(nil)).Elem() +} + +func (i FilterablePropertyMap) ToFilterablePropertyMapOutput() FilterablePropertyMapOutput { + return i.ToFilterablePropertyMapOutputWithContext(context.Background()) +} + +func (i FilterablePropertyMap) ToFilterablePropertyMapOutputWithContext(ctx context.Context) FilterablePropertyMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(FilterablePropertyMapOutput) +} + +// Class defining the list of filter values on a filter type as part of configuration request. +type FilterablePropertyOutput struct{ *pulumi.OutputState } + +func (FilterablePropertyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*FilterableProperty)(nil)).Elem() +} + +func (o FilterablePropertyOutput) ToFilterablePropertyOutput() FilterablePropertyOutput { + return o +} + +func (o FilterablePropertyOutput) ToFilterablePropertyOutputWithContext(ctx context.Context) FilterablePropertyOutput { + return o +} + +func (o FilterablePropertyOutput) ToFilterablePropertyPtrOutput() FilterablePropertyPtrOutput { + return o.ToFilterablePropertyPtrOutputWithContext(context.Background()) +} + +func (o FilterablePropertyOutput) ToFilterablePropertyPtrOutputWithContext(ctx context.Context) FilterablePropertyPtrOutput { + return o.ApplyT(func(v FilterableProperty) *FilterableProperty { + return &v + }).(FilterablePropertyPtrOutput) +} + +// Values to be filtered. +func (o FilterablePropertyOutput) SupportedValues() pulumi.StringArrayOutput { + return o.ApplyT(func(v FilterableProperty) []string { return v.SupportedValues }).(pulumi.StringArrayOutput) +} + +// Type of product filter. +func (o FilterablePropertyOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v FilterableProperty) string { return v.Type }).(pulumi.StringOutput) +} + +type FilterablePropertyPtrOutput struct{ *pulumi.OutputState } + +func (FilterablePropertyPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**FilterableProperty)(nil)).Elem() +} + +func (o FilterablePropertyPtrOutput) ToFilterablePropertyPtrOutput() FilterablePropertyPtrOutput { + return o +} + +func (o FilterablePropertyPtrOutput) ToFilterablePropertyPtrOutputWithContext(ctx context.Context) FilterablePropertyPtrOutput { + return o +} + +func (o FilterablePropertyPtrOutput) Elem() FilterablePropertyOutput { + return o.ApplyT(func(v *FilterableProperty) FilterableProperty { return *v }).(FilterablePropertyOutput) +} + +// Values to be filtered. +func (o FilterablePropertyPtrOutput) SupportedValues() pulumi.StringArrayOutput { + return o.ApplyT(func(v *FilterableProperty) []string { + if v == nil { + return nil + } + return v.SupportedValues + }).(pulumi.StringArrayOutput) +} + +// Type of product filter. +func (o FilterablePropertyPtrOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v *FilterableProperty) *string { + if v == nil { + return nil + } + return &v.Type + }).(pulumi.StringPtrOutput) +} + +type FilterablePropertyMapOutput struct{ *pulumi.OutputState } + +func (FilterablePropertyMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]FilterableProperty)(nil)).Elem() +} + +func (o FilterablePropertyMapOutput) ToFilterablePropertyMapOutput() FilterablePropertyMapOutput { + return o +} + +func (o FilterablePropertyMapOutput) ToFilterablePropertyMapOutputWithContext(ctx context.Context) FilterablePropertyMapOutput { + return o +} + +func (o FilterablePropertyMapOutput) MapIndex(k pulumi.StringInput) FilterablePropertyOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) FilterableProperty { + return vs[0].(map[string]FilterableProperty)[vs[1].(string)] + }).(FilterablePropertyOutput) +} + +// Class defining the list of filter values on a filter type as part of configuration request. +type FilterablePropertyResponse struct { + // Values to be filtered. + SupportedValues []string `pulumi:"supportedValues"` + // Type of product filter. + Type string `pulumi:"type"` +} + +// FilterablePropertyResponseInput is an input type that accepts FilterablePropertyResponseArgs and FilterablePropertyResponseOutput values. +// You can construct a concrete instance of `FilterablePropertyResponseInput` via: +// +// FilterablePropertyResponseArgs{...} +type FilterablePropertyResponseInput interface { + pulumi.Input + + ToFilterablePropertyResponseOutput() FilterablePropertyResponseOutput + ToFilterablePropertyResponseOutputWithContext(context.Context) FilterablePropertyResponseOutput +} + +// Class defining the list of filter values on a filter type as part of configuration request. +type FilterablePropertyResponseArgs struct { + // Values to be filtered. + SupportedValues pulumi.StringArrayInput `pulumi:"supportedValues"` + // Type of product filter. + Type pulumi.StringInput `pulumi:"type"` +} + +func (FilterablePropertyResponseArgs) ElementType() reflect.Type { + return reflect.TypeOf((*FilterablePropertyResponse)(nil)).Elem() +} + +func (i FilterablePropertyResponseArgs) ToFilterablePropertyResponseOutput() FilterablePropertyResponseOutput { + return i.ToFilterablePropertyResponseOutputWithContext(context.Background()) +} + +func (i FilterablePropertyResponseArgs) ToFilterablePropertyResponseOutputWithContext(ctx context.Context) FilterablePropertyResponseOutput { + return pulumi.ToOutputWithContext(ctx, i).(FilterablePropertyResponseOutput) +} + +// FilterablePropertyResponseArrayInput is an input type that accepts FilterablePropertyResponseArray and FilterablePropertyResponseArrayOutput values. +// You can construct a concrete instance of `FilterablePropertyResponseArrayInput` via: +// +// FilterablePropertyResponseArray{ FilterablePropertyResponseArgs{...} } +type FilterablePropertyResponseArrayInput interface { + pulumi.Input + + ToFilterablePropertyResponseArrayOutput() FilterablePropertyResponseArrayOutput + ToFilterablePropertyResponseArrayOutputWithContext(context.Context) FilterablePropertyResponseArrayOutput +} + +type FilterablePropertyResponseArray []FilterablePropertyResponseInput + +func (FilterablePropertyResponseArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]FilterablePropertyResponse)(nil)).Elem() +} + +func (i FilterablePropertyResponseArray) ToFilterablePropertyResponseArrayOutput() FilterablePropertyResponseArrayOutput { + return i.ToFilterablePropertyResponseArrayOutputWithContext(context.Background()) +} + +func (i FilterablePropertyResponseArray) ToFilterablePropertyResponseArrayOutputWithContext(ctx context.Context) FilterablePropertyResponseArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(FilterablePropertyResponseArrayOutput) +} + +// Class defining the list of filter values on a filter type as part of configuration request. +type FilterablePropertyResponseOutput struct{ *pulumi.OutputState } + +func (FilterablePropertyResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*FilterablePropertyResponse)(nil)).Elem() +} + +func (o FilterablePropertyResponseOutput) ToFilterablePropertyResponseOutput() FilterablePropertyResponseOutput { + return o +} + +func (o FilterablePropertyResponseOutput) ToFilterablePropertyResponseOutputWithContext(ctx context.Context) FilterablePropertyResponseOutput { + return o +} + +// Values to be filtered. +func (o FilterablePropertyResponseOutput) SupportedValues() pulumi.StringArrayOutput { + return o.ApplyT(func(v FilterablePropertyResponse) []string { return v.SupportedValues }).(pulumi.StringArrayOutput) +} + +// Type of product filter. +func (o FilterablePropertyResponseOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v FilterablePropertyResponse) string { return v.Type }).(pulumi.StringOutput) +} + +type FilterablePropertyResponseArrayOutput struct{ *pulumi.OutputState } + +func (FilterablePropertyResponseArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]FilterablePropertyResponse)(nil)).Elem() +} + +func (o FilterablePropertyResponseArrayOutput) ToFilterablePropertyResponseArrayOutput() FilterablePropertyResponseArrayOutput { + return o +} + +func (o FilterablePropertyResponseArrayOutput) ToFilterablePropertyResponseArrayOutputWithContext(ctx context.Context) FilterablePropertyResponseArrayOutput { + return o +} + +func (o FilterablePropertyResponseArrayOutput) Index(i pulumi.IntInput) FilterablePropertyResponseOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) FilterablePropertyResponse { + return vs[0].([]FilterablePropertyResponse)[vs[1].(int)] + }).(FilterablePropertyResponseOutput) +} + +// Holds details about product hierarchy information +type HierarchyInformation struct { + // Represents configuration name that uniquely identifies configuration + ConfigurationName *string `pulumi:"configurationName"` + // Represents product family name that uniquely identifies product family + ProductFamilyName *string `pulumi:"productFamilyName"` + // Represents product line name that uniquely identifies product line + ProductLineName *string `pulumi:"productLineName"` + // Represents product name that uniquely identifies product + ProductName *string `pulumi:"productName"` +} + +// HierarchyInformationInput is an input type that accepts HierarchyInformationArgs and HierarchyInformationOutput values. +// You can construct a concrete instance of `HierarchyInformationInput` via: +// +// HierarchyInformationArgs{...} +type HierarchyInformationInput interface { + pulumi.Input + + ToHierarchyInformationOutput() HierarchyInformationOutput + ToHierarchyInformationOutputWithContext(context.Context) HierarchyInformationOutput +} + +// Holds details about product hierarchy information +type HierarchyInformationArgs struct { + // Represents configuration name that uniquely identifies configuration + ConfigurationName pulumi.StringPtrInput `pulumi:"configurationName"` + // Represents product family name that uniquely identifies product family + ProductFamilyName pulumi.StringPtrInput `pulumi:"productFamilyName"` + // Represents product line name that uniquely identifies product line + ProductLineName pulumi.StringPtrInput `pulumi:"productLineName"` + // Represents product name that uniquely identifies product + ProductName pulumi.StringPtrInput `pulumi:"productName"` +} + +func (HierarchyInformationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*HierarchyInformation)(nil)).Elem() +} + +func (i HierarchyInformationArgs) ToHierarchyInformationOutput() HierarchyInformationOutput { + return i.ToHierarchyInformationOutputWithContext(context.Background()) +} + +func (i HierarchyInformationArgs) ToHierarchyInformationOutputWithContext(ctx context.Context) HierarchyInformationOutput { + return pulumi.ToOutputWithContext(ctx, i).(HierarchyInformationOutput) +} + +func (i HierarchyInformationArgs) ToHierarchyInformationPtrOutput() HierarchyInformationPtrOutput { + return i.ToHierarchyInformationPtrOutputWithContext(context.Background()) +} + +func (i HierarchyInformationArgs) ToHierarchyInformationPtrOutputWithContext(ctx context.Context) HierarchyInformationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(HierarchyInformationOutput).ToHierarchyInformationPtrOutputWithContext(ctx) +} + +// HierarchyInformationPtrInput is an input type that accepts HierarchyInformationArgs, HierarchyInformationPtr and HierarchyInformationPtrOutput values. +// You can construct a concrete instance of `HierarchyInformationPtrInput` via: +// +// HierarchyInformationArgs{...} +// +// or: +// +// nil +type HierarchyInformationPtrInput interface { + pulumi.Input + + ToHierarchyInformationPtrOutput() HierarchyInformationPtrOutput + ToHierarchyInformationPtrOutputWithContext(context.Context) HierarchyInformationPtrOutput +} + +type hierarchyInformationPtrType HierarchyInformationArgs + +func HierarchyInformationPtr(v *HierarchyInformationArgs) HierarchyInformationPtrInput { + return (*hierarchyInformationPtrType)(v) +} + +func (*hierarchyInformationPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**HierarchyInformation)(nil)).Elem() +} + +func (i *hierarchyInformationPtrType) ToHierarchyInformationPtrOutput() HierarchyInformationPtrOutput { + return i.ToHierarchyInformationPtrOutputWithContext(context.Background()) +} + +func (i *hierarchyInformationPtrType) ToHierarchyInformationPtrOutputWithContext(ctx context.Context) HierarchyInformationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(HierarchyInformationPtrOutput) +} + +// Holds details about product hierarchy information +type HierarchyInformationOutput struct{ *pulumi.OutputState } + +func (HierarchyInformationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*HierarchyInformation)(nil)).Elem() +} + +func (o HierarchyInformationOutput) ToHierarchyInformationOutput() HierarchyInformationOutput { + return o +} + +func (o HierarchyInformationOutput) ToHierarchyInformationOutputWithContext(ctx context.Context) HierarchyInformationOutput { + return o +} + +func (o HierarchyInformationOutput) ToHierarchyInformationPtrOutput() HierarchyInformationPtrOutput { + return o.ToHierarchyInformationPtrOutputWithContext(context.Background()) +} + +func (o HierarchyInformationOutput) ToHierarchyInformationPtrOutputWithContext(ctx context.Context) HierarchyInformationPtrOutput { + return o.ApplyT(func(v HierarchyInformation) *HierarchyInformation { + return &v + }).(HierarchyInformationPtrOutput) +} + +// Represents configuration name that uniquely identifies configuration +func (o HierarchyInformationOutput) ConfigurationName() pulumi.StringPtrOutput { + return o.ApplyT(func(v HierarchyInformation) *string { return v.ConfigurationName }).(pulumi.StringPtrOutput) +} + +// Represents product family name that uniquely identifies product family +func (o HierarchyInformationOutput) ProductFamilyName() pulumi.StringPtrOutput { + return o.ApplyT(func(v HierarchyInformation) *string { return v.ProductFamilyName }).(pulumi.StringPtrOutput) +} + +// Represents product line name that uniquely identifies product line +func (o HierarchyInformationOutput) ProductLineName() pulumi.StringPtrOutput { + return o.ApplyT(func(v HierarchyInformation) *string { return v.ProductLineName }).(pulumi.StringPtrOutput) +} + +// Represents product name that uniquely identifies product +func (o HierarchyInformationOutput) ProductName() pulumi.StringPtrOutput { + return o.ApplyT(func(v HierarchyInformation) *string { return v.ProductName }).(pulumi.StringPtrOutput) +} + +type HierarchyInformationPtrOutput struct{ *pulumi.OutputState } + +func (HierarchyInformationPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**HierarchyInformation)(nil)).Elem() +} + +func (o HierarchyInformationPtrOutput) ToHierarchyInformationPtrOutput() HierarchyInformationPtrOutput { + return o +} + +func (o HierarchyInformationPtrOutput) ToHierarchyInformationPtrOutputWithContext(ctx context.Context) HierarchyInformationPtrOutput { + return o +} + +func (o HierarchyInformationPtrOutput) Elem() HierarchyInformationOutput { + return o.ApplyT(func(v *HierarchyInformation) HierarchyInformation { return *v }).(HierarchyInformationOutput) +} + +// Represents configuration name that uniquely identifies configuration +func (o HierarchyInformationPtrOutput) ConfigurationName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *HierarchyInformation) *string { + if v == nil { + return nil + } + return v.ConfigurationName + }).(pulumi.StringPtrOutput) +} + +// Represents product family name that uniquely identifies product family +func (o HierarchyInformationPtrOutput) ProductFamilyName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *HierarchyInformation) *string { + if v == nil { + return nil + } + return v.ProductFamilyName + }).(pulumi.StringPtrOutput) +} + +// Represents product line name that uniquely identifies product line +func (o HierarchyInformationPtrOutput) ProductLineName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *HierarchyInformation) *string { + if v == nil { + return nil + } + return v.ProductLineName + }).(pulumi.StringPtrOutput) +} + +// Represents product name that uniquely identifies product +func (o HierarchyInformationPtrOutput) ProductName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *HierarchyInformation) *string { + if v == nil { + return nil + } + return v.ProductName + }).(pulumi.StringPtrOutput) +} + +// Holds details about product hierarchy information +type HierarchyInformationResponse struct { + // Represents configuration name that uniquely identifies configuration + ConfigurationName *string `pulumi:"configurationName"` + // Represents product family name that uniquely identifies product family + ProductFamilyName *string `pulumi:"productFamilyName"` + // Represents product line name that uniquely identifies product line + ProductLineName *string `pulumi:"productLineName"` + // Represents product name that uniquely identifies product + ProductName *string `pulumi:"productName"` +} + +// HierarchyInformationResponseInput is an input type that accepts HierarchyInformationResponseArgs and HierarchyInformationResponseOutput values. +// You can construct a concrete instance of `HierarchyInformationResponseInput` via: +// +// HierarchyInformationResponseArgs{...} +type HierarchyInformationResponseInput interface { + pulumi.Input + + ToHierarchyInformationResponseOutput() HierarchyInformationResponseOutput + ToHierarchyInformationResponseOutputWithContext(context.Context) HierarchyInformationResponseOutput +} + +// Holds details about product hierarchy information +type HierarchyInformationResponseArgs struct { + // Represents configuration name that uniquely identifies configuration + ConfigurationName pulumi.StringPtrInput `pulumi:"configurationName"` + // Represents product family name that uniquely identifies product family + ProductFamilyName pulumi.StringPtrInput `pulumi:"productFamilyName"` + // Represents product line name that uniquely identifies product line + ProductLineName pulumi.StringPtrInput `pulumi:"productLineName"` + // Represents product name that uniquely identifies product + ProductName pulumi.StringPtrInput `pulumi:"productName"` +} + +func (HierarchyInformationResponseArgs) ElementType() reflect.Type { + return reflect.TypeOf((*HierarchyInformationResponse)(nil)).Elem() +} + +func (i HierarchyInformationResponseArgs) ToHierarchyInformationResponseOutput() HierarchyInformationResponseOutput { + return i.ToHierarchyInformationResponseOutputWithContext(context.Background()) +} + +func (i HierarchyInformationResponseArgs) ToHierarchyInformationResponseOutputWithContext(ctx context.Context) HierarchyInformationResponseOutput { + return pulumi.ToOutputWithContext(ctx, i).(HierarchyInformationResponseOutput) +} + +func (i HierarchyInformationResponseArgs) ToHierarchyInformationResponsePtrOutput() HierarchyInformationResponsePtrOutput { + return i.ToHierarchyInformationResponsePtrOutputWithContext(context.Background()) +} + +func (i HierarchyInformationResponseArgs) ToHierarchyInformationResponsePtrOutputWithContext(ctx context.Context) HierarchyInformationResponsePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(HierarchyInformationResponseOutput).ToHierarchyInformationResponsePtrOutputWithContext(ctx) +} + +// HierarchyInformationResponsePtrInput is an input type that accepts HierarchyInformationResponseArgs, HierarchyInformationResponsePtr and HierarchyInformationResponsePtrOutput values. +// You can construct a concrete instance of `HierarchyInformationResponsePtrInput` via: +// +// HierarchyInformationResponseArgs{...} +// +// or: +// +// nil +type HierarchyInformationResponsePtrInput interface { + pulumi.Input + + ToHierarchyInformationResponsePtrOutput() HierarchyInformationResponsePtrOutput + ToHierarchyInformationResponsePtrOutputWithContext(context.Context) HierarchyInformationResponsePtrOutput +} + +type hierarchyInformationResponsePtrType HierarchyInformationResponseArgs + +func HierarchyInformationResponsePtr(v *HierarchyInformationResponseArgs) HierarchyInformationResponsePtrInput { + return (*hierarchyInformationResponsePtrType)(v) +} + +func (*hierarchyInformationResponsePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**HierarchyInformationResponse)(nil)).Elem() +} + +func (i *hierarchyInformationResponsePtrType) ToHierarchyInformationResponsePtrOutput() HierarchyInformationResponsePtrOutput { + return i.ToHierarchyInformationResponsePtrOutputWithContext(context.Background()) +} + +func (i *hierarchyInformationResponsePtrType) ToHierarchyInformationResponsePtrOutputWithContext(ctx context.Context) HierarchyInformationResponsePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(HierarchyInformationResponsePtrOutput) +} + +// Holds details about product hierarchy information +type HierarchyInformationResponseOutput struct{ *pulumi.OutputState } + +func (HierarchyInformationResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*HierarchyInformationResponse)(nil)).Elem() +} + +func (o HierarchyInformationResponseOutput) ToHierarchyInformationResponseOutput() HierarchyInformationResponseOutput { + return o +} + +func (o HierarchyInformationResponseOutput) ToHierarchyInformationResponseOutputWithContext(ctx context.Context) HierarchyInformationResponseOutput { + return o +} + +func (o HierarchyInformationResponseOutput) ToHierarchyInformationResponsePtrOutput() HierarchyInformationResponsePtrOutput { + return o.ToHierarchyInformationResponsePtrOutputWithContext(context.Background()) +} + +func (o HierarchyInformationResponseOutput) ToHierarchyInformationResponsePtrOutputWithContext(ctx context.Context) HierarchyInformationResponsePtrOutput { + return o.ApplyT(func(v HierarchyInformationResponse) *HierarchyInformationResponse { + return &v + }).(HierarchyInformationResponsePtrOutput) +} + +// Represents configuration name that uniquely identifies configuration +func (o HierarchyInformationResponseOutput) ConfigurationName() pulumi.StringPtrOutput { + return o.ApplyT(func(v HierarchyInformationResponse) *string { return v.ConfigurationName }).(pulumi.StringPtrOutput) +} + +// Represents product family name that uniquely identifies product family +func (o HierarchyInformationResponseOutput) ProductFamilyName() pulumi.StringPtrOutput { + return o.ApplyT(func(v HierarchyInformationResponse) *string { return v.ProductFamilyName }).(pulumi.StringPtrOutput) +} + +// Represents product line name that uniquely identifies product line +func (o HierarchyInformationResponseOutput) ProductLineName() pulumi.StringPtrOutput { + return o.ApplyT(func(v HierarchyInformationResponse) *string { return v.ProductLineName }).(pulumi.StringPtrOutput) +} + +// Represents product name that uniquely identifies product +func (o HierarchyInformationResponseOutput) ProductName() pulumi.StringPtrOutput { + return o.ApplyT(func(v HierarchyInformationResponse) *string { return v.ProductName }).(pulumi.StringPtrOutput) +} + +type HierarchyInformationResponsePtrOutput struct{ *pulumi.OutputState } + +func (HierarchyInformationResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**HierarchyInformationResponse)(nil)).Elem() +} + +func (o HierarchyInformationResponsePtrOutput) ToHierarchyInformationResponsePtrOutput() HierarchyInformationResponsePtrOutput { + return o +} + +func (o HierarchyInformationResponsePtrOutput) ToHierarchyInformationResponsePtrOutputWithContext(ctx context.Context) HierarchyInformationResponsePtrOutput { + return o +} + +func (o HierarchyInformationResponsePtrOutput) Elem() HierarchyInformationResponseOutput { + return o.ApplyT(func(v *HierarchyInformationResponse) HierarchyInformationResponse { return *v }).(HierarchyInformationResponseOutput) +} + +// Represents configuration name that uniquely identifies configuration +func (o HierarchyInformationResponsePtrOutput) ConfigurationName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *HierarchyInformationResponse) *string { + if v == nil { + return nil + } + return v.ConfigurationName + }).(pulumi.StringPtrOutput) +} + +// Represents product family name that uniquely identifies product family +func (o HierarchyInformationResponsePtrOutput) ProductFamilyName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *HierarchyInformationResponse) *string { + if v == nil { + return nil + } + return v.ProductFamilyName + }).(pulumi.StringPtrOutput) +} + +// Represents product line name that uniquely identifies product line +func (o HierarchyInformationResponsePtrOutput) ProductLineName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *HierarchyInformationResponse) *string { + if v == nil { + return nil + } + return v.ProductLineName + }).(pulumi.StringPtrOutput) +} + +// Represents product name that uniquely identifies product +func (o HierarchyInformationResponsePtrOutput) ProductName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *HierarchyInformationResponse) *string { + if v == nil { + return nil + } + return v.ProductName + }).(pulumi.StringPtrOutput) +} + +// Image for the product +type ImageInformationResponse struct { + // Type of the image + ImageType string `pulumi:"imageType"` + // Url of the image + ImageUrl string `pulumi:"imageUrl"` +} + +// ImageInformationResponseInput is an input type that accepts ImageInformationResponseArgs and ImageInformationResponseOutput values. +// You can construct a concrete instance of `ImageInformationResponseInput` via: +// +// ImageInformationResponseArgs{...} +type ImageInformationResponseInput interface { + pulumi.Input + + ToImageInformationResponseOutput() ImageInformationResponseOutput + ToImageInformationResponseOutputWithContext(context.Context) ImageInformationResponseOutput +} + +// Image for the product +type ImageInformationResponseArgs struct { + // Type of the image + ImageType pulumi.StringInput `pulumi:"imageType"` + // Url of the image + ImageUrl pulumi.StringInput `pulumi:"imageUrl"` +} + +func (ImageInformationResponseArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ImageInformationResponse)(nil)).Elem() +} + +func (i ImageInformationResponseArgs) ToImageInformationResponseOutput() ImageInformationResponseOutput { + return i.ToImageInformationResponseOutputWithContext(context.Background()) +} + +func (i ImageInformationResponseArgs) ToImageInformationResponseOutputWithContext(ctx context.Context) ImageInformationResponseOutput { + return pulumi.ToOutputWithContext(ctx, i).(ImageInformationResponseOutput) +} + +// ImageInformationResponseArrayInput is an input type that accepts ImageInformationResponseArray and ImageInformationResponseArrayOutput values. +// You can construct a concrete instance of `ImageInformationResponseArrayInput` via: +// +// ImageInformationResponseArray{ ImageInformationResponseArgs{...} } +type ImageInformationResponseArrayInput interface { + pulumi.Input + + ToImageInformationResponseArrayOutput() ImageInformationResponseArrayOutput + ToImageInformationResponseArrayOutputWithContext(context.Context) ImageInformationResponseArrayOutput +} + +type ImageInformationResponseArray []ImageInformationResponseInput + +func (ImageInformationResponseArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ImageInformationResponse)(nil)).Elem() +} + +func (i ImageInformationResponseArray) ToImageInformationResponseArrayOutput() ImageInformationResponseArrayOutput { + return i.ToImageInformationResponseArrayOutputWithContext(context.Background()) +} + +func (i ImageInformationResponseArray) ToImageInformationResponseArrayOutputWithContext(ctx context.Context) ImageInformationResponseArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ImageInformationResponseArrayOutput) +} + +// Image for the product +type ImageInformationResponseOutput struct{ *pulumi.OutputState } + +func (ImageInformationResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ImageInformationResponse)(nil)).Elem() +} + +func (o ImageInformationResponseOutput) ToImageInformationResponseOutput() ImageInformationResponseOutput { + return o +} + +func (o ImageInformationResponseOutput) ToImageInformationResponseOutputWithContext(ctx context.Context) ImageInformationResponseOutput { + return o +} + +// Type of the image +func (o ImageInformationResponseOutput) ImageType() pulumi.StringOutput { + return o.ApplyT(func(v ImageInformationResponse) string { return v.ImageType }).(pulumi.StringOutput) +} + +// Url of the image +func (o ImageInformationResponseOutput) ImageUrl() pulumi.StringOutput { + return o.ApplyT(func(v ImageInformationResponse) string { return v.ImageUrl }).(pulumi.StringOutput) +} + +type ImageInformationResponseArrayOutput struct{ *pulumi.OutputState } + +func (ImageInformationResponseArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ImageInformationResponse)(nil)).Elem() +} + +func (o ImageInformationResponseArrayOutput) ToImageInformationResponseArrayOutput() ImageInformationResponseArrayOutput { + return o +} + +func (o ImageInformationResponseArrayOutput) ToImageInformationResponseArrayOutputWithContext(ctx context.Context) ImageInformationResponseArrayOutput { + return o +} + +func (o ImageInformationResponseArrayOutput) Index(i pulumi.IntInput) ImageInformationResponseOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) ImageInformationResponse { + return vs[0].([]ImageInformationResponse)[vs[1].(int)] + }).(ImageInformationResponseOutput) +} + +// Returns link related to the product +type LinkResponse struct { + // Type of link + LinkType string `pulumi:"linkType"` + // Url of the link + LinkUrl string `pulumi:"linkUrl"` +} + +// LinkResponseInput is an input type that accepts LinkResponseArgs and LinkResponseOutput values. +// You can construct a concrete instance of `LinkResponseInput` via: +// +// LinkResponseArgs{...} +type LinkResponseInput interface { + pulumi.Input + + ToLinkResponseOutput() LinkResponseOutput + ToLinkResponseOutputWithContext(context.Context) LinkResponseOutput +} + +// Returns link related to the product +type LinkResponseArgs struct { + // Type of link + LinkType pulumi.StringInput `pulumi:"linkType"` + // Url of the link + LinkUrl pulumi.StringInput `pulumi:"linkUrl"` +} + +func (LinkResponseArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LinkResponse)(nil)).Elem() +} + +func (i LinkResponseArgs) ToLinkResponseOutput() LinkResponseOutput { + return i.ToLinkResponseOutputWithContext(context.Background()) +} + +func (i LinkResponseArgs) ToLinkResponseOutputWithContext(ctx context.Context) LinkResponseOutput { + return pulumi.ToOutputWithContext(ctx, i).(LinkResponseOutput) +} + +// LinkResponseArrayInput is an input type that accepts LinkResponseArray and LinkResponseArrayOutput values. +// You can construct a concrete instance of `LinkResponseArrayInput` via: +// +// LinkResponseArray{ LinkResponseArgs{...} } +type LinkResponseArrayInput interface { + pulumi.Input + + ToLinkResponseArrayOutput() LinkResponseArrayOutput + ToLinkResponseArrayOutputWithContext(context.Context) LinkResponseArrayOutput +} + +type LinkResponseArray []LinkResponseInput + +func (LinkResponseArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]LinkResponse)(nil)).Elem() +} + +func (i LinkResponseArray) ToLinkResponseArrayOutput() LinkResponseArrayOutput { + return i.ToLinkResponseArrayOutputWithContext(context.Background()) +} + +func (i LinkResponseArray) ToLinkResponseArrayOutputWithContext(ctx context.Context) LinkResponseArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(LinkResponseArrayOutput) +} + +// Returns link related to the product +type LinkResponseOutput struct{ *pulumi.OutputState } + +func (LinkResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LinkResponse)(nil)).Elem() +} + +func (o LinkResponseOutput) ToLinkResponseOutput() LinkResponseOutput { + return o +} + +func (o LinkResponseOutput) ToLinkResponseOutputWithContext(ctx context.Context) LinkResponseOutput { + return o +} + +// Type of link +func (o LinkResponseOutput) LinkType() pulumi.StringOutput { + return o.ApplyT(func(v LinkResponse) string { return v.LinkType }).(pulumi.StringOutput) +} + +// Url of the link +func (o LinkResponseOutput) LinkUrl() pulumi.StringOutput { + return o.ApplyT(func(v LinkResponse) string { return v.LinkUrl }).(pulumi.StringOutput) +} + +type LinkResponseArrayOutput struct{ *pulumi.OutputState } + +func (LinkResponseArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]LinkResponse)(nil)).Elem() +} + +func (o LinkResponseArrayOutput) ToLinkResponseArrayOutput() LinkResponseArrayOutput { + return o +} + +func (o LinkResponseArrayOutput) ToLinkResponseArrayOutputWithContext(ctx context.Context) LinkResponseArrayOutput { + return o +} + +func (o LinkResponseArrayOutput) Index(i pulumi.IntInput) LinkResponseOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) LinkResponse { + return vs[0].([]LinkResponse)[vs[1].(int)] + }).(LinkResponseOutput) +} + +// Billing details for each meter. +type MeterDetailsResponse struct { + // Billing model to represent billing cycle, i.e. Monthly, biweekly, daily, hourly etc. + BillingModel BillingModelResponse `pulumi:"billingModel"` + // MeterId/ Billing Guid against which the product system will be charged + MeterId string `pulumi:"meterId"` + // Category of the billing meter. + MeterType string `pulumi:"meterType"` +} + +// MeterDetailsResponseInput is an input type that accepts MeterDetailsResponseArgs and MeterDetailsResponseOutput values. +// You can construct a concrete instance of `MeterDetailsResponseInput` via: +// +// MeterDetailsResponseArgs{...} +type MeterDetailsResponseInput interface { + pulumi.Input + + ToMeterDetailsResponseOutput() MeterDetailsResponseOutput + ToMeterDetailsResponseOutputWithContext(context.Context) MeterDetailsResponseOutput +} + +// Billing details for each meter. +type MeterDetailsResponseArgs struct { + // Billing model to represent billing cycle, i.e. Monthly, biweekly, daily, hourly etc. + BillingModel BillingModelResponseInput `pulumi:"billingModel"` + // MeterId/ Billing Guid against which the product system will be charged + MeterId pulumi.StringInput `pulumi:"meterId"` + // Category of the billing meter. + MeterType pulumi.StringInput `pulumi:"meterType"` +} + +func (MeterDetailsResponseArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MeterDetailsResponse)(nil)).Elem() +} + +func (i MeterDetailsResponseArgs) ToMeterDetailsResponseOutput() MeterDetailsResponseOutput { + return i.ToMeterDetailsResponseOutputWithContext(context.Background()) +} + +func (i MeterDetailsResponseArgs) ToMeterDetailsResponseOutputWithContext(ctx context.Context) MeterDetailsResponseOutput { + return pulumi.ToOutputWithContext(ctx, i).(MeterDetailsResponseOutput) +} + +// MeterDetailsResponseArrayInput is an input type that accepts MeterDetailsResponseArray and MeterDetailsResponseArrayOutput values. +// You can construct a concrete instance of `MeterDetailsResponseArrayInput` via: +// +// MeterDetailsResponseArray{ MeterDetailsResponseArgs{...} } +type MeterDetailsResponseArrayInput interface { + pulumi.Input + + ToMeterDetailsResponseArrayOutput() MeterDetailsResponseArrayOutput + ToMeterDetailsResponseArrayOutputWithContext(context.Context) MeterDetailsResponseArrayOutput +} + +type MeterDetailsResponseArray []MeterDetailsResponseInput + +func (MeterDetailsResponseArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]MeterDetailsResponse)(nil)).Elem() +} + +func (i MeterDetailsResponseArray) ToMeterDetailsResponseArrayOutput() MeterDetailsResponseArrayOutput { + return i.ToMeterDetailsResponseArrayOutputWithContext(context.Background()) +} + +func (i MeterDetailsResponseArray) ToMeterDetailsResponseArrayOutputWithContext(ctx context.Context) MeterDetailsResponseArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(MeterDetailsResponseArrayOutput) +} + +// Billing details for each meter. +type MeterDetailsResponseOutput struct{ *pulumi.OutputState } + +func (MeterDetailsResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MeterDetailsResponse)(nil)).Elem() +} + +func (o MeterDetailsResponseOutput) ToMeterDetailsResponseOutput() MeterDetailsResponseOutput { + return o +} + +func (o MeterDetailsResponseOutput) ToMeterDetailsResponseOutputWithContext(ctx context.Context) MeterDetailsResponseOutput { + return o +} + +// Billing model to represent billing cycle, i.e. Monthly, biweekly, daily, hourly etc. +func (o MeterDetailsResponseOutput) BillingModel() BillingModelResponseOutput { + return o.ApplyT(func(v MeterDetailsResponse) BillingModelResponse { return v.BillingModel }).(BillingModelResponseOutput) +} + +// MeterId/ Billing Guid against which the product system will be charged +func (o MeterDetailsResponseOutput) MeterId() pulumi.StringOutput { + return o.ApplyT(func(v MeterDetailsResponse) string { return v.MeterId }).(pulumi.StringOutput) +} + +// Category of the billing meter. +func (o MeterDetailsResponseOutput) MeterType() pulumi.StringOutput { + return o.ApplyT(func(v MeterDetailsResponse) string { return v.MeterType }).(pulumi.StringOutput) +} + +type MeterDetailsResponseArrayOutput struct{ *pulumi.OutputState } + +func (MeterDetailsResponseArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]MeterDetailsResponse)(nil)).Elem() +} + +func (o MeterDetailsResponseArrayOutput) ToMeterDetailsResponseArrayOutput() MeterDetailsResponseArrayOutput { + return o +} + +func (o MeterDetailsResponseArrayOutput) ToMeterDetailsResponseArrayOutputWithContext(ctx context.Context) MeterDetailsResponseArrayOutput { + return o +} + +func (o MeterDetailsResponseArrayOutput) Index(i pulumi.IntInput) MeterDetailsResponseOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) MeterDetailsResponse { + return vs[0].([]MeterDetailsResponse)[vs[1].(int)] + }).(MeterDetailsResponseOutput) +} + +// Notification preference for a job stage. +type NotificationPreference struct { + // Notification is required or not. + SendNotification bool `pulumi:"sendNotification"` + // Name of the stage. + StageName string `pulumi:"stageName"` +} + +// NotificationPreferenceInput is an input type that accepts NotificationPreferenceArgs and NotificationPreferenceOutput values. +// You can construct a concrete instance of `NotificationPreferenceInput` via: +// +// NotificationPreferenceArgs{...} +type NotificationPreferenceInput interface { + pulumi.Input + + ToNotificationPreferenceOutput() NotificationPreferenceOutput + ToNotificationPreferenceOutputWithContext(context.Context) NotificationPreferenceOutput +} + +// Notification preference for a job stage. +type NotificationPreferenceArgs struct { + // Notification is required or not. + SendNotification pulumi.BoolInput `pulumi:"sendNotification"` + // Name of the stage. + StageName pulumi.StringInput `pulumi:"stageName"` +} + +func (NotificationPreferenceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*NotificationPreference)(nil)).Elem() +} + +func (i NotificationPreferenceArgs) ToNotificationPreferenceOutput() NotificationPreferenceOutput { + return i.ToNotificationPreferenceOutputWithContext(context.Background()) +} + +func (i NotificationPreferenceArgs) ToNotificationPreferenceOutputWithContext(ctx context.Context) NotificationPreferenceOutput { + return pulumi.ToOutputWithContext(ctx, i).(NotificationPreferenceOutput) +} + +// NotificationPreferenceArrayInput is an input type that accepts NotificationPreferenceArray and NotificationPreferenceArrayOutput values. +// You can construct a concrete instance of `NotificationPreferenceArrayInput` via: +// +// NotificationPreferenceArray{ NotificationPreferenceArgs{...} } +type NotificationPreferenceArrayInput interface { + pulumi.Input + + ToNotificationPreferenceArrayOutput() NotificationPreferenceArrayOutput + ToNotificationPreferenceArrayOutputWithContext(context.Context) NotificationPreferenceArrayOutput +} + +type NotificationPreferenceArray []NotificationPreferenceInput + +func (NotificationPreferenceArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]NotificationPreference)(nil)).Elem() +} + +func (i NotificationPreferenceArray) ToNotificationPreferenceArrayOutput() NotificationPreferenceArrayOutput { + return i.ToNotificationPreferenceArrayOutputWithContext(context.Background()) +} + +func (i NotificationPreferenceArray) ToNotificationPreferenceArrayOutputWithContext(ctx context.Context) NotificationPreferenceArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(NotificationPreferenceArrayOutput) +} + +// Notification preference for a job stage. +type NotificationPreferenceOutput struct{ *pulumi.OutputState } + +func (NotificationPreferenceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*NotificationPreference)(nil)).Elem() +} + +func (o NotificationPreferenceOutput) ToNotificationPreferenceOutput() NotificationPreferenceOutput { + return o +} + +func (o NotificationPreferenceOutput) ToNotificationPreferenceOutputWithContext(ctx context.Context) NotificationPreferenceOutput { + return o +} + +// Notification is required or not. +func (o NotificationPreferenceOutput) SendNotification() pulumi.BoolOutput { + return o.ApplyT(func(v NotificationPreference) bool { return v.SendNotification }).(pulumi.BoolOutput) +} + +// Name of the stage. +func (o NotificationPreferenceOutput) StageName() pulumi.StringOutput { + return o.ApplyT(func(v NotificationPreference) string { return v.StageName }).(pulumi.StringOutput) +} + +type NotificationPreferenceArrayOutput struct{ *pulumi.OutputState } + +func (NotificationPreferenceArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]NotificationPreference)(nil)).Elem() +} + +func (o NotificationPreferenceArrayOutput) ToNotificationPreferenceArrayOutput() NotificationPreferenceArrayOutput { + return o +} + +func (o NotificationPreferenceArrayOutput) ToNotificationPreferenceArrayOutputWithContext(ctx context.Context) NotificationPreferenceArrayOutput { + return o +} + +func (o NotificationPreferenceArrayOutput) Index(i pulumi.IntInput) NotificationPreferenceOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) NotificationPreference { + return vs[0].([]NotificationPreference)[vs[1].(int)] + }).(NotificationPreferenceOutput) +} + +// Notification preference for a job stage. +type NotificationPreferenceResponse struct { + // Notification is required or not. + SendNotification bool `pulumi:"sendNotification"` + // Name of the stage. + StageName string `pulumi:"stageName"` +} + +// NotificationPreferenceResponseInput is an input type that accepts NotificationPreferenceResponseArgs and NotificationPreferenceResponseOutput values. +// You can construct a concrete instance of `NotificationPreferenceResponseInput` via: +// +// NotificationPreferenceResponseArgs{...} +type NotificationPreferenceResponseInput interface { + pulumi.Input + + ToNotificationPreferenceResponseOutput() NotificationPreferenceResponseOutput + ToNotificationPreferenceResponseOutputWithContext(context.Context) NotificationPreferenceResponseOutput +} + +// Notification preference for a job stage. +type NotificationPreferenceResponseArgs struct { + // Notification is required or not. + SendNotification pulumi.BoolInput `pulumi:"sendNotification"` + // Name of the stage. + StageName pulumi.StringInput `pulumi:"stageName"` +} + +func (NotificationPreferenceResponseArgs) ElementType() reflect.Type { + return reflect.TypeOf((*NotificationPreferenceResponse)(nil)).Elem() +} + +func (i NotificationPreferenceResponseArgs) ToNotificationPreferenceResponseOutput() NotificationPreferenceResponseOutput { + return i.ToNotificationPreferenceResponseOutputWithContext(context.Background()) +} + +func (i NotificationPreferenceResponseArgs) ToNotificationPreferenceResponseOutputWithContext(ctx context.Context) NotificationPreferenceResponseOutput { + return pulumi.ToOutputWithContext(ctx, i).(NotificationPreferenceResponseOutput) +} + +// NotificationPreferenceResponseArrayInput is an input type that accepts NotificationPreferenceResponseArray and NotificationPreferenceResponseArrayOutput values. +// You can construct a concrete instance of `NotificationPreferenceResponseArrayInput` via: +// +// NotificationPreferenceResponseArray{ NotificationPreferenceResponseArgs{...} } +type NotificationPreferenceResponseArrayInput interface { + pulumi.Input + + ToNotificationPreferenceResponseArrayOutput() NotificationPreferenceResponseArrayOutput + ToNotificationPreferenceResponseArrayOutputWithContext(context.Context) NotificationPreferenceResponseArrayOutput +} + +type NotificationPreferenceResponseArray []NotificationPreferenceResponseInput + +func (NotificationPreferenceResponseArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]NotificationPreferenceResponse)(nil)).Elem() +} + +func (i NotificationPreferenceResponseArray) ToNotificationPreferenceResponseArrayOutput() NotificationPreferenceResponseArrayOutput { + return i.ToNotificationPreferenceResponseArrayOutputWithContext(context.Background()) +} + +func (i NotificationPreferenceResponseArray) ToNotificationPreferenceResponseArrayOutputWithContext(ctx context.Context) NotificationPreferenceResponseArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(NotificationPreferenceResponseArrayOutput) +} + +// Notification preference for a job stage. +type NotificationPreferenceResponseOutput struct{ *pulumi.OutputState } + +func (NotificationPreferenceResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*NotificationPreferenceResponse)(nil)).Elem() +} + +func (o NotificationPreferenceResponseOutput) ToNotificationPreferenceResponseOutput() NotificationPreferenceResponseOutput { + return o +} + +func (o NotificationPreferenceResponseOutput) ToNotificationPreferenceResponseOutputWithContext(ctx context.Context) NotificationPreferenceResponseOutput { + return o +} + +// Notification is required or not. +func (o NotificationPreferenceResponseOutput) SendNotification() pulumi.BoolOutput { + return o.ApplyT(func(v NotificationPreferenceResponse) bool { return v.SendNotification }).(pulumi.BoolOutput) +} + +// Name of the stage. +func (o NotificationPreferenceResponseOutput) StageName() pulumi.StringOutput { + return o.ApplyT(func(v NotificationPreferenceResponse) string { return v.StageName }).(pulumi.StringOutput) +} + +type NotificationPreferenceResponseArrayOutput struct{ *pulumi.OutputState } + +func (NotificationPreferenceResponseArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]NotificationPreferenceResponse)(nil)).Elem() +} + +func (o NotificationPreferenceResponseArrayOutput) ToNotificationPreferenceResponseArrayOutput() NotificationPreferenceResponseArrayOutput { + return o +} + +func (o NotificationPreferenceResponseArrayOutput) ToNotificationPreferenceResponseArrayOutputWithContext(ctx context.Context) NotificationPreferenceResponseArrayOutput { + return o +} + +func (o NotificationPreferenceResponseArrayOutput) Index(i pulumi.IntInput) NotificationPreferenceResponseOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) NotificationPreferenceResponse { + return vs[0].([]NotificationPreferenceResponse)[vs[1].(int)] + }).(NotificationPreferenceResponseOutput) +} + +// Order details +type OrderDetails struct { + // Package Shipping details + NotificationEmailList []string `pulumi:"notificationEmailList"` + // Order type. + OrderType string `pulumi:"orderType"` + // Customer notification Preferences + Preferences *Preferences `pulumi:"preferences"` + // Unique identifier for configuration. + ProductDetails ProductDetails `pulumi:"productDetails"` +} + +// OrderDetailsInput is an input type that accepts OrderDetailsArgs and OrderDetailsOutput values. +// You can construct a concrete instance of `OrderDetailsInput` via: +// +// OrderDetailsArgs{...} +type OrderDetailsInput interface { + pulumi.Input + + ToOrderDetailsOutput() OrderDetailsOutput + ToOrderDetailsOutputWithContext(context.Context) OrderDetailsOutput +} + +// Order details +type OrderDetailsArgs struct { + // Package Shipping details + NotificationEmailList pulumi.StringArrayInput `pulumi:"notificationEmailList"` + // Order type. + OrderType pulumi.StringInput `pulumi:"orderType"` + // Customer notification Preferences + Preferences PreferencesPtrInput `pulumi:"preferences"` + // Unique identifier for configuration. + ProductDetails ProductDetailsInput `pulumi:"productDetails"` +} + +func (OrderDetailsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*OrderDetails)(nil)).Elem() +} + +func (i OrderDetailsArgs) ToOrderDetailsOutput() OrderDetailsOutput { + return i.ToOrderDetailsOutputWithContext(context.Background()) +} + +func (i OrderDetailsArgs) ToOrderDetailsOutputWithContext(ctx context.Context) OrderDetailsOutput { + return pulumi.ToOutputWithContext(ctx, i).(OrderDetailsOutput) +} + +func (i OrderDetailsArgs) ToOrderDetailsPtrOutput() OrderDetailsPtrOutput { + return i.ToOrderDetailsPtrOutputWithContext(context.Background()) +} + +func (i OrderDetailsArgs) ToOrderDetailsPtrOutputWithContext(ctx context.Context) OrderDetailsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(OrderDetailsOutput).ToOrderDetailsPtrOutputWithContext(ctx) +} + +// OrderDetailsPtrInput is an input type that accepts OrderDetailsArgs, OrderDetailsPtr and OrderDetailsPtrOutput values. +// You can construct a concrete instance of `OrderDetailsPtrInput` via: +// +// OrderDetailsArgs{...} +// +// or: +// +// nil +type OrderDetailsPtrInput interface { + pulumi.Input + + ToOrderDetailsPtrOutput() OrderDetailsPtrOutput + ToOrderDetailsPtrOutputWithContext(context.Context) OrderDetailsPtrOutput +} + +type orderDetailsPtrType OrderDetailsArgs + +func OrderDetailsPtr(v *OrderDetailsArgs) OrderDetailsPtrInput { + return (*orderDetailsPtrType)(v) +} + +func (*orderDetailsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**OrderDetails)(nil)).Elem() +} + +func (i *orderDetailsPtrType) ToOrderDetailsPtrOutput() OrderDetailsPtrOutput { + return i.ToOrderDetailsPtrOutputWithContext(context.Background()) +} + +func (i *orderDetailsPtrType) ToOrderDetailsPtrOutputWithContext(ctx context.Context) OrderDetailsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(OrderDetailsPtrOutput) +} + +// Order details +type OrderDetailsOutput struct{ *pulumi.OutputState } + +func (OrderDetailsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*OrderDetails)(nil)).Elem() +} + +func (o OrderDetailsOutput) ToOrderDetailsOutput() OrderDetailsOutput { + return o +} + +func (o OrderDetailsOutput) ToOrderDetailsOutputWithContext(ctx context.Context) OrderDetailsOutput { + return o +} + +func (o OrderDetailsOutput) ToOrderDetailsPtrOutput() OrderDetailsPtrOutput { + return o.ToOrderDetailsPtrOutputWithContext(context.Background()) +} + +func (o OrderDetailsOutput) ToOrderDetailsPtrOutputWithContext(ctx context.Context) OrderDetailsPtrOutput { + return o.ApplyT(func(v OrderDetails) *OrderDetails { + return &v + }).(OrderDetailsPtrOutput) +} + +// Package Shipping details +func (o OrderDetailsOutput) NotificationEmailList() pulumi.StringArrayOutput { + return o.ApplyT(func(v OrderDetails) []string { return v.NotificationEmailList }).(pulumi.StringArrayOutput) +} + +// Order type. +func (o OrderDetailsOutput) OrderType() pulumi.StringOutput { + return o.ApplyT(func(v OrderDetails) string { return v.OrderType }).(pulumi.StringOutput) +} + +// Customer notification Preferences +func (o OrderDetailsOutput) Preferences() PreferencesPtrOutput { + return o.ApplyT(func(v OrderDetails) *Preferences { return v.Preferences }).(PreferencesPtrOutput) +} + +// Unique identifier for configuration. +func (o OrderDetailsOutput) ProductDetails() ProductDetailsOutput { + return o.ApplyT(func(v OrderDetails) ProductDetails { return v.ProductDetails }).(ProductDetailsOutput) +} + +type OrderDetailsPtrOutput struct{ *pulumi.OutputState } + +func (OrderDetailsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**OrderDetails)(nil)).Elem() +} + +func (o OrderDetailsPtrOutput) ToOrderDetailsPtrOutput() OrderDetailsPtrOutput { + return o +} + +func (o OrderDetailsPtrOutput) ToOrderDetailsPtrOutputWithContext(ctx context.Context) OrderDetailsPtrOutput { + return o +} + +func (o OrderDetailsPtrOutput) Elem() OrderDetailsOutput { + return o.ApplyT(func(v *OrderDetails) OrderDetails { return *v }).(OrderDetailsOutput) +} + +// Package Shipping details +func (o OrderDetailsPtrOutput) NotificationEmailList() pulumi.StringArrayOutput { + return o.ApplyT(func(v *OrderDetails) []string { + if v == nil { + return nil + } + return v.NotificationEmailList + }).(pulumi.StringArrayOutput) +} + +// Order type. +func (o OrderDetailsPtrOutput) OrderType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *OrderDetails) *string { + if v == nil { + return nil + } + return &v.OrderType + }).(pulumi.StringPtrOutput) +} + +// Customer notification Preferences +func (o OrderDetailsPtrOutput) Preferences() PreferencesPtrOutput { + return o.ApplyT(func(v *OrderDetails) *Preferences { + if v == nil { + return nil + } + return v.Preferences + }).(PreferencesPtrOutput) +} + +// Unique identifier for configuration. +func (o OrderDetailsPtrOutput) ProductDetails() ProductDetailsPtrOutput { + return o.ApplyT(func(v *OrderDetails) *ProductDetails { + if v == nil { + return nil + } + return &v.ProductDetails + }).(ProductDetailsPtrOutput) +} + +// Order details +type OrderDetailsResponse struct { + // Cancellation reason. + CancellationReason string `pulumi:"cancellationReason"` + // Describes whether the order is cancellable or not. + CancellationStatus string `pulumi:"cancellationStatus"` + // Current Order Status + CurrentStatus OrderStatusDetailsResponse `pulumi:"currentStatus"` + // Describes whether the order is deletable or not. + DeletionStatus string `pulumi:"deletionStatus"` + // Top level error for the job. + Error CloudErrorResponse `pulumi:"error"` + // Forward Package Shipping details + ForwardShippingDetails ShippingDetailsResponse `pulumi:"forwardShippingDetails"` + // parent RP details + ManagementRpDetails interface{} `pulumi:"managementRpDetails"` + // Package Shipping details + NotificationEmailList []string `pulumi:"notificationEmailList"` + // Order history + OrderStatusHistory []OrderStatusDetailsResponse `pulumi:"orderStatusHistory"` + // Order type. + OrderType string `pulumi:"orderType"` + // Customer notification Preferences + Preferences *PreferencesResponse `pulumi:"preferences"` + // Unique identifier for configuration. + ProductDetails ProductDetailsResponse `pulumi:"productDetails"` + // Return reason. + ReturnReason string `pulumi:"returnReason"` + // Describes whether the order is returnable or not. + ReturnStatus string `pulumi:"returnStatus"` + // Reverse Package Shipping details + ReverseShippingDetails ShippingDetailsResponse `pulumi:"reverseShippingDetails"` +} + +// OrderDetailsResponseInput is an input type that accepts OrderDetailsResponseArgs and OrderDetailsResponseOutput values. +// You can construct a concrete instance of `OrderDetailsResponseInput` via: +// +// OrderDetailsResponseArgs{...} +type OrderDetailsResponseInput interface { + pulumi.Input + + ToOrderDetailsResponseOutput() OrderDetailsResponseOutput + ToOrderDetailsResponseOutputWithContext(context.Context) OrderDetailsResponseOutput +} + +// Order details +type OrderDetailsResponseArgs struct { + // Cancellation reason. + CancellationReason pulumi.StringInput `pulumi:"cancellationReason"` + // Describes whether the order is cancellable or not. + CancellationStatus pulumi.StringInput `pulumi:"cancellationStatus"` + // Current Order Status + CurrentStatus OrderStatusDetailsResponseInput `pulumi:"currentStatus"` + // Describes whether the order is deletable or not. + DeletionStatus pulumi.StringInput `pulumi:"deletionStatus"` + // Top level error for the job. + Error CloudErrorResponseInput `pulumi:"error"` + // Forward Package Shipping details + ForwardShippingDetails ShippingDetailsResponseInput `pulumi:"forwardShippingDetails"` + // parent RP details + ManagementRpDetails pulumi.Input `pulumi:"managementRpDetails"` + // Package Shipping details + NotificationEmailList pulumi.StringArrayInput `pulumi:"notificationEmailList"` + // Order history + OrderStatusHistory OrderStatusDetailsResponseArrayInput `pulumi:"orderStatusHistory"` + // Order type. + OrderType pulumi.StringInput `pulumi:"orderType"` + // Customer notification Preferences + Preferences PreferencesResponsePtrInput `pulumi:"preferences"` + // Unique identifier for configuration. + ProductDetails ProductDetailsResponseInput `pulumi:"productDetails"` + // Return reason. + ReturnReason pulumi.StringInput `pulumi:"returnReason"` + // Describes whether the order is returnable or not. + ReturnStatus pulumi.StringInput `pulumi:"returnStatus"` + // Reverse Package Shipping details + ReverseShippingDetails ShippingDetailsResponseInput `pulumi:"reverseShippingDetails"` +} + +func (OrderDetailsResponseArgs) ElementType() reflect.Type { + return reflect.TypeOf((*OrderDetailsResponse)(nil)).Elem() +} + +func (i OrderDetailsResponseArgs) ToOrderDetailsResponseOutput() OrderDetailsResponseOutput { + return i.ToOrderDetailsResponseOutputWithContext(context.Background()) +} + +func (i OrderDetailsResponseArgs) ToOrderDetailsResponseOutputWithContext(ctx context.Context) OrderDetailsResponseOutput { + return pulumi.ToOutputWithContext(ctx, i).(OrderDetailsResponseOutput) +} + +func (i OrderDetailsResponseArgs) ToOrderDetailsResponsePtrOutput() OrderDetailsResponsePtrOutput { + return i.ToOrderDetailsResponsePtrOutputWithContext(context.Background()) +} + +func (i OrderDetailsResponseArgs) ToOrderDetailsResponsePtrOutputWithContext(ctx context.Context) OrderDetailsResponsePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(OrderDetailsResponseOutput).ToOrderDetailsResponsePtrOutputWithContext(ctx) +} + +// OrderDetailsResponsePtrInput is an input type that accepts OrderDetailsResponseArgs, OrderDetailsResponsePtr and OrderDetailsResponsePtrOutput values. +// You can construct a concrete instance of `OrderDetailsResponsePtrInput` via: +// +// OrderDetailsResponseArgs{...} +// +// or: +// +// nil +type OrderDetailsResponsePtrInput interface { + pulumi.Input + + ToOrderDetailsResponsePtrOutput() OrderDetailsResponsePtrOutput + ToOrderDetailsResponsePtrOutputWithContext(context.Context) OrderDetailsResponsePtrOutput +} + +type orderDetailsResponsePtrType OrderDetailsResponseArgs + +func OrderDetailsResponsePtr(v *OrderDetailsResponseArgs) OrderDetailsResponsePtrInput { + return (*orderDetailsResponsePtrType)(v) +} + +func (*orderDetailsResponsePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**OrderDetailsResponse)(nil)).Elem() +} + +func (i *orderDetailsResponsePtrType) ToOrderDetailsResponsePtrOutput() OrderDetailsResponsePtrOutput { + return i.ToOrderDetailsResponsePtrOutputWithContext(context.Background()) +} + +func (i *orderDetailsResponsePtrType) ToOrderDetailsResponsePtrOutputWithContext(ctx context.Context) OrderDetailsResponsePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(OrderDetailsResponsePtrOutput) +} + +// Order details +type OrderDetailsResponseOutput struct{ *pulumi.OutputState } + +func (OrderDetailsResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*OrderDetailsResponse)(nil)).Elem() +} + +func (o OrderDetailsResponseOutput) ToOrderDetailsResponseOutput() OrderDetailsResponseOutput { + return o +} + +func (o OrderDetailsResponseOutput) ToOrderDetailsResponseOutputWithContext(ctx context.Context) OrderDetailsResponseOutput { + return o +} + +func (o OrderDetailsResponseOutput) ToOrderDetailsResponsePtrOutput() OrderDetailsResponsePtrOutput { + return o.ToOrderDetailsResponsePtrOutputWithContext(context.Background()) +} + +func (o OrderDetailsResponseOutput) ToOrderDetailsResponsePtrOutputWithContext(ctx context.Context) OrderDetailsResponsePtrOutput { + return o.ApplyT(func(v OrderDetailsResponse) *OrderDetailsResponse { + return &v + }).(OrderDetailsResponsePtrOutput) +} + +// Cancellation reason. +func (o OrderDetailsResponseOutput) CancellationReason() pulumi.StringOutput { + return o.ApplyT(func(v OrderDetailsResponse) string { return v.CancellationReason }).(pulumi.StringOutput) +} + +// Describes whether the order is cancellable or not. +func (o OrderDetailsResponseOutput) CancellationStatus() pulumi.StringOutput { + return o.ApplyT(func(v OrderDetailsResponse) string { return v.CancellationStatus }).(pulumi.StringOutput) +} + +// Current Order Status +func (o OrderDetailsResponseOutput) CurrentStatus() OrderStatusDetailsResponseOutput { + return o.ApplyT(func(v OrderDetailsResponse) OrderStatusDetailsResponse { return v.CurrentStatus }).(OrderStatusDetailsResponseOutput) +} + +// Describes whether the order is deletable or not. +func (o OrderDetailsResponseOutput) DeletionStatus() pulumi.StringOutput { + return o.ApplyT(func(v OrderDetailsResponse) string { return v.DeletionStatus }).(pulumi.StringOutput) +} + +// Top level error for the job. +func (o OrderDetailsResponseOutput) Error() CloudErrorResponseOutput { + return o.ApplyT(func(v OrderDetailsResponse) CloudErrorResponse { return v.Error }).(CloudErrorResponseOutput) +} + +// Forward Package Shipping details +func (o OrderDetailsResponseOutput) ForwardShippingDetails() ShippingDetailsResponseOutput { + return o.ApplyT(func(v OrderDetailsResponse) ShippingDetailsResponse { return v.ForwardShippingDetails }).(ShippingDetailsResponseOutput) +} + +// parent RP details +func (o OrderDetailsResponseOutput) ManagementRpDetails() pulumi.AnyOutput { + return o.ApplyT(func(v OrderDetailsResponse) interface{} { return v.ManagementRpDetails }).(pulumi.AnyOutput) +} + +// Package Shipping details +func (o OrderDetailsResponseOutput) NotificationEmailList() pulumi.StringArrayOutput { + return o.ApplyT(func(v OrderDetailsResponse) []string { return v.NotificationEmailList }).(pulumi.StringArrayOutput) +} + +// Order history +func (o OrderDetailsResponseOutput) OrderStatusHistory() OrderStatusDetailsResponseArrayOutput { + return o.ApplyT(func(v OrderDetailsResponse) []OrderStatusDetailsResponse { return v.OrderStatusHistory }).(OrderStatusDetailsResponseArrayOutput) +} + +// Order type. +func (o OrderDetailsResponseOutput) OrderType() pulumi.StringOutput { + return o.ApplyT(func(v OrderDetailsResponse) string { return v.OrderType }).(pulumi.StringOutput) +} + +// Customer notification Preferences +func (o OrderDetailsResponseOutput) Preferences() PreferencesResponsePtrOutput { + return o.ApplyT(func(v OrderDetailsResponse) *PreferencesResponse { return v.Preferences }).(PreferencesResponsePtrOutput) +} + +// Unique identifier for configuration. +func (o OrderDetailsResponseOutput) ProductDetails() ProductDetailsResponseOutput { + return o.ApplyT(func(v OrderDetailsResponse) ProductDetailsResponse { return v.ProductDetails }).(ProductDetailsResponseOutput) +} + +// Return reason. +func (o OrderDetailsResponseOutput) ReturnReason() pulumi.StringOutput { + return o.ApplyT(func(v OrderDetailsResponse) string { return v.ReturnReason }).(pulumi.StringOutput) +} + +// Describes whether the order is returnable or not. +func (o OrderDetailsResponseOutput) ReturnStatus() pulumi.StringOutput { + return o.ApplyT(func(v OrderDetailsResponse) string { return v.ReturnStatus }).(pulumi.StringOutput) +} + +// Reverse Package Shipping details +func (o OrderDetailsResponseOutput) ReverseShippingDetails() ShippingDetailsResponseOutput { + return o.ApplyT(func(v OrderDetailsResponse) ShippingDetailsResponse { return v.ReverseShippingDetails }).(ShippingDetailsResponseOutput) +} + +type OrderDetailsResponsePtrOutput struct{ *pulumi.OutputState } + +func (OrderDetailsResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**OrderDetailsResponse)(nil)).Elem() +} + +func (o OrderDetailsResponsePtrOutput) ToOrderDetailsResponsePtrOutput() OrderDetailsResponsePtrOutput { + return o +} + +func (o OrderDetailsResponsePtrOutput) ToOrderDetailsResponsePtrOutputWithContext(ctx context.Context) OrderDetailsResponsePtrOutput { + return o +} + +func (o OrderDetailsResponsePtrOutput) Elem() OrderDetailsResponseOutput { + return o.ApplyT(func(v *OrderDetailsResponse) OrderDetailsResponse { return *v }).(OrderDetailsResponseOutput) +} + +// Cancellation reason. +func (o OrderDetailsResponsePtrOutput) CancellationReason() pulumi.StringPtrOutput { + return o.ApplyT(func(v *OrderDetailsResponse) *string { + if v == nil { + return nil + } + return &v.CancellationReason + }).(pulumi.StringPtrOutput) +} + +// Describes whether the order is cancellable or not. +func (o OrderDetailsResponsePtrOutput) CancellationStatus() pulumi.StringPtrOutput { + return o.ApplyT(func(v *OrderDetailsResponse) *string { + if v == nil { + return nil + } + return &v.CancellationStatus + }).(pulumi.StringPtrOutput) +} + +// Current Order Status +func (o OrderDetailsResponsePtrOutput) CurrentStatus() OrderStatusDetailsResponsePtrOutput { + return o.ApplyT(func(v *OrderDetailsResponse) *OrderStatusDetailsResponse { + if v == nil { + return nil + } + return &v.CurrentStatus + }).(OrderStatusDetailsResponsePtrOutput) +} + +// Describes whether the order is deletable or not. +func (o OrderDetailsResponsePtrOutput) DeletionStatus() pulumi.StringPtrOutput { + return o.ApplyT(func(v *OrderDetailsResponse) *string { + if v == nil { + return nil + } + return &v.DeletionStatus + }).(pulumi.StringPtrOutput) +} + +// Top level error for the job. +func (o OrderDetailsResponsePtrOutput) Error() CloudErrorResponsePtrOutput { + return o.ApplyT(func(v *OrderDetailsResponse) *CloudErrorResponse { + if v == nil { + return nil + } + return &v.Error + }).(CloudErrorResponsePtrOutput) +} + +// Forward Package Shipping details +func (o OrderDetailsResponsePtrOutput) ForwardShippingDetails() ShippingDetailsResponsePtrOutput { + return o.ApplyT(func(v *OrderDetailsResponse) *ShippingDetailsResponse { + if v == nil { + return nil + } + return &v.ForwardShippingDetails + }).(ShippingDetailsResponsePtrOutput) +} + +// parent RP details +func (o OrderDetailsResponsePtrOutput) ManagementRpDetails() pulumi.AnyOutput { + return o.ApplyT(func(v *OrderDetailsResponse) interface{} { + if v == nil { + return nil + } + return v.ManagementRpDetails + }).(pulumi.AnyOutput) +} + +// Package Shipping details +func (o OrderDetailsResponsePtrOutput) NotificationEmailList() pulumi.StringArrayOutput { + return o.ApplyT(func(v *OrderDetailsResponse) []string { + if v == nil { + return nil + } + return v.NotificationEmailList + }).(pulumi.StringArrayOutput) +} + +// Order history +func (o OrderDetailsResponsePtrOutput) OrderStatusHistory() OrderStatusDetailsResponseArrayOutput { + return o.ApplyT(func(v *OrderDetailsResponse) []OrderStatusDetailsResponse { + if v == nil { + return nil + } + return v.OrderStatusHistory + }).(OrderStatusDetailsResponseArrayOutput) +} + +// Order type. +func (o OrderDetailsResponsePtrOutput) OrderType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *OrderDetailsResponse) *string { + if v == nil { + return nil + } + return &v.OrderType + }).(pulumi.StringPtrOutput) +} + +// Customer notification Preferences +func (o OrderDetailsResponsePtrOutput) Preferences() PreferencesResponsePtrOutput { + return o.ApplyT(func(v *OrderDetailsResponse) *PreferencesResponse { + if v == nil { + return nil + } + return v.Preferences + }).(PreferencesResponsePtrOutput) +} + +// Unique identifier for configuration. +func (o OrderDetailsResponsePtrOutput) ProductDetails() ProductDetailsResponsePtrOutput { + return o.ApplyT(func(v *OrderDetailsResponse) *ProductDetailsResponse { + if v == nil { + return nil + } + return &v.ProductDetails + }).(ProductDetailsResponsePtrOutput) +} + +// Return reason. +func (o OrderDetailsResponsePtrOutput) ReturnReason() pulumi.StringPtrOutput { + return o.ApplyT(func(v *OrderDetailsResponse) *string { + if v == nil { + return nil + } + return &v.ReturnReason + }).(pulumi.StringPtrOutput) +} + +// Describes whether the order is returnable or not. +func (o OrderDetailsResponsePtrOutput) ReturnStatus() pulumi.StringPtrOutput { + return o.ApplyT(func(v *OrderDetailsResponse) *string { + if v == nil { + return nil + } + return &v.ReturnStatus + }).(pulumi.StringPtrOutput) +} + +// Reverse Package Shipping details +func (o OrderDetailsResponsePtrOutput) ReverseShippingDetails() ShippingDetailsResponsePtrOutput { + return o.ApplyT(func(v *OrderDetailsResponse) *ShippingDetailsResponse { + if v == nil { + return nil + } + return &v.ReverseShippingDetails + }).(ShippingDetailsResponsePtrOutput) +} + +// Order status CurrentStatus +type OrderStatusDetailsResponse struct { + // last time order was updated + LastUpdatedTime *string `pulumi:"lastUpdatedTime"` + // Order status + OrderStatus string `pulumi:"orderStatus"` +} + +// OrderStatusDetailsResponseInput is an input type that accepts OrderStatusDetailsResponseArgs and OrderStatusDetailsResponseOutput values. +// You can construct a concrete instance of `OrderStatusDetailsResponseInput` via: +// +// OrderStatusDetailsResponseArgs{...} +type OrderStatusDetailsResponseInput interface { + pulumi.Input + + ToOrderStatusDetailsResponseOutput() OrderStatusDetailsResponseOutput + ToOrderStatusDetailsResponseOutputWithContext(context.Context) OrderStatusDetailsResponseOutput +} + +// Order status CurrentStatus +type OrderStatusDetailsResponseArgs struct { + // last time order was updated + LastUpdatedTime pulumi.StringPtrInput `pulumi:"lastUpdatedTime"` + // Order status + OrderStatus pulumi.StringInput `pulumi:"orderStatus"` +} + +func (OrderStatusDetailsResponseArgs) ElementType() reflect.Type { + return reflect.TypeOf((*OrderStatusDetailsResponse)(nil)).Elem() +} + +func (i OrderStatusDetailsResponseArgs) ToOrderStatusDetailsResponseOutput() OrderStatusDetailsResponseOutput { + return i.ToOrderStatusDetailsResponseOutputWithContext(context.Background()) +} + +func (i OrderStatusDetailsResponseArgs) ToOrderStatusDetailsResponseOutputWithContext(ctx context.Context) OrderStatusDetailsResponseOutput { + return pulumi.ToOutputWithContext(ctx, i).(OrderStatusDetailsResponseOutput) +} + +func (i OrderStatusDetailsResponseArgs) ToOrderStatusDetailsResponsePtrOutput() OrderStatusDetailsResponsePtrOutput { + return i.ToOrderStatusDetailsResponsePtrOutputWithContext(context.Background()) +} + +func (i OrderStatusDetailsResponseArgs) ToOrderStatusDetailsResponsePtrOutputWithContext(ctx context.Context) OrderStatusDetailsResponsePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(OrderStatusDetailsResponseOutput).ToOrderStatusDetailsResponsePtrOutputWithContext(ctx) +} + +// OrderStatusDetailsResponsePtrInput is an input type that accepts OrderStatusDetailsResponseArgs, OrderStatusDetailsResponsePtr and OrderStatusDetailsResponsePtrOutput values. +// You can construct a concrete instance of `OrderStatusDetailsResponsePtrInput` via: +// +// OrderStatusDetailsResponseArgs{...} +// +// or: +// +// nil +type OrderStatusDetailsResponsePtrInput interface { + pulumi.Input + + ToOrderStatusDetailsResponsePtrOutput() OrderStatusDetailsResponsePtrOutput + ToOrderStatusDetailsResponsePtrOutputWithContext(context.Context) OrderStatusDetailsResponsePtrOutput +} + +type orderStatusDetailsResponsePtrType OrderStatusDetailsResponseArgs + +func OrderStatusDetailsResponsePtr(v *OrderStatusDetailsResponseArgs) OrderStatusDetailsResponsePtrInput { + return (*orderStatusDetailsResponsePtrType)(v) +} + +func (*orderStatusDetailsResponsePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**OrderStatusDetailsResponse)(nil)).Elem() +} + +func (i *orderStatusDetailsResponsePtrType) ToOrderStatusDetailsResponsePtrOutput() OrderStatusDetailsResponsePtrOutput { + return i.ToOrderStatusDetailsResponsePtrOutputWithContext(context.Background()) +} + +func (i *orderStatusDetailsResponsePtrType) ToOrderStatusDetailsResponsePtrOutputWithContext(ctx context.Context) OrderStatusDetailsResponsePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(OrderStatusDetailsResponsePtrOutput) +} + +// OrderStatusDetailsResponseArrayInput is an input type that accepts OrderStatusDetailsResponseArray and OrderStatusDetailsResponseArrayOutput values. +// You can construct a concrete instance of `OrderStatusDetailsResponseArrayInput` via: +// +// OrderStatusDetailsResponseArray{ OrderStatusDetailsResponseArgs{...} } +type OrderStatusDetailsResponseArrayInput interface { + pulumi.Input + + ToOrderStatusDetailsResponseArrayOutput() OrderStatusDetailsResponseArrayOutput + ToOrderStatusDetailsResponseArrayOutputWithContext(context.Context) OrderStatusDetailsResponseArrayOutput +} + +type OrderStatusDetailsResponseArray []OrderStatusDetailsResponseInput + +func (OrderStatusDetailsResponseArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]OrderStatusDetailsResponse)(nil)).Elem() +} + +func (i OrderStatusDetailsResponseArray) ToOrderStatusDetailsResponseArrayOutput() OrderStatusDetailsResponseArrayOutput { + return i.ToOrderStatusDetailsResponseArrayOutputWithContext(context.Background()) +} + +func (i OrderStatusDetailsResponseArray) ToOrderStatusDetailsResponseArrayOutputWithContext(ctx context.Context) OrderStatusDetailsResponseArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(OrderStatusDetailsResponseArrayOutput) +} + +// Order status CurrentStatus +type OrderStatusDetailsResponseOutput struct{ *pulumi.OutputState } + +func (OrderStatusDetailsResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*OrderStatusDetailsResponse)(nil)).Elem() +} + +func (o OrderStatusDetailsResponseOutput) ToOrderStatusDetailsResponseOutput() OrderStatusDetailsResponseOutput { + return o +} + +func (o OrderStatusDetailsResponseOutput) ToOrderStatusDetailsResponseOutputWithContext(ctx context.Context) OrderStatusDetailsResponseOutput { + return o +} + +func (o OrderStatusDetailsResponseOutput) ToOrderStatusDetailsResponsePtrOutput() OrderStatusDetailsResponsePtrOutput { + return o.ToOrderStatusDetailsResponsePtrOutputWithContext(context.Background()) +} + +func (o OrderStatusDetailsResponseOutput) ToOrderStatusDetailsResponsePtrOutputWithContext(ctx context.Context) OrderStatusDetailsResponsePtrOutput { + return o.ApplyT(func(v OrderStatusDetailsResponse) *OrderStatusDetailsResponse { + return &v + }).(OrderStatusDetailsResponsePtrOutput) +} + +// last time order was updated +func (o OrderStatusDetailsResponseOutput) LastUpdatedTime() pulumi.StringPtrOutput { + return o.ApplyT(func(v OrderStatusDetailsResponse) *string { return v.LastUpdatedTime }).(pulumi.StringPtrOutput) +} + +// Order status +func (o OrderStatusDetailsResponseOutput) OrderStatus() pulumi.StringOutput { + return o.ApplyT(func(v OrderStatusDetailsResponse) string { return v.OrderStatus }).(pulumi.StringOutput) +} + +type OrderStatusDetailsResponsePtrOutput struct{ *pulumi.OutputState } + +func (OrderStatusDetailsResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**OrderStatusDetailsResponse)(nil)).Elem() +} + +func (o OrderStatusDetailsResponsePtrOutput) ToOrderStatusDetailsResponsePtrOutput() OrderStatusDetailsResponsePtrOutput { + return o +} + +func (o OrderStatusDetailsResponsePtrOutput) ToOrderStatusDetailsResponsePtrOutputWithContext(ctx context.Context) OrderStatusDetailsResponsePtrOutput { + return o +} + +func (o OrderStatusDetailsResponsePtrOutput) Elem() OrderStatusDetailsResponseOutput { + return o.ApplyT(func(v *OrderStatusDetailsResponse) OrderStatusDetailsResponse { return *v }).(OrderStatusDetailsResponseOutput) +} + +// last time order was updated +func (o OrderStatusDetailsResponsePtrOutput) LastUpdatedTime() pulumi.StringPtrOutput { + return o.ApplyT(func(v *OrderStatusDetailsResponse) *string { + if v == nil { + return nil + } + return v.LastUpdatedTime + }).(pulumi.StringPtrOutput) +} + +// Order status +func (o OrderStatusDetailsResponsePtrOutput) OrderStatus() pulumi.StringPtrOutput { + return o.ApplyT(func(v *OrderStatusDetailsResponse) *string { + if v == nil { + return nil + } + return &v.OrderStatus + }).(pulumi.StringPtrOutput) +} + +type OrderStatusDetailsResponseArrayOutput struct{ *pulumi.OutputState } + +func (OrderStatusDetailsResponseArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]OrderStatusDetailsResponse)(nil)).Elem() +} + +func (o OrderStatusDetailsResponseArrayOutput) ToOrderStatusDetailsResponseArrayOutput() OrderStatusDetailsResponseArrayOutput { + return o +} + +func (o OrderStatusDetailsResponseArrayOutput) ToOrderStatusDetailsResponseArrayOutputWithContext(ctx context.Context) OrderStatusDetailsResponseArrayOutput { + return o +} + +func (o OrderStatusDetailsResponseArrayOutput) Index(i pulumi.IntInput) OrderStatusDetailsResponseOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) OrderStatusDetailsResponse { + return vs[0].([]OrderStatusDetailsResponse)[vs[1].(int)] + }).(OrderStatusDetailsResponseOutput) +} + +// Preferences related to the order +type Preferences struct { + // Notification preferences. + NotificationPreferences []NotificationPreference `pulumi:"notificationPreferences"` + // Preferences related to the shipment logistics of the order. + TransportPreferences *TransportPreferences `pulumi:"transportPreferences"` +} + +// PreferencesInput is an input type that accepts PreferencesArgs and PreferencesOutput values. +// You can construct a concrete instance of `PreferencesInput` via: +// +// PreferencesArgs{...} +type PreferencesInput interface { + pulumi.Input + + ToPreferencesOutput() PreferencesOutput + ToPreferencesOutputWithContext(context.Context) PreferencesOutput +} + +// Preferences related to the order +type PreferencesArgs struct { + // Notification preferences. + NotificationPreferences NotificationPreferenceArrayInput `pulumi:"notificationPreferences"` + // Preferences related to the shipment logistics of the order. + TransportPreferences TransportPreferencesPtrInput `pulumi:"transportPreferences"` +} + +func (PreferencesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*Preferences)(nil)).Elem() +} + +func (i PreferencesArgs) ToPreferencesOutput() PreferencesOutput { + return i.ToPreferencesOutputWithContext(context.Background()) +} + +func (i PreferencesArgs) ToPreferencesOutputWithContext(ctx context.Context) PreferencesOutput { + return pulumi.ToOutputWithContext(ctx, i).(PreferencesOutput) +} + +func (i PreferencesArgs) ToPreferencesPtrOutput() PreferencesPtrOutput { + return i.ToPreferencesPtrOutputWithContext(context.Background()) +} + +func (i PreferencesArgs) ToPreferencesPtrOutputWithContext(ctx context.Context) PreferencesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PreferencesOutput).ToPreferencesPtrOutputWithContext(ctx) +} + +// PreferencesPtrInput is an input type that accepts PreferencesArgs, PreferencesPtr and PreferencesPtrOutput values. +// You can construct a concrete instance of `PreferencesPtrInput` via: +// +// PreferencesArgs{...} +// +// or: +// +// nil +type PreferencesPtrInput interface { + pulumi.Input + + ToPreferencesPtrOutput() PreferencesPtrOutput + ToPreferencesPtrOutputWithContext(context.Context) PreferencesPtrOutput +} + +type preferencesPtrType PreferencesArgs + +func PreferencesPtr(v *PreferencesArgs) PreferencesPtrInput { + return (*preferencesPtrType)(v) +} + +func (*preferencesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**Preferences)(nil)).Elem() +} + +func (i *preferencesPtrType) ToPreferencesPtrOutput() PreferencesPtrOutput { + return i.ToPreferencesPtrOutputWithContext(context.Background()) +} + +func (i *preferencesPtrType) ToPreferencesPtrOutputWithContext(ctx context.Context) PreferencesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PreferencesPtrOutput) +} + +// Preferences related to the order +type PreferencesOutput struct{ *pulumi.OutputState } + +func (PreferencesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*Preferences)(nil)).Elem() +} + +func (o PreferencesOutput) ToPreferencesOutput() PreferencesOutput { + return o +} + +func (o PreferencesOutput) ToPreferencesOutputWithContext(ctx context.Context) PreferencesOutput { + return o +} + +func (o PreferencesOutput) ToPreferencesPtrOutput() PreferencesPtrOutput { + return o.ToPreferencesPtrOutputWithContext(context.Background()) +} + +func (o PreferencesOutput) ToPreferencesPtrOutputWithContext(ctx context.Context) PreferencesPtrOutput { + return o.ApplyT(func(v Preferences) *Preferences { + return &v + }).(PreferencesPtrOutput) +} + +// Notification preferences. +func (o PreferencesOutput) NotificationPreferences() NotificationPreferenceArrayOutput { + return o.ApplyT(func(v Preferences) []NotificationPreference { return v.NotificationPreferences }).(NotificationPreferenceArrayOutput) +} + +// Preferences related to the shipment logistics of the order. +func (o PreferencesOutput) TransportPreferences() TransportPreferencesPtrOutput { + return o.ApplyT(func(v Preferences) *TransportPreferences { return v.TransportPreferences }).(TransportPreferencesPtrOutput) +} + +type PreferencesPtrOutput struct{ *pulumi.OutputState } + +func (PreferencesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**Preferences)(nil)).Elem() +} + +func (o PreferencesPtrOutput) ToPreferencesPtrOutput() PreferencesPtrOutput { + return o +} + +func (o PreferencesPtrOutput) ToPreferencesPtrOutputWithContext(ctx context.Context) PreferencesPtrOutput { + return o +} + +func (o PreferencesPtrOutput) Elem() PreferencesOutput { + return o.ApplyT(func(v *Preferences) Preferences { return *v }).(PreferencesOutput) +} + +// Notification preferences. +func (o PreferencesPtrOutput) NotificationPreferences() NotificationPreferenceArrayOutput { + return o.ApplyT(func(v *Preferences) []NotificationPreference { + if v == nil { + return nil + } + return v.NotificationPreferences + }).(NotificationPreferenceArrayOutput) +} + +// Preferences related to the shipment logistics of the order. +func (o PreferencesPtrOutput) TransportPreferences() TransportPreferencesPtrOutput { + return o.ApplyT(func(v *Preferences) *TransportPreferences { + if v == nil { + return nil + } + return v.TransportPreferences + }).(TransportPreferencesPtrOutput) +} + +// Preferences related to the order +type PreferencesResponse struct { + // Notification preferences. + NotificationPreferences []NotificationPreferenceResponse `pulumi:"notificationPreferences"` + // Preferences related to the shipment logistics of the order. + TransportPreferences *TransportPreferencesResponse `pulumi:"transportPreferences"` +} + +// PreferencesResponseInput is an input type that accepts PreferencesResponseArgs and PreferencesResponseOutput values. +// You can construct a concrete instance of `PreferencesResponseInput` via: +// +// PreferencesResponseArgs{...} +type PreferencesResponseInput interface { + pulumi.Input + + ToPreferencesResponseOutput() PreferencesResponseOutput + ToPreferencesResponseOutputWithContext(context.Context) PreferencesResponseOutput +} + +// Preferences related to the order +type PreferencesResponseArgs struct { + // Notification preferences. + NotificationPreferences NotificationPreferenceResponseArrayInput `pulumi:"notificationPreferences"` + // Preferences related to the shipment logistics of the order. + TransportPreferences TransportPreferencesResponsePtrInput `pulumi:"transportPreferences"` +} + +func (PreferencesResponseArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PreferencesResponse)(nil)).Elem() +} + +func (i PreferencesResponseArgs) ToPreferencesResponseOutput() PreferencesResponseOutput { + return i.ToPreferencesResponseOutputWithContext(context.Background()) +} + +func (i PreferencesResponseArgs) ToPreferencesResponseOutputWithContext(ctx context.Context) PreferencesResponseOutput { + return pulumi.ToOutputWithContext(ctx, i).(PreferencesResponseOutput) +} + +func (i PreferencesResponseArgs) ToPreferencesResponsePtrOutput() PreferencesResponsePtrOutput { + return i.ToPreferencesResponsePtrOutputWithContext(context.Background()) +} + +func (i PreferencesResponseArgs) ToPreferencesResponsePtrOutputWithContext(ctx context.Context) PreferencesResponsePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PreferencesResponseOutput).ToPreferencesResponsePtrOutputWithContext(ctx) +} + +// PreferencesResponsePtrInput is an input type that accepts PreferencesResponseArgs, PreferencesResponsePtr and PreferencesResponsePtrOutput values. +// You can construct a concrete instance of `PreferencesResponsePtrInput` via: +// +// PreferencesResponseArgs{...} +// +// or: +// +// nil +type PreferencesResponsePtrInput interface { + pulumi.Input + + ToPreferencesResponsePtrOutput() PreferencesResponsePtrOutput + ToPreferencesResponsePtrOutputWithContext(context.Context) PreferencesResponsePtrOutput +} + +type preferencesResponsePtrType PreferencesResponseArgs + +func PreferencesResponsePtr(v *PreferencesResponseArgs) PreferencesResponsePtrInput { + return (*preferencesResponsePtrType)(v) +} + +func (*preferencesResponsePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PreferencesResponse)(nil)).Elem() +} + +func (i *preferencesResponsePtrType) ToPreferencesResponsePtrOutput() PreferencesResponsePtrOutput { + return i.ToPreferencesResponsePtrOutputWithContext(context.Background()) +} + +func (i *preferencesResponsePtrType) ToPreferencesResponsePtrOutputWithContext(ctx context.Context) PreferencesResponsePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PreferencesResponsePtrOutput) +} + +// Preferences related to the order +type PreferencesResponseOutput struct{ *pulumi.OutputState } + +func (PreferencesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PreferencesResponse)(nil)).Elem() +} + +func (o PreferencesResponseOutput) ToPreferencesResponseOutput() PreferencesResponseOutput { + return o +} + +func (o PreferencesResponseOutput) ToPreferencesResponseOutputWithContext(ctx context.Context) PreferencesResponseOutput { + return o +} + +func (o PreferencesResponseOutput) ToPreferencesResponsePtrOutput() PreferencesResponsePtrOutput { + return o.ToPreferencesResponsePtrOutputWithContext(context.Background()) +} + +func (o PreferencesResponseOutput) ToPreferencesResponsePtrOutputWithContext(ctx context.Context) PreferencesResponsePtrOutput { + return o.ApplyT(func(v PreferencesResponse) *PreferencesResponse { + return &v + }).(PreferencesResponsePtrOutput) +} + +// Notification preferences. +func (o PreferencesResponseOutput) NotificationPreferences() NotificationPreferenceResponseArrayOutput { + return o.ApplyT(func(v PreferencesResponse) []NotificationPreferenceResponse { return v.NotificationPreferences }).(NotificationPreferenceResponseArrayOutput) +} + +// Preferences related to the shipment logistics of the order. +func (o PreferencesResponseOutput) TransportPreferences() TransportPreferencesResponsePtrOutput { + return o.ApplyT(func(v PreferencesResponse) *TransportPreferencesResponse { return v.TransportPreferences }).(TransportPreferencesResponsePtrOutput) +} + +type PreferencesResponsePtrOutput struct{ *pulumi.OutputState } + +func (PreferencesResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PreferencesResponse)(nil)).Elem() +} + +func (o PreferencesResponsePtrOutput) ToPreferencesResponsePtrOutput() PreferencesResponsePtrOutput { + return o +} + +func (o PreferencesResponsePtrOutput) ToPreferencesResponsePtrOutputWithContext(ctx context.Context) PreferencesResponsePtrOutput { + return o +} + +func (o PreferencesResponsePtrOutput) Elem() PreferencesResponseOutput { + return o.ApplyT(func(v *PreferencesResponse) PreferencesResponse { return *v }).(PreferencesResponseOutput) +} + +// Notification preferences. +func (o PreferencesResponsePtrOutput) NotificationPreferences() NotificationPreferenceResponseArrayOutput { + return o.ApplyT(func(v *PreferencesResponse) []NotificationPreferenceResponse { + if v == nil { + return nil + } + return v.NotificationPreferences + }).(NotificationPreferenceResponseArrayOutput) +} + +// Preferences related to the shipment logistics of the order. +func (o PreferencesResponsePtrOutput) TransportPreferences() TransportPreferencesResponsePtrOutput { + return o.ApplyT(func(v *PreferencesResponse) *TransportPreferencesResponse { + if v == nil { + return nil + } + return v.TransportPreferences + }).(TransportPreferencesResponsePtrOutput) +} + +// Represents product details +type ProductDetails struct { + // Quantity of the product + Count *int `pulumi:"count"` + // Hierarchy of the product which uniquely identifies the product + HierarchyInformation HierarchyInformation `pulumi:"hierarchyInformation"` +} + +// ProductDetailsInput is an input type that accepts ProductDetailsArgs and ProductDetailsOutput values. +// You can construct a concrete instance of `ProductDetailsInput` via: +// +// ProductDetailsArgs{...} +type ProductDetailsInput interface { + pulumi.Input + + ToProductDetailsOutput() ProductDetailsOutput + ToProductDetailsOutputWithContext(context.Context) ProductDetailsOutput +} + +// Represents product details +type ProductDetailsArgs struct { + // Quantity of the product + Count pulumi.IntPtrInput `pulumi:"count"` + // Hierarchy of the product which uniquely identifies the product + HierarchyInformation HierarchyInformationInput `pulumi:"hierarchyInformation"` +} + +func (ProductDetailsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ProductDetails)(nil)).Elem() +} + +func (i ProductDetailsArgs) ToProductDetailsOutput() ProductDetailsOutput { + return i.ToProductDetailsOutputWithContext(context.Background()) +} + +func (i ProductDetailsArgs) ToProductDetailsOutputWithContext(ctx context.Context) ProductDetailsOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProductDetailsOutput) +} + +func (i ProductDetailsArgs) ToProductDetailsPtrOutput() ProductDetailsPtrOutput { + return i.ToProductDetailsPtrOutputWithContext(context.Background()) +} + +func (i ProductDetailsArgs) ToProductDetailsPtrOutputWithContext(ctx context.Context) ProductDetailsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProductDetailsOutput).ToProductDetailsPtrOutputWithContext(ctx) +} + +// ProductDetailsPtrInput is an input type that accepts ProductDetailsArgs, ProductDetailsPtr and ProductDetailsPtrOutput values. +// You can construct a concrete instance of `ProductDetailsPtrInput` via: +// +// ProductDetailsArgs{...} +// +// or: +// +// nil +type ProductDetailsPtrInput interface { + pulumi.Input + + ToProductDetailsPtrOutput() ProductDetailsPtrOutput + ToProductDetailsPtrOutputWithContext(context.Context) ProductDetailsPtrOutput +} + +type productDetailsPtrType ProductDetailsArgs + +func ProductDetailsPtr(v *ProductDetailsArgs) ProductDetailsPtrInput { + return (*productDetailsPtrType)(v) +} + +func (*productDetailsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ProductDetails)(nil)).Elem() +} + +func (i *productDetailsPtrType) ToProductDetailsPtrOutput() ProductDetailsPtrOutput { + return i.ToProductDetailsPtrOutputWithContext(context.Background()) +} + +func (i *productDetailsPtrType) ToProductDetailsPtrOutputWithContext(ctx context.Context) ProductDetailsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProductDetailsPtrOutput) +} + +// Represents product details +type ProductDetailsOutput struct{ *pulumi.OutputState } + +func (ProductDetailsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ProductDetails)(nil)).Elem() +} + +func (o ProductDetailsOutput) ToProductDetailsOutput() ProductDetailsOutput { + return o +} + +func (o ProductDetailsOutput) ToProductDetailsOutputWithContext(ctx context.Context) ProductDetailsOutput { + return o +} + +func (o ProductDetailsOutput) ToProductDetailsPtrOutput() ProductDetailsPtrOutput { + return o.ToProductDetailsPtrOutputWithContext(context.Background()) +} + +func (o ProductDetailsOutput) ToProductDetailsPtrOutputWithContext(ctx context.Context) ProductDetailsPtrOutput { + return o.ApplyT(func(v ProductDetails) *ProductDetails { + return &v + }).(ProductDetailsPtrOutput) +} + +// Quantity of the product +func (o ProductDetailsOutput) Count() pulumi.IntPtrOutput { + return o.ApplyT(func(v ProductDetails) *int { return v.Count }).(pulumi.IntPtrOutput) +} + +// Hierarchy of the product which uniquely identifies the product +func (o ProductDetailsOutput) HierarchyInformation() HierarchyInformationOutput { + return o.ApplyT(func(v ProductDetails) HierarchyInformation { return v.HierarchyInformation }).(HierarchyInformationOutput) +} + +type ProductDetailsPtrOutput struct{ *pulumi.OutputState } + +func (ProductDetailsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ProductDetails)(nil)).Elem() +} + +func (o ProductDetailsPtrOutput) ToProductDetailsPtrOutput() ProductDetailsPtrOutput { + return o +} + +func (o ProductDetailsPtrOutput) ToProductDetailsPtrOutputWithContext(ctx context.Context) ProductDetailsPtrOutput { + return o +} + +func (o ProductDetailsPtrOutput) Elem() ProductDetailsOutput { + return o.ApplyT(func(v *ProductDetails) ProductDetails { return *v }).(ProductDetailsOutput) +} + +// Quantity of the product +func (o ProductDetailsPtrOutput) Count() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ProductDetails) *int { + if v == nil { + return nil + } + return v.Count + }).(pulumi.IntPtrOutput) +} + +// Hierarchy of the product which uniquely identifies the product +func (o ProductDetailsPtrOutput) HierarchyInformation() HierarchyInformationPtrOutput { + return o.ApplyT(func(v *ProductDetails) *HierarchyInformation { + if v == nil { + return nil + } + return &v.HierarchyInformation + }).(HierarchyInformationPtrOutput) +} + +// Represents product details +type ProductDetailsResponse struct { + // Quantity of the product + Count *int `pulumi:"count"` + // list of device details + DeviceDetails []DeviceDetailsResponse `pulumi:"deviceDetails"` + // Hierarchy of the product which uniquely identifies the product + HierarchyInformation HierarchyInformationResponse `pulumi:"hierarchyInformation"` +} + +// ProductDetailsResponseInput is an input type that accepts ProductDetailsResponseArgs and ProductDetailsResponseOutput values. +// You can construct a concrete instance of `ProductDetailsResponseInput` via: +// +// ProductDetailsResponseArgs{...} +type ProductDetailsResponseInput interface { + pulumi.Input + + ToProductDetailsResponseOutput() ProductDetailsResponseOutput + ToProductDetailsResponseOutputWithContext(context.Context) ProductDetailsResponseOutput +} + +// Represents product details +type ProductDetailsResponseArgs struct { + // Quantity of the product + Count pulumi.IntPtrInput `pulumi:"count"` + // list of device details + DeviceDetails DeviceDetailsResponseArrayInput `pulumi:"deviceDetails"` + // Hierarchy of the product which uniquely identifies the product + HierarchyInformation HierarchyInformationResponseInput `pulumi:"hierarchyInformation"` +} + +func (ProductDetailsResponseArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ProductDetailsResponse)(nil)).Elem() +} + +func (i ProductDetailsResponseArgs) ToProductDetailsResponseOutput() ProductDetailsResponseOutput { + return i.ToProductDetailsResponseOutputWithContext(context.Background()) +} + +func (i ProductDetailsResponseArgs) ToProductDetailsResponseOutputWithContext(ctx context.Context) ProductDetailsResponseOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProductDetailsResponseOutput) +} + +func (i ProductDetailsResponseArgs) ToProductDetailsResponsePtrOutput() ProductDetailsResponsePtrOutput { + return i.ToProductDetailsResponsePtrOutputWithContext(context.Background()) +} + +func (i ProductDetailsResponseArgs) ToProductDetailsResponsePtrOutputWithContext(ctx context.Context) ProductDetailsResponsePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProductDetailsResponseOutput).ToProductDetailsResponsePtrOutputWithContext(ctx) +} + +// ProductDetailsResponsePtrInput is an input type that accepts ProductDetailsResponseArgs, ProductDetailsResponsePtr and ProductDetailsResponsePtrOutput values. +// You can construct a concrete instance of `ProductDetailsResponsePtrInput` via: +// +// ProductDetailsResponseArgs{...} +// +// or: +// +// nil +type ProductDetailsResponsePtrInput interface { + pulumi.Input + + ToProductDetailsResponsePtrOutput() ProductDetailsResponsePtrOutput + ToProductDetailsResponsePtrOutputWithContext(context.Context) ProductDetailsResponsePtrOutput +} + +type productDetailsResponsePtrType ProductDetailsResponseArgs + +func ProductDetailsResponsePtr(v *ProductDetailsResponseArgs) ProductDetailsResponsePtrInput { + return (*productDetailsResponsePtrType)(v) +} + +func (*productDetailsResponsePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ProductDetailsResponse)(nil)).Elem() +} + +func (i *productDetailsResponsePtrType) ToProductDetailsResponsePtrOutput() ProductDetailsResponsePtrOutput { + return i.ToProductDetailsResponsePtrOutputWithContext(context.Background()) +} + +func (i *productDetailsResponsePtrType) ToProductDetailsResponsePtrOutputWithContext(ctx context.Context) ProductDetailsResponsePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProductDetailsResponsePtrOutput) +} + +// Represents product details +type ProductDetailsResponseOutput struct{ *pulumi.OutputState } + +func (ProductDetailsResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ProductDetailsResponse)(nil)).Elem() +} + +func (o ProductDetailsResponseOutput) ToProductDetailsResponseOutput() ProductDetailsResponseOutput { + return o +} + +func (o ProductDetailsResponseOutput) ToProductDetailsResponseOutputWithContext(ctx context.Context) ProductDetailsResponseOutput { + return o +} + +func (o ProductDetailsResponseOutput) ToProductDetailsResponsePtrOutput() ProductDetailsResponsePtrOutput { + return o.ToProductDetailsResponsePtrOutputWithContext(context.Background()) +} + +func (o ProductDetailsResponseOutput) ToProductDetailsResponsePtrOutputWithContext(ctx context.Context) ProductDetailsResponsePtrOutput { + return o.ApplyT(func(v ProductDetailsResponse) *ProductDetailsResponse { + return &v + }).(ProductDetailsResponsePtrOutput) +} + +// Quantity of the product +func (o ProductDetailsResponseOutput) Count() pulumi.IntPtrOutput { + return o.ApplyT(func(v ProductDetailsResponse) *int { return v.Count }).(pulumi.IntPtrOutput) +} + +// list of device details +func (o ProductDetailsResponseOutput) DeviceDetails() DeviceDetailsResponseArrayOutput { + return o.ApplyT(func(v ProductDetailsResponse) []DeviceDetailsResponse { return v.DeviceDetails }).(DeviceDetailsResponseArrayOutput) +} + +// Hierarchy of the product which uniquely identifies the product +func (o ProductDetailsResponseOutput) HierarchyInformation() HierarchyInformationResponseOutput { + return o.ApplyT(func(v ProductDetailsResponse) HierarchyInformationResponse { return v.HierarchyInformation }).(HierarchyInformationResponseOutput) +} + +type ProductDetailsResponsePtrOutput struct{ *pulumi.OutputState } + +func (ProductDetailsResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ProductDetailsResponse)(nil)).Elem() +} + +func (o ProductDetailsResponsePtrOutput) ToProductDetailsResponsePtrOutput() ProductDetailsResponsePtrOutput { + return o +} + +func (o ProductDetailsResponsePtrOutput) ToProductDetailsResponsePtrOutputWithContext(ctx context.Context) ProductDetailsResponsePtrOutput { + return o +} + +func (o ProductDetailsResponsePtrOutput) Elem() ProductDetailsResponseOutput { + return o.ApplyT(func(v *ProductDetailsResponse) ProductDetailsResponse { return *v }).(ProductDetailsResponseOutput) +} + +// Quantity of the product +func (o ProductDetailsResponsePtrOutput) Count() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ProductDetailsResponse) *int { + if v == nil { + return nil + } + return v.Count + }).(pulumi.IntPtrOutput) +} + +// list of device details +func (o ProductDetailsResponsePtrOutput) DeviceDetails() DeviceDetailsResponseArrayOutput { + return o.ApplyT(func(v *ProductDetailsResponse) []DeviceDetailsResponse { + if v == nil { + return nil + } + return v.DeviceDetails + }).(DeviceDetailsResponseArrayOutput) +} + +// Hierarchy of the product which uniquely identifies the product +func (o ProductDetailsResponsePtrOutput) HierarchyInformation() HierarchyInformationResponsePtrOutput { + return o.ApplyT(func(v *ProductDetailsResponse) *HierarchyInformationResponse { + if v == nil { + return nil + } + return &v.HierarchyInformation + }).(HierarchyInformationResponsePtrOutput) +} + +// Product Family +type ProductFamilyResponse struct { + // Availability information of the product system. + AvailabilityInformation AvailabilityInformationResponse `pulumi:"availabilityInformation"` + // Cost information for the product system. + CostInformation CostInformationResponse `pulumi:"costInformation"` + // Description related to the product system. + Description DescriptionResponse `pulumi:"description"` + // Display Name for the product system. + DisplayName string `pulumi:"displayName"` + // list of filters supported for a product + FilterableProperties []FilterablePropertyResponse `pulumi:"filterableProperties"` + // Hierarchy information of the product system. + HierarchyInformation HierarchyInformationResponse `pulumi:"hierarchyInformation"` + // Image information for the product system. + ImageInformation []ImageInformationResponse `pulumi:"imageInformation"` + // List of product lines supported in the product family + ProductLines []ProductLineResponse `pulumi:"productLines"` +} + +// ProductFamilyResponseInput is an input type that accepts ProductFamilyResponseArgs and ProductFamilyResponseOutput values. +// You can construct a concrete instance of `ProductFamilyResponseInput` via: +// +// ProductFamilyResponseArgs{...} +type ProductFamilyResponseInput interface { + pulumi.Input + + ToProductFamilyResponseOutput() ProductFamilyResponseOutput + ToProductFamilyResponseOutputWithContext(context.Context) ProductFamilyResponseOutput +} + +// Product Family +type ProductFamilyResponseArgs struct { + // Availability information of the product system. + AvailabilityInformation AvailabilityInformationResponseInput `pulumi:"availabilityInformation"` + // Cost information for the product system. + CostInformation CostInformationResponseInput `pulumi:"costInformation"` + // Description related to the product system. + Description DescriptionResponseInput `pulumi:"description"` + // Display Name for the product system. + DisplayName pulumi.StringInput `pulumi:"displayName"` + // list of filters supported for a product + FilterableProperties FilterablePropertyResponseArrayInput `pulumi:"filterableProperties"` + // Hierarchy information of the product system. + HierarchyInformation HierarchyInformationResponseInput `pulumi:"hierarchyInformation"` + // Image information for the product system. + ImageInformation ImageInformationResponseArrayInput `pulumi:"imageInformation"` + // List of product lines supported in the product family + ProductLines ProductLineResponseArrayInput `pulumi:"productLines"` +} + +func (ProductFamilyResponseArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ProductFamilyResponse)(nil)).Elem() +} + +func (i ProductFamilyResponseArgs) ToProductFamilyResponseOutput() ProductFamilyResponseOutput { + return i.ToProductFamilyResponseOutputWithContext(context.Background()) +} + +func (i ProductFamilyResponseArgs) ToProductFamilyResponseOutputWithContext(ctx context.Context) ProductFamilyResponseOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProductFamilyResponseOutput) +} + +// ProductFamilyResponseArrayInput is an input type that accepts ProductFamilyResponseArray and ProductFamilyResponseArrayOutput values. +// You can construct a concrete instance of `ProductFamilyResponseArrayInput` via: +// +// ProductFamilyResponseArray{ ProductFamilyResponseArgs{...} } +type ProductFamilyResponseArrayInput interface { + pulumi.Input + + ToProductFamilyResponseArrayOutput() ProductFamilyResponseArrayOutput + ToProductFamilyResponseArrayOutputWithContext(context.Context) ProductFamilyResponseArrayOutput +} + +type ProductFamilyResponseArray []ProductFamilyResponseInput + +func (ProductFamilyResponseArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ProductFamilyResponse)(nil)).Elem() +} + +func (i ProductFamilyResponseArray) ToProductFamilyResponseArrayOutput() ProductFamilyResponseArrayOutput { + return i.ToProductFamilyResponseArrayOutputWithContext(context.Background()) +} + +func (i ProductFamilyResponseArray) ToProductFamilyResponseArrayOutputWithContext(ctx context.Context) ProductFamilyResponseArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProductFamilyResponseArrayOutput) +} + +// Product Family +type ProductFamilyResponseOutput struct{ *pulumi.OutputState } + +func (ProductFamilyResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ProductFamilyResponse)(nil)).Elem() +} + +func (o ProductFamilyResponseOutput) ToProductFamilyResponseOutput() ProductFamilyResponseOutput { + return o +} + +func (o ProductFamilyResponseOutput) ToProductFamilyResponseOutputWithContext(ctx context.Context) ProductFamilyResponseOutput { + return o +} + +// Availability information of the product system. +func (o ProductFamilyResponseOutput) AvailabilityInformation() AvailabilityInformationResponseOutput { + return o.ApplyT(func(v ProductFamilyResponse) AvailabilityInformationResponse { return v.AvailabilityInformation }).(AvailabilityInformationResponseOutput) +} + +// Cost information for the product system. +func (o ProductFamilyResponseOutput) CostInformation() CostInformationResponseOutput { + return o.ApplyT(func(v ProductFamilyResponse) CostInformationResponse { return v.CostInformation }).(CostInformationResponseOutput) +} + +// Description related to the product system. +func (o ProductFamilyResponseOutput) Description() DescriptionResponseOutput { + return o.ApplyT(func(v ProductFamilyResponse) DescriptionResponse { return v.Description }).(DescriptionResponseOutput) +} + +// Display Name for the product system. +func (o ProductFamilyResponseOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v ProductFamilyResponse) string { return v.DisplayName }).(pulumi.StringOutput) +} + +// list of filters supported for a product +func (o ProductFamilyResponseOutput) FilterableProperties() FilterablePropertyResponseArrayOutput { + return o.ApplyT(func(v ProductFamilyResponse) []FilterablePropertyResponse { return v.FilterableProperties }).(FilterablePropertyResponseArrayOutput) +} + +// Hierarchy information of the product system. +func (o ProductFamilyResponseOutput) HierarchyInformation() HierarchyInformationResponseOutput { + return o.ApplyT(func(v ProductFamilyResponse) HierarchyInformationResponse { return v.HierarchyInformation }).(HierarchyInformationResponseOutput) +} + +// Image information for the product system. +func (o ProductFamilyResponseOutput) ImageInformation() ImageInformationResponseArrayOutput { + return o.ApplyT(func(v ProductFamilyResponse) []ImageInformationResponse { return v.ImageInformation }).(ImageInformationResponseArrayOutput) +} + +// List of product lines supported in the product family +func (o ProductFamilyResponseOutput) ProductLines() ProductLineResponseArrayOutput { + return o.ApplyT(func(v ProductFamilyResponse) []ProductLineResponse { return v.ProductLines }).(ProductLineResponseArrayOutput) +} + +type ProductFamilyResponseArrayOutput struct{ *pulumi.OutputState } + +func (ProductFamilyResponseArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ProductFamilyResponse)(nil)).Elem() +} + +func (o ProductFamilyResponseArrayOutput) ToProductFamilyResponseArrayOutput() ProductFamilyResponseArrayOutput { + return o +} + +func (o ProductFamilyResponseArrayOutput) ToProductFamilyResponseArrayOutputWithContext(ctx context.Context) ProductFamilyResponseArrayOutput { + return o +} + +func (o ProductFamilyResponseArrayOutput) Index(i pulumi.IntInput) ProductFamilyResponseOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) ProductFamilyResponse { + return vs[0].([]ProductFamilyResponse)[vs[1].(int)] + }).(ProductFamilyResponseOutput) +} + +// Product line +type ProductLineResponse struct { + // Availability information of the product system. + AvailabilityInformation AvailabilityInformationResponse `pulumi:"availabilityInformation"` + // Cost information for the product system. + CostInformation CostInformationResponse `pulumi:"costInformation"` + // Description related to the product system. + Description DescriptionResponse `pulumi:"description"` + // Display Name for the product system. + DisplayName string `pulumi:"displayName"` + // list of filters supported for a product + FilterableProperties []FilterablePropertyResponse `pulumi:"filterableProperties"` + // Hierarchy information of the product system. + HierarchyInformation HierarchyInformationResponse `pulumi:"hierarchyInformation"` + // Image information for the product system. + ImageInformation []ImageInformationResponse `pulumi:"imageInformation"` + // List of products in the product line + Products []ProductResponse `pulumi:"products"` +} + +// ProductLineResponseInput is an input type that accepts ProductLineResponseArgs and ProductLineResponseOutput values. +// You can construct a concrete instance of `ProductLineResponseInput` via: +// +// ProductLineResponseArgs{...} +type ProductLineResponseInput interface { + pulumi.Input + + ToProductLineResponseOutput() ProductLineResponseOutput + ToProductLineResponseOutputWithContext(context.Context) ProductLineResponseOutput +} + +// Product line +type ProductLineResponseArgs struct { + // Availability information of the product system. + AvailabilityInformation AvailabilityInformationResponseInput `pulumi:"availabilityInformation"` + // Cost information for the product system. + CostInformation CostInformationResponseInput `pulumi:"costInformation"` + // Description related to the product system. + Description DescriptionResponseInput `pulumi:"description"` + // Display Name for the product system. + DisplayName pulumi.StringInput `pulumi:"displayName"` + // list of filters supported for a product + FilterableProperties FilterablePropertyResponseArrayInput `pulumi:"filterableProperties"` + // Hierarchy information of the product system. + HierarchyInformation HierarchyInformationResponseInput `pulumi:"hierarchyInformation"` + // Image information for the product system. + ImageInformation ImageInformationResponseArrayInput `pulumi:"imageInformation"` + // List of products in the product line + Products ProductResponseArrayInput `pulumi:"products"` +} + +func (ProductLineResponseArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ProductLineResponse)(nil)).Elem() +} + +func (i ProductLineResponseArgs) ToProductLineResponseOutput() ProductLineResponseOutput { + return i.ToProductLineResponseOutputWithContext(context.Background()) +} + +func (i ProductLineResponseArgs) ToProductLineResponseOutputWithContext(ctx context.Context) ProductLineResponseOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProductLineResponseOutput) +} + +// ProductLineResponseArrayInput is an input type that accepts ProductLineResponseArray and ProductLineResponseArrayOutput values. +// You can construct a concrete instance of `ProductLineResponseArrayInput` via: +// +// ProductLineResponseArray{ ProductLineResponseArgs{...} } +type ProductLineResponseArrayInput interface { + pulumi.Input + + ToProductLineResponseArrayOutput() ProductLineResponseArrayOutput + ToProductLineResponseArrayOutputWithContext(context.Context) ProductLineResponseArrayOutput +} + +type ProductLineResponseArray []ProductLineResponseInput + +func (ProductLineResponseArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ProductLineResponse)(nil)).Elem() +} + +func (i ProductLineResponseArray) ToProductLineResponseArrayOutput() ProductLineResponseArrayOutput { + return i.ToProductLineResponseArrayOutputWithContext(context.Background()) +} + +func (i ProductLineResponseArray) ToProductLineResponseArrayOutputWithContext(ctx context.Context) ProductLineResponseArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProductLineResponseArrayOutput) +} + +// Product line +type ProductLineResponseOutput struct{ *pulumi.OutputState } + +func (ProductLineResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ProductLineResponse)(nil)).Elem() +} + +func (o ProductLineResponseOutput) ToProductLineResponseOutput() ProductLineResponseOutput { + return o +} + +func (o ProductLineResponseOutput) ToProductLineResponseOutputWithContext(ctx context.Context) ProductLineResponseOutput { + return o +} + +// Availability information of the product system. +func (o ProductLineResponseOutput) AvailabilityInformation() AvailabilityInformationResponseOutput { + return o.ApplyT(func(v ProductLineResponse) AvailabilityInformationResponse { return v.AvailabilityInformation }).(AvailabilityInformationResponseOutput) +} + +// Cost information for the product system. +func (o ProductLineResponseOutput) CostInformation() CostInformationResponseOutput { + return o.ApplyT(func(v ProductLineResponse) CostInformationResponse { return v.CostInformation }).(CostInformationResponseOutput) +} + +// Description related to the product system. +func (o ProductLineResponseOutput) Description() DescriptionResponseOutput { + return o.ApplyT(func(v ProductLineResponse) DescriptionResponse { return v.Description }).(DescriptionResponseOutput) +} + +// Display Name for the product system. +func (o ProductLineResponseOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v ProductLineResponse) string { return v.DisplayName }).(pulumi.StringOutput) +} + +// list of filters supported for a product +func (o ProductLineResponseOutput) FilterableProperties() FilterablePropertyResponseArrayOutput { + return o.ApplyT(func(v ProductLineResponse) []FilterablePropertyResponse { return v.FilterableProperties }).(FilterablePropertyResponseArrayOutput) +} + +// Hierarchy information of the product system. +func (o ProductLineResponseOutput) HierarchyInformation() HierarchyInformationResponseOutput { + return o.ApplyT(func(v ProductLineResponse) HierarchyInformationResponse { return v.HierarchyInformation }).(HierarchyInformationResponseOutput) +} + +// Image information for the product system. +func (o ProductLineResponseOutput) ImageInformation() ImageInformationResponseArrayOutput { + return o.ApplyT(func(v ProductLineResponse) []ImageInformationResponse { return v.ImageInformation }).(ImageInformationResponseArrayOutput) +} + +// List of products in the product line +func (o ProductLineResponseOutput) Products() ProductResponseArrayOutput { + return o.ApplyT(func(v ProductLineResponse) []ProductResponse { return v.Products }).(ProductResponseArrayOutput) +} + +type ProductLineResponseArrayOutput struct{ *pulumi.OutputState } + +func (ProductLineResponseArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ProductLineResponse)(nil)).Elem() +} + +func (o ProductLineResponseArrayOutput) ToProductLineResponseArrayOutput() ProductLineResponseArrayOutput { + return o +} + +func (o ProductLineResponseArrayOutput) ToProductLineResponseArrayOutputWithContext(ctx context.Context) ProductLineResponseArrayOutput { + return o +} + +func (o ProductLineResponseArrayOutput) Index(i pulumi.IntInput) ProductLineResponseOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) ProductLineResponse { + return vs[0].([]ProductLineResponse)[vs[1].(int)] + }).(ProductLineResponseOutput) +} + +// List of Products +type ProductResponse struct { + // Availability information of the product system. + AvailabilityInformation AvailabilityInformationResponse `pulumi:"availabilityInformation"` + // List of configurations for the product + Configurations []ConfigurationResponse `pulumi:"configurations"` + // Cost information for the product system. + CostInformation CostInformationResponse `pulumi:"costInformation"` + // Description related to the product system. + Description DescriptionResponse `pulumi:"description"` + // Display Name for the product system. + DisplayName string `pulumi:"displayName"` + // list of filters supported for a product + FilterableProperties []FilterablePropertyResponse `pulumi:"filterableProperties"` + // Hierarchy information of the product system. + HierarchyInformation HierarchyInformationResponse `pulumi:"hierarchyInformation"` + // Image information for the product system. + ImageInformation []ImageInformationResponse `pulumi:"imageInformation"` +} + +// ProductResponseInput is an input type that accepts ProductResponseArgs and ProductResponseOutput values. +// You can construct a concrete instance of `ProductResponseInput` via: +// +// ProductResponseArgs{...} +type ProductResponseInput interface { + pulumi.Input + + ToProductResponseOutput() ProductResponseOutput + ToProductResponseOutputWithContext(context.Context) ProductResponseOutput +} + +// List of Products +type ProductResponseArgs struct { + // Availability information of the product system. + AvailabilityInformation AvailabilityInformationResponseInput `pulumi:"availabilityInformation"` + // List of configurations for the product + Configurations ConfigurationResponseArrayInput `pulumi:"configurations"` + // Cost information for the product system. + CostInformation CostInformationResponseInput `pulumi:"costInformation"` + // Description related to the product system. + Description DescriptionResponseInput `pulumi:"description"` + // Display Name for the product system. + DisplayName pulumi.StringInput `pulumi:"displayName"` + // list of filters supported for a product + FilterableProperties FilterablePropertyResponseArrayInput `pulumi:"filterableProperties"` + // Hierarchy information of the product system. + HierarchyInformation HierarchyInformationResponseInput `pulumi:"hierarchyInformation"` + // Image information for the product system. + ImageInformation ImageInformationResponseArrayInput `pulumi:"imageInformation"` +} + +func (ProductResponseArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ProductResponse)(nil)).Elem() +} + +func (i ProductResponseArgs) ToProductResponseOutput() ProductResponseOutput { + return i.ToProductResponseOutputWithContext(context.Background()) +} + +func (i ProductResponseArgs) ToProductResponseOutputWithContext(ctx context.Context) ProductResponseOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProductResponseOutput) +} + +// ProductResponseArrayInput is an input type that accepts ProductResponseArray and ProductResponseArrayOutput values. +// You can construct a concrete instance of `ProductResponseArrayInput` via: +// +// ProductResponseArray{ ProductResponseArgs{...} } +type ProductResponseArrayInput interface { + pulumi.Input + + ToProductResponseArrayOutput() ProductResponseArrayOutput + ToProductResponseArrayOutputWithContext(context.Context) ProductResponseArrayOutput +} + +type ProductResponseArray []ProductResponseInput + +func (ProductResponseArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ProductResponse)(nil)).Elem() +} + +func (i ProductResponseArray) ToProductResponseArrayOutput() ProductResponseArrayOutput { + return i.ToProductResponseArrayOutputWithContext(context.Background()) +} + +func (i ProductResponseArray) ToProductResponseArrayOutputWithContext(ctx context.Context) ProductResponseArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProductResponseArrayOutput) +} + +// List of Products +type ProductResponseOutput struct{ *pulumi.OutputState } + +func (ProductResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ProductResponse)(nil)).Elem() +} + +func (o ProductResponseOutput) ToProductResponseOutput() ProductResponseOutput { + return o +} + +func (o ProductResponseOutput) ToProductResponseOutputWithContext(ctx context.Context) ProductResponseOutput { + return o +} + +// Availability information of the product system. +func (o ProductResponseOutput) AvailabilityInformation() AvailabilityInformationResponseOutput { + return o.ApplyT(func(v ProductResponse) AvailabilityInformationResponse { return v.AvailabilityInformation }).(AvailabilityInformationResponseOutput) +} + +// List of configurations for the product +func (o ProductResponseOutput) Configurations() ConfigurationResponseArrayOutput { + return o.ApplyT(func(v ProductResponse) []ConfigurationResponse { return v.Configurations }).(ConfigurationResponseArrayOutput) +} + +// Cost information for the product system. +func (o ProductResponseOutput) CostInformation() CostInformationResponseOutput { + return o.ApplyT(func(v ProductResponse) CostInformationResponse { return v.CostInformation }).(CostInformationResponseOutput) +} + +// Description related to the product system. +func (o ProductResponseOutput) Description() DescriptionResponseOutput { + return o.ApplyT(func(v ProductResponse) DescriptionResponse { return v.Description }).(DescriptionResponseOutput) +} + +// Display Name for the product system. +func (o ProductResponseOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v ProductResponse) string { return v.DisplayName }).(pulumi.StringOutput) +} + +// list of filters supported for a product +func (o ProductResponseOutput) FilterableProperties() FilterablePropertyResponseArrayOutput { + return o.ApplyT(func(v ProductResponse) []FilterablePropertyResponse { return v.FilterableProperties }).(FilterablePropertyResponseArrayOutput) +} + +// Hierarchy information of the product system. +func (o ProductResponseOutput) HierarchyInformation() HierarchyInformationResponseOutput { + return o.ApplyT(func(v ProductResponse) HierarchyInformationResponse { return v.HierarchyInformation }).(HierarchyInformationResponseOutput) +} + +// Image information for the product system. +func (o ProductResponseOutput) ImageInformation() ImageInformationResponseArrayOutput { + return o.ApplyT(func(v ProductResponse) []ImageInformationResponse { return v.ImageInformation }).(ImageInformationResponseArrayOutput) +} + +type ProductResponseArrayOutput struct{ *pulumi.OutputState } + +func (ProductResponseArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ProductResponse)(nil)).Elem() +} + +func (o ProductResponseArrayOutput) ToProductResponseArrayOutput() ProductResponseArrayOutput { + return o +} + +func (o ProductResponseArrayOutput) ToProductResponseArrayOutputWithContext(ctx context.Context) ProductResponseArrayOutput { + return o +} + +func (o ProductResponseArrayOutput) Index(i pulumi.IntInput) ProductResponseOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) ProductResponse { + return vs[0].([]ProductResponse)[vs[1].(int)] + }).(ProductResponseOutput) +} + +// Shipping address where customer wishes to receive the device. +type ShippingAddress struct { + // Type of address. + AddressType *string `pulumi:"addressType"` + // Name of the City. + City *string `pulumi:"city"` + // Name of the company. + CompanyName *string `pulumi:"companyName"` + // Name of the Country. + Country string `pulumi:"country"` + // Postal code. + PostalCode *string `pulumi:"postalCode"` + // Name of the State or Province. + StateOrProvince *string `pulumi:"stateOrProvince"` + // Street Address line 1. + StreetAddress1 string `pulumi:"streetAddress1"` + // Street Address line 2. + StreetAddress2 *string `pulumi:"streetAddress2"` + // Street Address line 3. + StreetAddress3 *string `pulumi:"streetAddress3"` + // Extended Zip Code. + ZipExtendedCode *string `pulumi:"zipExtendedCode"` +} + +// ShippingAddressInput is an input type that accepts ShippingAddressArgs and ShippingAddressOutput values. +// You can construct a concrete instance of `ShippingAddressInput` via: +// +// ShippingAddressArgs{...} +type ShippingAddressInput interface { + pulumi.Input + + ToShippingAddressOutput() ShippingAddressOutput + ToShippingAddressOutputWithContext(context.Context) ShippingAddressOutput +} + +// Shipping address where customer wishes to receive the device. +type ShippingAddressArgs struct { + // Type of address. + AddressType pulumi.StringPtrInput `pulumi:"addressType"` + // Name of the City. + City pulumi.StringPtrInput `pulumi:"city"` + // Name of the company. + CompanyName pulumi.StringPtrInput `pulumi:"companyName"` + // Name of the Country. + Country pulumi.StringInput `pulumi:"country"` + // Postal code. + PostalCode pulumi.StringPtrInput `pulumi:"postalCode"` + // Name of the State or Province. + StateOrProvince pulumi.StringPtrInput `pulumi:"stateOrProvince"` + // Street Address line 1. + StreetAddress1 pulumi.StringInput `pulumi:"streetAddress1"` + // Street Address line 2. + StreetAddress2 pulumi.StringPtrInput `pulumi:"streetAddress2"` + // Street Address line 3. + StreetAddress3 pulumi.StringPtrInput `pulumi:"streetAddress3"` + // Extended Zip Code. + ZipExtendedCode pulumi.StringPtrInput `pulumi:"zipExtendedCode"` +} + +func (ShippingAddressArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ShippingAddress)(nil)).Elem() +} + +func (i ShippingAddressArgs) ToShippingAddressOutput() ShippingAddressOutput { + return i.ToShippingAddressOutputWithContext(context.Background()) +} + +func (i ShippingAddressArgs) ToShippingAddressOutputWithContext(ctx context.Context) ShippingAddressOutput { + return pulumi.ToOutputWithContext(ctx, i).(ShippingAddressOutput) +} + +func (i ShippingAddressArgs) ToShippingAddressPtrOutput() ShippingAddressPtrOutput { + return i.ToShippingAddressPtrOutputWithContext(context.Background()) +} + +func (i ShippingAddressArgs) ToShippingAddressPtrOutputWithContext(ctx context.Context) ShippingAddressPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ShippingAddressOutput).ToShippingAddressPtrOutputWithContext(ctx) +} + +// ShippingAddressPtrInput is an input type that accepts ShippingAddressArgs, ShippingAddressPtr and ShippingAddressPtrOutput values. +// You can construct a concrete instance of `ShippingAddressPtrInput` via: +// +// ShippingAddressArgs{...} +// +// or: +// +// nil +type ShippingAddressPtrInput interface { + pulumi.Input + + ToShippingAddressPtrOutput() ShippingAddressPtrOutput + ToShippingAddressPtrOutputWithContext(context.Context) ShippingAddressPtrOutput +} + +type shippingAddressPtrType ShippingAddressArgs + +func ShippingAddressPtr(v *ShippingAddressArgs) ShippingAddressPtrInput { + return (*shippingAddressPtrType)(v) +} + +func (*shippingAddressPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ShippingAddress)(nil)).Elem() +} + +func (i *shippingAddressPtrType) ToShippingAddressPtrOutput() ShippingAddressPtrOutput { + return i.ToShippingAddressPtrOutputWithContext(context.Background()) +} + +func (i *shippingAddressPtrType) ToShippingAddressPtrOutputWithContext(ctx context.Context) ShippingAddressPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ShippingAddressPtrOutput) +} + +// Shipping address where customer wishes to receive the device. +type ShippingAddressOutput struct{ *pulumi.OutputState } + +func (ShippingAddressOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ShippingAddress)(nil)).Elem() +} + +func (o ShippingAddressOutput) ToShippingAddressOutput() ShippingAddressOutput { + return o +} + +func (o ShippingAddressOutput) ToShippingAddressOutputWithContext(ctx context.Context) ShippingAddressOutput { + return o +} + +func (o ShippingAddressOutput) ToShippingAddressPtrOutput() ShippingAddressPtrOutput { + return o.ToShippingAddressPtrOutputWithContext(context.Background()) +} + +func (o ShippingAddressOutput) ToShippingAddressPtrOutputWithContext(ctx context.Context) ShippingAddressPtrOutput { + return o.ApplyT(func(v ShippingAddress) *ShippingAddress { + return &v + }).(ShippingAddressPtrOutput) +} + +// Type of address. +func (o ShippingAddressOutput) AddressType() pulumi.StringPtrOutput { + return o.ApplyT(func(v ShippingAddress) *string { return v.AddressType }).(pulumi.StringPtrOutput) +} + +// Name of the City. +func (o ShippingAddressOutput) City() pulumi.StringPtrOutput { + return o.ApplyT(func(v ShippingAddress) *string { return v.City }).(pulumi.StringPtrOutput) +} + +// Name of the company. +func (o ShippingAddressOutput) CompanyName() pulumi.StringPtrOutput { + return o.ApplyT(func(v ShippingAddress) *string { return v.CompanyName }).(pulumi.StringPtrOutput) +} + +// Name of the Country. +func (o ShippingAddressOutput) Country() pulumi.StringOutput { + return o.ApplyT(func(v ShippingAddress) string { return v.Country }).(pulumi.StringOutput) +} + +// Postal code. +func (o ShippingAddressOutput) PostalCode() pulumi.StringPtrOutput { + return o.ApplyT(func(v ShippingAddress) *string { return v.PostalCode }).(pulumi.StringPtrOutput) +} + +// Name of the State or Province. +func (o ShippingAddressOutput) StateOrProvince() pulumi.StringPtrOutput { + return o.ApplyT(func(v ShippingAddress) *string { return v.StateOrProvince }).(pulumi.StringPtrOutput) +} + +// Street Address line 1. +func (o ShippingAddressOutput) StreetAddress1() pulumi.StringOutput { + return o.ApplyT(func(v ShippingAddress) string { return v.StreetAddress1 }).(pulumi.StringOutput) +} + +// Street Address line 2. +func (o ShippingAddressOutput) StreetAddress2() pulumi.StringPtrOutput { + return o.ApplyT(func(v ShippingAddress) *string { return v.StreetAddress2 }).(pulumi.StringPtrOutput) +} + +// Street Address line 3. +func (o ShippingAddressOutput) StreetAddress3() pulumi.StringPtrOutput { + return o.ApplyT(func(v ShippingAddress) *string { return v.StreetAddress3 }).(pulumi.StringPtrOutput) +} + +// Extended Zip Code. +func (o ShippingAddressOutput) ZipExtendedCode() pulumi.StringPtrOutput { + return o.ApplyT(func(v ShippingAddress) *string { return v.ZipExtendedCode }).(pulumi.StringPtrOutput) +} + +type ShippingAddressPtrOutput struct{ *pulumi.OutputState } + +func (ShippingAddressPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ShippingAddress)(nil)).Elem() +} + +func (o ShippingAddressPtrOutput) ToShippingAddressPtrOutput() ShippingAddressPtrOutput { + return o +} + +func (o ShippingAddressPtrOutput) ToShippingAddressPtrOutputWithContext(ctx context.Context) ShippingAddressPtrOutput { + return o +} + +func (o ShippingAddressPtrOutput) Elem() ShippingAddressOutput { + return o.ApplyT(func(v *ShippingAddress) ShippingAddress { return *v }).(ShippingAddressOutput) +} + +// Type of address. +func (o ShippingAddressPtrOutput) AddressType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ShippingAddress) *string { + if v == nil { + return nil + } + return v.AddressType + }).(pulumi.StringPtrOutput) +} + +// Name of the City. +func (o ShippingAddressPtrOutput) City() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ShippingAddress) *string { + if v == nil { + return nil + } + return v.City + }).(pulumi.StringPtrOutput) +} + +// Name of the company. +func (o ShippingAddressPtrOutput) CompanyName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ShippingAddress) *string { + if v == nil { + return nil + } + return v.CompanyName + }).(pulumi.StringPtrOutput) +} + +// Name of the Country. +func (o ShippingAddressPtrOutput) Country() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ShippingAddress) *string { + if v == nil { + return nil + } + return &v.Country + }).(pulumi.StringPtrOutput) +} + +// Postal code. +func (o ShippingAddressPtrOutput) PostalCode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ShippingAddress) *string { + if v == nil { + return nil + } + return v.PostalCode + }).(pulumi.StringPtrOutput) +} + +// Name of the State or Province. +func (o ShippingAddressPtrOutput) StateOrProvince() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ShippingAddress) *string { + if v == nil { + return nil + } + return v.StateOrProvince + }).(pulumi.StringPtrOutput) +} + +// Street Address line 1. +func (o ShippingAddressPtrOutput) StreetAddress1() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ShippingAddress) *string { + if v == nil { + return nil + } + return &v.StreetAddress1 + }).(pulumi.StringPtrOutput) +} + +// Street Address line 2. +func (o ShippingAddressPtrOutput) StreetAddress2() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ShippingAddress) *string { + if v == nil { + return nil + } + return v.StreetAddress2 + }).(pulumi.StringPtrOutput) +} + +// Street Address line 3. +func (o ShippingAddressPtrOutput) StreetAddress3() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ShippingAddress) *string { + if v == nil { + return nil + } + return v.StreetAddress3 + }).(pulumi.StringPtrOutput) +} + +// Extended Zip Code. +func (o ShippingAddressPtrOutput) ZipExtendedCode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ShippingAddress) *string { + if v == nil { + return nil + } + return v.ZipExtendedCode + }).(pulumi.StringPtrOutput) +} + +// Shipping address where customer wishes to receive the device. +type ShippingAddressResponse struct { + // Type of address. + AddressType *string `pulumi:"addressType"` + // Name of the City. + City *string `pulumi:"city"` + // Name of the company. + CompanyName *string `pulumi:"companyName"` + // Name of the Country. + Country string `pulumi:"country"` + // Postal code. + PostalCode *string `pulumi:"postalCode"` + // Name of the State or Province. + StateOrProvince *string `pulumi:"stateOrProvince"` + // Street Address line 1. + StreetAddress1 string `pulumi:"streetAddress1"` + // Street Address line 2. + StreetAddress2 *string `pulumi:"streetAddress2"` + // Street Address line 3. + StreetAddress3 *string `pulumi:"streetAddress3"` + // Extended Zip Code. + ZipExtendedCode *string `pulumi:"zipExtendedCode"` +} + +// ShippingAddressResponseInput is an input type that accepts ShippingAddressResponseArgs and ShippingAddressResponseOutput values. +// You can construct a concrete instance of `ShippingAddressResponseInput` via: +// +// ShippingAddressResponseArgs{...} +type ShippingAddressResponseInput interface { + pulumi.Input + + ToShippingAddressResponseOutput() ShippingAddressResponseOutput + ToShippingAddressResponseOutputWithContext(context.Context) ShippingAddressResponseOutput +} + +// Shipping address where customer wishes to receive the device. +type ShippingAddressResponseArgs struct { + // Type of address. + AddressType pulumi.StringPtrInput `pulumi:"addressType"` + // Name of the City. + City pulumi.StringPtrInput `pulumi:"city"` + // Name of the company. + CompanyName pulumi.StringPtrInput `pulumi:"companyName"` + // Name of the Country. + Country pulumi.StringInput `pulumi:"country"` + // Postal code. + PostalCode pulumi.StringPtrInput `pulumi:"postalCode"` + // Name of the State or Province. + StateOrProvince pulumi.StringPtrInput `pulumi:"stateOrProvince"` + // Street Address line 1. + StreetAddress1 pulumi.StringInput `pulumi:"streetAddress1"` + // Street Address line 2. + StreetAddress2 pulumi.StringPtrInput `pulumi:"streetAddress2"` + // Street Address line 3. + StreetAddress3 pulumi.StringPtrInput `pulumi:"streetAddress3"` + // Extended Zip Code. + ZipExtendedCode pulumi.StringPtrInput `pulumi:"zipExtendedCode"` +} + +func (ShippingAddressResponseArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ShippingAddressResponse)(nil)).Elem() +} + +func (i ShippingAddressResponseArgs) ToShippingAddressResponseOutput() ShippingAddressResponseOutput { + return i.ToShippingAddressResponseOutputWithContext(context.Background()) +} + +func (i ShippingAddressResponseArgs) ToShippingAddressResponseOutputWithContext(ctx context.Context) ShippingAddressResponseOutput { + return pulumi.ToOutputWithContext(ctx, i).(ShippingAddressResponseOutput) +} + +func (i ShippingAddressResponseArgs) ToShippingAddressResponsePtrOutput() ShippingAddressResponsePtrOutput { + return i.ToShippingAddressResponsePtrOutputWithContext(context.Background()) +} + +func (i ShippingAddressResponseArgs) ToShippingAddressResponsePtrOutputWithContext(ctx context.Context) ShippingAddressResponsePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ShippingAddressResponseOutput).ToShippingAddressResponsePtrOutputWithContext(ctx) +} + +// ShippingAddressResponsePtrInput is an input type that accepts ShippingAddressResponseArgs, ShippingAddressResponsePtr and ShippingAddressResponsePtrOutput values. +// You can construct a concrete instance of `ShippingAddressResponsePtrInput` via: +// +// ShippingAddressResponseArgs{...} +// +// or: +// +// nil +type ShippingAddressResponsePtrInput interface { + pulumi.Input + + ToShippingAddressResponsePtrOutput() ShippingAddressResponsePtrOutput + ToShippingAddressResponsePtrOutputWithContext(context.Context) ShippingAddressResponsePtrOutput +} + +type shippingAddressResponsePtrType ShippingAddressResponseArgs + +func ShippingAddressResponsePtr(v *ShippingAddressResponseArgs) ShippingAddressResponsePtrInput { + return (*shippingAddressResponsePtrType)(v) +} + +func (*shippingAddressResponsePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ShippingAddressResponse)(nil)).Elem() +} + +func (i *shippingAddressResponsePtrType) ToShippingAddressResponsePtrOutput() ShippingAddressResponsePtrOutput { + return i.ToShippingAddressResponsePtrOutputWithContext(context.Background()) +} + +func (i *shippingAddressResponsePtrType) ToShippingAddressResponsePtrOutputWithContext(ctx context.Context) ShippingAddressResponsePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ShippingAddressResponsePtrOutput) +} + +// Shipping address where customer wishes to receive the device. +type ShippingAddressResponseOutput struct{ *pulumi.OutputState } + +func (ShippingAddressResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ShippingAddressResponse)(nil)).Elem() +} + +func (o ShippingAddressResponseOutput) ToShippingAddressResponseOutput() ShippingAddressResponseOutput { + return o +} + +func (o ShippingAddressResponseOutput) ToShippingAddressResponseOutputWithContext(ctx context.Context) ShippingAddressResponseOutput { + return o +} + +func (o ShippingAddressResponseOutput) ToShippingAddressResponsePtrOutput() ShippingAddressResponsePtrOutput { + return o.ToShippingAddressResponsePtrOutputWithContext(context.Background()) +} + +func (o ShippingAddressResponseOutput) ToShippingAddressResponsePtrOutputWithContext(ctx context.Context) ShippingAddressResponsePtrOutput { + return o.ApplyT(func(v ShippingAddressResponse) *ShippingAddressResponse { + return &v + }).(ShippingAddressResponsePtrOutput) +} + +// Type of address. +func (o ShippingAddressResponseOutput) AddressType() pulumi.StringPtrOutput { + return o.ApplyT(func(v ShippingAddressResponse) *string { return v.AddressType }).(pulumi.StringPtrOutput) +} + +// Name of the City. +func (o ShippingAddressResponseOutput) City() pulumi.StringPtrOutput { + return o.ApplyT(func(v ShippingAddressResponse) *string { return v.City }).(pulumi.StringPtrOutput) +} + +// Name of the company. +func (o ShippingAddressResponseOutput) CompanyName() pulumi.StringPtrOutput { + return o.ApplyT(func(v ShippingAddressResponse) *string { return v.CompanyName }).(pulumi.StringPtrOutput) +} + +// Name of the Country. +func (o ShippingAddressResponseOutput) Country() pulumi.StringOutput { + return o.ApplyT(func(v ShippingAddressResponse) string { return v.Country }).(pulumi.StringOutput) +} + +// Postal code. +func (o ShippingAddressResponseOutput) PostalCode() pulumi.StringPtrOutput { + return o.ApplyT(func(v ShippingAddressResponse) *string { return v.PostalCode }).(pulumi.StringPtrOutput) +} + +// Name of the State or Province. +func (o ShippingAddressResponseOutput) StateOrProvince() pulumi.StringPtrOutput { + return o.ApplyT(func(v ShippingAddressResponse) *string { return v.StateOrProvince }).(pulumi.StringPtrOutput) +} + +// Street Address line 1. +func (o ShippingAddressResponseOutput) StreetAddress1() pulumi.StringOutput { + return o.ApplyT(func(v ShippingAddressResponse) string { return v.StreetAddress1 }).(pulumi.StringOutput) +} + +// Street Address line 2. +func (o ShippingAddressResponseOutput) StreetAddress2() pulumi.StringPtrOutput { + return o.ApplyT(func(v ShippingAddressResponse) *string { return v.StreetAddress2 }).(pulumi.StringPtrOutput) +} + +// Street Address line 3. +func (o ShippingAddressResponseOutput) StreetAddress3() pulumi.StringPtrOutput { + return o.ApplyT(func(v ShippingAddressResponse) *string { return v.StreetAddress3 }).(pulumi.StringPtrOutput) +} + +// Extended Zip Code. +func (o ShippingAddressResponseOutput) ZipExtendedCode() pulumi.StringPtrOutput { + return o.ApplyT(func(v ShippingAddressResponse) *string { return v.ZipExtendedCode }).(pulumi.StringPtrOutput) +} + +type ShippingAddressResponsePtrOutput struct{ *pulumi.OutputState } + +func (ShippingAddressResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ShippingAddressResponse)(nil)).Elem() +} + +func (o ShippingAddressResponsePtrOutput) ToShippingAddressResponsePtrOutput() ShippingAddressResponsePtrOutput { + return o +} + +func (o ShippingAddressResponsePtrOutput) ToShippingAddressResponsePtrOutputWithContext(ctx context.Context) ShippingAddressResponsePtrOutput { + return o +} + +func (o ShippingAddressResponsePtrOutput) Elem() ShippingAddressResponseOutput { + return o.ApplyT(func(v *ShippingAddressResponse) ShippingAddressResponse { return *v }).(ShippingAddressResponseOutput) +} + +// Type of address. +func (o ShippingAddressResponsePtrOutput) AddressType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ShippingAddressResponse) *string { + if v == nil { + return nil + } + return v.AddressType + }).(pulumi.StringPtrOutput) +} + +// Name of the City. +func (o ShippingAddressResponsePtrOutput) City() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ShippingAddressResponse) *string { + if v == nil { + return nil + } + return v.City + }).(pulumi.StringPtrOutput) +} + +// Name of the company. +func (o ShippingAddressResponsePtrOutput) CompanyName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ShippingAddressResponse) *string { + if v == nil { + return nil + } + return v.CompanyName + }).(pulumi.StringPtrOutput) +} + +// Name of the Country. +func (o ShippingAddressResponsePtrOutput) Country() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ShippingAddressResponse) *string { + if v == nil { + return nil + } + return &v.Country + }).(pulumi.StringPtrOutput) +} + +// Postal code. +func (o ShippingAddressResponsePtrOutput) PostalCode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ShippingAddressResponse) *string { + if v == nil { + return nil + } + return v.PostalCode + }).(pulumi.StringPtrOutput) +} + +// Name of the State or Province. +func (o ShippingAddressResponsePtrOutput) StateOrProvince() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ShippingAddressResponse) *string { + if v == nil { + return nil + } + return v.StateOrProvince + }).(pulumi.StringPtrOutput) +} + +// Street Address line 1. +func (o ShippingAddressResponsePtrOutput) StreetAddress1() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ShippingAddressResponse) *string { + if v == nil { + return nil + } + return &v.StreetAddress1 + }).(pulumi.StringPtrOutput) +} + +// Street Address line 2. +func (o ShippingAddressResponsePtrOutput) StreetAddress2() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ShippingAddressResponse) *string { + if v == nil { + return nil + } + return v.StreetAddress2 + }).(pulumi.StringPtrOutput) +} + +// Street Address line 3. +func (o ShippingAddressResponsePtrOutput) StreetAddress3() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ShippingAddressResponse) *string { + if v == nil { + return nil + } + return v.StreetAddress3 + }).(pulumi.StringPtrOutput) +} + +// Extended Zip Code. +func (o ShippingAddressResponsePtrOutput) ZipExtendedCode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ShippingAddressResponse) *string { + if v == nil { + return nil + } + return v.ZipExtendedCode + }).(pulumi.StringPtrOutput) +} + +// Package shipping details +type ShippingDetailsResponse struct { + // Carrier Name for display purpose. Not to be used for any processing. + CarrierDisplayName string `pulumi:"carrierDisplayName"` + // Name of the carrier. + CarrierName string `pulumi:"carrierName"` + // TrackingId of the package + TrackingId string `pulumi:"trackingId"` + // TrackingUrl of the package. + TrackingUrl string `pulumi:"trackingUrl"` +} + +// ShippingDetailsResponseInput is an input type that accepts ShippingDetailsResponseArgs and ShippingDetailsResponseOutput values. +// You can construct a concrete instance of `ShippingDetailsResponseInput` via: +// +// ShippingDetailsResponseArgs{...} +type ShippingDetailsResponseInput interface { + pulumi.Input + + ToShippingDetailsResponseOutput() ShippingDetailsResponseOutput + ToShippingDetailsResponseOutputWithContext(context.Context) ShippingDetailsResponseOutput +} + +// Package shipping details +type ShippingDetailsResponseArgs struct { + // Carrier Name for display purpose. Not to be used for any processing. + CarrierDisplayName pulumi.StringInput `pulumi:"carrierDisplayName"` + // Name of the carrier. + CarrierName pulumi.StringInput `pulumi:"carrierName"` + // TrackingId of the package + TrackingId pulumi.StringInput `pulumi:"trackingId"` + // TrackingUrl of the package. + TrackingUrl pulumi.StringInput `pulumi:"trackingUrl"` +} + +func (ShippingDetailsResponseArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ShippingDetailsResponse)(nil)).Elem() +} + +func (i ShippingDetailsResponseArgs) ToShippingDetailsResponseOutput() ShippingDetailsResponseOutput { + return i.ToShippingDetailsResponseOutputWithContext(context.Background()) +} + +func (i ShippingDetailsResponseArgs) ToShippingDetailsResponseOutputWithContext(ctx context.Context) ShippingDetailsResponseOutput { + return pulumi.ToOutputWithContext(ctx, i).(ShippingDetailsResponseOutput) +} + +func (i ShippingDetailsResponseArgs) ToShippingDetailsResponsePtrOutput() ShippingDetailsResponsePtrOutput { + return i.ToShippingDetailsResponsePtrOutputWithContext(context.Background()) +} + +func (i ShippingDetailsResponseArgs) ToShippingDetailsResponsePtrOutputWithContext(ctx context.Context) ShippingDetailsResponsePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ShippingDetailsResponseOutput).ToShippingDetailsResponsePtrOutputWithContext(ctx) +} + +// ShippingDetailsResponsePtrInput is an input type that accepts ShippingDetailsResponseArgs, ShippingDetailsResponsePtr and ShippingDetailsResponsePtrOutput values. +// You can construct a concrete instance of `ShippingDetailsResponsePtrInput` via: +// +// ShippingDetailsResponseArgs{...} +// +// or: +// +// nil +type ShippingDetailsResponsePtrInput interface { + pulumi.Input + + ToShippingDetailsResponsePtrOutput() ShippingDetailsResponsePtrOutput + ToShippingDetailsResponsePtrOutputWithContext(context.Context) ShippingDetailsResponsePtrOutput +} + +type shippingDetailsResponsePtrType ShippingDetailsResponseArgs + +func ShippingDetailsResponsePtr(v *ShippingDetailsResponseArgs) ShippingDetailsResponsePtrInput { + return (*shippingDetailsResponsePtrType)(v) +} + +func (*shippingDetailsResponsePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ShippingDetailsResponse)(nil)).Elem() +} + +func (i *shippingDetailsResponsePtrType) ToShippingDetailsResponsePtrOutput() ShippingDetailsResponsePtrOutput { + return i.ToShippingDetailsResponsePtrOutputWithContext(context.Background()) +} + +func (i *shippingDetailsResponsePtrType) ToShippingDetailsResponsePtrOutputWithContext(ctx context.Context) ShippingDetailsResponsePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ShippingDetailsResponsePtrOutput) +} + +// Package shipping details +type ShippingDetailsResponseOutput struct{ *pulumi.OutputState } + +func (ShippingDetailsResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ShippingDetailsResponse)(nil)).Elem() +} + +func (o ShippingDetailsResponseOutput) ToShippingDetailsResponseOutput() ShippingDetailsResponseOutput { + return o +} + +func (o ShippingDetailsResponseOutput) ToShippingDetailsResponseOutputWithContext(ctx context.Context) ShippingDetailsResponseOutput { + return o +} + +func (o ShippingDetailsResponseOutput) ToShippingDetailsResponsePtrOutput() ShippingDetailsResponsePtrOutput { + return o.ToShippingDetailsResponsePtrOutputWithContext(context.Background()) +} + +func (o ShippingDetailsResponseOutput) ToShippingDetailsResponsePtrOutputWithContext(ctx context.Context) ShippingDetailsResponsePtrOutput { + return o.ApplyT(func(v ShippingDetailsResponse) *ShippingDetailsResponse { + return &v + }).(ShippingDetailsResponsePtrOutput) +} + +// Carrier Name for display purpose. Not to be used for any processing. +func (o ShippingDetailsResponseOutput) CarrierDisplayName() pulumi.StringOutput { + return o.ApplyT(func(v ShippingDetailsResponse) string { return v.CarrierDisplayName }).(pulumi.StringOutput) +} + +// Name of the carrier. +func (o ShippingDetailsResponseOutput) CarrierName() pulumi.StringOutput { + return o.ApplyT(func(v ShippingDetailsResponse) string { return v.CarrierName }).(pulumi.StringOutput) +} + +// TrackingId of the package +func (o ShippingDetailsResponseOutput) TrackingId() pulumi.StringOutput { + return o.ApplyT(func(v ShippingDetailsResponse) string { return v.TrackingId }).(pulumi.StringOutput) +} + +// TrackingUrl of the package. +func (o ShippingDetailsResponseOutput) TrackingUrl() pulumi.StringOutput { + return o.ApplyT(func(v ShippingDetailsResponse) string { return v.TrackingUrl }).(pulumi.StringOutput) +} + +type ShippingDetailsResponsePtrOutput struct{ *pulumi.OutputState } + +func (ShippingDetailsResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ShippingDetailsResponse)(nil)).Elem() +} + +func (o ShippingDetailsResponsePtrOutput) ToShippingDetailsResponsePtrOutput() ShippingDetailsResponsePtrOutput { + return o +} + +func (o ShippingDetailsResponsePtrOutput) ToShippingDetailsResponsePtrOutputWithContext(ctx context.Context) ShippingDetailsResponsePtrOutput { + return o +} + +func (o ShippingDetailsResponsePtrOutput) Elem() ShippingDetailsResponseOutput { + return o.ApplyT(func(v *ShippingDetailsResponse) ShippingDetailsResponse { return *v }).(ShippingDetailsResponseOutput) +} + +// Carrier Name for display purpose. Not to be used for any processing. +func (o ShippingDetailsResponsePtrOutput) CarrierDisplayName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ShippingDetailsResponse) *string { + if v == nil { + return nil + } + return &v.CarrierDisplayName + }).(pulumi.StringPtrOutput) +} + +// Name of the carrier. +func (o ShippingDetailsResponsePtrOutput) CarrierName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ShippingDetailsResponse) *string { + if v == nil { + return nil + } + return &v.CarrierName + }).(pulumi.StringPtrOutput) +} + +// TrackingId of the package +func (o ShippingDetailsResponsePtrOutput) TrackingId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ShippingDetailsResponse) *string { + if v == nil { + return nil + } + return &v.TrackingId + }).(pulumi.StringPtrOutput) +} + +// TrackingUrl of the package. +func (o ShippingDetailsResponsePtrOutput) TrackingUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ShippingDetailsResponse) *string { + if v == nil { + return nil + } + return &v.TrackingUrl + }).(pulumi.StringPtrOutput) +} + +// Specifications of the configurations +type SpecificationResponse struct { + // Name of the specification + Name string `pulumi:"name"` + // Value of the specification + Value string `pulumi:"value"` +} + +// SpecificationResponseInput is an input type that accepts SpecificationResponseArgs and SpecificationResponseOutput values. +// You can construct a concrete instance of `SpecificationResponseInput` via: +// +// SpecificationResponseArgs{...} +type SpecificationResponseInput interface { + pulumi.Input + + ToSpecificationResponseOutput() SpecificationResponseOutput + ToSpecificationResponseOutputWithContext(context.Context) SpecificationResponseOutput +} + +// Specifications of the configurations +type SpecificationResponseArgs struct { + // Name of the specification + Name pulumi.StringInput `pulumi:"name"` + // Value of the specification + Value pulumi.StringInput `pulumi:"value"` +} + +func (SpecificationResponseArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SpecificationResponse)(nil)).Elem() +} + +func (i SpecificationResponseArgs) ToSpecificationResponseOutput() SpecificationResponseOutput { + return i.ToSpecificationResponseOutputWithContext(context.Background()) +} + +func (i SpecificationResponseArgs) ToSpecificationResponseOutputWithContext(ctx context.Context) SpecificationResponseOutput { + return pulumi.ToOutputWithContext(ctx, i).(SpecificationResponseOutput) +} + +// SpecificationResponseArrayInput is an input type that accepts SpecificationResponseArray and SpecificationResponseArrayOutput values. +// You can construct a concrete instance of `SpecificationResponseArrayInput` via: +// +// SpecificationResponseArray{ SpecificationResponseArgs{...} } +type SpecificationResponseArrayInput interface { + pulumi.Input + + ToSpecificationResponseArrayOutput() SpecificationResponseArrayOutput + ToSpecificationResponseArrayOutputWithContext(context.Context) SpecificationResponseArrayOutput +} + +type SpecificationResponseArray []SpecificationResponseInput + +func (SpecificationResponseArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]SpecificationResponse)(nil)).Elem() +} + +func (i SpecificationResponseArray) ToSpecificationResponseArrayOutput() SpecificationResponseArrayOutput { + return i.ToSpecificationResponseArrayOutputWithContext(context.Background()) +} + +func (i SpecificationResponseArray) ToSpecificationResponseArrayOutputWithContext(ctx context.Context) SpecificationResponseArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(SpecificationResponseArrayOutput) +} + +// Specifications of the configurations +type SpecificationResponseOutput struct{ *pulumi.OutputState } + +func (SpecificationResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SpecificationResponse)(nil)).Elem() +} + +func (o SpecificationResponseOutput) ToSpecificationResponseOutput() SpecificationResponseOutput { + return o +} + +func (o SpecificationResponseOutput) ToSpecificationResponseOutputWithContext(ctx context.Context) SpecificationResponseOutput { + return o +} + +// Name of the specification +func (o SpecificationResponseOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v SpecificationResponse) string { return v.Name }).(pulumi.StringOutput) +} + +// Value of the specification +func (o SpecificationResponseOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v SpecificationResponse) string { return v.Value }).(pulumi.StringOutput) +} + +type SpecificationResponseArrayOutput struct{ *pulumi.OutputState } + +func (SpecificationResponseArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]SpecificationResponse)(nil)).Elem() +} + +func (o SpecificationResponseArrayOutput) ToSpecificationResponseArrayOutput() SpecificationResponseArrayOutput { + return o +} + +func (o SpecificationResponseArrayOutput) ToSpecificationResponseArrayOutputWithContext(ctx context.Context) SpecificationResponseArrayOutput { + return o +} + +func (o SpecificationResponseArrayOutput) Index(i pulumi.IntInput) SpecificationResponseOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) SpecificationResponse { + return vs[0].([]SpecificationResponse)[vs[1].(int)] + }).(SpecificationResponseOutput) +} + +// Metadata pertaining to creation and last modification of the resource. +type SystemDataResponse struct { + // The timestamp of resource creation (UTC). + CreatedAt *string `pulumi:"createdAt"` + // The identity that created the resource. + CreatedBy *string `pulumi:"createdBy"` + // The type of identity that created the resource. + CreatedByType *string `pulumi:"createdByType"` + // The type of identity that last modified the resource. + LastModifiedAt *string `pulumi:"lastModifiedAt"` + // The identity that last modified the resource. + LastModifiedBy *string `pulumi:"lastModifiedBy"` + // The type of identity that last modified the resource. + LastModifiedByType *string `pulumi:"lastModifiedByType"` +} + +// SystemDataResponseInput is an input type that accepts SystemDataResponseArgs and SystemDataResponseOutput values. +// You can construct a concrete instance of `SystemDataResponseInput` via: +// +// SystemDataResponseArgs{...} +type SystemDataResponseInput interface { + pulumi.Input + + ToSystemDataResponseOutput() SystemDataResponseOutput + ToSystemDataResponseOutputWithContext(context.Context) SystemDataResponseOutput +} + +// Metadata pertaining to creation and last modification of the resource. +type SystemDataResponseArgs struct { + // The timestamp of resource creation (UTC). + CreatedAt pulumi.StringPtrInput `pulumi:"createdAt"` + // The identity that created the resource. + CreatedBy pulumi.StringPtrInput `pulumi:"createdBy"` + // The type of identity that created the resource. + CreatedByType pulumi.StringPtrInput `pulumi:"createdByType"` + // The type of identity that last modified the resource. + LastModifiedAt pulumi.StringPtrInput `pulumi:"lastModifiedAt"` + // The identity that last modified the resource. + LastModifiedBy pulumi.StringPtrInput `pulumi:"lastModifiedBy"` + // The type of identity that last modified the resource. + LastModifiedByType pulumi.StringPtrInput `pulumi:"lastModifiedByType"` +} + +func (SystemDataResponseArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SystemDataResponse)(nil)).Elem() +} + +func (i SystemDataResponseArgs) ToSystemDataResponseOutput() SystemDataResponseOutput { + return i.ToSystemDataResponseOutputWithContext(context.Background()) +} + +func (i SystemDataResponseArgs) ToSystemDataResponseOutputWithContext(ctx context.Context) SystemDataResponseOutput { + return pulumi.ToOutputWithContext(ctx, i).(SystemDataResponseOutput) +} + +func (i SystemDataResponseArgs) ToSystemDataResponsePtrOutput() SystemDataResponsePtrOutput { + return i.ToSystemDataResponsePtrOutputWithContext(context.Background()) +} + +func (i SystemDataResponseArgs) ToSystemDataResponsePtrOutputWithContext(ctx context.Context) SystemDataResponsePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SystemDataResponseOutput).ToSystemDataResponsePtrOutputWithContext(ctx) +} + +// SystemDataResponsePtrInput is an input type that accepts SystemDataResponseArgs, SystemDataResponsePtr and SystemDataResponsePtrOutput values. +// You can construct a concrete instance of `SystemDataResponsePtrInput` via: +// +// SystemDataResponseArgs{...} +// +// or: +// +// nil +type SystemDataResponsePtrInput interface { + pulumi.Input + + ToSystemDataResponsePtrOutput() SystemDataResponsePtrOutput + ToSystemDataResponsePtrOutputWithContext(context.Context) SystemDataResponsePtrOutput +} + +type systemDataResponsePtrType SystemDataResponseArgs + +func SystemDataResponsePtr(v *SystemDataResponseArgs) SystemDataResponsePtrInput { + return (*systemDataResponsePtrType)(v) +} + +func (*systemDataResponsePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SystemDataResponse)(nil)).Elem() +} + +func (i *systemDataResponsePtrType) ToSystemDataResponsePtrOutput() SystemDataResponsePtrOutput { + return i.ToSystemDataResponsePtrOutputWithContext(context.Background()) +} + +func (i *systemDataResponsePtrType) ToSystemDataResponsePtrOutputWithContext(ctx context.Context) SystemDataResponsePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SystemDataResponsePtrOutput) +} + +// Metadata pertaining to creation and last modification of the resource. +type SystemDataResponseOutput struct{ *pulumi.OutputState } + +func (SystemDataResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SystemDataResponse)(nil)).Elem() +} + +func (o SystemDataResponseOutput) ToSystemDataResponseOutput() SystemDataResponseOutput { + return o +} + +func (o SystemDataResponseOutput) ToSystemDataResponseOutputWithContext(ctx context.Context) SystemDataResponseOutput { + return o +} + +func (o SystemDataResponseOutput) ToSystemDataResponsePtrOutput() SystemDataResponsePtrOutput { + return o.ToSystemDataResponsePtrOutputWithContext(context.Background()) +} + +func (o SystemDataResponseOutput) ToSystemDataResponsePtrOutputWithContext(ctx context.Context) SystemDataResponsePtrOutput { + return o.ApplyT(func(v SystemDataResponse) *SystemDataResponse { + return &v + }).(SystemDataResponsePtrOutput) +} + +// The timestamp of resource creation (UTC). +func (o SystemDataResponseOutput) CreatedAt() pulumi.StringPtrOutput { + return o.ApplyT(func(v SystemDataResponse) *string { return v.CreatedAt }).(pulumi.StringPtrOutput) +} + +// The identity that created the resource. +func (o SystemDataResponseOutput) CreatedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v SystemDataResponse) *string { return v.CreatedBy }).(pulumi.StringPtrOutput) +} + +// The type of identity that created the resource. +func (o SystemDataResponseOutput) CreatedByType() pulumi.StringPtrOutput { + return o.ApplyT(func(v SystemDataResponse) *string { return v.CreatedByType }).(pulumi.StringPtrOutput) +} + +// The type of identity that last modified the resource. +func (o SystemDataResponseOutput) LastModifiedAt() pulumi.StringPtrOutput { + return o.ApplyT(func(v SystemDataResponse) *string { return v.LastModifiedAt }).(pulumi.StringPtrOutput) +} + +// The identity that last modified the resource. +func (o SystemDataResponseOutput) LastModifiedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v SystemDataResponse) *string { return v.LastModifiedBy }).(pulumi.StringPtrOutput) +} + +// The type of identity that last modified the resource. +func (o SystemDataResponseOutput) LastModifiedByType() pulumi.StringPtrOutput { + return o.ApplyT(func(v SystemDataResponse) *string { return v.LastModifiedByType }).(pulumi.StringPtrOutput) +} + +type SystemDataResponsePtrOutput struct{ *pulumi.OutputState } + +func (SystemDataResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SystemDataResponse)(nil)).Elem() +} + +func (o SystemDataResponsePtrOutput) ToSystemDataResponsePtrOutput() SystemDataResponsePtrOutput { + return o +} + +func (o SystemDataResponsePtrOutput) ToSystemDataResponsePtrOutputWithContext(ctx context.Context) SystemDataResponsePtrOutput { + return o +} + +func (o SystemDataResponsePtrOutput) Elem() SystemDataResponseOutput { + return o.ApplyT(func(v *SystemDataResponse) SystemDataResponse { return *v }).(SystemDataResponseOutput) +} + +// The timestamp of resource creation (UTC). +func (o SystemDataResponsePtrOutput) CreatedAt() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SystemDataResponse) *string { + if v == nil { + return nil + } + return v.CreatedAt + }).(pulumi.StringPtrOutput) +} + +// The identity that created the resource. +func (o SystemDataResponsePtrOutput) CreatedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SystemDataResponse) *string { + if v == nil { + return nil + } + return v.CreatedBy + }).(pulumi.StringPtrOutput) +} + +// The type of identity that created the resource. +func (o SystemDataResponsePtrOutput) CreatedByType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SystemDataResponse) *string { + if v == nil { + return nil + } + return v.CreatedByType + }).(pulumi.StringPtrOutput) +} + +// The type of identity that last modified the resource. +func (o SystemDataResponsePtrOutput) LastModifiedAt() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SystemDataResponse) *string { + if v == nil { + return nil + } + return v.LastModifiedAt + }).(pulumi.StringPtrOutput) +} + +// The identity that last modified the resource. +func (o SystemDataResponsePtrOutput) LastModifiedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SystemDataResponse) *string { + if v == nil { + return nil + } + return v.LastModifiedBy + }).(pulumi.StringPtrOutput) +} + +// The type of identity that last modified the resource. +func (o SystemDataResponsePtrOutput) LastModifiedByType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SystemDataResponse) *string { + if v == nil { + return nil + } + return v.LastModifiedByType + }).(pulumi.StringPtrOutput) +} + +// Preferences related to the shipment logistics of the sku +type TransportPreferences struct { + // Indicates Shipment Logistics type that the customer preferred. + PreferredShipmentType string `pulumi:"preferredShipmentType"` +} + +// TransportPreferencesInput is an input type that accepts TransportPreferencesArgs and TransportPreferencesOutput values. +// You can construct a concrete instance of `TransportPreferencesInput` via: +// +// TransportPreferencesArgs{...} +type TransportPreferencesInput interface { + pulumi.Input + + ToTransportPreferencesOutput() TransportPreferencesOutput + ToTransportPreferencesOutputWithContext(context.Context) TransportPreferencesOutput +} + +// Preferences related to the shipment logistics of the sku +type TransportPreferencesArgs struct { + // Indicates Shipment Logistics type that the customer preferred. + PreferredShipmentType pulumi.StringInput `pulumi:"preferredShipmentType"` +} + +func (TransportPreferencesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*TransportPreferences)(nil)).Elem() +} + +func (i TransportPreferencesArgs) ToTransportPreferencesOutput() TransportPreferencesOutput { + return i.ToTransportPreferencesOutputWithContext(context.Background()) +} + +func (i TransportPreferencesArgs) ToTransportPreferencesOutputWithContext(ctx context.Context) TransportPreferencesOutput { + return pulumi.ToOutputWithContext(ctx, i).(TransportPreferencesOutput) +} + +func (i TransportPreferencesArgs) ToTransportPreferencesPtrOutput() TransportPreferencesPtrOutput { + return i.ToTransportPreferencesPtrOutputWithContext(context.Background()) +} + +func (i TransportPreferencesArgs) ToTransportPreferencesPtrOutputWithContext(ctx context.Context) TransportPreferencesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(TransportPreferencesOutput).ToTransportPreferencesPtrOutputWithContext(ctx) +} + +// TransportPreferencesPtrInput is an input type that accepts TransportPreferencesArgs, TransportPreferencesPtr and TransportPreferencesPtrOutput values. +// You can construct a concrete instance of `TransportPreferencesPtrInput` via: +// +// TransportPreferencesArgs{...} +// +// or: +// +// nil +type TransportPreferencesPtrInput interface { + pulumi.Input + + ToTransportPreferencesPtrOutput() TransportPreferencesPtrOutput + ToTransportPreferencesPtrOutputWithContext(context.Context) TransportPreferencesPtrOutput +} + +type transportPreferencesPtrType TransportPreferencesArgs + +func TransportPreferencesPtr(v *TransportPreferencesArgs) TransportPreferencesPtrInput { + return (*transportPreferencesPtrType)(v) +} + +func (*transportPreferencesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**TransportPreferences)(nil)).Elem() +} + +func (i *transportPreferencesPtrType) ToTransportPreferencesPtrOutput() TransportPreferencesPtrOutput { + return i.ToTransportPreferencesPtrOutputWithContext(context.Background()) +} + +func (i *transportPreferencesPtrType) ToTransportPreferencesPtrOutputWithContext(ctx context.Context) TransportPreferencesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(TransportPreferencesPtrOutput) +} + +// Preferences related to the shipment logistics of the sku +type TransportPreferencesOutput struct{ *pulumi.OutputState } + +func (TransportPreferencesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*TransportPreferences)(nil)).Elem() +} + +func (o TransportPreferencesOutput) ToTransportPreferencesOutput() TransportPreferencesOutput { + return o +} + +func (o TransportPreferencesOutput) ToTransportPreferencesOutputWithContext(ctx context.Context) TransportPreferencesOutput { + return o +} + +func (o TransportPreferencesOutput) ToTransportPreferencesPtrOutput() TransportPreferencesPtrOutput { + return o.ToTransportPreferencesPtrOutputWithContext(context.Background()) +} + +func (o TransportPreferencesOutput) ToTransportPreferencesPtrOutputWithContext(ctx context.Context) TransportPreferencesPtrOutput { + return o.ApplyT(func(v TransportPreferences) *TransportPreferences { + return &v + }).(TransportPreferencesPtrOutput) +} + +// Indicates Shipment Logistics type that the customer preferred. +func (o TransportPreferencesOutput) PreferredShipmentType() pulumi.StringOutput { + return o.ApplyT(func(v TransportPreferences) string { return v.PreferredShipmentType }).(pulumi.StringOutput) +} + +type TransportPreferencesPtrOutput struct{ *pulumi.OutputState } + +func (TransportPreferencesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**TransportPreferences)(nil)).Elem() +} + +func (o TransportPreferencesPtrOutput) ToTransportPreferencesPtrOutput() TransportPreferencesPtrOutput { + return o +} + +func (o TransportPreferencesPtrOutput) ToTransportPreferencesPtrOutputWithContext(ctx context.Context) TransportPreferencesPtrOutput { + return o +} + +func (o TransportPreferencesPtrOutput) Elem() TransportPreferencesOutput { + return o.ApplyT(func(v *TransportPreferences) TransportPreferences { return *v }).(TransportPreferencesOutput) +} + +// Indicates Shipment Logistics type that the customer preferred. +func (o TransportPreferencesPtrOutput) PreferredShipmentType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *TransportPreferences) *string { + if v == nil { + return nil + } + return &v.PreferredShipmentType + }).(pulumi.StringPtrOutput) +} + +// Preferences related to the shipment logistics of the sku +type TransportPreferencesResponse struct { + // Indicates Shipment Logistics type that the customer preferred. + PreferredShipmentType string `pulumi:"preferredShipmentType"` +} + +// TransportPreferencesResponseInput is an input type that accepts TransportPreferencesResponseArgs and TransportPreferencesResponseOutput values. +// You can construct a concrete instance of `TransportPreferencesResponseInput` via: +// +// TransportPreferencesResponseArgs{...} +type TransportPreferencesResponseInput interface { + pulumi.Input + + ToTransportPreferencesResponseOutput() TransportPreferencesResponseOutput + ToTransportPreferencesResponseOutputWithContext(context.Context) TransportPreferencesResponseOutput +} + +// Preferences related to the shipment logistics of the sku +type TransportPreferencesResponseArgs struct { + // Indicates Shipment Logistics type that the customer preferred. + PreferredShipmentType pulumi.StringInput `pulumi:"preferredShipmentType"` +} + +func (TransportPreferencesResponseArgs) ElementType() reflect.Type { + return reflect.TypeOf((*TransportPreferencesResponse)(nil)).Elem() +} + +func (i TransportPreferencesResponseArgs) ToTransportPreferencesResponseOutput() TransportPreferencesResponseOutput { + return i.ToTransportPreferencesResponseOutputWithContext(context.Background()) +} + +func (i TransportPreferencesResponseArgs) ToTransportPreferencesResponseOutputWithContext(ctx context.Context) TransportPreferencesResponseOutput { + return pulumi.ToOutputWithContext(ctx, i).(TransportPreferencesResponseOutput) +} + +func (i TransportPreferencesResponseArgs) ToTransportPreferencesResponsePtrOutput() TransportPreferencesResponsePtrOutput { + return i.ToTransportPreferencesResponsePtrOutputWithContext(context.Background()) +} + +func (i TransportPreferencesResponseArgs) ToTransportPreferencesResponsePtrOutputWithContext(ctx context.Context) TransportPreferencesResponsePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(TransportPreferencesResponseOutput).ToTransportPreferencesResponsePtrOutputWithContext(ctx) +} + +// TransportPreferencesResponsePtrInput is an input type that accepts TransportPreferencesResponseArgs, TransportPreferencesResponsePtr and TransportPreferencesResponsePtrOutput values. +// You can construct a concrete instance of `TransportPreferencesResponsePtrInput` via: +// +// TransportPreferencesResponseArgs{...} +// +// or: +// +// nil +type TransportPreferencesResponsePtrInput interface { + pulumi.Input + + ToTransportPreferencesResponsePtrOutput() TransportPreferencesResponsePtrOutput + ToTransportPreferencesResponsePtrOutputWithContext(context.Context) TransportPreferencesResponsePtrOutput +} + +type transportPreferencesResponsePtrType TransportPreferencesResponseArgs + +func TransportPreferencesResponsePtr(v *TransportPreferencesResponseArgs) TransportPreferencesResponsePtrInput { + return (*transportPreferencesResponsePtrType)(v) +} + +func (*transportPreferencesResponsePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**TransportPreferencesResponse)(nil)).Elem() +} + +func (i *transportPreferencesResponsePtrType) ToTransportPreferencesResponsePtrOutput() TransportPreferencesResponsePtrOutput { + return i.ToTransportPreferencesResponsePtrOutputWithContext(context.Background()) +} + +func (i *transportPreferencesResponsePtrType) ToTransportPreferencesResponsePtrOutputWithContext(ctx context.Context) TransportPreferencesResponsePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(TransportPreferencesResponsePtrOutput) +} + +// Preferences related to the shipment logistics of the sku +type TransportPreferencesResponseOutput struct{ *pulumi.OutputState } + +func (TransportPreferencesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*TransportPreferencesResponse)(nil)).Elem() +} + +func (o TransportPreferencesResponseOutput) ToTransportPreferencesResponseOutput() TransportPreferencesResponseOutput { + return o +} + +func (o TransportPreferencesResponseOutput) ToTransportPreferencesResponseOutputWithContext(ctx context.Context) TransportPreferencesResponseOutput { + return o +} + +func (o TransportPreferencesResponseOutput) ToTransportPreferencesResponsePtrOutput() TransportPreferencesResponsePtrOutput { + return o.ToTransportPreferencesResponsePtrOutputWithContext(context.Background()) +} + +func (o TransportPreferencesResponseOutput) ToTransportPreferencesResponsePtrOutputWithContext(ctx context.Context) TransportPreferencesResponsePtrOutput { + return o.ApplyT(func(v TransportPreferencesResponse) *TransportPreferencesResponse { + return &v + }).(TransportPreferencesResponsePtrOutput) +} + +// Indicates Shipment Logistics type that the customer preferred. +func (o TransportPreferencesResponseOutput) PreferredShipmentType() pulumi.StringOutput { + return o.ApplyT(func(v TransportPreferencesResponse) string { return v.PreferredShipmentType }).(pulumi.StringOutput) +} + +type TransportPreferencesResponsePtrOutput struct{ *pulumi.OutputState } + +func (TransportPreferencesResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**TransportPreferencesResponse)(nil)).Elem() +} + +func (o TransportPreferencesResponsePtrOutput) ToTransportPreferencesResponsePtrOutput() TransportPreferencesResponsePtrOutput { + return o +} + +func (o TransportPreferencesResponsePtrOutput) ToTransportPreferencesResponsePtrOutputWithContext(ctx context.Context) TransportPreferencesResponsePtrOutput { + return o +} + +func (o TransportPreferencesResponsePtrOutput) Elem() TransportPreferencesResponseOutput { + return o.ApplyT(func(v *TransportPreferencesResponse) TransportPreferencesResponse { return *v }).(TransportPreferencesResponseOutput) +} + +// Indicates Shipment Logistics type that the customer preferred. +func (o TransportPreferencesResponsePtrOutput) PreferredShipmentType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *TransportPreferencesResponse) *string { + if v == nil { + return nil + } + return &v.PreferredShipmentType + }).(pulumi.StringPtrOutput) +} + +func init() { + pulumi.RegisterOutputType(AdditionalErrorInfoResponseOutput{}) + pulumi.RegisterOutputType(AdditionalErrorInfoResponseArrayOutput{}) + pulumi.RegisterOutputType(AddressDetailsOutput{}) + pulumi.RegisterOutputType(AddressDetailsPtrOutput{}) + pulumi.RegisterOutputType(AddressDetailsResponseOutput{}) + pulumi.RegisterOutputType(AddressDetailsResponsePtrOutput{}) + pulumi.RegisterOutputType(AddressPropertiesOutput{}) + pulumi.RegisterOutputType(AddressPropertiesPtrOutput{}) + pulumi.RegisterOutputType(AddressPropertiesResponseOutput{}) + pulumi.RegisterOutputType(AddressPropertiesResponsePtrOutput{}) + pulumi.RegisterOutputType(AvailabilityInformationResponseOutput{}) + pulumi.RegisterOutputType(BillingModelResponseOutput{}) + pulumi.RegisterOutputType(CloudErrorResponseOutput{}) + pulumi.RegisterOutputType(CloudErrorResponsePtrOutput{}) + pulumi.RegisterOutputType(CloudErrorResponseArrayOutput{}) + pulumi.RegisterOutputType(ConfigurationFiltersOutput{}) + pulumi.RegisterOutputType(ConfigurationFiltersArrayOutput{}) + pulumi.RegisterOutputType(ConfigurationResponseOutput{}) + pulumi.RegisterOutputType(ConfigurationResponseArrayOutput{}) + pulumi.RegisterOutputType(ContactDetailsOutput{}) + pulumi.RegisterOutputType(ContactDetailsPtrOutput{}) + pulumi.RegisterOutputType(ContactDetailsResponseOutput{}) + pulumi.RegisterOutputType(ContactDetailsResponsePtrOutput{}) + pulumi.RegisterOutputType(CostInformationResponseOutput{}) + pulumi.RegisterOutputType(CustomerSubscriptionDetailsOutput{}) + pulumi.RegisterOutputType(CustomerSubscriptionRegisteredFeaturesOutput{}) + pulumi.RegisterOutputType(CustomerSubscriptionRegisteredFeaturesArrayOutput{}) + pulumi.RegisterOutputType(DescriptionResponseOutput{}) + pulumi.RegisterOutputType(DeviceDetailsResponseOutput{}) + pulumi.RegisterOutputType(DeviceDetailsResponseArrayOutput{}) + pulumi.RegisterOutputType(FilterablePropertyOutput{}) + pulumi.RegisterOutputType(FilterablePropertyPtrOutput{}) + pulumi.RegisterOutputType(FilterablePropertyMapOutput{}) + pulumi.RegisterOutputType(FilterablePropertyResponseOutput{}) + pulumi.RegisterOutputType(FilterablePropertyResponseArrayOutput{}) + pulumi.RegisterOutputType(HierarchyInformationOutput{}) + pulumi.RegisterOutputType(HierarchyInformationPtrOutput{}) + pulumi.RegisterOutputType(HierarchyInformationResponseOutput{}) + pulumi.RegisterOutputType(HierarchyInformationResponsePtrOutput{}) + pulumi.RegisterOutputType(ImageInformationResponseOutput{}) + pulumi.RegisterOutputType(ImageInformationResponseArrayOutput{}) + pulumi.RegisterOutputType(LinkResponseOutput{}) + pulumi.RegisterOutputType(LinkResponseArrayOutput{}) + pulumi.RegisterOutputType(MeterDetailsResponseOutput{}) + pulumi.RegisterOutputType(MeterDetailsResponseArrayOutput{}) + pulumi.RegisterOutputType(NotificationPreferenceOutput{}) + pulumi.RegisterOutputType(NotificationPreferenceArrayOutput{}) + pulumi.RegisterOutputType(NotificationPreferenceResponseOutput{}) + pulumi.RegisterOutputType(NotificationPreferenceResponseArrayOutput{}) + pulumi.RegisterOutputType(OrderDetailsOutput{}) + pulumi.RegisterOutputType(OrderDetailsPtrOutput{}) + pulumi.RegisterOutputType(OrderDetailsResponseOutput{}) + pulumi.RegisterOutputType(OrderDetailsResponsePtrOutput{}) + pulumi.RegisterOutputType(OrderStatusDetailsResponseOutput{}) + pulumi.RegisterOutputType(OrderStatusDetailsResponsePtrOutput{}) + pulumi.RegisterOutputType(OrderStatusDetailsResponseArrayOutput{}) + pulumi.RegisterOutputType(PreferencesOutput{}) + pulumi.RegisterOutputType(PreferencesPtrOutput{}) + pulumi.RegisterOutputType(PreferencesResponseOutput{}) + pulumi.RegisterOutputType(PreferencesResponsePtrOutput{}) + pulumi.RegisterOutputType(ProductDetailsOutput{}) + pulumi.RegisterOutputType(ProductDetailsPtrOutput{}) + pulumi.RegisterOutputType(ProductDetailsResponseOutput{}) + pulumi.RegisterOutputType(ProductDetailsResponsePtrOutput{}) + pulumi.RegisterOutputType(ProductFamilyResponseOutput{}) + pulumi.RegisterOutputType(ProductFamilyResponseArrayOutput{}) + pulumi.RegisterOutputType(ProductLineResponseOutput{}) + pulumi.RegisterOutputType(ProductLineResponseArrayOutput{}) + pulumi.RegisterOutputType(ProductResponseOutput{}) + pulumi.RegisterOutputType(ProductResponseArrayOutput{}) + pulumi.RegisterOutputType(ShippingAddressOutput{}) + pulumi.RegisterOutputType(ShippingAddressPtrOutput{}) + pulumi.RegisterOutputType(ShippingAddressResponseOutput{}) + pulumi.RegisterOutputType(ShippingAddressResponsePtrOutput{}) + pulumi.RegisterOutputType(ShippingDetailsResponseOutput{}) + pulumi.RegisterOutputType(ShippingDetailsResponsePtrOutput{}) + pulumi.RegisterOutputType(SpecificationResponseOutput{}) + pulumi.RegisterOutputType(SpecificationResponseArrayOutput{}) + pulumi.RegisterOutputType(SystemDataResponseOutput{}) + pulumi.RegisterOutputType(SystemDataResponsePtrOutput{}) + pulumi.RegisterOutputType(TransportPreferencesOutput{}) + pulumi.RegisterOutputType(TransportPreferencesPtrOutput{}) + pulumi.RegisterOutputType(TransportPreferencesResponseOutput{}) + pulumi.RegisterOutputType(TransportPreferencesResponsePtrOutput{}) +} diff --git a/sdk/go/azure/hdinsight/v20180601preview/pulumiTypes.go b/sdk/go/azure/hdinsight/v20180601preview/pulumiTypes.go index 247ac23b30f0..1c2e5a1194ed 100644 --- a/sdk/go/azure/hdinsight/v20180601preview/pulumiTypes.go +++ b/sdk/go/azure/hdinsight/v20180601preview/pulumiTypes.go @@ -16,6 +16,8 @@ type ApplicationGetEndpoint struct { DestinationPort *int `pulumi:"destinationPort"` // The location of the endpoint. Location *string `pulumi:"location"` + // The private ip address of the endpoint. + PrivateIPAddress *string `pulumi:"privateIPAddress"` // The public port to connect to. PublicPort *int `pulumi:"publicPort"` } @@ -37,6 +39,8 @@ type ApplicationGetEndpointArgs struct { DestinationPort pulumi.IntPtrInput `pulumi:"destinationPort"` // The location of the endpoint. Location pulumi.StringPtrInput `pulumi:"location"` + // The private ip address of the endpoint. + PrivateIPAddress pulumi.StringPtrInput `pulumi:"privateIPAddress"` // The public port to connect to. PublicPort pulumi.IntPtrInput `pulumi:"publicPort"` } @@ -103,6 +107,11 @@ func (o ApplicationGetEndpointOutput) Location() pulumi.StringPtrOutput { return o.ApplyT(func(v ApplicationGetEndpoint) *string { return v.Location }).(pulumi.StringPtrOutput) } +// The private ip address of the endpoint. +func (o ApplicationGetEndpointOutput) PrivateIPAddress() pulumi.StringPtrOutput { + return o.ApplyT(func(v ApplicationGetEndpoint) *string { return v.PrivateIPAddress }).(pulumi.StringPtrOutput) +} + // The public port to connect to. func (o ApplicationGetEndpointOutput) PublicPort() pulumi.IntPtrOutput { return o.ApplyT(func(v ApplicationGetEndpoint) *int { return v.PublicPort }).(pulumi.IntPtrOutput) @@ -134,6 +143,8 @@ type ApplicationGetEndpointResponse struct { DestinationPort *int `pulumi:"destinationPort"` // The location of the endpoint. Location *string `pulumi:"location"` + // The private ip address of the endpoint. + PrivateIPAddress *string `pulumi:"privateIPAddress"` // The public port to connect to. PublicPort *int `pulumi:"publicPort"` } @@ -155,6 +166,8 @@ type ApplicationGetEndpointResponseArgs struct { DestinationPort pulumi.IntPtrInput `pulumi:"destinationPort"` // The location of the endpoint. Location pulumi.StringPtrInput `pulumi:"location"` + // The private ip address of the endpoint. + PrivateIPAddress pulumi.StringPtrInput `pulumi:"privateIPAddress"` // The public port to connect to. PublicPort pulumi.IntPtrInput `pulumi:"publicPort"` } @@ -221,6 +234,11 @@ func (o ApplicationGetEndpointResponseOutput) Location() pulumi.StringPtrOutput return o.ApplyT(func(v ApplicationGetEndpointResponse) *string { return v.Location }).(pulumi.StringPtrOutput) } +// The private ip address of the endpoint. +func (o ApplicationGetEndpointResponseOutput) PrivateIPAddress() pulumi.StringPtrOutput { + return o.ApplyT(func(v ApplicationGetEndpointResponse) *string { return v.PrivateIPAddress }).(pulumi.StringPtrOutput) +} + // The public port to connect to. func (o ApplicationGetEndpointResponseOutput) PublicPort() pulumi.IntPtrOutput { return o.ApplyT(func(v ApplicationGetEndpointResponse) *int { return v.PublicPort }).(pulumi.IntPtrOutput) @@ -5319,6 +5337,8 @@ type ConnectivityEndpointResponse struct { Name *string `pulumi:"name"` // The port to connect to. Port *int `pulumi:"port"` + // The private ip address of the endpoint. + PrivateIPAddress *string `pulumi:"privateIPAddress"` // The protocol of the endpoint. Protocol *string `pulumi:"protocol"` } @@ -5342,6 +5362,8 @@ type ConnectivityEndpointResponseArgs struct { Name pulumi.StringPtrInput `pulumi:"name"` // The port to connect to. Port pulumi.IntPtrInput `pulumi:"port"` + // The private ip address of the endpoint. + PrivateIPAddress pulumi.StringPtrInput `pulumi:"privateIPAddress"` // The protocol of the endpoint. Protocol pulumi.StringPtrInput `pulumi:"protocol"` } @@ -5413,6 +5435,11 @@ func (o ConnectivityEndpointResponseOutput) Port() pulumi.IntPtrOutput { return o.ApplyT(func(v ConnectivityEndpointResponse) *int { return v.Port }).(pulumi.IntPtrOutput) } +// The private ip address of the endpoint. +func (o ConnectivityEndpointResponseOutput) PrivateIPAddress() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectivityEndpointResponse) *string { return v.PrivateIPAddress }).(pulumi.StringPtrOutput) +} + // The protocol of the endpoint. func (o ConnectivityEndpointResponseOutput) Protocol() pulumi.StringPtrOutput { return o.ApplyT(func(v ConnectivityEndpointResponse) *string { return v.Protocol }).(pulumi.StringPtrOutput) diff --git a/sdk/go/azure/healthcareapis/latest/getPrivateEndpointConnection.go b/sdk/go/azure/healthcareapis/latest/getPrivateEndpointConnection.go index 18d81fa032a4..8a493331a325 100644 --- a/sdk/go/azure/healthcareapis/latest/getPrivateEndpointConnection.go +++ b/sdk/go/azure/healthcareapis/latest/getPrivateEndpointConnection.go @@ -37,6 +37,8 @@ type LookupPrivateEndpointConnectionResult struct { PrivateLinkServiceConnectionState PrivateLinkServiceConnectionStateResponse `pulumi:"privateLinkServiceConnectionState"` // The provisioning state of the private endpoint connection resource. ProvisioningState string `pulumi:"provisioningState"` + // System metadata for this resource. + SystemData SystemDataResponse `pulumi:"systemData"` // The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type string `pulumi:"type"` } diff --git a/sdk/go/azure/healthcareapis/latest/getService.go b/sdk/go/azure/healthcareapis/latest/getService.go index cf21f90a61f1..04e00d5d724f 100644 --- a/sdk/go/azure/healthcareapis/latest/getService.go +++ b/sdk/go/azure/healthcareapis/latest/getService.go @@ -39,6 +39,8 @@ type LookupServiceResult struct { Name string `pulumi:"name"` // The common properties of a service. Properties ServicesPropertiesResponse `pulumi:"properties"` + // Metadata pertaining to creation and last modification of the resource. + SystemData SystemDataResponse `pulumi:"systemData"` // The resource tags. Tags map[string]string `pulumi:"tags"` // The resource type. diff --git a/sdk/go/azure/healthcareapis/latest/privateEndpointConnection.go b/sdk/go/azure/healthcareapis/latest/privateEndpointConnection.go index 33316404d726..bc6e9a2cb37a 100644 --- a/sdk/go/azure/healthcareapis/latest/privateEndpointConnection.go +++ b/sdk/go/azure/healthcareapis/latest/privateEndpointConnection.go @@ -12,7 +12,7 @@ import ( ) // The Private Endpoint Connection resource. -// Latest API Version: 2020-03-30. +// Latest API Version: 2021-01-11. type PrivateEndpointConnection struct { pulumi.CustomResourceState @@ -24,6 +24,8 @@ type PrivateEndpointConnection struct { PrivateLinkServiceConnectionState PrivateLinkServiceConnectionStateResponseOutput `pulumi:"privateLinkServiceConnectionState"` // The provisioning state of the private endpoint connection resource. ProvisioningState pulumi.StringOutput `pulumi:"provisioningState"` + // System metadata for this resource. + SystemData SystemDataResponseOutput `pulumi:"systemData"` // The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type pulumi.StringOutput `pulumi:"type"` } @@ -51,6 +53,9 @@ func NewPrivateEndpointConnection(ctx *pulumi.Context, { Type: pulumi.String("azure-nextgen:healthcareapis/v20200330:PrivateEndpointConnection"), }, + { + Type: pulumi.String("azure-nextgen:healthcareapis/v20210111:PrivateEndpointConnection"), + }, }) opts = append(opts, aliases) var resource PrivateEndpointConnection @@ -83,6 +88,8 @@ type privateEndpointConnectionState struct { PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionStateResponse `pulumi:"privateLinkServiceConnectionState"` // The provisioning state of the private endpoint connection resource. ProvisioningState *string `pulumi:"provisioningState"` + // System metadata for this resource. + SystemData *SystemDataResponse `pulumi:"systemData"` // The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `pulumi:"type"` } @@ -96,6 +103,8 @@ type PrivateEndpointConnectionState struct { PrivateLinkServiceConnectionState PrivateLinkServiceConnectionStateResponsePtrInput // The provisioning state of the private endpoint connection resource. ProvisioningState pulumi.StringPtrInput + // System metadata for this resource. + SystemData SystemDataResponsePtrInput // The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type pulumi.StringPtrInput } diff --git a/sdk/go/azure/healthcareapis/latest/pulumiTypes.go b/sdk/go/azure/healthcareapis/latest/pulumiTypes.go index 2ec176d48cb0..4245533bccb8 100644 --- a/sdk/go/azure/healthcareapis/latest/pulumiTypes.go +++ b/sdk/go/azure/healthcareapis/latest/pulumiTypes.go @@ -939,6 +939,274 @@ func (o ServiceAccessPolicyEntryResponseArrayOutput) Index(i pulumi.IntInput) Se }).(ServiceAccessPolicyEntryResponseOutput) } +// Azure container registry configuration information +type ServiceAcrConfigurationInfo struct { + // The list of the ACR login servers. + LoginServers []string `pulumi:"loginServers"` +} + +// ServiceAcrConfigurationInfoInput is an input type that accepts ServiceAcrConfigurationInfoArgs and ServiceAcrConfigurationInfoOutput values. +// You can construct a concrete instance of `ServiceAcrConfigurationInfoInput` via: +// +// ServiceAcrConfigurationInfoArgs{...} +type ServiceAcrConfigurationInfoInput interface { + pulumi.Input + + ToServiceAcrConfigurationInfoOutput() ServiceAcrConfigurationInfoOutput + ToServiceAcrConfigurationInfoOutputWithContext(context.Context) ServiceAcrConfigurationInfoOutput +} + +// Azure container registry configuration information +type ServiceAcrConfigurationInfoArgs struct { + // The list of the ACR login servers. + LoginServers pulumi.StringArrayInput `pulumi:"loginServers"` +} + +func (ServiceAcrConfigurationInfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ServiceAcrConfigurationInfo)(nil)).Elem() +} + +func (i ServiceAcrConfigurationInfoArgs) ToServiceAcrConfigurationInfoOutput() ServiceAcrConfigurationInfoOutput { + return i.ToServiceAcrConfigurationInfoOutputWithContext(context.Background()) +} + +func (i ServiceAcrConfigurationInfoArgs) ToServiceAcrConfigurationInfoOutputWithContext(ctx context.Context) ServiceAcrConfigurationInfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServiceAcrConfigurationInfoOutput) +} + +func (i ServiceAcrConfigurationInfoArgs) ToServiceAcrConfigurationInfoPtrOutput() ServiceAcrConfigurationInfoPtrOutput { + return i.ToServiceAcrConfigurationInfoPtrOutputWithContext(context.Background()) +} + +func (i ServiceAcrConfigurationInfoArgs) ToServiceAcrConfigurationInfoPtrOutputWithContext(ctx context.Context) ServiceAcrConfigurationInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServiceAcrConfigurationInfoOutput).ToServiceAcrConfigurationInfoPtrOutputWithContext(ctx) +} + +// ServiceAcrConfigurationInfoPtrInput is an input type that accepts ServiceAcrConfigurationInfoArgs, ServiceAcrConfigurationInfoPtr and ServiceAcrConfigurationInfoPtrOutput values. +// You can construct a concrete instance of `ServiceAcrConfigurationInfoPtrInput` via: +// +// ServiceAcrConfigurationInfoArgs{...} +// +// or: +// +// nil +type ServiceAcrConfigurationInfoPtrInput interface { + pulumi.Input + + ToServiceAcrConfigurationInfoPtrOutput() ServiceAcrConfigurationInfoPtrOutput + ToServiceAcrConfigurationInfoPtrOutputWithContext(context.Context) ServiceAcrConfigurationInfoPtrOutput +} + +type serviceAcrConfigurationInfoPtrType ServiceAcrConfigurationInfoArgs + +func ServiceAcrConfigurationInfoPtr(v *ServiceAcrConfigurationInfoArgs) ServiceAcrConfigurationInfoPtrInput { + return (*serviceAcrConfigurationInfoPtrType)(v) +} + +func (*serviceAcrConfigurationInfoPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ServiceAcrConfigurationInfo)(nil)).Elem() +} + +func (i *serviceAcrConfigurationInfoPtrType) ToServiceAcrConfigurationInfoPtrOutput() ServiceAcrConfigurationInfoPtrOutput { + return i.ToServiceAcrConfigurationInfoPtrOutputWithContext(context.Background()) +} + +func (i *serviceAcrConfigurationInfoPtrType) ToServiceAcrConfigurationInfoPtrOutputWithContext(ctx context.Context) ServiceAcrConfigurationInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServiceAcrConfigurationInfoPtrOutput) +} + +// Azure container registry configuration information +type ServiceAcrConfigurationInfoOutput struct{ *pulumi.OutputState } + +func (ServiceAcrConfigurationInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ServiceAcrConfigurationInfo)(nil)).Elem() +} + +func (o ServiceAcrConfigurationInfoOutput) ToServiceAcrConfigurationInfoOutput() ServiceAcrConfigurationInfoOutput { + return o +} + +func (o ServiceAcrConfigurationInfoOutput) ToServiceAcrConfigurationInfoOutputWithContext(ctx context.Context) ServiceAcrConfigurationInfoOutput { + return o +} + +func (o ServiceAcrConfigurationInfoOutput) ToServiceAcrConfigurationInfoPtrOutput() ServiceAcrConfigurationInfoPtrOutput { + return o.ToServiceAcrConfigurationInfoPtrOutputWithContext(context.Background()) +} + +func (o ServiceAcrConfigurationInfoOutput) ToServiceAcrConfigurationInfoPtrOutputWithContext(ctx context.Context) ServiceAcrConfigurationInfoPtrOutput { + return o.ApplyT(func(v ServiceAcrConfigurationInfo) *ServiceAcrConfigurationInfo { + return &v + }).(ServiceAcrConfigurationInfoPtrOutput) +} + +// The list of the ACR login servers. +func (o ServiceAcrConfigurationInfoOutput) LoginServers() pulumi.StringArrayOutput { + return o.ApplyT(func(v ServiceAcrConfigurationInfo) []string { return v.LoginServers }).(pulumi.StringArrayOutput) +} + +type ServiceAcrConfigurationInfoPtrOutput struct{ *pulumi.OutputState } + +func (ServiceAcrConfigurationInfoPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ServiceAcrConfigurationInfo)(nil)).Elem() +} + +func (o ServiceAcrConfigurationInfoPtrOutput) ToServiceAcrConfigurationInfoPtrOutput() ServiceAcrConfigurationInfoPtrOutput { + return o +} + +func (o ServiceAcrConfigurationInfoPtrOutput) ToServiceAcrConfigurationInfoPtrOutputWithContext(ctx context.Context) ServiceAcrConfigurationInfoPtrOutput { + return o +} + +func (o ServiceAcrConfigurationInfoPtrOutput) Elem() ServiceAcrConfigurationInfoOutput { + return o.ApplyT(func(v *ServiceAcrConfigurationInfo) ServiceAcrConfigurationInfo { return *v }).(ServiceAcrConfigurationInfoOutput) +} + +// The list of the ACR login servers. +func (o ServiceAcrConfigurationInfoPtrOutput) LoginServers() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ServiceAcrConfigurationInfo) []string { + if v == nil { + return nil + } + return v.LoginServers + }).(pulumi.StringArrayOutput) +} + +// Azure container registry configuration information +type ServiceAcrConfigurationInfoResponse struct { + // The list of the ACR login servers. + LoginServers []string `pulumi:"loginServers"` +} + +// ServiceAcrConfigurationInfoResponseInput is an input type that accepts ServiceAcrConfigurationInfoResponseArgs and ServiceAcrConfigurationInfoResponseOutput values. +// You can construct a concrete instance of `ServiceAcrConfigurationInfoResponseInput` via: +// +// ServiceAcrConfigurationInfoResponseArgs{...} +type ServiceAcrConfigurationInfoResponseInput interface { + pulumi.Input + + ToServiceAcrConfigurationInfoResponseOutput() ServiceAcrConfigurationInfoResponseOutput + ToServiceAcrConfigurationInfoResponseOutputWithContext(context.Context) ServiceAcrConfigurationInfoResponseOutput +} + +// Azure container registry configuration information +type ServiceAcrConfigurationInfoResponseArgs struct { + // The list of the ACR login servers. + LoginServers pulumi.StringArrayInput `pulumi:"loginServers"` +} + +func (ServiceAcrConfigurationInfoResponseArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ServiceAcrConfigurationInfoResponse)(nil)).Elem() +} + +func (i ServiceAcrConfigurationInfoResponseArgs) ToServiceAcrConfigurationInfoResponseOutput() ServiceAcrConfigurationInfoResponseOutput { + return i.ToServiceAcrConfigurationInfoResponseOutputWithContext(context.Background()) +} + +func (i ServiceAcrConfigurationInfoResponseArgs) ToServiceAcrConfigurationInfoResponseOutputWithContext(ctx context.Context) ServiceAcrConfigurationInfoResponseOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServiceAcrConfigurationInfoResponseOutput) +} + +func (i ServiceAcrConfigurationInfoResponseArgs) ToServiceAcrConfigurationInfoResponsePtrOutput() ServiceAcrConfigurationInfoResponsePtrOutput { + return i.ToServiceAcrConfigurationInfoResponsePtrOutputWithContext(context.Background()) +} + +func (i ServiceAcrConfigurationInfoResponseArgs) ToServiceAcrConfigurationInfoResponsePtrOutputWithContext(ctx context.Context) ServiceAcrConfigurationInfoResponsePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServiceAcrConfigurationInfoResponseOutput).ToServiceAcrConfigurationInfoResponsePtrOutputWithContext(ctx) +} + +// ServiceAcrConfigurationInfoResponsePtrInput is an input type that accepts ServiceAcrConfigurationInfoResponseArgs, ServiceAcrConfigurationInfoResponsePtr and ServiceAcrConfigurationInfoResponsePtrOutput values. +// You can construct a concrete instance of `ServiceAcrConfigurationInfoResponsePtrInput` via: +// +// ServiceAcrConfigurationInfoResponseArgs{...} +// +// or: +// +// nil +type ServiceAcrConfigurationInfoResponsePtrInput interface { + pulumi.Input + + ToServiceAcrConfigurationInfoResponsePtrOutput() ServiceAcrConfigurationInfoResponsePtrOutput + ToServiceAcrConfigurationInfoResponsePtrOutputWithContext(context.Context) ServiceAcrConfigurationInfoResponsePtrOutput +} + +type serviceAcrConfigurationInfoResponsePtrType ServiceAcrConfigurationInfoResponseArgs + +func ServiceAcrConfigurationInfoResponsePtr(v *ServiceAcrConfigurationInfoResponseArgs) ServiceAcrConfigurationInfoResponsePtrInput { + return (*serviceAcrConfigurationInfoResponsePtrType)(v) +} + +func (*serviceAcrConfigurationInfoResponsePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ServiceAcrConfigurationInfoResponse)(nil)).Elem() +} + +func (i *serviceAcrConfigurationInfoResponsePtrType) ToServiceAcrConfigurationInfoResponsePtrOutput() ServiceAcrConfigurationInfoResponsePtrOutput { + return i.ToServiceAcrConfigurationInfoResponsePtrOutputWithContext(context.Background()) +} + +func (i *serviceAcrConfigurationInfoResponsePtrType) ToServiceAcrConfigurationInfoResponsePtrOutputWithContext(ctx context.Context) ServiceAcrConfigurationInfoResponsePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServiceAcrConfigurationInfoResponsePtrOutput) +} + +// Azure container registry configuration information +type ServiceAcrConfigurationInfoResponseOutput struct{ *pulumi.OutputState } + +func (ServiceAcrConfigurationInfoResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ServiceAcrConfigurationInfoResponse)(nil)).Elem() +} + +func (o ServiceAcrConfigurationInfoResponseOutput) ToServiceAcrConfigurationInfoResponseOutput() ServiceAcrConfigurationInfoResponseOutput { + return o +} + +func (o ServiceAcrConfigurationInfoResponseOutput) ToServiceAcrConfigurationInfoResponseOutputWithContext(ctx context.Context) ServiceAcrConfigurationInfoResponseOutput { + return o +} + +func (o ServiceAcrConfigurationInfoResponseOutput) ToServiceAcrConfigurationInfoResponsePtrOutput() ServiceAcrConfigurationInfoResponsePtrOutput { + return o.ToServiceAcrConfigurationInfoResponsePtrOutputWithContext(context.Background()) +} + +func (o ServiceAcrConfigurationInfoResponseOutput) ToServiceAcrConfigurationInfoResponsePtrOutputWithContext(ctx context.Context) ServiceAcrConfigurationInfoResponsePtrOutput { + return o.ApplyT(func(v ServiceAcrConfigurationInfoResponse) *ServiceAcrConfigurationInfoResponse { + return &v + }).(ServiceAcrConfigurationInfoResponsePtrOutput) +} + +// The list of the ACR login servers. +func (o ServiceAcrConfigurationInfoResponseOutput) LoginServers() pulumi.StringArrayOutput { + return o.ApplyT(func(v ServiceAcrConfigurationInfoResponse) []string { return v.LoginServers }).(pulumi.StringArrayOutput) +} + +type ServiceAcrConfigurationInfoResponsePtrOutput struct{ *pulumi.OutputState } + +func (ServiceAcrConfigurationInfoResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ServiceAcrConfigurationInfoResponse)(nil)).Elem() +} + +func (o ServiceAcrConfigurationInfoResponsePtrOutput) ToServiceAcrConfigurationInfoResponsePtrOutput() ServiceAcrConfigurationInfoResponsePtrOutput { + return o +} + +func (o ServiceAcrConfigurationInfoResponsePtrOutput) ToServiceAcrConfigurationInfoResponsePtrOutputWithContext(ctx context.Context) ServiceAcrConfigurationInfoResponsePtrOutput { + return o +} + +func (o ServiceAcrConfigurationInfoResponsePtrOutput) Elem() ServiceAcrConfigurationInfoResponseOutput { + return o.ApplyT(func(v *ServiceAcrConfigurationInfoResponse) ServiceAcrConfigurationInfoResponse { return *v }).(ServiceAcrConfigurationInfoResponseOutput) +} + +// The list of the ACR login servers. +func (o ServiceAcrConfigurationInfoResponsePtrOutput) LoginServers() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ServiceAcrConfigurationInfoResponse) []string { + if v == nil { + return nil + } + return v.LoginServers + }).(pulumi.StringArrayOutput) +} + // Authentication configuration information type ServiceAuthenticationConfigurationInfo struct { // The audience url for the service @@ -2283,6 +2551,8 @@ func (o ServiceExportConfigurationInfoResponsePtrOutput) StorageAccountName() pu type ServicesProperties struct { // The access policies of the service instance. AccessPolicies []ServiceAccessPolicyEntry `pulumi:"accessPolicies"` + // The azure container registry settings used for convert data operation of the service instance. + AcrConfiguration *ServiceAcrConfigurationInfo `pulumi:"acrConfiguration"` // The authentication configuration for the service instance. AuthenticationConfiguration *ServiceAuthenticationConfigurationInfo `pulumi:"authenticationConfiguration"` // The settings for the CORS configuration of the service instance. @@ -2312,6 +2582,8 @@ type ServicesPropertiesInput interface { type ServicesPropertiesArgs struct { // The access policies of the service instance. AccessPolicies ServiceAccessPolicyEntryArrayInput `pulumi:"accessPolicies"` + // The azure container registry settings used for convert data operation of the service instance. + AcrConfiguration ServiceAcrConfigurationInfoPtrInput `pulumi:"acrConfiguration"` // The authentication configuration for the service instance. AuthenticationConfiguration ServiceAuthenticationConfigurationInfoPtrInput `pulumi:"authenticationConfiguration"` // The settings for the CORS configuration of the service instance. @@ -2409,6 +2681,11 @@ func (o ServicesPropertiesOutput) AccessPolicies() ServiceAccessPolicyEntryArray return o.ApplyT(func(v ServicesProperties) []ServiceAccessPolicyEntry { return v.AccessPolicies }).(ServiceAccessPolicyEntryArrayOutput) } +// The azure container registry settings used for convert data operation of the service instance. +func (o ServicesPropertiesOutput) AcrConfiguration() ServiceAcrConfigurationInfoPtrOutput { + return o.ApplyT(func(v ServicesProperties) *ServiceAcrConfigurationInfo { return v.AcrConfiguration }).(ServiceAcrConfigurationInfoPtrOutput) +} + // The authentication configuration for the service instance. func (o ServicesPropertiesOutput) AuthenticationConfiguration() ServiceAuthenticationConfigurationInfoPtrOutput { return o.ApplyT(func(v ServicesProperties) *ServiceAuthenticationConfigurationInfo { @@ -2469,6 +2746,16 @@ func (o ServicesPropertiesPtrOutput) AccessPolicies() ServiceAccessPolicyEntryAr }).(ServiceAccessPolicyEntryArrayOutput) } +// The azure container registry settings used for convert data operation of the service instance. +func (o ServicesPropertiesPtrOutput) AcrConfiguration() ServiceAcrConfigurationInfoPtrOutput { + return o.ApplyT(func(v *ServicesProperties) *ServiceAcrConfigurationInfo { + if v == nil { + return nil + } + return v.AcrConfiguration + }).(ServiceAcrConfigurationInfoPtrOutput) +} + // The authentication configuration for the service instance. func (o ServicesPropertiesPtrOutput) AuthenticationConfiguration() ServiceAuthenticationConfigurationInfoPtrOutput { return o.ApplyT(func(v *ServicesProperties) *ServiceAuthenticationConfigurationInfo { @@ -2533,6 +2820,8 @@ func (o ServicesPropertiesPtrOutput) PublicNetworkAccess() pulumi.StringPtrOutpu type ServicesPropertiesResponse struct { // The access policies of the service instance. AccessPolicies []ServiceAccessPolicyEntryResponse `pulumi:"accessPolicies"` + // The azure container registry settings used for convert data operation of the service instance. + AcrConfiguration *ServiceAcrConfigurationInfoResponse `pulumi:"acrConfiguration"` // The authentication configuration for the service instance. AuthenticationConfiguration *ServiceAuthenticationConfigurationInfoResponse `pulumi:"authenticationConfiguration"` // The settings for the CORS configuration of the service instance. @@ -2564,6 +2853,8 @@ type ServicesPropertiesResponseInput interface { type ServicesPropertiesResponseArgs struct { // The access policies of the service instance. AccessPolicies ServiceAccessPolicyEntryResponseArrayInput `pulumi:"accessPolicies"` + // The azure container registry settings used for convert data operation of the service instance. + AcrConfiguration ServiceAcrConfigurationInfoResponsePtrInput `pulumi:"acrConfiguration"` // The authentication configuration for the service instance. AuthenticationConfiguration ServiceAuthenticationConfigurationInfoResponsePtrInput `pulumi:"authenticationConfiguration"` // The settings for the CORS configuration of the service instance. @@ -2663,6 +2954,11 @@ func (o ServicesPropertiesResponseOutput) AccessPolicies() ServiceAccessPolicyEn return o.ApplyT(func(v ServicesPropertiesResponse) []ServiceAccessPolicyEntryResponse { return v.AccessPolicies }).(ServiceAccessPolicyEntryResponseArrayOutput) } +// The azure container registry settings used for convert data operation of the service instance. +func (o ServicesPropertiesResponseOutput) AcrConfiguration() ServiceAcrConfigurationInfoResponsePtrOutput { + return o.ApplyT(func(v ServicesPropertiesResponse) *ServiceAcrConfigurationInfoResponse { return v.AcrConfiguration }).(ServiceAcrConfigurationInfoResponsePtrOutput) +} + // The authentication configuration for the service instance. func (o ServicesPropertiesResponseOutput) AuthenticationConfiguration() ServiceAuthenticationConfigurationInfoResponsePtrOutput { return o.ApplyT(func(v ServicesPropertiesResponse) *ServiceAuthenticationConfigurationInfoResponse { @@ -2734,6 +3030,16 @@ func (o ServicesPropertiesResponsePtrOutput) AccessPolicies() ServiceAccessPolic }).(ServiceAccessPolicyEntryResponseArrayOutput) } +// The azure container registry settings used for convert data operation of the service instance. +func (o ServicesPropertiesResponsePtrOutput) AcrConfiguration() ServiceAcrConfigurationInfoResponsePtrOutput { + return o.ApplyT(func(v *ServicesPropertiesResponse) *ServiceAcrConfigurationInfoResponse { + if v == nil { + return nil + } + return v.AcrConfiguration + }).(ServiceAcrConfigurationInfoResponsePtrOutput) +} + // The authentication configuration for the service instance. func (o ServicesPropertiesResponsePtrOutput) AuthenticationConfiguration() ServiceAuthenticationConfigurationInfoResponsePtrOutput { return o.ApplyT(func(v *ServicesPropertiesResponse) *ServiceAuthenticationConfigurationInfoResponse { @@ -3110,6 +3416,235 @@ func (o ServicesResourceResponseIdentityPtrOutput) Type() pulumi.StringPtrOutput }).(pulumi.StringPtrOutput) } +// Metadata pertaining to creation and last modification of the resource. +type SystemDataResponse struct { + // The timestamp of resource creation (UTC). + CreatedAt *string `pulumi:"createdAt"` + // The identity that created the resource. + CreatedBy *string `pulumi:"createdBy"` + // The type of identity that created the resource. + CreatedByType *string `pulumi:"createdByType"` + // The type of identity that last modified the resource. + LastModifiedAt *string `pulumi:"lastModifiedAt"` + // The identity that last modified the resource. + LastModifiedBy *string `pulumi:"lastModifiedBy"` + // The type of identity that last modified the resource. + LastModifiedByType *string `pulumi:"lastModifiedByType"` +} + +// SystemDataResponseInput is an input type that accepts SystemDataResponseArgs and SystemDataResponseOutput values. +// You can construct a concrete instance of `SystemDataResponseInput` via: +// +// SystemDataResponseArgs{...} +type SystemDataResponseInput interface { + pulumi.Input + + ToSystemDataResponseOutput() SystemDataResponseOutput + ToSystemDataResponseOutputWithContext(context.Context) SystemDataResponseOutput +} + +// Metadata pertaining to creation and last modification of the resource. +type SystemDataResponseArgs struct { + // The timestamp of resource creation (UTC). + CreatedAt pulumi.StringPtrInput `pulumi:"createdAt"` + // The identity that created the resource. + CreatedBy pulumi.StringPtrInput `pulumi:"createdBy"` + // The type of identity that created the resource. + CreatedByType pulumi.StringPtrInput `pulumi:"createdByType"` + // The type of identity that last modified the resource. + LastModifiedAt pulumi.StringPtrInput `pulumi:"lastModifiedAt"` + // The identity that last modified the resource. + LastModifiedBy pulumi.StringPtrInput `pulumi:"lastModifiedBy"` + // The type of identity that last modified the resource. + LastModifiedByType pulumi.StringPtrInput `pulumi:"lastModifiedByType"` +} + +func (SystemDataResponseArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SystemDataResponse)(nil)).Elem() +} + +func (i SystemDataResponseArgs) ToSystemDataResponseOutput() SystemDataResponseOutput { + return i.ToSystemDataResponseOutputWithContext(context.Background()) +} + +func (i SystemDataResponseArgs) ToSystemDataResponseOutputWithContext(ctx context.Context) SystemDataResponseOutput { + return pulumi.ToOutputWithContext(ctx, i).(SystemDataResponseOutput) +} + +func (i SystemDataResponseArgs) ToSystemDataResponsePtrOutput() SystemDataResponsePtrOutput { + return i.ToSystemDataResponsePtrOutputWithContext(context.Background()) +} + +func (i SystemDataResponseArgs) ToSystemDataResponsePtrOutputWithContext(ctx context.Context) SystemDataResponsePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SystemDataResponseOutput).ToSystemDataResponsePtrOutputWithContext(ctx) +} + +// SystemDataResponsePtrInput is an input type that accepts SystemDataResponseArgs, SystemDataResponsePtr and SystemDataResponsePtrOutput values. +// You can construct a concrete instance of `SystemDataResponsePtrInput` via: +// +// SystemDataResponseArgs{...} +// +// or: +// +// nil +type SystemDataResponsePtrInput interface { + pulumi.Input + + ToSystemDataResponsePtrOutput() SystemDataResponsePtrOutput + ToSystemDataResponsePtrOutputWithContext(context.Context) SystemDataResponsePtrOutput +} + +type systemDataResponsePtrType SystemDataResponseArgs + +func SystemDataResponsePtr(v *SystemDataResponseArgs) SystemDataResponsePtrInput { + return (*systemDataResponsePtrType)(v) +} + +func (*systemDataResponsePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SystemDataResponse)(nil)).Elem() +} + +func (i *systemDataResponsePtrType) ToSystemDataResponsePtrOutput() SystemDataResponsePtrOutput { + return i.ToSystemDataResponsePtrOutputWithContext(context.Background()) +} + +func (i *systemDataResponsePtrType) ToSystemDataResponsePtrOutputWithContext(ctx context.Context) SystemDataResponsePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SystemDataResponsePtrOutput) +} + +// Metadata pertaining to creation and last modification of the resource. +type SystemDataResponseOutput struct{ *pulumi.OutputState } + +func (SystemDataResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SystemDataResponse)(nil)).Elem() +} + +func (o SystemDataResponseOutput) ToSystemDataResponseOutput() SystemDataResponseOutput { + return o +} + +func (o SystemDataResponseOutput) ToSystemDataResponseOutputWithContext(ctx context.Context) SystemDataResponseOutput { + return o +} + +func (o SystemDataResponseOutput) ToSystemDataResponsePtrOutput() SystemDataResponsePtrOutput { + return o.ToSystemDataResponsePtrOutputWithContext(context.Background()) +} + +func (o SystemDataResponseOutput) ToSystemDataResponsePtrOutputWithContext(ctx context.Context) SystemDataResponsePtrOutput { + return o.ApplyT(func(v SystemDataResponse) *SystemDataResponse { + return &v + }).(SystemDataResponsePtrOutput) +} + +// The timestamp of resource creation (UTC). +func (o SystemDataResponseOutput) CreatedAt() pulumi.StringPtrOutput { + return o.ApplyT(func(v SystemDataResponse) *string { return v.CreatedAt }).(pulumi.StringPtrOutput) +} + +// The identity that created the resource. +func (o SystemDataResponseOutput) CreatedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v SystemDataResponse) *string { return v.CreatedBy }).(pulumi.StringPtrOutput) +} + +// The type of identity that created the resource. +func (o SystemDataResponseOutput) CreatedByType() pulumi.StringPtrOutput { + return o.ApplyT(func(v SystemDataResponse) *string { return v.CreatedByType }).(pulumi.StringPtrOutput) +} + +// The type of identity that last modified the resource. +func (o SystemDataResponseOutput) LastModifiedAt() pulumi.StringPtrOutput { + return o.ApplyT(func(v SystemDataResponse) *string { return v.LastModifiedAt }).(pulumi.StringPtrOutput) +} + +// The identity that last modified the resource. +func (o SystemDataResponseOutput) LastModifiedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v SystemDataResponse) *string { return v.LastModifiedBy }).(pulumi.StringPtrOutput) +} + +// The type of identity that last modified the resource. +func (o SystemDataResponseOutput) LastModifiedByType() pulumi.StringPtrOutput { + return o.ApplyT(func(v SystemDataResponse) *string { return v.LastModifiedByType }).(pulumi.StringPtrOutput) +} + +type SystemDataResponsePtrOutput struct{ *pulumi.OutputState } + +func (SystemDataResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SystemDataResponse)(nil)).Elem() +} + +func (o SystemDataResponsePtrOutput) ToSystemDataResponsePtrOutput() SystemDataResponsePtrOutput { + return o +} + +func (o SystemDataResponsePtrOutput) ToSystemDataResponsePtrOutputWithContext(ctx context.Context) SystemDataResponsePtrOutput { + return o +} + +func (o SystemDataResponsePtrOutput) Elem() SystemDataResponseOutput { + return o.ApplyT(func(v *SystemDataResponse) SystemDataResponse { return *v }).(SystemDataResponseOutput) +} + +// The timestamp of resource creation (UTC). +func (o SystemDataResponsePtrOutput) CreatedAt() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SystemDataResponse) *string { + if v == nil { + return nil + } + return v.CreatedAt + }).(pulumi.StringPtrOutput) +} + +// The identity that created the resource. +func (o SystemDataResponsePtrOutput) CreatedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SystemDataResponse) *string { + if v == nil { + return nil + } + return v.CreatedBy + }).(pulumi.StringPtrOutput) +} + +// The type of identity that created the resource. +func (o SystemDataResponsePtrOutput) CreatedByType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SystemDataResponse) *string { + if v == nil { + return nil + } + return v.CreatedByType + }).(pulumi.StringPtrOutput) +} + +// The type of identity that last modified the resource. +func (o SystemDataResponsePtrOutput) LastModifiedAt() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SystemDataResponse) *string { + if v == nil { + return nil + } + return v.LastModifiedAt + }).(pulumi.StringPtrOutput) +} + +// The identity that last modified the resource. +func (o SystemDataResponsePtrOutput) LastModifiedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SystemDataResponse) *string { + if v == nil { + return nil + } + return v.LastModifiedBy + }).(pulumi.StringPtrOutput) +} + +// The type of identity that last modified the resource. +func (o SystemDataResponsePtrOutput) LastModifiedByType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SystemDataResponse) *string { + if v == nil { + return nil + } + return v.LastModifiedByType + }).(pulumi.StringPtrOutput) +} + func init() { pulumi.RegisterOutputType(PrivateEndpointConnectionTypeOutput{}) pulumi.RegisterOutputType(PrivateEndpointConnectionTypeArrayOutput{}) @@ -3125,6 +3660,10 @@ func init() { pulumi.RegisterOutputType(ServiceAccessPolicyEntryArrayOutput{}) pulumi.RegisterOutputType(ServiceAccessPolicyEntryResponseOutput{}) pulumi.RegisterOutputType(ServiceAccessPolicyEntryResponseArrayOutput{}) + pulumi.RegisterOutputType(ServiceAcrConfigurationInfoOutput{}) + pulumi.RegisterOutputType(ServiceAcrConfigurationInfoPtrOutput{}) + pulumi.RegisterOutputType(ServiceAcrConfigurationInfoResponseOutput{}) + pulumi.RegisterOutputType(ServiceAcrConfigurationInfoResponsePtrOutput{}) pulumi.RegisterOutputType(ServiceAuthenticationConfigurationInfoOutput{}) pulumi.RegisterOutputType(ServiceAuthenticationConfigurationInfoPtrOutput{}) pulumi.RegisterOutputType(ServiceAuthenticationConfigurationInfoResponseOutput{}) @@ -3149,4 +3688,6 @@ func init() { pulumi.RegisterOutputType(ServicesResourceIdentityPtrOutput{}) pulumi.RegisterOutputType(ServicesResourceResponseIdentityOutput{}) pulumi.RegisterOutputType(ServicesResourceResponseIdentityPtrOutput{}) + pulumi.RegisterOutputType(SystemDataResponseOutput{}) + pulumi.RegisterOutputType(SystemDataResponsePtrOutput{}) } diff --git a/sdk/go/azure/healthcareapis/latest/service.go b/sdk/go/azure/healthcareapis/latest/service.go index 2eb8f1edf8d3..f6baa131f7aa 100644 --- a/sdk/go/azure/healthcareapis/latest/service.go +++ b/sdk/go/azure/healthcareapis/latest/service.go @@ -12,7 +12,7 @@ import ( ) // The description of the service. -// Latest API Version: 2020-03-30. +// Latest API Version: 2021-01-11. type Service struct { pulumi.CustomResourceState @@ -28,6 +28,8 @@ type Service struct { Name pulumi.StringOutput `pulumi:"name"` // The common properties of a service. Properties ServicesPropertiesResponseOutput `pulumi:"properties"` + // Metadata pertaining to creation and last modification of the resource. + SystemData SystemDataResponseOutput `pulumi:"systemData"` // The resource tags. Tags pulumi.StringMapOutput `pulumi:"tags"` // The resource type. @@ -63,6 +65,9 @@ func NewService(ctx *pulumi.Context, { Type: pulumi.String("azure-nextgen:healthcareapis/v20200330:Service"), }, + { + Type: pulumi.String("azure-nextgen:healthcareapis/v20210111:Service"), + }, }) opts = append(opts, aliases) var resource Service @@ -99,6 +104,8 @@ type serviceState struct { Name *string `pulumi:"name"` // The common properties of a service. Properties *ServicesPropertiesResponse `pulumi:"properties"` + // Metadata pertaining to creation and last modification of the resource. + SystemData *SystemDataResponse `pulumi:"systemData"` // The resource tags. Tags map[string]string `pulumi:"tags"` // The resource type. @@ -118,6 +125,8 @@ type ServiceState struct { Name pulumi.StringPtrInput // The common properties of a service. Properties ServicesPropertiesResponsePtrInput + // Metadata pertaining to creation and last modification of the resource. + SystemData SystemDataResponsePtrInput // The resource tags. Tags pulumi.StringMapInput // The resource type. diff --git a/sdk/go/azure/healthcareapis/v20180820preview/service.go b/sdk/go/azure/healthcareapis/v20180820preview/service.go index 98d782758879..57a3a42565fe 100644 --- a/sdk/go/azure/healthcareapis/v20180820preview/service.go +++ b/sdk/go/azure/healthcareapis/v20180820preview/service.go @@ -60,6 +60,9 @@ func NewService(ctx *pulumi.Context, { Type: pulumi.String("azure-nextgen:healthcareapis/v20200330:Service"), }, + { + Type: pulumi.String("azure-nextgen:healthcareapis/v20210111:Service"), + }, }) opts = append(opts, aliases) var resource Service diff --git a/sdk/go/azure/healthcareapis/v20190916/service.go b/sdk/go/azure/healthcareapis/v20190916/service.go index 4afbabb91b3a..27ff03756b57 100644 --- a/sdk/go/azure/healthcareapis/v20190916/service.go +++ b/sdk/go/azure/healthcareapis/v20190916/service.go @@ -62,6 +62,9 @@ func NewService(ctx *pulumi.Context, { Type: pulumi.String("azure-nextgen:healthcareapis/v20200330:Service"), }, + { + Type: pulumi.String("azure-nextgen:healthcareapis/v20210111:Service"), + }, }) opts = append(opts, aliases) var resource Service diff --git a/sdk/go/azure/healthcareapis/v20200315/service.go b/sdk/go/azure/healthcareapis/v20200315/service.go index 7ca5634b4c6d..8f2175f3c291 100644 --- a/sdk/go/azure/healthcareapis/v20200315/service.go +++ b/sdk/go/azure/healthcareapis/v20200315/service.go @@ -62,6 +62,9 @@ func NewService(ctx *pulumi.Context, { Type: pulumi.String("azure-nextgen:healthcareapis/v20200330:Service"), }, + { + Type: pulumi.String("azure-nextgen:healthcareapis/v20210111:Service"), + }, }) opts = append(opts, aliases) var resource Service diff --git a/sdk/go/azure/healthcareapis/v20200330/privateEndpointConnection.go b/sdk/go/azure/healthcareapis/v20200330/privateEndpointConnection.go index 5c1c9e40e44c..2250486f0dca 100644 --- a/sdk/go/azure/healthcareapis/v20200330/privateEndpointConnection.go +++ b/sdk/go/azure/healthcareapis/v20200330/privateEndpointConnection.go @@ -50,6 +50,9 @@ func NewPrivateEndpointConnection(ctx *pulumi.Context, { Type: pulumi.String("azure-nextgen:healthcareapis/latest:PrivateEndpointConnection"), }, + { + Type: pulumi.String("azure-nextgen:healthcareapis/v20210111:PrivateEndpointConnection"), + }, }) opts = append(opts, aliases) var resource PrivateEndpointConnection diff --git a/sdk/go/azure/healthcareapis/v20200330/service.go b/sdk/go/azure/healthcareapis/v20200330/service.go index e6f563bc3318..96f840324131 100644 --- a/sdk/go/azure/healthcareapis/v20200330/service.go +++ b/sdk/go/azure/healthcareapis/v20200330/service.go @@ -62,6 +62,9 @@ func NewService(ctx *pulumi.Context, { Type: pulumi.String("azure-nextgen:healthcareapis/v20200315:Service"), }, + { + Type: pulumi.String("azure-nextgen:healthcareapis/v20210111:Service"), + }, }) opts = append(opts, aliases) var resource Service diff --git a/sdk/go/azure/healthcareapis/v20210111/getPrivateEndpointConnection.go b/sdk/go/azure/healthcareapis/v20210111/getPrivateEndpointConnection.go new file mode 100644 index 000000000000..fcd44d0a1f2a --- /dev/null +++ b/sdk/go/azure/healthcareapis/v20210111/getPrivateEndpointConnection.go @@ -0,0 +1,44 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package v20210111 + +import ( + "github.com/pulumi/pulumi/sdk/v2/go/pulumi" +) + +func LookupPrivateEndpointConnection(ctx *pulumi.Context, args *LookupPrivateEndpointConnectionArgs, opts ...pulumi.InvokeOption) (*LookupPrivateEndpointConnectionResult, error) { + var rv LookupPrivateEndpointConnectionResult + err := ctx.Invoke("azure-nextgen:healthcareapis/v20210111:getPrivateEndpointConnection", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +type LookupPrivateEndpointConnectionArgs struct { + // The name of the private endpoint connection associated with the Azure resource + PrivateEndpointConnectionName string `pulumi:"privateEndpointConnectionName"` + // The name of the resource group that contains the service instance. + ResourceGroupName string `pulumi:"resourceGroupName"` + // The name of the service instance. + ResourceName string `pulumi:"resourceName"` +} + +// The Private Endpoint Connection resource. +type LookupPrivateEndpointConnectionResult struct { + // Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + Id string `pulumi:"id"` + // The name of the resource + Name string `pulumi:"name"` + // The resource of private end point. + PrivateEndpoint *PrivateEndpointResponse `pulumi:"privateEndpoint"` + // A collection of information about the state of the connection between service consumer and provider. + PrivateLinkServiceConnectionState PrivateLinkServiceConnectionStateResponse `pulumi:"privateLinkServiceConnectionState"` + // The provisioning state of the private endpoint connection resource. + ProvisioningState string `pulumi:"provisioningState"` + // System metadata for this resource. + SystemData SystemDataResponse `pulumi:"systemData"` + // The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + Type string `pulumi:"type"` +} diff --git a/sdk/go/azure/healthcareapis/v20210111/getService.go b/sdk/go/azure/healthcareapis/v20210111/getService.go new file mode 100644 index 000000000000..23fcd29ef863 --- /dev/null +++ b/sdk/go/azure/healthcareapis/v20210111/getService.go @@ -0,0 +1,48 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package v20210111 + +import ( + "github.com/pulumi/pulumi/sdk/v2/go/pulumi" +) + +func LookupService(ctx *pulumi.Context, args *LookupServiceArgs, opts ...pulumi.InvokeOption) (*LookupServiceResult, error) { + var rv LookupServiceResult + err := ctx.Invoke("azure-nextgen:healthcareapis/v20210111:getService", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +type LookupServiceArgs struct { + // The name of the resource group that contains the service instance. + ResourceGroupName string `pulumi:"resourceGroupName"` + // The name of the service instance. + ResourceName string `pulumi:"resourceName"` +} + +// The description of the service. +type LookupServiceResult struct { + // An etag associated with the resource, used for optimistic concurrency when editing it. + Etag *string `pulumi:"etag"` + // The resource identifier. + Id string `pulumi:"id"` + // Setting indicating whether the service has a managed identity associated with it. + Identity *ServicesResourceResponseIdentity `pulumi:"identity"` + // The kind of the service. + Kind string `pulumi:"kind"` + // The resource location. + Location string `pulumi:"location"` + // The resource name. + Name string `pulumi:"name"` + // The common properties of a service. + Properties ServicesPropertiesResponse `pulumi:"properties"` + // Metadata pertaining to creation and last modification of the resource. + SystemData SystemDataResponse `pulumi:"systemData"` + // The resource tags. + Tags map[string]string `pulumi:"tags"` + // The resource type. + Type string `pulumi:"type"` +} diff --git a/sdk/go/azure/healthcareapis/v20210111/privateEndpointConnection.go b/sdk/go/azure/healthcareapis/v20210111/privateEndpointConnection.go new file mode 100644 index 000000000000..e357ba6d0b09 --- /dev/null +++ b/sdk/go/azure/healthcareapis/v20210111/privateEndpointConnection.go @@ -0,0 +1,179 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package v20210111 + +import ( + "context" + "reflect" + + "github.com/pkg/errors" + "github.com/pulumi/pulumi/sdk/v2/go/pulumi" +) + +// The Private Endpoint Connection resource. +type PrivateEndpointConnection struct { + pulumi.CustomResourceState + + // The name of the resource + Name pulumi.StringOutput `pulumi:"name"` + // The resource of private end point. + PrivateEndpoint PrivateEndpointResponsePtrOutput `pulumi:"privateEndpoint"` + // A collection of information about the state of the connection between service consumer and provider. + PrivateLinkServiceConnectionState PrivateLinkServiceConnectionStateResponseOutput `pulumi:"privateLinkServiceConnectionState"` + // The provisioning state of the private endpoint connection resource. + ProvisioningState pulumi.StringOutput `pulumi:"provisioningState"` + // System metadata for this resource. + SystemData SystemDataResponseOutput `pulumi:"systemData"` + // The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + Type pulumi.StringOutput `pulumi:"type"` +} + +// NewPrivateEndpointConnection registers a new resource with the given unique name, arguments, and options. +func NewPrivateEndpointConnection(ctx *pulumi.Context, + name string, args *PrivateEndpointConnectionArgs, opts ...pulumi.ResourceOption) (*PrivateEndpointConnection, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.PrivateEndpointConnectionName == nil { + return nil, errors.New("invalid value for required argument 'PrivateEndpointConnectionName'") + } + if args.PrivateLinkServiceConnectionState == nil { + return nil, errors.New("invalid value for required argument 'PrivateLinkServiceConnectionState'") + } + if args.ResourceGroupName == nil { + return nil, errors.New("invalid value for required argument 'ResourceGroupName'") + } + if args.ResourceName == nil { + return nil, errors.New("invalid value for required argument 'ResourceName'") + } + aliases := pulumi.Aliases([]pulumi.Alias{ + { + Type: pulumi.String("azure-nextgen:healthcareapis/latest:PrivateEndpointConnection"), + }, + { + Type: pulumi.String("azure-nextgen:healthcareapis/v20200330:PrivateEndpointConnection"), + }, + }) + opts = append(opts, aliases) + var resource PrivateEndpointConnection + err := ctx.RegisterResource("azure-nextgen:healthcareapis/v20210111:PrivateEndpointConnection", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetPrivateEndpointConnection gets an existing PrivateEndpointConnection resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetPrivateEndpointConnection(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *PrivateEndpointConnectionState, opts ...pulumi.ResourceOption) (*PrivateEndpointConnection, error) { + var resource PrivateEndpointConnection + err := ctx.ReadResource("azure-nextgen:healthcareapis/v20210111:PrivateEndpointConnection", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering PrivateEndpointConnection resources. +type privateEndpointConnectionState struct { + // The name of the resource + Name *string `pulumi:"name"` + // The resource of private end point. + PrivateEndpoint *PrivateEndpointResponse `pulumi:"privateEndpoint"` + // A collection of information about the state of the connection between service consumer and provider. + PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionStateResponse `pulumi:"privateLinkServiceConnectionState"` + // The provisioning state of the private endpoint connection resource. + ProvisioningState *string `pulumi:"provisioningState"` + // System metadata for this resource. + SystemData *SystemDataResponse `pulumi:"systemData"` + // The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + Type *string `pulumi:"type"` +} + +type PrivateEndpointConnectionState struct { + // The name of the resource + Name pulumi.StringPtrInput + // The resource of private end point. + PrivateEndpoint PrivateEndpointResponsePtrInput + // A collection of information about the state of the connection between service consumer and provider. + PrivateLinkServiceConnectionState PrivateLinkServiceConnectionStateResponsePtrInput + // The provisioning state of the private endpoint connection resource. + ProvisioningState pulumi.StringPtrInput + // System metadata for this resource. + SystemData SystemDataResponsePtrInput + // The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + Type pulumi.StringPtrInput +} + +func (PrivateEndpointConnectionState) ElementType() reflect.Type { + return reflect.TypeOf((*privateEndpointConnectionState)(nil)).Elem() +} + +type privateEndpointConnectionArgs struct { + // The name of the private endpoint connection associated with the Azure resource + PrivateEndpointConnectionName string `pulumi:"privateEndpointConnectionName"` + // A collection of information about the state of the connection between service consumer and provider. + PrivateLinkServiceConnectionState PrivateLinkServiceConnectionState `pulumi:"privateLinkServiceConnectionState"` + // The name of the resource group that contains the service instance. + ResourceGroupName string `pulumi:"resourceGroupName"` + // The name of the service instance. + ResourceName string `pulumi:"resourceName"` +} + +// The set of arguments for constructing a PrivateEndpointConnection resource. +type PrivateEndpointConnectionArgs struct { + // The name of the private endpoint connection associated with the Azure resource + PrivateEndpointConnectionName pulumi.StringInput + // A collection of information about the state of the connection between service consumer and provider. + PrivateLinkServiceConnectionState PrivateLinkServiceConnectionStateInput + // The name of the resource group that contains the service instance. + ResourceGroupName pulumi.StringInput + // The name of the service instance. + ResourceName pulumi.StringInput +} + +func (PrivateEndpointConnectionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*privateEndpointConnectionArgs)(nil)).Elem() +} + +type PrivateEndpointConnectionInput interface { + pulumi.Input + + ToPrivateEndpointConnectionOutput() PrivateEndpointConnectionOutput + ToPrivateEndpointConnectionOutputWithContext(ctx context.Context) PrivateEndpointConnectionOutput +} + +func (*PrivateEndpointConnection) ElementType() reflect.Type { + return reflect.TypeOf((*PrivateEndpointConnection)(nil)) +} + +func (i *PrivateEndpointConnection) ToPrivateEndpointConnectionOutput() PrivateEndpointConnectionOutput { + return i.ToPrivateEndpointConnectionOutputWithContext(context.Background()) +} + +func (i *PrivateEndpointConnection) ToPrivateEndpointConnectionOutputWithContext(ctx context.Context) PrivateEndpointConnectionOutput { + return pulumi.ToOutputWithContext(ctx, i).(PrivateEndpointConnectionOutput) +} + +type PrivateEndpointConnectionOutput struct { + *pulumi.OutputState +} + +func (PrivateEndpointConnectionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PrivateEndpointConnection)(nil)) +} + +func (o PrivateEndpointConnectionOutput) ToPrivateEndpointConnectionOutput() PrivateEndpointConnectionOutput { + return o +} + +func (o PrivateEndpointConnectionOutput) ToPrivateEndpointConnectionOutputWithContext(ctx context.Context) PrivateEndpointConnectionOutput { + return o +} + +func init() { + pulumi.RegisterOutputType(PrivateEndpointConnectionOutput{}) +} diff --git a/sdk/go/azure/healthcareapis/v20210111/pulumiEnums.go b/sdk/go/azure/healthcareapis/v20210111/pulumiEnums.go new file mode 100644 index 000000000000..8912b9cb974a --- /dev/null +++ b/sdk/go/azure/healthcareapis/v20210111/pulumiEnums.go @@ -0,0 +1,125 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package v20210111 + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi/sdk/v2/go/pulumi" +) + +// The kind of the service. +type Kind pulumi.String + +const ( + KindFhir = Kind("fhir") + Kind_Fhir_Stu3 = Kind("fhir-Stu3") + Kind_Fhir_R4 = Kind("fhir-R4") +) + +func (Kind) ElementType() reflect.Type { + return reflect.TypeOf((*pulumi.String)(nil)).Elem() +} + +func (e Kind) ToStringOutput() pulumi.StringOutput { + return pulumi.ToOutput(pulumi.String(e)).(pulumi.StringOutput) +} + +func (e Kind) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput { + return pulumi.ToOutputWithContext(ctx, pulumi.String(e)).(pulumi.StringOutput) +} + +func (e Kind) ToStringPtrOutput() pulumi.StringPtrOutput { + return pulumi.String(e).ToStringPtrOutputWithContext(context.Background()) +} + +func (e Kind) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput { + return pulumi.String(e).ToStringOutputWithContext(ctx).ToStringPtrOutputWithContext(ctx) +} + +// Type of identity being specified, currently SystemAssigned and None are allowed. +type ManagedServiceIdentityType pulumi.String + +const ( + ManagedServiceIdentityTypeSystemAssigned = ManagedServiceIdentityType("SystemAssigned") + ManagedServiceIdentityTypeNone = ManagedServiceIdentityType("None") +) + +func (ManagedServiceIdentityType) ElementType() reflect.Type { + return reflect.TypeOf((*pulumi.String)(nil)).Elem() +} + +func (e ManagedServiceIdentityType) ToStringOutput() pulumi.StringOutput { + return pulumi.ToOutput(pulumi.String(e)).(pulumi.StringOutput) +} + +func (e ManagedServiceIdentityType) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput { + return pulumi.ToOutputWithContext(ctx, pulumi.String(e)).(pulumi.StringOutput) +} + +func (e ManagedServiceIdentityType) ToStringPtrOutput() pulumi.StringPtrOutput { + return pulumi.String(e).ToStringPtrOutputWithContext(context.Background()) +} + +func (e ManagedServiceIdentityType) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput { + return pulumi.String(e).ToStringOutputWithContext(ctx).ToStringPtrOutputWithContext(ctx) +} + +// Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. +type PrivateEndpointServiceConnectionStatus pulumi.String + +const ( + PrivateEndpointServiceConnectionStatusPending = PrivateEndpointServiceConnectionStatus("Pending") + PrivateEndpointServiceConnectionStatusApproved = PrivateEndpointServiceConnectionStatus("Approved") + PrivateEndpointServiceConnectionStatusRejected = PrivateEndpointServiceConnectionStatus("Rejected") +) + +func (PrivateEndpointServiceConnectionStatus) ElementType() reflect.Type { + return reflect.TypeOf((*pulumi.String)(nil)).Elem() +} + +func (e PrivateEndpointServiceConnectionStatus) ToStringOutput() pulumi.StringOutput { + return pulumi.ToOutput(pulumi.String(e)).(pulumi.StringOutput) +} + +func (e PrivateEndpointServiceConnectionStatus) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput { + return pulumi.ToOutputWithContext(ctx, pulumi.String(e)).(pulumi.StringOutput) +} + +func (e PrivateEndpointServiceConnectionStatus) ToStringPtrOutput() pulumi.StringPtrOutput { + return pulumi.String(e).ToStringPtrOutputWithContext(context.Background()) +} + +func (e PrivateEndpointServiceConnectionStatus) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput { + return pulumi.String(e).ToStringOutputWithContext(ctx).ToStringPtrOutputWithContext(ctx) +} + +// Control permission for data plane traffic coming from public networks while private endpoint is enabled. +type PublicNetworkAccess pulumi.String + +const ( + PublicNetworkAccessEnabled = PublicNetworkAccess("Enabled") + PublicNetworkAccessDisabled = PublicNetworkAccess("Disabled") +) + +func (PublicNetworkAccess) ElementType() reflect.Type { + return reflect.TypeOf((*pulumi.String)(nil)).Elem() +} + +func (e PublicNetworkAccess) ToStringOutput() pulumi.StringOutput { + return pulumi.ToOutput(pulumi.String(e)).(pulumi.StringOutput) +} + +func (e PublicNetworkAccess) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput { + return pulumi.ToOutputWithContext(ctx, pulumi.String(e)).(pulumi.StringOutput) +} + +func (e PublicNetworkAccess) ToStringPtrOutput() pulumi.StringPtrOutput { + return pulumi.String(e).ToStringPtrOutputWithContext(context.Background()) +} + +func (e PublicNetworkAccess) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput { + return pulumi.String(e).ToStringOutputWithContext(ctx).ToStringPtrOutputWithContext(ctx) +} diff --git a/sdk/go/azure/healthcareapis/v20210111/pulumiTypes.go b/sdk/go/azure/healthcareapis/v20210111/pulumiTypes.go new file mode 100644 index 000000000000..65a3dffcecd9 --- /dev/null +++ b/sdk/go/azure/healthcareapis/v20210111/pulumiTypes.go @@ -0,0 +1,3693 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package v20210111 + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi/sdk/v2/go/pulumi" +) + +// The Private Endpoint Connection resource. +type PrivateEndpointConnectionType struct { + // A collection of information about the state of the connection between service consumer and provider. + PrivateLinkServiceConnectionState PrivateLinkServiceConnectionState `pulumi:"privateLinkServiceConnectionState"` +} + +// PrivateEndpointConnectionTypeInput is an input type that accepts PrivateEndpointConnectionTypeArgs and PrivateEndpointConnectionTypeOutput values. +// You can construct a concrete instance of `PrivateEndpointConnectionTypeInput` via: +// +// PrivateEndpointConnectionTypeArgs{...} +type PrivateEndpointConnectionTypeInput interface { + pulumi.Input + + ToPrivateEndpointConnectionTypeOutput() PrivateEndpointConnectionTypeOutput + ToPrivateEndpointConnectionTypeOutputWithContext(context.Context) PrivateEndpointConnectionTypeOutput +} + +// The Private Endpoint Connection resource. +type PrivateEndpointConnectionTypeArgs struct { + // A collection of information about the state of the connection between service consumer and provider. + PrivateLinkServiceConnectionState PrivateLinkServiceConnectionStateInput `pulumi:"privateLinkServiceConnectionState"` +} + +func (PrivateEndpointConnectionTypeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PrivateEndpointConnectionType)(nil)).Elem() +} + +func (i PrivateEndpointConnectionTypeArgs) ToPrivateEndpointConnectionTypeOutput() PrivateEndpointConnectionTypeOutput { + return i.ToPrivateEndpointConnectionTypeOutputWithContext(context.Background()) +} + +func (i PrivateEndpointConnectionTypeArgs) ToPrivateEndpointConnectionTypeOutputWithContext(ctx context.Context) PrivateEndpointConnectionTypeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PrivateEndpointConnectionTypeOutput) +} + +// PrivateEndpointConnectionTypeArrayInput is an input type that accepts PrivateEndpointConnectionTypeArray and PrivateEndpointConnectionTypeArrayOutput values. +// You can construct a concrete instance of `PrivateEndpointConnectionTypeArrayInput` via: +// +// PrivateEndpointConnectionTypeArray{ PrivateEndpointConnectionTypeArgs{...} } +type PrivateEndpointConnectionTypeArrayInput interface { + pulumi.Input + + ToPrivateEndpointConnectionTypeArrayOutput() PrivateEndpointConnectionTypeArrayOutput + ToPrivateEndpointConnectionTypeArrayOutputWithContext(context.Context) PrivateEndpointConnectionTypeArrayOutput +} + +type PrivateEndpointConnectionTypeArray []PrivateEndpointConnectionTypeInput + +func (PrivateEndpointConnectionTypeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PrivateEndpointConnectionType)(nil)).Elem() +} + +func (i PrivateEndpointConnectionTypeArray) ToPrivateEndpointConnectionTypeArrayOutput() PrivateEndpointConnectionTypeArrayOutput { + return i.ToPrivateEndpointConnectionTypeArrayOutputWithContext(context.Background()) +} + +func (i PrivateEndpointConnectionTypeArray) ToPrivateEndpointConnectionTypeArrayOutputWithContext(ctx context.Context) PrivateEndpointConnectionTypeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PrivateEndpointConnectionTypeArrayOutput) +} + +// The Private Endpoint Connection resource. +type PrivateEndpointConnectionTypeOutput struct{ *pulumi.OutputState } + +func (PrivateEndpointConnectionTypeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PrivateEndpointConnectionType)(nil)).Elem() +} + +func (o PrivateEndpointConnectionTypeOutput) ToPrivateEndpointConnectionTypeOutput() PrivateEndpointConnectionTypeOutput { + return o +} + +func (o PrivateEndpointConnectionTypeOutput) ToPrivateEndpointConnectionTypeOutputWithContext(ctx context.Context) PrivateEndpointConnectionTypeOutput { + return o +} + +// A collection of information about the state of the connection between service consumer and provider. +func (o PrivateEndpointConnectionTypeOutput) PrivateLinkServiceConnectionState() PrivateLinkServiceConnectionStateOutput { + return o.ApplyT(func(v PrivateEndpointConnectionType) PrivateLinkServiceConnectionState { + return v.PrivateLinkServiceConnectionState + }).(PrivateLinkServiceConnectionStateOutput) +} + +type PrivateEndpointConnectionTypeArrayOutput struct{ *pulumi.OutputState } + +func (PrivateEndpointConnectionTypeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PrivateEndpointConnectionType)(nil)).Elem() +} + +func (o PrivateEndpointConnectionTypeArrayOutput) ToPrivateEndpointConnectionTypeArrayOutput() PrivateEndpointConnectionTypeArrayOutput { + return o +} + +func (o PrivateEndpointConnectionTypeArrayOutput) ToPrivateEndpointConnectionTypeArrayOutputWithContext(ctx context.Context) PrivateEndpointConnectionTypeArrayOutput { + return o +} + +func (o PrivateEndpointConnectionTypeArrayOutput) Index(i pulumi.IntInput) PrivateEndpointConnectionTypeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PrivateEndpointConnectionType { + return vs[0].([]PrivateEndpointConnectionType)[vs[1].(int)] + }).(PrivateEndpointConnectionTypeOutput) +} + +// The Private Endpoint Connection resource. +type PrivateEndpointConnectionResponse struct { + // Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + Id string `pulumi:"id"` + // The name of the resource + Name string `pulumi:"name"` + // The resource of private end point. + PrivateEndpoint *PrivateEndpointResponse `pulumi:"privateEndpoint"` + // A collection of information about the state of the connection between service consumer and provider. + PrivateLinkServiceConnectionState PrivateLinkServiceConnectionStateResponse `pulumi:"privateLinkServiceConnectionState"` + // The provisioning state of the private endpoint connection resource. + ProvisioningState string `pulumi:"provisioningState"` + // The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + Type string `pulumi:"type"` +} + +// PrivateEndpointConnectionResponseInput is an input type that accepts PrivateEndpointConnectionResponseArgs and PrivateEndpointConnectionResponseOutput values. +// You can construct a concrete instance of `PrivateEndpointConnectionResponseInput` via: +// +// PrivateEndpointConnectionResponseArgs{...} +type PrivateEndpointConnectionResponseInput interface { + pulumi.Input + + ToPrivateEndpointConnectionResponseOutput() PrivateEndpointConnectionResponseOutput + ToPrivateEndpointConnectionResponseOutputWithContext(context.Context) PrivateEndpointConnectionResponseOutput +} + +// The Private Endpoint Connection resource. +type PrivateEndpointConnectionResponseArgs struct { + // Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + Id pulumi.StringInput `pulumi:"id"` + // The name of the resource + Name pulumi.StringInput `pulumi:"name"` + // The resource of private end point. + PrivateEndpoint PrivateEndpointResponsePtrInput `pulumi:"privateEndpoint"` + // A collection of information about the state of the connection between service consumer and provider. + PrivateLinkServiceConnectionState PrivateLinkServiceConnectionStateResponseInput `pulumi:"privateLinkServiceConnectionState"` + // The provisioning state of the private endpoint connection resource. + ProvisioningState pulumi.StringInput `pulumi:"provisioningState"` + // The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + Type pulumi.StringInput `pulumi:"type"` +} + +func (PrivateEndpointConnectionResponseArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PrivateEndpointConnectionResponse)(nil)).Elem() +} + +func (i PrivateEndpointConnectionResponseArgs) ToPrivateEndpointConnectionResponseOutput() PrivateEndpointConnectionResponseOutput { + return i.ToPrivateEndpointConnectionResponseOutputWithContext(context.Background()) +} + +func (i PrivateEndpointConnectionResponseArgs) ToPrivateEndpointConnectionResponseOutputWithContext(ctx context.Context) PrivateEndpointConnectionResponseOutput { + return pulumi.ToOutputWithContext(ctx, i).(PrivateEndpointConnectionResponseOutput) +} + +// PrivateEndpointConnectionResponseArrayInput is an input type that accepts PrivateEndpointConnectionResponseArray and PrivateEndpointConnectionResponseArrayOutput values. +// You can construct a concrete instance of `PrivateEndpointConnectionResponseArrayInput` via: +// +// PrivateEndpointConnectionResponseArray{ PrivateEndpointConnectionResponseArgs{...} } +type PrivateEndpointConnectionResponseArrayInput interface { + pulumi.Input + + ToPrivateEndpointConnectionResponseArrayOutput() PrivateEndpointConnectionResponseArrayOutput + ToPrivateEndpointConnectionResponseArrayOutputWithContext(context.Context) PrivateEndpointConnectionResponseArrayOutput +} + +type PrivateEndpointConnectionResponseArray []PrivateEndpointConnectionResponseInput + +func (PrivateEndpointConnectionResponseArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PrivateEndpointConnectionResponse)(nil)).Elem() +} + +func (i PrivateEndpointConnectionResponseArray) ToPrivateEndpointConnectionResponseArrayOutput() PrivateEndpointConnectionResponseArrayOutput { + return i.ToPrivateEndpointConnectionResponseArrayOutputWithContext(context.Background()) +} + +func (i PrivateEndpointConnectionResponseArray) ToPrivateEndpointConnectionResponseArrayOutputWithContext(ctx context.Context) PrivateEndpointConnectionResponseArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PrivateEndpointConnectionResponseArrayOutput) +} + +// The Private Endpoint Connection resource. +type PrivateEndpointConnectionResponseOutput struct{ *pulumi.OutputState } + +func (PrivateEndpointConnectionResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PrivateEndpointConnectionResponse)(nil)).Elem() +} + +func (o PrivateEndpointConnectionResponseOutput) ToPrivateEndpointConnectionResponseOutput() PrivateEndpointConnectionResponseOutput { + return o +} + +func (o PrivateEndpointConnectionResponseOutput) ToPrivateEndpointConnectionResponseOutputWithContext(ctx context.Context) PrivateEndpointConnectionResponseOutput { + return o +} + +// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} +func (o PrivateEndpointConnectionResponseOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v PrivateEndpointConnectionResponse) string { return v.Id }).(pulumi.StringOutput) +} + +// The name of the resource +func (o PrivateEndpointConnectionResponseOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v PrivateEndpointConnectionResponse) string { return v.Name }).(pulumi.StringOutput) +} + +// The resource of private end point. +func (o PrivateEndpointConnectionResponseOutput) PrivateEndpoint() PrivateEndpointResponsePtrOutput { + return o.ApplyT(func(v PrivateEndpointConnectionResponse) *PrivateEndpointResponse { return v.PrivateEndpoint }).(PrivateEndpointResponsePtrOutput) +} + +// A collection of information about the state of the connection between service consumer and provider. +func (o PrivateEndpointConnectionResponseOutput) PrivateLinkServiceConnectionState() PrivateLinkServiceConnectionStateResponseOutput { + return o.ApplyT(func(v PrivateEndpointConnectionResponse) PrivateLinkServiceConnectionStateResponse { + return v.PrivateLinkServiceConnectionState + }).(PrivateLinkServiceConnectionStateResponseOutput) +} + +// The provisioning state of the private endpoint connection resource. +func (o PrivateEndpointConnectionResponseOutput) ProvisioningState() pulumi.StringOutput { + return o.ApplyT(func(v PrivateEndpointConnectionResponse) string { return v.ProvisioningState }).(pulumi.StringOutput) +} + +// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" +func (o PrivateEndpointConnectionResponseOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v PrivateEndpointConnectionResponse) string { return v.Type }).(pulumi.StringOutput) +} + +type PrivateEndpointConnectionResponseArrayOutput struct{ *pulumi.OutputState } + +func (PrivateEndpointConnectionResponseArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PrivateEndpointConnectionResponse)(nil)).Elem() +} + +func (o PrivateEndpointConnectionResponseArrayOutput) ToPrivateEndpointConnectionResponseArrayOutput() PrivateEndpointConnectionResponseArrayOutput { + return o +} + +func (o PrivateEndpointConnectionResponseArrayOutput) ToPrivateEndpointConnectionResponseArrayOutputWithContext(ctx context.Context) PrivateEndpointConnectionResponseArrayOutput { + return o +} + +func (o PrivateEndpointConnectionResponseArrayOutput) Index(i pulumi.IntInput) PrivateEndpointConnectionResponseOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PrivateEndpointConnectionResponse { + return vs[0].([]PrivateEndpointConnectionResponse)[vs[1].(int)] + }).(PrivateEndpointConnectionResponseOutput) +} + +// The Private Endpoint resource. +type PrivateEndpointResponse struct { + // The ARM identifier for Private Endpoint + Id string `pulumi:"id"` +} + +// PrivateEndpointResponseInput is an input type that accepts PrivateEndpointResponseArgs and PrivateEndpointResponseOutput values. +// You can construct a concrete instance of `PrivateEndpointResponseInput` via: +// +// PrivateEndpointResponseArgs{...} +type PrivateEndpointResponseInput interface { + pulumi.Input + + ToPrivateEndpointResponseOutput() PrivateEndpointResponseOutput + ToPrivateEndpointResponseOutputWithContext(context.Context) PrivateEndpointResponseOutput +} + +// The Private Endpoint resource. +type PrivateEndpointResponseArgs struct { + // The ARM identifier for Private Endpoint + Id pulumi.StringInput `pulumi:"id"` +} + +func (PrivateEndpointResponseArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PrivateEndpointResponse)(nil)).Elem() +} + +func (i PrivateEndpointResponseArgs) ToPrivateEndpointResponseOutput() PrivateEndpointResponseOutput { + return i.ToPrivateEndpointResponseOutputWithContext(context.Background()) +} + +func (i PrivateEndpointResponseArgs) ToPrivateEndpointResponseOutputWithContext(ctx context.Context) PrivateEndpointResponseOutput { + return pulumi.ToOutputWithContext(ctx, i).(PrivateEndpointResponseOutput) +} + +func (i PrivateEndpointResponseArgs) ToPrivateEndpointResponsePtrOutput() PrivateEndpointResponsePtrOutput { + return i.ToPrivateEndpointResponsePtrOutputWithContext(context.Background()) +} + +func (i PrivateEndpointResponseArgs) ToPrivateEndpointResponsePtrOutputWithContext(ctx context.Context) PrivateEndpointResponsePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PrivateEndpointResponseOutput).ToPrivateEndpointResponsePtrOutputWithContext(ctx) +} + +// PrivateEndpointResponsePtrInput is an input type that accepts PrivateEndpointResponseArgs, PrivateEndpointResponsePtr and PrivateEndpointResponsePtrOutput values. +// You can construct a concrete instance of `PrivateEndpointResponsePtrInput` via: +// +// PrivateEndpointResponseArgs{...} +// +// or: +// +// nil +type PrivateEndpointResponsePtrInput interface { + pulumi.Input + + ToPrivateEndpointResponsePtrOutput() PrivateEndpointResponsePtrOutput + ToPrivateEndpointResponsePtrOutputWithContext(context.Context) PrivateEndpointResponsePtrOutput +} + +type privateEndpointResponsePtrType PrivateEndpointResponseArgs + +func PrivateEndpointResponsePtr(v *PrivateEndpointResponseArgs) PrivateEndpointResponsePtrInput { + return (*privateEndpointResponsePtrType)(v) +} + +func (*privateEndpointResponsePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PrivateEndpointResponse)(nil)).Elem() +} + +func (i *privateEndpointResponsePtrType) ToPrivateEndpointResponsePtrOutput() PrivateEndpointResponsePtrOutput { + return i.ToPrivateEndpointResponsePtrOutputWithContext(context.Background()) +} + +func (i *privateEndpointResponsePtrType) ToPrivateEndpointResponsePtrOutputWithContext(ctx context.Context) PrivateEndpointResponsePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PrivateEndpointResponsePtrOutput) +} + +// The Private Endpoint resource. +type PrivateEndpointResponseOutput struct{ *pulumi.OutputState } + +func (PrivateEndpointResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PrivateEndpointResponse)(nil)).Elem() +} + +func (o PrivateEndpointResponseOutput) ToPrivateEndpointResponseOutput() PrivateEndpointResponseOutput { + return o +} + +func (o PrivateEndpointResponseOutput) ToPrivateEndpointResponseOutputWithContext(ctx context.Context) PrivateEndpointResponseOutput { + return o +} + +func (o PrivateEndpointResponseOutput) ToPrivateEndpointResponsePtrOutput() PrivateEndpointResponsePtrOutput { + return o.ToPrivateEndpointResponsePtrOutputWithContext(context.Background()) +} + +func (o PrivateEndpointResponseOutput) ToPrivateEndpointResponsePtrOutputWithContext(ctx context.Context) PrivateEndpointResponsePtrOutput { + return o.ApplyT(func(v PrivateEndpointResponse) *PrivateEndpointResponse { + return &v + }).(PrivateEndpointResponsePtrOutput) +} + +// The ARM identifier for Private Endpoint +func (o PrivateEndpointResponseOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v PrivateEndpointResponse) string { return v.Id }).(pulumi.StringOutput) +} + +type PrivateEndpointResponsePtrOutput struct{ *pulumi.OutputState } + +func (PrivateEndpointResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PrivateEndpointResponse)(nil)).Elem() +} + +func (o PrivateEndpointResponsePtrOutput) ToPrivateEndpointResponsePtrOutput() PrivateEndpointResponsePtrOutput { + return o +} + +func (o PrivateEndpointResponsePtrOutput) ToPrivateEndpointResponsePtrOutputWithContext(ctx context.Context) PrivateEndpointResponsePtrOutput { + return o +} + +func (o PrivateEndpointResponsePtrOutput) Elem() PrivateEndpointResponseOutput { + return o.ApplyT(func(v *PrivateEndpointResponse) PrivateEndpointResponse { return *v }).(PrivateEndpointResponseOutput) +} + +// The ARM identifier for Private Endpoint +func (o PrivateEndpointResponsePtrOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PrivateEndpointResponse) *string { + if v == nil { + return nil + } + return &v.Id + }).(pulumi.StringPtrOutput) +} + +// A collection of information about the state of the connection between service consumer and provider. +type PrivateLinkServiceConnectionState struct { + // A message indicating if changes on the service provider require any updates on the consumer. + ActionsRequired *string `pulumi:"actionsRequired"` + // The reason for approval/rejection of the connection. + Description *string `pulumi:"description"` + // Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. + Status *string `pulumi:"status"` +} + +// PrivateLinkServiceConnectionStateInput is an input type that accepts PrivateLinkServiceConnectionStateArgs and PrivateLinkServiceConnectionStateOutput values. +// You can construct a concrete instance of `PrivateLinkServiceConnectionStateInput` via: +// +// PrivateLinkServiceConnectionStateArgs{...} +type PrivateLinkServiceConnectionStateInput interface { + pulumi.Input + + ToPrivateLinkServiceConnectionStateOutput() PrivateLinkServiceConnectionStateOutput + ToPrivateLinkServiceConnectionStateOutputWithContext(context.Context) PrivateLinkServiceConnectionStateOutput +} + +// A collection of information about the state of the connection between service consumer and provider. +type PrivateLinkServiceConnectionStateArgs struct { + // A message indicating if changes on the service provider require any updates on the consumer. + ActionsRequired pulumi.StringPtrInput `pulumi:"actionsRequired"` + // The reason for approval/rejection of the connection. + Description pulumi.StringPtrInput `pulumi:"description"` + // Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. + Status pulumi.StringPtrInput `pulumi:"status"` +} + +func (PrivateLinkServiceConnectionStateArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PrivateLinkServiceConnectionState)(nil)).Elem() +} + +func (i PrivateLinkServiceConnectionStateArgs) ToPrivateLinkServiceConnectionStateOutput() PrivateLinkServiceConnectionStateOutput { + return i.ToPrivateLinkServiceConnectionStateOutputWithContext(context.Background()) +} + +func (i PrivateLinkServiceConnectionStateArgs) ToPrivateLinkServiceConnectionStateOutputWithContext(ctx context.Context) PrivateLinkServiceConnectionStateOutput { + return pulumi.ToOutputWithContext(ctx, i).(PrivateLinkServiceConnectionStateOutput) +} + +func (i PrivateLinkServiceConnectionStateArgs) ToPrivateLinkServiceConnectionStatePtrOutput() PrivateLinkServiceConnectionStatePtrOutput { + return i.ToPrivateLinkServiceConnectionStatePtrOutputWithContext(context.Background()) +} + +func (i PrivateLinkServiceConnectionStateArgs) ToPrivateLinkServiceConnectionStatePtrOutputWithContext(ctx context.Context) PrivateLinkServiceConnectionStatePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PrivateLinkServiceConnectionStateOutput).ToPrivateLinkServiceConnectionStatePtrOutputWithContext(ctx) +} + +// PrivateLinkServiceConnectionStatePtrInput is an input type that accepts PrivateLinkServiceConnectionStateArgs, PrivateLinkServiceConnectionStatePtr and PrivateLinkServiceConnectionStatePtrOutput values. +// You can construct a concrete instance of `PrivateLinkServiceConnectionStatePtrInput` via: +// +// PrivateLinkServiceConnectionStateArgs{...} +// +// or: +// +// nil +type PrivateLinkServiceConnectionStatePtrInput interface { + pulumi.Input + + ToPrivateLinkServiceConnectionStatePtrOutput() PrivateLinkServiceConnectionStatePtrOutput + ToPrivateLinkServiceConnectionStatePtrOutputWithContext(context.Context) PrivateLinkServiceConnectionStatePtrOutput +} + +type privateLinkServiceConnectionStatePtrType PrivateLinkServiceConnectionStateArgs + +func PrivateLinkServiceConnectionStatePtr(v *PrivateLinkServiceConnectionStateArgs) PrivateLinkServiceConnectionStatePtrInput { + return (*privateLinkServiceConnectionStatePtrType)(v) +} + +func (*privateLinkServiceConnectionStatePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PrivateLinkServiceConnectionState)(nil)).Elem() +} + +func (i *privateLinkServiceConnectionStatePtrType) ToPrivateLinkServiceConnectionStatePtrOutput() PrivateLinkServiceConnectionStatePtrOutput { + return i.ToPrivateLinkServiceConnectionStatePtrOutputWithContext(context.Background()) +} + +func (i *privateLinkServiceConnectionStatePtrType) ToPrivateLinkServiceConnectionStatePtrOutputWithContext(ctx context.Context) PrivateLinkServiceConnectionStatePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PrivateLinkServiceConnectionStatePtrOutput) +} + +// A collection of information about the state of the connection between service consumer and provider. +type PrivateLinkServiceConnectionStateOutput struct{ *pulumi.OutputState } + +func (PrivateLinkServiceConnectionStateOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PrivateLinkServiceConnectionState)(nil)).Elem() +} + +func (o PrivateLinkServiceConnectionStateOutput) ToPrivateLinkServiceConnectionStateOutput() PrivateLinkServiceConnectionStateOutput { + return o +} + +func (o PrivateLinkServiceConnectionStateOutput) ToPrivateLinkServiceConnectionStateOutputWithContext(ctx context.Context) PrivateLinkServiceConnectionStateOutput { + return o +} + +func (o PrivateLinkServiceConnectionStateOutput) ToPrivateLinkServiceConnectionStatePtrOutput() PrivateLinkServiceConnectionStatePtrOutput { + return o.ToPrivateLinkServiceConnectionStatePtrOutputWithContext(context.Background()) +} + +func (o PrivateLinkServiceConnectionStateOutput) ToPrivateLinkServiceConnectionStatePtrOutputWithContext(ctx context.Context) PrivateLinkServiceConnectionStatePtrOutput { + return o.ApplyT(func(v PrivateLinkServiceConnectionState) *PrivateLinkServiceConnectionState { + return &v + }).(PrivateLinkServiceConnectionStatePtrOutput) +} + +// A message indicating if changes on the service provider require any updates on the consumer. +func (o PrivateLinkServiceConnectionStateOutput) ActionsRequired() pulumi.StringPtrOutput { + return o.ApplyT(func(v PrivateLinkServiceConnectionState) *string { return v.ActionsRequired }).(pulumi.StringPtrOutput) +} + +// The reason for approval/rejection of the connection. +func (o PrivateLinkServiceConnectionStateOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v PrivateLinkServiceConnectionState) *string { return v.Description }).(pulumi.StringPtrOutput) +} + +// Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. +func (o PrivateLinkServiceConnectionStateOutput) Status() pulumi.StringPtrOutput { + return o.ApplyT(func(v PrivateLinkServiceConnectionState) *string { return v.Status }).(pulumi.StringPtrOutput) +} + +type PrivateLinkServiceConnectionStatePtrOutput struct{ *pulumi.OutputState } + +func (PrivateLinkServiceConnectionStatePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PrivateLinkServiceConnectionState)(nil)).Elem() +} + +func (o PrivateLinkServiceConnectionStatePtrOutput) ToPrivateLinkServiceConnectionStatePtrOutput() PrivateLinkServiceConnectionStatePtrOutput { + return o +} + +func (o PrivateLinkServiceConnectionStatePtrOutput) ToPrivateLinkServiceConnectionStatePtrOutputWithContext(ctx context.Context) PrivateLinkServiceConnectionStatePtrOutput { + return o +} + +func (o PrivateLinkServiceConnectionStatePtrOutput) Elem() PrivateLinkServiceConnectionStateOutput { + return o.ApplyT(func(v *PrivateLinkServiceConnectionState) PrivateLinkServiceConnectionState { return *v }).(PrivateLinkServiceConnectionStateOutput) +} + +// A message indicating if changes on the service provider require any updates on the consumer. +func (o PrivateLinkServiceConnectionStatePtrOutput) ActionsRequired() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PrivateLinkServiceConnectionState) *string { + if v == nil { + return nil + } + return v.ActionsRequired + }).(pulumi.StringPtrOutput) +} + +// The reason for approval/rejection of the connection. +func (o PrivateLinkServiceConnectionStatePtrOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PrivateLinkServiceConnectionState) *string { + if v == nil { + return nil + } + return v.Description + }).(pulumi.StringPtrOutput) +} + +// Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. +func (o PrivateLinkServiceConnectionStatePtrOutput) Status() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PrivateLinkServiceConnectionState) *string { + if v == nil { + return nil + } + return v.Status + }).(pulumi.StringPtrOutput) +} + +// A collection of information about the state of the connection between service consumer and provider. +type PrivateLinkServiceConnectionStateResponse struct { + // A message indicating if changes on the service provider require any updates on the consumer. + ActionsRequired *string `pulumi:"actionsRequired"` + // The reason for approval/rejection of the connection. + Description *string `pulumi:"description"` + // Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. + Status *string `pulumi:"status"` +} + +// PrivateLinkServiceConnectionStateResponseInput is an input type that accepts PrivateLinkServiceConnectionStateResponseArgs and PrivateLinkServiceConnectionStateResponseOutput values. +// You can construct a concrete instance of `PrivateLinkServiceConnectionStateResponseInput` via: +// +// PrivateLinkServiceConnectionStateResponseArgs{...} +type PrivateLinkServiceConnectionStateResponseInput interface { + pulumi.Input + + ToPrivateLinkServiceConnectionStateResponseOutput() PrivateLinkServiceConnectionStateResponseOutput + ToPrivateLinkServiceConnectionStateResponseOutputWithContext(context.Context) PrivateLinkServiceConnectionStateResponseOutput +} + +// A collection of information about the state of the connection between service consumer and provider. +type PrivateLinkServiceConnectionStateResponseArgs struct { + // A message indicating if changes on the service provider require any updates on the consumer. + ActionsRequired pulumi.StringPtrInput `pulumi:"actionsRequired"` + // The reason for approval/rejection of the connection. + Description pulumi.StringPtrInput `pulumi:"description"` + // Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. + Status pulumi.StringPtrInput `pulumi:"status"` +} + +func (PrivateLinkServiceConnectionStateResponseArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PrivateLinkServiceConnectionStateResponse)(nil)).Elem() +} + +func (i PrivateLinkServiceConnectionStateResponseArgs) ToPrivateLinkServiceConnectionStateResponseOutput() PrivateLinkServiceConnectionStateResponseOutput { + return i.ToPrivateLinkServiceConnectionStateResponseOutputWithContext(context.Background()) +} + +func (i PrivateLinkServiceConnectionStateResponseArgs) ToPrivateLinkServiceConnectionStateResponseOutputWithContext(ctx context.Context) PrivateLinkServiceConnectionStateResponseOutput { + return pulumi.ToOutputWithContext(ctx, i).(PrivateLinkServiceConnectionStateResponseOutput) +} + +func (i PrivateLinkServiceConnectionStateResponseArgs) ToPrivateLinkServiceConnectionStateResponsePtrOutput() PrivateLinkServiceConnectionStateResponsePtrOutput { + return i.ToPrivateLinkServiceConnectionStateResponsePtrOutputWithContext(context.Background()) +} + +func (i PrivateLinkServiceConnectionStateResponseArgs) ToPrivateLinkServiceConnectionStateResponsePtrOutputWithContext(ctx context.Context) PrivateLinkServiceConnectionStateResponsePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PrivateLinkServiceConnectionStateResponseOutput).ToPrivateLinkServiceConnectionStateResponsePtrOutputWithContext(ctx) +} + +// PrivateLinkServiceConnectionStateResponsePtrInput is an input type that accepts PrivateLinkServiceConnectionStateResponseArgs, PrivateLinkServiceConnectionStateResponsePtr and PrivateLinkServiceConnectionStateResponsePtrOutput values. +// You can construct a concrete instance of `PrivateLinkServiceConnectionStateResponsePtrInput` via: +// +// PrivateLinkServiceConnectionStateResponseArgs{...} +// +// or: +// +// nil +type PrivateLinkServiceConnectionStateResponsePtrInput interface { + pulumi.Input + + ToPrivateLinkServiceConnectionStateResponsePtrOutput() PrivateLinkServiceConnectionStateResponsePtrOutput + ToPrivateLinkServiceConnectionStateResponsePtrOutputWithContext(context.Context) PrivateLinkServiceConnectionStateResponsePtrOutput +} + +type privateLinkServiceConnectionStateResponsePtrType PrivateLinkServiceConnectionStateResponseArgs + +func PrivateLinkServiceConnectionStateResponsePtr(v *PrivateLinkServiceConnectionStateResponseArgs) PrivateLinkServiceConnectionStateResponsePtrInput { + return (*privateLinkServiceConnectionStateResponsePtrType)(v) +} + +func (*privateLinkServiceConnectionStateResponsePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PrivateLinkServiceConnectionStateResponse)(nil)).Elem() +} + +func (i *privateLinkServiceConnectionStateResponsePtrType) ToPrivateLinkServiceConnectionStateResponsePtrOutput() PrivateLinkServiceConnectionStateResponsePtrOutput { + return i.ToPrivateLinkServiceConnectionStateResponsePtrOutputWithContext(context.Background()) +} + +func (i *privateLinkServiceConnectionStateResponsePtrType) ToPrivateLinkServiceConnectionStateResponsePtrOutputWithContext(ctx context.Context) PrivateLinkServiceConnectionStateResponsePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PrivateLinkServiceConnectionStateResponsePtrOutput) +} + +// A collection of information about the state of the connection between service consumer and provider. +type PrivateLinkServiceConnectionStateResponseOutput struct{ *pulumi.OutputState } + +func (PrivateLinkServiceConnectionStateResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PrivateLinkServiceConnectionStateResponse)(nil)).Elem() +} + +func (o PrivateLinkServiceConnectionStateResponseOutput) ToPrivateLinkServiceConnectionStateResponseOutput() PrivateLinkServiceConnectionStateResponseOutput { + return o +} + +func (o PrivateLinkServiceConnectionStateResponseOutput) ToPrivateLinkServiceConnectionStateResponseOutputWithContext(ctx context.Context) PrivateLinkServiceConnectionStateResponseOutput { + return o +} + +func (o PrivateLinkServiceConnectionStateResponseOutput) ToPrivateLinkServiceConnectionStateResponsePtrOutput() PrivateLinkServiceConnectionStateResponsePtrOutput { + return o.ToPrivateLinkServiceConnectionStateResponsePtrOutputWithContext(context.Background()) +} + +func (o PrivateLinkServiceConnectionStateResponseOutput) ToPrivateLinkServiceConnectionStateResponsePtrOutputWithContext(ctx context.Context) PrivateLinkServiceConnectionStateResponsePtrOutput { + return o.ApplyT(func(v PrivateLinkServiceConnectionStateResponse) *PrivateLinkServiceConnectionStateResponse { + return &v + }).(PrivateLinkServiceConnectionStateResponsePtrOutput) +} + +// A message indicating if changes on the service provider require any updates on the consumer. +func (o PrivateLinkServiceConnectionStateResponseOutput) ActionsRequired() pulumi.StringPtrOutput { + return o.ApplyT(func(v PrivateLinkServiceConnectionStateResponse) *string { return v.ActionsRequired }).(pulumi.StringPtrOutput) +} + +// The reason for approval/rejection of the connection. +func (o PrivateLinkServiceConnectionStateResponseOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v PrivateLinkServiceConnectionStateResponse) *string { return v.Description }).(pulumi.StringPtrOutput) +} + +// Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. +func (o PrivateLinkServiceConnectionStateResponseOutput) Status() pulumi.StringPtrOutput { + return o.ApplyT(func(v PrivateLinkServiceConnectionStateResponse) *string { return v.Status }).(pulumi.StringPtrOutput) +} + +type PrivateLinkServiceConnectionStateResponsePtrOutput struct{ *pulumi.OutputState } + +func (PrivateLinkServiceConnectionStateResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PrivateLinkServiceConnectionStateResponse)(nil)).Elem() +} + +func (o PrivateLinkServiceConnectionStateResponsePtrOutput) ToPrivateLinkServiceConnectionStateResponsePtrOutput() PrivateLinkServiceConnectionStateResponsePtrOutput { + return o +} + +func (o PrivateLinkServiceConnectionStateResponsePtrOutput) ToPrivateLinkServiceConnectionStateResponsePtrOutputWithContext(ctx context.Context) PrivateLinkServiceConnectionStateResponsePtrOutput { + return o +} + +func (o PrivateLinkServiceConnectionStateResponsePtrOutput) Elem() PrivateLinkServiceConnectionStateResponseOutput { + return o.ApplyT(func(v *PrivateLinkServiceConnectionStateResponse) PrivateLinkServiceConnectionStateResponse { + return *v + }).(PrivateLinkServiceConnectionStateResponseOutput) +} + +// A message indicating if changes on the service provider require any updates on the consumer. +func (o PrivateLinkServiceConnectionStateResponsePtrOutput) ActionsRequired() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PrivateLinkServiceConnectionStateResponse) *string { + if v == nil { + return nil + } + return v.ActionsRequired + }).(pulumi.StringPtrOutput) +} + +// The reason for approval/rejection of the connection. +func (o PrivateLinkServiceConnectionStateResponsePtrOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PrivateLinkServiceConnectionStateResponse) *string { + if v == nil { + return nil + } + return v.Description + }).(pulumi.StringPtrOutput) +} + +// Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. +func (o PrivateLinkServiceConnectionStateResponsePtrOutput) Status() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PrivateLinkServiceConnectionStateResponse) *string { + if v == nil { + return nil + } + return v.Status + }).(pulumi.StringPtrOutput) +} + +// An access policy entry. +type ServiceAccessPolicyEntry struct { + // An Azure AD object ID (User or Apps) that is allowed access to the FHIR service. + ObjectId string `pulumi:"objectId"` +} + +// ServiceAccessPolicyEntryInput is an input type that accepts ServiceAccessPolicyEntryArgs and ServiceAccessPolicyEntryOutput values. +// You can construct a concrete instance of `ServiceAccessPolicyEntryInput` via: +// +// ServiceAccessPolicyEntryArgs{...} +type ServiceAccessPolicyEntryInput interface { + pulumi.Input + + ToServiceAccessPolicyEntryOutput() ServiceAccessPolicyEntryOutput + ToServiceAccessPolicyEntryOutputWithContext(context.Context) ServiceAccessPolicyEntryOutput +} + +// An access policy entry. +type ServiceAccessPolicyEntryArgs struct { + // An Azure AD object ID (User or Apps) that is allowed access to the FHIR service. + ObjectId pulumi.StringInput `pulumi:"objectId"` +} + +func (ServiceAccessPolicyEntryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ServiceAccessPolicyEntry)(nil)).Elem() +} + +func (i ServiceAccessPolicyEntryArgs) ToServiceAccessPolicyEntryOutput() ServiceAccessPolicyEntryOutput { + return i.ToServiceAccessPolicyEntryOutputWithContext(context.Background()) +} + +func (i ServiceAccessPolicyEntryArgs) ToServiceAccessPolicyEntryOutputWithContext(ctx context.Context) ServiceAccessPolicyEntryOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServiceAccessPolicyEntryOutput) +} + +// ServiceAccessPolicyEntryArrayInput is an input type that accepts ServiceAccessPolicyEntryArray and ServiceAccessPolicyEntryArrayOutput values. +// You can construct a concrete instance of `ServiceAccessPolicyEntryArrayInput` via: +// +// ServiceAccessPolicyEntryArray{ ServiceAccessPolicyEntryArgs{...} } +type ServiceAccessPolicyEntryArrayInput interface { + pulumi.Input + + ToServiceAccessPolicyEntryArrayOutput() ServiceAccessPolicyEntryArrayOutput + ToServiceAccessPolicyEntryArrayOutputWithContext(context.Context) ServiceAccessPolicyEntryArrayOutput +} + +type ServiceAccessPolicyEntryArray []ServiceAccessPolicyEntryInput + +func (ServiceAccessPolicyEntryArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ServiceAccessPolicyEntry)(nil)).Elem() +} + +func (i ServiceAccessPolicyEntryArray) ToServiceAccessPolicyEntryArrayOutput() ServiceAccessPolicyEntryArrayOutput { + return i.ToServiceAccessPolicyEntryArrayOutputWithContext(context.Background()) +} + +func (i ServiceAccessPolicyEntryArray) ToServiceAccessPolicyEntryArrayOutputWithContext(ctx context.Context) ServiceAccessPolicyEntryArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServiceAccessPolicyEntryArrayOutput) +} + +// An access policy entry. +type ServiceAccessPolicyEntryOutput struct{ *pulumi.OutputState } + +func (ServiceAccessPolicyEntryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ServiceAccessPolicyEntry)(nil)).Elem() +} + +func (o ServiceAccessPolicyEntryOutput) ToServiceAccessPolicyEntryOutput() ServiceAccessPolicyEntryOutput { + return o +} + +func (o ServiceAccessPolicyEntryOutput) ToServiceAccessPolicyEntryOutputWithContext(ctx context.Context) ServiceAccessPolicyEntryOutput { + return o +} + +// An Azure AD object ID (User or Apps) that is allowed access to the FHIR service. +func (o ServiceAccessPolicyEntryOutput) ObjectId() pulumi.StringOutput { + return o.ApplyT(func(v ServiceAccessPolicyEntry) string { return v.ObjectId }).(pulumi.StringOutput) +} + +type ServiceAccessPolicyEntryArrayOutput struct{ *pulumi.OutputState } + +func (ServiceAccessPolicyEntryArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ServiceAccessPolicyEntry)(nil)).Elem() +} + +func (o ServiceAccessPolicyEntryArrayOutput) ToServiceAccessPolicyEntryArrayOutput() ServiceAccessPolicyEntryArrayOutput { + return o +} + +func (o ServiceAccessPolicyEntryArrayOutput) ToServiceAccessPolicyEntryArrayOutputWithContext(ctx context.Context) ServiceAccessPolicyEntryArrayOutput { + return o +} + +func (o ServiceAccessPolicyEntryArrayOutput) Index(i pulumi.IntInput) ServiceAccessPolicyEntryOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) ServiceAccessPolicyEntry { + return vs[0].([]ServiceAccessPolicyEntry)[vs[1].(int)] + }).(ServiceAccessPolicyEntryOutput) +} + +// An access policy entry. +type ServiceAccessPolicyEntryResponse struct { + // An Azure AD object ID (User or Apps) that is allowed access to the FHIR service. + ObjectId string `pulumi:"objectId"` +} + +// ServiceAccessPolicyEntryResponseInput is an input type that accepts ServiceAccessPolicyEntryResponseArgs and ServiceAccessPolicyEntryResponseOutput values. +// You can construct a concrete instance of `ServiceAccessPolicyEntryResponseInput` via: +// +// ServiceAccessPolicyEntryResponseArgs{...} +type ServiceAccessPolicyEntryResponseInput interface { + pulumi.Input + + ToServiceAccessPolicyEntryResponseOutput() ServiceAccessPolicyEntryResponseOutput + ToServiceAccessPolicyEntryResponseOutputWithContext(context.Context) ServiceAccessPolicyEntryResponseOutput +} + +// An access policy entry. +type ServiceAccessPolicyEntryResponseArgs struct { + // An Azure AD object ID (User or Apps) that is allowed access to the FHIR service. + ObjectId pulumi.StringInput `pulumi:"objectId"` +} + +func (ServiceAccessPolicyEntryResponseArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ServiceAccessPolicyEntryResponse)(nil)).Elem() +} + +func (i ServiceAccessPolicyEntryResponseArgs) ToServiceAccessPolicyEntryResponseOutput() ServiceAccessPolicyEntryResponseOutput { + return i.ToServiceAccessPolicyEntryResponseOutputWithContext(context.Background()) +} + +func (i ServiceAccessPolicyEntryResponseArgs) ToServiceAccessPolicyEntryResponseOutputWithContext(ctx context.Context) ServiceAccessPolicyEntryResponseOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServiceAccessPolicyEntryResponseOutput) +} + +// ServiceAccessPolicyEntryResponseArrayInput is an input type that accepts ServiceAccessPolicyEntryResponseArray and ServiceAccessPolicyEntryResponseArrayOutput values. +// You can construct a concrete instance of `ServiceAccessPolicyEntryResponseArrayInput` via: +// +// ServiceAccessPolicyEntryResponseArray{ ServiceAccessPolicyEntryResponseArgs{...} } +type ServiceAccessPolicyEntryResponseArrayInput interface { + pulumi.Input + + ToServiceAccessPolicyEntryResponseArrayOutput() ServiceAccessPolicyEntryResponseArrayOutput + ToServiceAccessPolicyEntryResponseArrayOutputWithContext(context.Context) ServiceAccessPolicyEntryResponseArrayOutput +} + +type ServiceAccessPolicyEntryResponseArray []ServiceAccessPolicyEntryResponseInput + +func (ServiceAccessPolicyEntryResponseArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ServiceAccessPolicyEntryResponse)(nil)).Elem() +} + +func (i ServiceAccessPolicyEntryResponseArray) ToServiceAccessPolicyEntryResponseArrayOutput() ServiceAccessPolicyEntryResponseArrayOutput { + return i.ToServiceAccessPolicyEntryResponseArrayOutputWithContext(context.Background()) +} + +func (i ServiceAccessPolicyEntryResponseArray) ToServiceAccessPolicyEntryResponseArrayOutputWithContext(ctx context.Context) ServiceAccessPolicyEntryResponseArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServiceAccessPolicyEntryResponseArrayOutput) +} + +// An access policy entry. +type ServiceAccessPolicyEntryResponseOutput struct{ *pulumi.OutputState } + +func (ServiceAccessPolicyEntryResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ServiceAccessPolicyEntryResponse)(nil)).Elem() +} + +func (o ServiceAccessPolicyEntryResponseOutput) ToServiceAccessPolicyEntryResponseOutput() ServiceAccessPolicyEntryResponseOutput { + return o +} + +func (o ServiceAccessPolicyEntryResponseOutput) ToServiceAccessPolicyEntryResponseOutputWithContext(ctx context.Context) ServiceAccessPolicyEntryResponseOutput { + return o +} + +// An Azure AD object ID (User or Apps) that is allowed access to the FHIR service. +func (o ServiceAccessPolicyEntryResponseOutput) ObjectId() pulumi.StringOutput { + return o.ApplyT(func(v ServiceAccessPolicyEntryResponse) string { return v.ObjectId }).(pulumi.StringOutput) +} + +type ServiceAccessPolicyEntryResponseArrayOutput struct{ *pulumi.OutputState } + +func (ServiceAccessPolicyEntryResponseArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ServiceAccessPolicyEntryResponse)(nil)).Elem() +} + +func (o ServiceAccessPolicyEntryResponseArrayOutput) ToServiceAccessPolicyEntryResponseArrayOutput() ServiceAccessPolicyEntryResponseArrayOutput { + return o +} + +func (o ServiceAccessPolicyEntryResponseArrayOutput) ToServiceAccessPolicyEntryResponseArrayOutputWithContext(ctx context.Context) ServiceAccessPolicyEntryResponseArrayOutput { + return o +} + +func (o ServiceAccessPolicyEntryResponseArrayOutput) Index(i pulumi.IntInput) ServiceAccessPolicyEntryResponseOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) ServiceAccessPolicyEntryResponse { + return vs[0].([]ServiceAccessPolicyEntryResponse)[vs[1].(int)] + }).(ServiceAccessPolicyEntryResponseOutput) +} + +// Azure container registry configuration information +type ServiceAcrConfigurationInfo struct { + // The list of the ACR login servers. + LoginServers []string `pulumi:"loginServers"` +} + +// ServiceAcrConfigurationInfoInput is an input type that accepts ServiceAcrConfigurationInfoArgs and ServiceAcrConfigurationInfoOutput values. +// You can construct a concrete instance of `ServiceAcrConfigurationInfoInput` via: +// +// ServiceAcrConfigurationInfoArgs{...} +type ServiceAcrConfigurationInfoInput interface { + pulumi.Input + + ToServiceAcrConfigurationInfoOutput() ServiceAcrConfigurationInfoOutput + ToServiceAcrConfigurationInfoOutputWithContext(context.Context) ServiceAcrConfigurationInfoOutput +} + +// Azure container registry configuration information +type ServiceAcrConfigurationInfoArgs struct { + // The list of the ACR login servers. + LoginServers pulumi.StringArrayInput `pulumi:"loginServers"` +} + +func (ServiceAcrConfigurationInfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ServiceAcrConfigurationInfo)(nil)).Elem() +} + +func (i ServiceAcrConfigurationInfoArgs) ToServiceAcrConfigurationInfoOutput() ServiceAcrConfigurationInfoOutput { + return i.ToServiceAcrConfigurationInfoOutputWithContext(context.Background()) +} + +func (i ServiceAcrConfigurationInfoArgs) ToServiceAcrConfigurationInfoOutputWithContext(ctx context.Context) ServiceAcrConfigurationInfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServiceAcrConfigurationInfoOutput) +} + +func (i ServiceAcrConfigurationInfoArgs) ToServiceAcrConfigurationInfoPtrOutput() ServiceAcrConfigurationInfoPtrOutput { + return i.ToServiceAcrConfigurationInfoPtrOutputWithContext(context.Background()) +} + +func (i ServiceAcrConfigurationInfoArgs) ToServiceAcrConfigurationInfoPtrOutputWithContext(ctx context.Context) ServiceAcrConfigurationInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServiceAcrConfigurationInfoOutput).ToServiceAcrConfigurationInfoPtrOutputWithContext(ctx) +} + +// ServiceAcrConfigurationInfoPtrInput is an input type that accepts ServiceAcrConfigurationInfoArgs, ServiceAcrConfigurationInfoPtr and ServiceAcrConfigurationInfoPtrOutput values. +// You can construct a concrete instance of `ServiceAcrConfigurationInfoPtrInput` via: +// +// ServiceAcrConfigurationInfoArgs{...} +// +// or: +// +// nil +type ServiceAcrConfigurationInfoPtrInput interface { + pulumi.Input + + ToServiceAcrConfigurationInfoPtrOutput() ServiceAcrConfigurationInfoPtrOutput + ToServiceAcrConfigurationInfoPtrOutputWithContext(context.Context) ServiceAcrConfigurationInfoPtrOutput +} + +type serviceAcrConfigurationInfoPtrType ServiceAcrConfigurationInfoArgs + +func ServiceAcrConfigurationInfoPtr(v *ServiceAcrConfigurationInfoArgs) ServiceAcrConfigurationInfoPtrInput { + return (*serviceAcrConfigurationInfoPtrType)(v) +} + +func (*serviceAcrConfigurationInfoPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ServiceAcrConfigurationInfo)(nil)).Elem() +} + +func (i *serviceAcrConfigurationInfoPtrType) ToServiceAcrConfigurationInfoPtrOutput() ServiceAcrConfigurationInfoPtrOutput { + return i.ToServiceAcrConfigurationInfoPtrOutputWithContext(context.Background()) +} + +func (i *serviceAcrConfigurationInfoPtrType) ToServiceAcrConfigurationInfoPtrOutputWithContext(ctx context.Context) ServiceAcrConfigurationInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServiceAcrConfigurationInfoPtrOutput) +} + +// Azure container registry configuration information +type ServiceAcrConfigurationInfoOutput struct{ *pulumi.OutputState } + +func (ServiceAcrConfigurationInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ServiceAcrConfigurationInfo)(nil)).Elem() +} + +func (o ServiceAcrConfigurationInfoOutput) ToServiceAcrConfigurationInfoOutput() ServiceAcrConfigurationInfoOutput { + return o +} + +func (o ServiceAcrConfigurationInfoOutput) ToServiceAcrConfigurationInfoOutputWithContext(ctx context.Context) ServiceAcrConfigurationInfoOutput { + return o +} + +func (o ServiceAcrConfigurationInfoOutput) ToServiceAcrConfigurationInfoPtrOutput() ServiceAcrConfigurationInfoPtrOutput { + return o.ToServiceAcrConfigurationInfoPtrOutputWithContext(context.Background()) +} + +func (o ServiceAcrConfigurationInfoOutput) ToServiceAcrConfigurationInfoPtrOutputWithContext(ctx context.Context) ServiceAcrConfigurationInfoPtrOutput { + return o.ApplyT(func(v ServiceAcrConfigurationInfo) *ServiceAcrConfigurationInfo { + return &v + }).(ServiceAcrConfigurationInfoPtrOutput) +} + +// The list of the ACR login servers. +func (o ServiceAcrConfigurationInfoOutput) LoginServers() pulumi.StringArrayOutput { + return o.ApplyT(func(v ServiceAcrConfigurationInfo) []string { return v.LoginServers }).(pulumi.StringArrayOutput) +} + +type ServiceAcrConfigurationInfoPtrOutput struct{ *pulumi.OutputState } + +func (ServiceAcrConfigurationInfoPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ServiceAcrConfigurationInfo)(nil)).Elem() +} + +func (o ServiceAcrConfigurationInfoPtrOutput) ToServiceAcrConfigurationInfoPtrOutput() ServiceAcrConfigurationInfoPtrOutput { + return o +} + +func (o ServiceAcrConfigurationInfoPtrOutput) ToServiceAcrConfigurationInfoPtrOutputWithContext(ctx context.Context) ServiceAcrConfigurationInfoPtrOutput { + return o +} + +func (o ServiceAcrConfigurationInfoPtrOutput) Elem() ServiceAcrConfigurationInfoOutput { + return o.ApplyT(func(v *ServiceAcrConfigurationInfo) ServiceAcrConfigurationInfo { return *v }).(ServiceAcrConfigurationInfoOutput) +} + +// The list of the ACR login servers. +func (o ServiceAcrConfigurationInfoPtrOutput) LoginServers() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ServiceAcrConfigurationInfo) []string { + if v == nil { + return nil + } + return v.LoginServers + }).(pulumi.StringArrayOutput) +} + +// Azure container registry configuration information +type ServiceAcrConfigurationInfoResponse struct { + // The list of the ACR login servers. + LoginServers []string `pulumi:"loginServers"` +} + +// ServiceAcrConfigurationInfoResponseInput is an input type that accepts ServiceAcrConfigurationInfoResponseArgs and ServiceAcrConfigurationInfoResponseOutput values. +// You can construct a concrete instance of `ServiceAcrConfigurationInfoResponseInput` via: +// +// ServiceAcrConfigurationInfoResponseArgs{...} +type ServiceAcrConfigurationInfoResponseInput interface { + pulumi.Input + + ToServiceAcrConfigurationInfoResponseOutput() ServiceAcrConfigurationInfoResponseOutput + ToServiceAcrConfigurationInfoResponseOutputWithContext(context.Context) ServiceAcrConfigurationInfoResponseOutput +} + +// Azure container registry configuration information +type ServiceAcrConfigurationInfoResponseArgs struct { + // The list of the ACR login servers. + LoginServers pulumi.StringArrayInput `pulumi:"loginServers"` +} + +func (ServiceAcrConfigurationInfoResponseArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ServiceAcrConfigurationInfoResponse)(nil)).Elem() +} + +func (i ServiceAcrConfigurationInfoResponseArgs) ToServiceAcrConfigurationInfoResponseOutput() ServiceAcrConfigurationInfoResponseOutput { + return i.ToServiceAcrConfigurationInfoResponseOutputWithContext(context.Background()) +} + +func (i ServiceAcrConfigurationInfoResponseArgs) ToServiceAcrConfigurationInfoResponseOutputWithContext(ctx context.Context) ServiceAcrConfigurationInfoResponseOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServiceAcrConfigurationInfoResponseOutput) +} + +func (i ServiceAcrConfigurationInfoResponseArgs) ToServiceAcrConfigurationInfoResponsePtrOutput() ServiceAcrConfigurationInfoResponsePtrOutput { + return i.ToServiceAcrConfigurationInfoResponsePtrOutputWithContext(context.Background()) +} + +func (i ServiceAcrConfigurationInfoResponseArgs) ToServiceAcrConfigurationInfoResponsePtrOutputWithContext(ctx context.Context) ServiceAcrConfigurationInfoResponsePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServiceAcrConfigurationInfoResponseOutput).ToServiceAcrConfigurationInfoResponsePtrOutputWithContext(ctx) +} + +// ServiceAcrConfigurationInfoResponsePtrInput is an input type that accepts ServiceAcrConfigurationInfoResponseArgs, ServiceAcrConfigurationInfoResponsePtr and ServiceAcrConfigurationInfoResponsePtrOutput values. +// You can construct a concrete instance of `ServiceAcrConfigurationInfoResponsePtrInput` via: +// +// ServiceAcrConfigurationInfoResponseArgs{...} +// +// or: +// +// nil +type ServiceAcrConfigurationInfoResponsePtrInput interface { + pulumi.Input + + ToServiceAcrConfigurationInfoResponsePtrOutput() ServiceAcrConfigurationInfoResponsePtrOutput + ToServiceAcrConfigurationInfoResponsePtrOutputWithContext(context.Context) ServiceAcrConfigurationInfoResponsePtrOutput +} + +type serviceAcrConfigurationInfoResponsePtrType ServiceAcrConfigurationInfoResponseArgs + +func ServiceAcrConfigurationInfoResponsePtr(v *ServiceAcrConfigurationInfoResponseArgs) ServiceAcrConfigurationInfoResponsePtrInput { + return (*serviceAcrConfigurationInfoResponsePtrType)(v) +} + +func (*serviceAcrConfigurationInfoResponsePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ServiceAcrConfigurationInfoResponse)(nil)).Elem() +} + +func (i *serviceAcrConfigurationInfoResponsePtrType) ToServiceAcrConfigurationInfoResponsePtrOutput() ServiceAcrConfigurationInfoResponsePtrOutput { + return i.ToServiceAcrConfigurationInfoResponsePtrOutputWithContext(context.Background()) +} + +func (i *serviceAcrConfigurationInfoResponsePtrType) ToServiceAcrConfigurationInfoResponsePtrOutputWithContext(ctx context.Context) ServiceAcrConfigurationInfoResponsePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServiceAcrConfigurationInfoResponsePtrOutput) +} + +// Azure container registry configuration information +type ServiceAcrConfigurationInfoResponseOutput struct{ *pulumi.OutputState } + +func (ServiceAcrConfigurationInfoResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ServiceAcrConfigurationInfoResponse)(nil)).Elem() +} + +func (o ServiceAcrConfigurationInfoResponseOutput) ToServiceAcrConfigurationInfoResponseOutput() ServiceAcrConfigurationInfoResponseOutput { + return o +} + +func (o ServiceAcrConfigurationInfoResponseOutput) ToServiceAcrConfigurationInfoResponseOutputWithContext(ctx context.Context) ServiceAcrConfigurationInfoResponseOutput { + return o +} + +func (o ServiceAcrConfigurationInfoResponseOutput) ToServiceAcrConfigurationInfoResponsePtrOutput() ServiceAcrConfigurationInfoResponsePtrOutput { + return o.ToServiceAcrConfigurationInfoResponsePtrOutputWithContext(context.Background()) +} + +func (o ServiceAcrConfigurationInfoResponseOutput) ToServiceAcrConfigurationInfoResponsePtrOutputWithContext(ctx context.Context) ServiceAcrConfigurationInfoResponsePtrOutput { + return o.ApplyT(func(v ServiceAcrConfigurationInfoResponse) *ServiceAcrConfigurationInfoResponse { + return &v + }).(ServiceAcrConfigurationInfoResponsePtrOutput) +} + +// The list of the ACR login servers. +func (o ServiceAcrConfigurationInfoResponseOutput) LoginServers() pulumi.StringArrayOutput { + return o.ApplyT(func(v ServiceAcrConfigurationInfoResponse) []string { return v.LoginServers }).(pulumi.StringArrayOutput) +} + +type ServiceAcrConfigurationInfoResponsePtrOutput struct{ *pulumi.OutputState } + +func (ServiceAcrConfigurationInfoResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ServiceAcrConfigurationInfoResponse)(nil)).Elem() +} + +func (o ServiceAcrConfigurationInfoResponsePtrOutput) ToServiceAcrConfigurationInfoResponsePtrOutput() ServiceAcrConfigurationInfoResponsePtrOutput { + return o +} + +func (o ServiceAcrConfigurationInfoResponsePtrOutput) ToServiceAcrConfigurationInfoResponsePtrOutputWithContext(ctx context.Context) ServiceAcrConfigurationInfoResponsePtrOutput { + return o +} + +func (o ServiceAcrConfigurationInfoResponsePtrOutput) Elem() ServiceAcrConfigurationInfoResponseOutput { + return o.ApplyT(func(v *ServiceAcrConfigurationInfoResponse) ServiceAcrConfigurationInfoResponse { return *v }).(ServiceAcrConfigurationInfoResponseOutput) +} + +// The list of the ACR login servers. +func (o ServiceAcrConfigurationInfoResponsePtrOutput) LoginServers() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ServiceAcrConfigurationInfoResponse) []string { + if v == nil { + return nil + } + return v.LoginServers + }).(pulumi.StringArrayOutput) +} + +// Authentication configuration information +type ServiceAuthenticationConfigurationInfo struct { + // The audience url for the service + Audience *string `pulumi:"audience"` + // The authority url for the service + Authority *string `pulumi:"authority"` + // If the SMART on FHIR proxy is enabled + SmartProxyEnabled *bool `pulumi:"smartProxyEnabled"` +} + +// ServiceAuthenticationConfigurationInfoInput is an input type that accepts ServiceAuthenticationConfigurationInfoArgs and ServiceAuthenticationConfigurationInfoOutput values. +// You can construct a concrete instance of `ServiceAuthenticationConfigurationInfoInput` via: +// +// ServiceAuthenticationConfigurationInfoArgs{...} +type ServiceAuthenticationConfigurationInfoInput interface { + pulumi.Input + + ToServiceAuthenticationConfigurationInfoOutput() ServiceAuthenticationConfigurationInfoOutput + ToServiceAuthenticationConfigurationInfoOutputWithContext(context.Context) ServiceAuthenticationConfigurationInfoOutput +} + +// Authentication configuration information +type ServiceAuthenticationConfigurationInfoArgs struct { + // The audience url for the service + Audience pulumi.StringPtrInput `pulumi:"audience"` + // The authority url for the service + Authority pulumi.StringPtrInput `pulumi:"authority"` + // If the SMART on FHIR proxy is enabled + SmartProxyEnabled pulumi.BoolPtrInput `pulumi:"smartProxyEnabled"` +} + +func (ServiceAuthenticationConfigurationInfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ServiceAuthenticationConfigurationInfo)(nil)).Elem() +} + +func (i ServiceAuthenticationConfigurationInfoArgs) ToServiceAuthenticationConfigurationInfoOutput() ServiceAuthenticationConfigurationInfoOutput { + return i.ToServiceAuthenticationConfigurationInfoOutputWithContext(context.Background()) +} + +func (i ServiceAuthenticationConfigurationInfoArgs) ToServiceAuthenticationConfigurationInfoOutputWithContext(ctx context.Context) ServiceAuthenticationConfigurationInfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServiceAuthenticationConfigurationInfoOutput) +} + +func (i ServiceAuthenticationConfigurationInfoArgs) ToServiceAuthenticationConfigurationInfoPtrOutput() ServiceAuthenticationConfigurationInfoPtrOutput { + return i.ToServiceAuthenticationConfigurationInfoPtrOutputWithContext(context.Background()) +} + +func (i ServiceAuthenticationConfigurationInfoArgs) ToServiceAuthenticationConfigurationInfoPtrOutputWithContext(ctx context.Context) ServiceAuthenticationConfigurationInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServiceAuthenticationConfigurationInfoOutput).ToServiceAuthenticationConfigurationInfoPtrOutputWithContext(ctx) +} + +// ServiceAuthenticationConfigurationInfoPtrInput is an input type that accepts ServiceAuthenticationConfigurationInfoArgs, ServiceAuthenticationConfigurationInfoPtr and ServiceAuthenticationConfigurationInfoPtrOutput values. +// You can construct a concrete instance of `ServiceAuthenticationConfigurationInfoPtrInput` via: +// +// ServiceAuthenticationConfigurationInfoArgs{...} +// +// or: +// +// nil +type ServiceAuthenticationConfigurationInfoPtrInput interface { + pulumi.Input + + ToServiceAuthenticationConfigurationInfoPtrOutput() ServiceAuthenticationConfigurationInfoPtrOutput + ToServiceAuthenticationConfigurationInfoPtrOutputWithContext(context.Context) ServiceAuthenticationConfigurationInfoPtrOutput +} + +type serviceAuthenticationConfigurationInfoPtrType ServiceAuthenticationConfigurationInfoArgs + +func ServiceAuthenticationConfigurationInfoPtr(v *ServiceAuthenticationConfigurationInfoArgs) ServiceAuthenticationConfigurationInfoPtrInput { + return (*serviceAuthenticationConfigurationInfoPtrType)(v) +} + +func (*serviceAuthenticationConfigurationInfoPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ServiceAuthenticationConfigurationInfo)(nil)).Elem() +} + +func (i *serviceAuthenticationConfigurationInfoPtrType) ToServiceAuthenticationConfigurationInfoPtrOutput() ServiceAuthenticationConfigurationInfoPtrOutput { + return i.ToServiceAuthenticationConfigurationInfoPtrOutputWithContext(context.Background()) +} + +func (i *serviceAuthenticationConfigurationInfoPtrType) ToServiceAuthenticationConfigurationInfoPtrOutputWithContext(ctx context.Context) ServiceAuthenticationConfigurationInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServiceAuthenticationConfigurationInfoPtrOutput) +} + +// Authentication configuration information +type ServiceAuthenticationConfigurationInfoOutput struct{ *pulumi.OutputState } + +func (ServiceAuthenticationConfigurationInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ServiceAuthenticationConfigurationInfo)(nil)).Elem() +} + +func (o ServiceAuthenticationConfigurationInfoOutput) ToServiceAuthenticationConfigurationInfoOutput() ServiceAuthenticationConfigurationInfoOutput { + return o +} + +func (o ServiceAuthenticationConfigurationInfoOutput) ToServiceAuthenticationConfigurationInfoOutputWithContext(ctx context.Context) ServiceAuthenticationConfigurationInfoOutput { + return o +} + +func (o ServiceAuthenticationConfigurationInfoOutput) ToServiceAuthenticationConfigurationInfoPtrOutput() ServiceAuthenticationConfigurationInfoPtrOutput { + return o.ToServiceAuthenticationConfigurationInfoPtrOutputWithContext(context.Background()) +} + +func (o ServiceAuthenticationConfigurationInfoOutput) ToServiceAuthenticationConfigurationInfoPtrOutputWithContext(ctx context.Context) ServiceAuthenticationConfigurationInfoPtrOutput { + return o.ApplyT(func(v ServiceAuthenticationConfigurationInfo) *ServiceAuthenticationConfigurationInfo { + return &v + }).(ServiceAuthenticationConfigurationInfoPtrOutput) +} + +// The audience url for the service +func (o ServiceAuthenticationConfigurationInfoOutput) Audience() pulumi.StringPtrOutput { + return o.ApplyT(func(v ServiceAuthenticationConfigurationInfo) *string { return v.Audience }).(pulumi.StringPtrOutput) +} + +// The authority url for the service +func (o ServiceAuthenticationConfigurationInfoOutput) Authority() pulumi.StringPtrOutput { + return o.ApplyT(func(v ServiceAuthenticationConfigurationInfo) *string { return v.Authority }).(pulumi.StringPtrOutput) +} + +// If the SMART on FHIR proxy is enabled +func (o ServiceAuthenticationConfigurationInfoOutput) SmartProxyEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ServiceAuthenticationConfigurationInfo) *bool { return v.SmartProxyEnabled }).(pulumi.BoolPtrOutput) +} + +type ServiceAuthenticationConfigurationInfoPtrOutput struct{ *pulumi.OutputState } + +func (ServiceAuthenticationConfigurationInfoPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ServiceAuthenticationConfigurationInfo)(nil)).Elem() +} + +func (o ServiceAuthenticationConfigurationInfoPtrOutput) ToServiceAuthenticationConfigurationInfoPtrOutput() ServiceAuthenticationConfigurationInfoPtrOutput { + return o +} + +func (o ServiceAuthenticationConfigurationInfoPtrOutput) ToServiceAuthenticationConfigurationInfoPtrOutputWithContext(ctx context.Context) ServiceAuthenticationConfigurationInfoPtrOutput { + return o +} + +func (o ServiceAuthenticationConfigurationInfoPtrOutput) Elem() ServiceAuthenticationConfigurationInfoOutput { + return o.ApplyT(func(v *ServiceAuthenticationConfigurationInfo) ServiceAuthenticationConfigurationInfo { return *v }).(ServiceAuthenticationConfigurationInfoOutput) +} + +// The audience url for the service +func (o ServiceAuthenticationConfigurationInfoPtrOutput) Audience() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ServiceAuthenticationConfigurationInfo) *string { + if v == nil { + return nil + } + return v.Audience + }).(pulumi.StringPtrOutput) +} + +// The authority url for the service +func (o ServiceAuthenticationConfigurationInfoPtrOutput) Authority() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ServiceAuthenticationConfigurationInfo) *string { + if v == nil { + return nil + } + return v.Authority + }).(pulumi.StringPtrOutput) +} + +// If the SMART on FHIR proxy is enabled +func (o ServiceAuthenticationConfigurationInfoPtrOutput) SmartProxyEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ServiceAuthenticationConfigurationInfo) *bool { + if v == nil { + return nil + } + return v.SmartProxyEnabled + }).(pulumi.BoolPtrOutput) +} + +// Authentication configuration information +type ServiceAuthenticationConfigurationInfoResponse struct { + // The audience url for the service + Audience *string `pulumi:"audience"` + // The authority url for the service + Authority *string `pulumi:"authority"` + // If the SMART on FHIR proxy is enabled + SmartProxyEnabled *bool `pulumi:"smartProxyEnabled"` +} + +// ServiceAuthenticationConfigurationInfoResponseInput is an input type that accepts ServiceAuthenticationConfigurationInfoResponseArgs and ServiceAuthenticationConfigurationInfoResponseOutput values. +// You can construct a concrete instance of `ServiceAuthenticationConfigurationInfoResponseInput` via: +// +// ServiceAuthenticationConfigurationInfoResponseArgs{...} +type ServiceAuthenticationConfigurationInfoResponseInput interface { + pulumi.Input + + ToServiceAuthenticationConfigurationInfoResponseOutput() ServiceAuthenticationConfigurationInfoResponseOutput + ToServiceAuthenticationConfigurationInfoResponseOutputWithContext(context.Context) ServiceAuthenticationConfigurationInfoResponseOutput +} + +// Authentication configuration information +type ServiceAuthenticationConfigurationInfoResponseArgs struct { + // The audience url for the service + Audience pulumi.StringPtrInput `pulumi:"audience"` + // The authority url for the service + Authority pulumi.StringPtrInput `pulumi:"authority"` + // If the SMART on FHIR proxy is enabled + SmartProxyEnabled pulumi.BoolPtrInput `pulumi:"smartProxyEnabled"` +} + +func (ServiceAuthenticationConfigurationInfoResponseArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ServiceAuthenticationConfigurationInfoResponse)(nil)).Elem() +} + +func (i ServiceAuthenticationConfigurationInfoResponseArgs) ToServiceAuthenticationConfigurationInfoResponseOutput() ServiceAuthenticationConfigurationInfoResponseOutput { + return i.ToServiceAuthenticationConfigurationInfoResponseOutputWithContext(context.Background()) +} + +func (i ServiceAuthenticationConfigurationInfoResponseArgs) ToServiceAuthenticationConfigurationInfoResponseOutputWithContext(ctx context.Context) ServiceAuthenticationConfigurationInfoResponseOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServiceAuthenticationConfigurationInfoResponseOutput) +} + +func (i ServiceAuthenticationConfigurationInfoResponseArgs) ToServiceAuthenticationConfigurationInfoResponsePtrOutput() ServiceAuthenticationConfigurationInfoResponsePtrOutput { + return i.ToServiceAuthenticationConfigurationInfoResponsePtrOutputWithContext(context.Background()) +} + +func (i ServiceAuthenticationConfigurationInfoResponseArgs) ToServiceAuthenticationConfigurationInfoResponsePtrOutputWithContext(ctx context.Context) ServiceAuthenticationConfigurationInfoResponsePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServiceAuthenticationConfigurationInfoResponseOutput).ToServiceAuthenticationConfigurationInfoResponsePtrOutputWithContext(ctx) +} + +// ServiceAuthenticationConfigurationInfoResponsePtrInput is an input type that accepts ServiceAuthenticationConfigurationInfoResponseArgs, ServiceAuthenticationConfigurationInfoResponsePtr and ServiceAuthenticationConfigurationInfoResponsePtrOutput values. +// You can construct a concrete instance of `ServiceAuthenticationConfigurationInfoResponsePtrInput` via: +// +// ServiceAuthenticationConfigurationInfoResponseArgs{...} +// +// or: +// +// nil +type ServiceAuthenticationConfigurationInfoResponsePtrInput interface { + pulumi.Input + + ToServiceAuthenticationConfigurationInfoResponsePtrOutput() ServiceAuthenticationConfigurationInfoResponsePtrOutput + ToServiceAuthenticationConfigurationInfoResponsePtrOutputWithContext(context.Context) ServiceAuthenticationConfigurationInfoResponsePtrOutput +} + +type serviceAuthenticationConfigurationInfoResponsePtrType ServiceAuthenticationConfigurationInfoResponseArgs + +func ServiceAuthenticationConfigurationInfoResponsePtr(v *ServiceAuthenticationConfigurationInfoResponseArgs) ServiceAuthenticationConfigurationInfoResponsePtrInput { + return (*serviceAuthenticationConfigurationInfoResponsePtrType)(v) +} + +func (*serviceAuthenticationConfigurationInfoResponsePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ServiceAuthenticationConfigurationInfoResponse)(nil)).Elem() +} + +func (i *serviceAuthenticationConfigurationInfoResponsePtrType) ToServiceAuthenticationConfigurationInfoResponsePtrOutput() ServiceAuthenticationConfigurationInfoResponsePtrOutput { + return i.ToServiceAuthenticationConfigurationInfoResponsePtrOutputWithContext(context.Background()) +} + +func (i *serviceAuthenticationConfigurationInfoResponsePtrType) ToServiceAuthenticationConfigurationInfoResponsePtrOutputWithContext(ctx context.Context) ServiceAuthenticationConfigurationInfoResponsePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServiceAuthenticationConfigurationInfoResponsePtrOutput) +} + +// Authentication configuration information +type ServiceAuthenticationConfigurationInfoResponseOutput struct{ *pulumi.OutputState } + +func (ServiceAuthenticationConfigurationInfoResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ServiceAuthenticationConfigurationInfoResponse)(nil)).Elem() +} + +func (o ServiceAuthenticationConfigurationInfoResponseOutput) ToServiceAuthenticationConfigurationInfoResponseOutput() ServiceAuthenticationConfigurationInfoResponseOutput { + return o +} + +func (o ServiceAuthenticationConfigurationInfoResponseOutput) ToServiceAuthenticationConfigurationInfoResponseOutputWithContext(ctx context.Context) ServiceAuthenticationConfigurationInfoResponseOutput { + return o +} + +func (o ServiceAuthenticationConfigurationInfoResponseOutput) ToServiceAuthenticationConfigurationInfoResponsePtrOutput() ServiceAuthenticationConfigurationInfoResponsePtrOutput { + return o.ToServiceAuthenticationConfigurationInfoResponsePtrOutputWithContext(context.Background()) +} + +func (o ServiceAuthenticationConfigurationInfoResponseOutput) ToServiceAuthenticationConfigurationInfoResponsePtrOutputWithContext(ctx context.Context) ServiceAuthenticationConfigurationInfoResponsePtrOutput { + return o.ApplyT(func(v ServiceAuthenticationConfigurationInfoResponse) *ServiceAuthenticationConfigurationInfoResponse { + return &v + }).(ServiceAuthenticationConfigurationInfoResponsePtrOutput) +} + +// The audience url for the service +func (o ServiceAuthenticationConfigurationInfoResponseOutput) Audience() pulumi.StringPtrOutput { + return o.ApplyT(func(v ServiceAuthenticationConfigurationInfoResponse) *string { return v.Audience }).(pulumi.StringPtrOutput) +} + +// The authority url for the service +func (o ServiceAuthenticationConfigurationInfoResponseOutput) Authority() pulumi.StringPtrOutput { + return o.ApplyT(func(v ServiceAuthenticationConfigurationInfoResponse) *string { return v.Authority }).(pulumi.StringPtrOutput) +} + +// If the SMART on FHIR proxy is enabled +func (o ServiceAuthenticationConfigurationInfoResponseOutput) SmartProxyEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ServiceAuthenticationConfigurationInfoResponse) *bool { return v.SmartProxyEnabled }).(pulumi.BoolPtrOutput) +} + +type ServiceAuthenticationConfigurationInfoResponsePtrOutput struct{ *pulumi.OutputState } + +func (ServiceAuthenticationConfigurationInfoResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ServiceAuthenticationConfigurationInfoResponse)(nil)).Elem() +} + +func (o ServiceAuthenticationConfigurationInfoResponsePtrOutput) ToServiceAuthenticationConfigurationInfoResponsePtrOutput() ServiceAuthenticationConfigurationInfoResponsePtrOutput { + return o +} + +func (o ServiceAuthenticationConfigurationInfoResponsePtrOutput) ToServiceAuthenticationConfigurationInfoResponsePtrOutputWithContext(ctx context.Context) ServiceAuthenticationConfigurationInfoResponsePtrOutput { + return o +} + +func (o ServiceAuthenticationConfigurationInfoResponsePtrOutput) Elem() ServiceAuthenticationConfigurationInfoResponseOutput { + return o.ApplyT(func(v *ServiceAuthenticationConfigurationInfoResponse) ServiceAuthenticationConfigurationInfoResponse { + return *v + }).(ServiceAuthenticationConfigurationInfoResponseOutput) +} + +// The audience url for the service +func (o ServiceAuthenticationConfigurationInfoResponsePtrOutput) Audience() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ServiceAuthenticationConfigurationInfoResponse) *string { + if v == nil { + return nil + } + return v.Audience + }).(pulumi.StringPtrOutput) +} + +// The authority url for the service +func (o ServiceAuthenticationConfigurationInfoResponsePtrOutput) Authority() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ServiceAuthenticationConfigurationInfoResponse) *string { + if v == nil { + return nil + } + return v.Authority + }).(pulumi.StringPtrOutput) +} + +// If the SMART on FHIR proxy is enabled +func (o ServiceAuthenticationConfigurationInfoResponsePtrOutput) SmartProxyEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ServiceAuthenticationConfigurationInfoResponse) *bool { + if v == nil { + return nil + } + return v.SmartProxyEnabled + }).(pulumi.BoolPtrOutput) +} + +// The settings for the CORS configuration of the service instance. +type ServiceCorsConfigurationInfo struct { + // If credentials are allowed via CORS. + AllowCredentials *bool `pulumi:"allowCredentials"` + // The headers to be allowed via CORS. + Headers []string `pulumi:"headers"` + // The max age to be allowed via CORS. + MaxAge *int `pulumi:"maxAge"` + // The methods to be allowed via CORS. + Methods []string `pulumi:"methods"` + // The origins to be allowed via CORS. + Origins []string `pulumi:"origins"` +} + +// ServiceCorsConfigurationInfoInput is an input type that accepts ServiceCorsConfigurationInfoArgs and ServiceCorsConfigurationInfoOutput values. +// You can construct a concrete instance of `ServiceCorsConfigurationInfoInput` via: +// +// ServiceCorsConfigurationInfoArgs{...} +type ServiceCorsConfigurationInfoInput interface { + pulumi.Input + + ToServiceCorsConfigurationInfoOutput() ServiceCorsConfigurationInfoOutput + ToServiceCorsConfigurationInfoOutputWithContext(context.Context) ServiceCorsConfigurationInfoOutput +} + +// The settings for the CORS configuration of the service instance. +type ServiceCorsConfigurationInfoArgs struct { + // If credentials are allowed via CORS. + AllowCredentials pulumi.BoolPtrInput `pulumi:"allowCredentials"` + // The headers to be allowed via CORS. + Headers pulumi.StringArrayInput `pulumi:"headers"` + // The max age to be allowed via CORS. + MaxAge pulumi.IntPtrInput `pulumi:"maxAge"` + // The methods to be allowed via CORS. + Methods pulumi.StringArrayInput `pulumi:"methods"` + // The origins to be allowed via CORS. + Origins pulumi.StringArrayInput `pulumi:"origins"` +} + +func (ServiceCorsConfigurationInfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ServiceCorsConfigurationInfo)(nil)).Elem() +} + +func (i ServiceCorsConfigurationInfoArgs) ToServiceCorsConfigurationInfoOutput() ServiceCorsConfigurationInfoOutput { + return i.ToServiceCorsConfigurationInfoOutputWithContext(context.Background()) +} + +func (i ServiceCorsConfigurationInfoArgs) ToServiceCorsConfigurationInfoOutputWithContext(ctx context.Context) ServiceCorsConfigurationInfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServiceCorsConfigurationInfoOutput) +} + +func (i ServiceCorsConfigurationInfoArgs) ToServiceCorsConfigurationInfoPtrOutput() ServiceCorsConfigurationInfoPtrOutput { + return i.ToServiceCorsConfigurationInfoPtrOutputWithContext(context.Background()) +} + +func (i ServiceCorsConfigurationInfoArgs) ToServiceCorsConfigurationInfoPtrOutputWithContext(ctx context.Context) ServiceCorsConfigurationInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServiceCorsConfigurationInfoOutput).ToServiceCorsConfigurationInfoPtrOutputWithContext(ctx) +} + +// ServiceCorsConfigurationInfoPtrInput is an input type that accepts ServiceCorsConfigurationInfoArgs, ServiceCorsConfigurationInfoPtr and ServiceCorsConfigurationInfoPtrOutput values. +// You can construct a concrete instance of `ServiceCorsConfigurationInfoPtrInput` via: +// +// ServiceCorsConfigurationInfoArgs{...} +// +// or: +// +// nil +type ServiceCorsConfigurationInfoPtrInput interface { + pulumi.Input + + ToServiceCorsConfigurationInfoPtrOutput() ServiceCorsConfigurationInfoPtrOutput + ToServiceCorsConfigurationInfoPtrOutputWithContext(context.Context) ServiceCorsConfigurationInfoPtrOutput +} + +type serviceCorsConfigurationInfoPtrType ServiceCorsConfigurationInfoArgs + +func ServiceCorsConfigurationInfoPtr(v *ServiceCorsConfigurationInfoArgs) ServiceCorsConfigurationInfoPtrInput { + return (*serviceCorsConfigurationInfoPtrType)(v) +} + +func (*serviceCorsConfigurationInfoPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ServiceCorsConfigurationInfo)(nil)).Elem() +} + +func (i *serviceCorsConfigurationInfoPtrType) ToServiceCorsConfigurationInfoPtrOutput() ServiceCorsConfigurationInfoPtrOutput { + return i.ToServiceCorsConfigurationInfoPtrOutputWithContext(context.Background()) +} + +func (i *serviceCorsConfigurationInfoPtrType) ToServiceCorsConfigurationInfoPtrOutputWithContext(ctx context.Context) ServiceCorsConfigurationInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServiceCorsConfigurationInfoPtrOutput) +} + +// The settings for the CORS configuration of the service instance. +type ServiceCorsConfigurationInfoOutput struct{ *pulumi.OutputState } + +func (ServiceCorsConfigurationInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ServiceCorsConfigurationInfo)(nil)).Elem() +} + +func (o ServiceCorsConfigurationInfoOutput) ToServiceCorsConfigurationInfoOutput() ServiceCorsConfigurationInfoOutput { + return o +} + +func (o ServiceCorsConfigurationInfoOutput) ToServiceCorsConfigurationInfoOutputWithContext(ctx context.Context) ServiceCorsConfigurationInfoOutput { + return o +} + +func (o ServiceCorsConfigurationInfoOutput) ToServiceCorsConfigurationInfoPtrOutput() ServiceCorsConfigurationInfoPtrOutput { + return o.ToServiceCorsConfigurationInfoPtrOutputWithContext(context.Background()) +} + +func (o ServiceCorsConfigurationInfoOutput) ToServiceCorsConfigurationInfoPtrOutputWithContext(ctx context.Context) ServiceCorsConfigurationInfoPtrOutput { + return o.ApplyT(func(v ServiceCorsConfigurationInfo) *ServiceCorsConfigurationInfo { + return &v + }).(ServiceCorsConfigurationInfoPtrOutput) +} + +// If credentials are allowed via CORS. +func (o ServiceCorsConfigurationInfoOutput) AllowCredentials() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ServiceCorsConfigurationInfo) *bool { return v.AllowCredentials }).(pulumi.BoolPtrOutput) +} + +// The headers to be allowed via CORS. +func (o ServiceCorsConfigurationInfoOutput) Headers() pulumi.StringArrayOutput { + return o.ApplyT(func(v ServiceCorsConfigurationInfo) []string { return v.Headers }).(pulumi.StringArrayOutput) +} + +// The max age to be allowed via CORS. +func (o ServiceCorsConfigurationInfoOutput) MaxAge() pulumi.IntPtrOutput { + return o.ApplyT(func(v ServiceCorsConfigurationInfo) *int { return v.MaxAge }).(pulumi.IntPtrOutput) +} + +// The methods to be allowed via CORS. +func (o ServiceCorsConfigurationInfoOutput) Methods() pulumi.StringArrayOutput { + return o.ApplyT(func(v ServiceCorsConfigurationInfo) []string { return v.Methods }).(pulumi.StringArrayOutput) +} + +// The origins to be allowed via CORS. +func (o ServiceCorsConfigurationInfoOutput) Origins() pulumi.StringArrayOutput { + return o.ApplyT(func(v ServiceCorsConfigurationInfo) []string { return v.Origins }).(pulumi.StringArrayOutput) +} + +type ServiceCorsConfigurationInfoPtrOutput struct{ *pulumi.OutputState } + +func (ServiceCorsConfigurationInfoPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ServiceCorsConfigurationInfo)(nil)).Elem() +} + +func (o ServiceCorsConfigurationInfoPtrOutput) ToServiceCorsConfigurationInfoPtrOutput() ServiceCorsConfigurationInfoPtrOutput { + return o +} + +func (o ServiceCorsConfigurationInfoPtrOutput) ToServiceCorsConfigurationInfoPtrOutputWithContext(ctx context.Context) ServiceCorsConfigurationInfoPtrOutput { + return o +} + +func (o ServiceCorsConfigurationInfoPtrOutput) Elem() ServiceCorsConfigurationInfoOutput { + return o.ApplyT(func(v *ServiceCorsConfigurationInfo) ServiceCorsConfigurationInfo { return *v }).(ServiceCorsConfigurationInfoOutput) +} + +// If credentials are allowed via CORS. +func (o ServiceCorsConfigurationInfoPtrOutput) AllowCredentials() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ServiceCorsConfigurationInfo) *bool { + if v == nil { + return nil + } + return v.AllowCredentials + }).(pulumi.BoolPtrOutput) +} + +// The headers to be allowed via CORS. +func (o ServiceCorsConfigurationInfoPtrOutput) Headers() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ServiceCorsConfigurationInfo) []string { + if v == nil { + return nil + } + return v.Headers + }).(pulumi.StringArrayOutput) +} + +// The max age to be allowed via CORS. +func (o ServiceCorsConfigurationInfoPtrOutput) MaxAge() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ServiceCorsConfigurationInfo) *int { + if v == nil { + return nil + } + return v.MaxAge + }).(pulumi.IntPtrOutput) +} + +// The methods to be allowed via CORS. +func (o ServiceCorsConfigurationInfoPtrOutput) Methods() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ServiceCorsConfigurationInfo) []string { + if v == nil { + return nil + } + return v.Methods + }).(pulumi.StringArrayOutput) +} + +// The origins to be allowed via CORS. +func (o ServiceCorsConfigurationInfoPtrOutput) Origins() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ServiceCorsConfigurationInfo) []string { + if v == nil { + return nil + } + return v.Origins + }).(pulumi.StringArrayOutput) +} + +// The settings for the CORS configuration of the service instance. +type ServiceCorsConfigurationInfoResponse struct { + // If credentials are allowed via CORS. + AllowCredentials *bool `pulumi:"allowCredentials"` + // The headers to be allowed via CORS. + Headers []string `pulumi:"headers"` + // The max age to be allowed via CORS. + MaxAge *int `pulumi:"maxAge"` + // The methods to be allowed via CORS. + Methods []string `pulumi:"methods"` + // The origins to be allowed via CORS. + Origins []string `pulumi:"origins"` +} + +// ServiceCorsConfigurationInfoResponseInput is an input type that accepts ServiceCorsConfigurationInfoResponseArgs and ServiceCorsConfigurationInfoResponseOutput values. +// You can construct a concrete instance of `ServiceCorsConfigurationInfoResponseInput` via: +// +// ServiceCorsConfigurationInfoResponseArgs{...} +type ServiceCorsConfigurationInfoResponseInput interface { + pulumi.Input + + ToServiceCorsConfigurationInfoResponseOutput() ServiceCorsConfigurationInfoResponseOutput + ToServiceCorsConfigurationInfoResponseOutputWithContext(context.Context) ServiceCorsConfigurationInfoResponseOutput +} + +// The settings for the CORS configuration of the service instance. +type ServiceCorsConfigurationInfoResponseArgs struct { + // If credentials are allowed via CORS. + AllowCredentials pulumi.BoolPtrInput `pulumi:"allowCredentials"` + // The headers to be allowed via CORS. + Headers pulumi.StringArrayInput `pulumi:"headers"` + // The max age to be allowed via CORS. + MaxAge pulumi.IntPtrInput `pulumi:"maxAge"` + // The methods to be allowed via CORS. + Methods pulumi.StringArrayInput `pulumi:"methods"` + // The origins to be allowed via CORS. + Origins pulumi.StringArrayInput `pulumi:"origins"` +} + +func (ServiceCorsConfigurationInfoResponseArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ServiceCorsConfigurationInfoResponse)(nil)).Elem() +} + +func (i ServiceCorsConfigurationInfoResponseArgs) ToServiceCorsConfigurationInfoResponseOutput() ServiceCorsConfigurationInfoResponseOutput { + return i.ToServiceCorsConfigurationInfoResponseOutputWithContext(context.Background()) +} + +func (i ServiceCorsConfigurationInfoResponseArgs) ToServiceCorsConfigurationInfoResponseOutputWithContext(ctx context.Context) ServiceCorsConfigurationInfoResponseOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServiceCorsConfigurationInfoResponseOutput) +} + +func (i ServiceCorsConfigurationInfoResponseArgs) ToServiceCorsConfigurationInfoResponsePtrOutput() ServiceCorsConfigurationInfoResponsePtrOutput { + return i.ToServiceCorsConfigurationInfoResponsePtrOutputWithContext(context.Background()) +} + +func (i ServiceCorsConfigurationInfoResponseArgs) ToServiceCorsConfigurationInfoResponsePtrOutputWithContext(ctx context.Context) ServiceCorsConfigurationInfoResponsePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServiceCorsConfigurationInfoResponseOutput).ToServiceCorsConfigurationInfoResponsePtrOutputWithContext(ctx) +} + +// ServiceCorsConfigurationInfoResponsePtrInput is an input type that accepts ServiceCorsConfigurationInfoResponseArgs, ServiceCorsConfigurationInfoResponsePtr and ServiceCorsConfigurationInfoResponsePtrOutput values. +// You can construct a concrete instance of `ServiceCorsConfigurationInfoResponsePtrInput` via: +// +// ServiceCorsConfigurationInfoResponseArgs{...} +// +// or: +// +// nil +type ServiceCorsConfigurationInfoResponsePtrInput interface { + pulumi.Input + + ToServiceCorsConfigurationInfoResponsePtrOutput() ServiceCorsConfigurationInfoResponsePtrOutput + ToServiceCorsConfigurationInfoResponsePtrOutputWithContext(context.Context) ServiceCorsConfigurationInfoResponsePtrOutput +} + +type serviceCorsConfigurationInfoResponsePtrType ServiceCorsConfigurationInfoResponseArgs + +func ServiceCorsConfigurationInfoResponsePtr(v *ServiceCorsConfigurationInfoResponseArgs) ServiceCorsConfigurationInfoResponsePtrInput { + return (*serviceCorsConfigurationInfoResponsePtrType)(v) +} + +func (*serviceCorsConfigurationInfoResponsePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ServiceCorsConfigurationInfoResponse)(nil)).Elem() +} + +func (i *serviceCorsConfigurationInfoResponsePtrType) ToServiceCorsConfigurationInfoResponsePtrOutput() ServiceCorsConfigurationInfoResponsePtrOutput { + return i.ToServiceCorsConfigurationInfoResponsePtrOutputWithContext(context.Background()) +} + +func (i *serviceCorsConfigurationInfoResponsePtrType) ToServiceCorsConfigurationInfoResponsePtrOutputWithContext(ctx context.Context) ServiceCorsConfigurationInfoResponsePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServiceCorsConfigurationInfoResponsePtrOutput) +} + +// The settings for the CORS configuration of the service instance. +type ServiceCorsConfigurationInfoResponseOutput struct{ *pulumi.OutputState } + +func (ServiceCorsConfigurationInfoResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ServiceCorsConfigurationInfoResponse)(nil)).Elem() +} + +func (o ServiceCorsConfigurationInfoResponseOutput) ToServiceCorsConfigurationInfoResponseOutput() ServiceCorsConfigurationInfoResponseOutput { + return o +} + +func (o ServiceCorsConfigurationInfoResponseOutput) ToServiceCorsConfigurationInfoResponseOutputWithContext(ctx context.Context) ServiceCorsConfigurationInfoResponseOutput { + return o +} + +func (o ServiceCorsConfigurationInfoResponseOutput) ToServiceCorsConfigurationInfoResponsePtrOutput() ServiceCorsConfigurationInfoResponsePtrOutput { + return o.ToServiceCorsConfigurationInfoResponsePtrOutputWithContext(context.Background()) +} + +func (o ServiceCorsConfigurationInfoResponseOutput) ToServiceCorsConfigurationInfoResponsePtrOutputWithContext(ctx context.Context) ServiceCorsConfigurationInfoResponsePtrOutput { + return o.ApplyT(func(v ServiceCorsConfigurationInfoResponse) *ServiceCorsConfigurationInfoResponse { + return &v + }).(ServiceCorsConfigurationInfoResponsePtrOutput) +} + +// If credentials are allowed via CORS. +func (o ServiceCorsConfigurationInfoResponseOutput) AllowCredentials() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ServiceCorsConfigurationInfoResponse) *bool { return v.AllowCredentials }).(pulumi.BoolPtrOutput) +} + +// The headers to be allowed via CORS. +func (o ServiceCorsConfigurationInfoResponseOutput) Headers() pulumi.StringArrayOutput { + return o.ApplyT(func(v ServiceCorsConfigurationInfoResponse) []string { return v.Headers }).(pulumi.StringArrayOutput) +} + +// The max age to be allowed via CORS. +func (o ServiceCorsConfigurationInfoResponseOutput) MaxAge() pulumi.IntPtrOutput { + return o.ApplyT(func(v ServiceCorsConfigurationInfoResponse) *int { return v.MaxAge }).(pulumi.IntPtrOutput) +} + +// The methods to be allowed via CORS. +func (o ServiceCorsConfigurationInfoResponseOutput) Methods() pulumi.StringArrayOutput { + return o.ApplyT(func(v ServiceCorsConfigurationInfoResponse) []string { return v.Methods }).(pulumi.StringArrayOutput) +} + +// The origins to be allowed via CORS. +func (o ServiceCorsConfigurationInfoResponseOutput) Origins() pulumi.StringArrayOutput { + return o.ApplyT(func(v ServiceCorsConfigurationInfoResponse) []string { return v.Origins }).(pulumi.StringArrayOutput) +} + +type ServiceCorsConfigurationInfoResponsePtrOutput struct{ *pulumi.OutputState } + +func (ServiceCorsConfigurationInfoResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ServiceCorsConfigurationInfoResponse)(nil)).Elem() +} + +func (o ServiceCorsConfigurationInfoResponsePtrOutput) ToServiceCorsConfigurationInfoResponsePtrOutput() ServiceCorsConfigurationInfoResponsePtrOutput { + return o +} + +func (o ServiceCorsConfigurationInfoResponsePtrOutput) ToServiceCorsConfigurationInfoResponsePtrOutputWithContext(ctx context.Context) ServiceCorsConfigurationInfoResponsePtrOutput { + return o +} + +func (o ServiceCorsConfigurationInfoResponsePtrOutput) Elem() ServiceCorsConfigurationInfoResponseOutput { + return o.ApplyT(func(v *ServiceCorsConfigurationInfoResponse) ServiceCorsConfigurationInfoResponse { return *v }).(ServiceCorsConfigurationInfoResponseOutput) +} + +// If credentials are allowed via CORS. +func (o ServiceCorsConfigurationInfoResponsePtrOutput) AllowCredentials() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ServiceCorsConfigurationInfoResponse) *bool { + if v == nil { + return nil + } + return v.AllowCredentials + }).(pulumi.BoolPtrOutput) +} + +// The headers to be allowed via CORS. +func (o ServiceCorsConfigurationInfoResponsePtrOutput) Headers() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ServiceCorsConfigurationInfoResponse) []string { + if v == nil { + return nil + } + return v.Headers + }).(pulumi.StringArrayOutput) +} + +// The max age to be allowed via CORS. +func (o ServiceCorsConfigurationInfoResponsePtrOutput) MaxAge() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ServiceCorsConfigurationInfoResponse) *int { + if v == nil { + return nil + } + return v.MaxAge + }).(pulumi.IntPtrOutput) +} + +// The methods to be allowed via CORS. +func (o ServiceCorsConfigurationInfoResponsePtrOutput) Methods() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ServiceCorsConfigurationInfoResponse) []string { + if v == nil { + return nil + } + return v.Methods + }).(pulumi.StringArrayOutput) +} + +// The origins to be allowed via CORS. +func (o ServiceCorsConfigurationInfoResponsePtrOutput) Origins() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ServiceCorsConfigurationInfoResponse) []string { + if v == nil { + return nil + } + return v.Origins + }).(pulumi.StringArrayOutput) +} + +// The settings for the Cosmos DB database backing the service. +type ServiceCosmosDbConfigurationInfo struct { + // The URI of the customer-managed key for the backing database. + KeyVaultKeyUri *string `pulumi:"keyVaultKeyUri"` + // The provisioned throughput for the backing database. + OfferThroughput *int `pulumi:"offerThroughput"` +} + +// ServiceCosmosDbConfigurationInfoInput is an input type that accepts ServiceCosmosDbConfigurationInfoArgs and ServiceCosmosDbConfigurationInfoOutput values. +// You can construct a concrete instance of `ServiceCosmosDbConfigurationInfoInput` via: +// +// ServiceCosmosDbConfigurationInfoArgs{...} +type ServiceCosmosDbConfigurationInfoInput interface { + pulumi.Input + + ToServiceCosmosDbConfigurationInfoOutput() ServiceCosmosDbConfigurationInfoOutput + ToServiceCosmosDbConfigurationInfoOutputWithContext(context.Context) ServiceCosmosDbConfigurationInfoOutput +} + +// The settings for the Cosmos DB database backing the service. +type ServiceCosmosDbConfigurationInfoArgs struct { + // The URI of the customer-managed key for the backing database. + KeyVaultKeyUri pulumi.StringPtrInput `pulumi:"keyVaultKeyUri"` + // The provisioned throughput for the backing database. + OfferThroughput pulumi.IntPtrInput `pulumi:"offerThroughput"` +} + +func (ServiceCosmosDbConfigurationInfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ServiceCosmosDbConfigurationInfo)(nil)).Elem() +} + +func (i ServiceCosmosDbConfigurationInfoArgs) ToServiceCosmosDbConfigurationInfoOutput() ServiceCosmosDbConfigurationInfoOutput { + return i.ToServiceCosmosDbConfigurationInfoOutputWithContext(context.Background()) +} + +func (i ServiceCosmosDbConfigurationInfoArgs) ToServiceCosmosDbConfigurationInfoOutputWithContext(ctx context.Context) ServiceCosmosDbConfigurationInfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServiceCosmosDbConfigurationInfoOutput) +} + +func (i ServiceCosmosDbConfigurationInfoArgs) ToServiceCosmosDbConfigurationInfoPtrOutput() ServiceCosmosDbConfigurationInfoPtrOutput { + return i.ToServiceCosmosDbConfigurationInfoPtrOutputWithContext(context.Background()) +} + +func (i ServiceCosmosDbConfigurationInfoArgs) ToServiceCosmosDbConfigurationInfoPtrOutputWithContext(ctx context.Context) ServiceCosmosDbConfigurationInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServiceCosmosDbConfigurationInfoOutput).ToServiceCosmosDbConfigurationInfoPtrOutputWithContext(ctx) +} + +// ServiceCosmosDbConfigurationInfoPtrInput is an input type that accepts ServiceCosmosDbConfigurationInfoArgs, ServiceCosmosDbConfigurationInfoPtr and ServiceCosmosDbConfigurationInfoPtrOutput values. +// You can construct a concrete instance of `ServiceCosmosDbConfigurationInfoPtrInput` via: +// +// ServiceCosmosDbConfigurationInfoArgs{...} +// +// or: +// +// nil +type ServiceCosmosDbConfigurationInfoPtrInput interface { + pulumi.Input + + ToServiceCosmosDbConfigurationInfoPtrOutput() ServiceCosmosDbConfigurationInfoPtrOutput + ToServiceCosmosDbConfigurationInfoPtrOutputWithContext(context.Context) ServiceCosmosDbConfigurationInfoPtrOutput +} + +type serviceCosmosDbConfigurationInfoPtrType ServiceCosmosDbConfigurationInfoArgs + +func ServiceCosmosDbConfigurationInfoPtr(v *ServiceCosmosDbConfigurationInfoArgs) ServiceCosmosDbConfigurationInfoPtrInput { + return (*serviceCosmosDbConfigurationInfoPtrType)(v) +} + +func (*serviceCosmosDbConfigurationInfoPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ServiceCosmosDbConfigurationInfo)(nil)).Elem() +} + +func (i *serviceCosmosDbConfigurationInfoPtrType) ToServiceCosmosDbConfigurationInfoPtrOutput() ServiceCosmosDbConfigurationInfoPtrOutput { + return i.ToServiceCosmosDbConfigurationInfoPtrOutputWithContext(context.Background()) +} + +func (i *serviceCosmosDbConfigurationInfoPtrType) ToServiceCosmosDbConfigurationInfoPtrOutputWithContext(ctx context.Context) ServiceCosmosDbConfigurationInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServiceCosmosDbConfigurationInfoPtrOutput) +} + +// The settings for the Cosmos DB database backing the service. +type ServiceCosmosDbConfigurationInfoOutput struct{ *pulumi.OutputState } + +func (ServiceCosmosDbConfigurationInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ServiceCosmosDbConfigurationInfo)(nil)).Elem() +} + +func (o ServiceCosmosDbConfigurationInfoOutput) ToServiceCosmosDbConfigurationInfoOutput() ServiceCosmosDbConfigurationInfoOutput { + return o +} + +func (o ServiceCosmosDbConfigurationInfoOutput) ToServiceCosmosDbConfigurationInfoOutputWithContext(ctx context.Context) ServiceCosmosDbConfigurationInfoOutput { + return o +} + +func (o ServiceCosmosDbConfigurationInfoOutput) ToServiceCosmosDbConfigurationInfoPtrOutput() ServiceCosmosDbConfigurationInfoPtrOutput { + return o.ToServiceCosmosDbConfigurationInfoPtrOutputWithContext(context.Background()) +} + +func (o ServiceCosmosDbConfigurationInfoOutput) ToServiceCosmosDbConfigurationInfoPtrOutputWithContext(ctx context.Context) ServiceCosmosDbConfigurationInfoPtrOutput { + return o.ApplyT(func(v ServiceCosmosDbConfigurationInfo) *ServiceCosmosDbConfigurationInfo { + return &v + }).(ServiceCosmosDbConfigurationInfoPtrOutput) +} + +// The URI of the customer-managed key for the backing database. +func (o ServiceCosmosDbConfigurationInfoOutput) KeyVaultKeyUri() pulumi.StringPtrOutput { + return o.ApplyT(func(v ServiceCosmosDbConfigurationInfo) *string { return v.KeyVaultKeyUri }).(pulumi.StringPtrOutput) +} + +// The provisioned throughput for the backing database. +func (o ServiceCosmosDbConfigurationInfoOutput) OfferThroughput() pulumi.IntPtrOutput { + return o.ApplyT(func(v ServiceCosmosDbConfigurationInfo) *int { return v.OfferThroughput }).(pulumi.IntPtrOutput) +} + +type ServiceCosmosDbConfigurationInfoPtrOutput struct{ *pulumi.OutputState } + +func (ServiceCosmosDbConfigurationInfoPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ServiceCosmosDbConfigurationInfo)(nil)).Elem() +} + +func (o ServiceCosmosDbConfigurationInfoPtrOutput) ToServiceCosmosDbConfigurationInfoPtrOutput() ServiceCosmosDbConfigurationInfoPtrOutput { + return o +} + +func (o ServiceCosmosDbConfigurationInfoPtrOutput) ToServiceCosmosDbConfigurationInfoPtrOutputWithContext(ctx context.Context) ServiceCosmosDbConfigurationInfoPtrOutput { + return o +} + +func (o ServiceCosmosDbConfigurationInfoPtrOutput) Elem() ServiceCosmosDbConfigurationInfoOutput { + return o.ApplyT(func(v *ServiceCosmosDbConfigurationInfo) ServiceCosmosDbConfigurationInfo { return *v }).(ServiceCosmosDbConfigurationInfoOutput) +} + +// The URI of the customer-managed key for the backing database. +func (o ServiceCosmosDbConfigurationInfoPtrOutput) KeyVaultKeyUri() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ServiceCosmosDbConfigurationInfo) *string { + if v == nil { + return nil + } + return v.KeyVaultKeyUri + }).(pulumi.StringPtrOutput) +} + +// The provisioned throughput for the backing database. +func (o ServiceCosmosDbConfigurationInfoPtrOutput) OfferThroughput() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ServiceCosmosDbConfigurationInfo) *int { + if v == nil { + return nil + } + return v.OfferThroughput + }).(pulumi.IntPtrOutput) +} + +// The settings for the Cosmos DB database backing the service. +type ServiceCosmosDbConfigurationInfoResponse struct { + // The URI of the customer-managed key for the backing database. + KeyVaultKeyUri *string `pulumi:"keyVaultKeyUri"` + // The provisioned throughput for the backing database. + OfferThroughput *int `pulumi:"offerThroughput"` +} + +// ServiceCosmosDbConfigurationInfoResponseInput is an input type that accepts ServiceCosmosDbConfigurationInfoResponseArgs and ServiceCosmosDbConfigurationInfoResponseOutput values. +// You can construct a concrete instance of `ServiceCosmosDbConfigurationInfoResponseInput` via: +// +// ServiceCosmosDbConfigurationInfoResponseArgs{...} +type ServiceCosmosDbConfigurationInfoResponseInput interface { + pulumi.Input + + ToServiceCosmosDbConfigurationInfoResponseOutput() ServiceCosmosDbConfigurationInfoResponseOutput + ToServiceCosmosDbConfigurationInfoResponseOutputWithContext(context.Context) ServiceCosmosDbConfigurationInfoResponseOutput +} + +// The settings for the Cosmos DB database backing the service. +type ServiceCosmosDbConfigurationInfoResponseArgs struct { + // The URI of the customer-managed key for the backing database. + KeyVaultKeyUri pulumi.StringPtrInput `pulumi:"keyVaultKeyUri"` + // The provisioned throughput for the backing database. + OfferThroughput pulumi.IntPtrInput `pulumi:"offerThroughput"` +} + +func (ServiceCosmosDbConfigurationInfoResponseArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ServiceCosmosDbConfigurationInfoResponse)(nil)).Elem() +} + +func (i ServiceCosmosDbConfigurationInfoResponseArgs) ToServiceCosmosDbConfigurationInfoResponseOutput() ServiceCosmosDbConfigurationInfoResponseOutput { + return i.ToServiceCosmosDbConfigurationInfoResponseOutputWithContext(context.Background()) +} + +func (i ServiceCosmosDbConfigurationInfoResponseArgs) ToServiceCosmosDbConfigurationInfoResponseOutputWithContext(ctx context.Context) ServiceCosmosDbConfigurationInfoResponseOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServiceCosmosDbConfigurationInfoResponseOutput) +} + +func (i ServiceCosmosDbConfigurationInfoResponseArgs) ToServiceCosmosDbConfigurationInfoResponsePtrOutput() ServiceCosmosDbConfigurationInfoResponsePtrOutput { + return i.ToServiceCosmosDbConfigurationInfoResponsePtrOutputWithContext(context.Background()) +} + +func (i ServiceCosmosDbConfigurationInfoResponseArgs) ToServiceCosmosDbConfigurationInfoResponsePtrOutputWithContext(ctx context.Context) ServiceCosmosDbConfigurationInfoResponsePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServiceCosmosDbConfigurationInfoResponseOutput).ToServiceCosmosDbConfigurationInfoResponsePtrOutputWithContext(ctx) +} + +// ServiceCosmosDbConfigurationInfoResponsePtrInput is an input type that accepts ServiceCosmosDbConfigurationInfoResponseArgs, ServiceCosmosDbConfigurationInfoResponsePtr and ServiceCosmosDbConfigurationInfoResponsePtrOutput values. +// You can construct a concrete instance of `ServiceCosmosDbConfigurationInfoResponsePtrInput` via: +// +// ServiceCosmosDbConfigurationInfoResponseArgs{...} +// +// or: +// +// nil +type ServiceCosmosDbConfigurationInfoResponsePtrInput interface { + pulumi.Input + + ToServiceCosmosDbConfigurationInfoResponsePtrOutput() ServiceCosmosDbConfigurationInfoResponsePtrOutput + ToServiceCosmosDbConfigurationInfoResponsePtrOutputWithContext(context.Context) ServiceCosmosDbConfigurationInfoResponsePtrOutput +} + +type serviceCosmosDbConfigurationInfoResponsePtrType ServiceCosmosDbConfigurationInfoResponseArgs + +func ServiceCosmosDbConfigurationInfoResponsePtr(v *ServiceCosmosDbConfigurationInfoResponseArgs) ServiceCosmosDbConfigurationInfoResponsePtrInput { + return (*serviceCosmosDbConfigurationInfoResponsePtrType)(v) +} + +func (*serviceCosmosDbConfigurationInfoResponsePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ServiceCosmosDbConfigurationInfoResponse)(nil)).Elem() +} + +func (i *serviceCosmosDbConfigurationInfoResponsePtrType) ToServiceCosmosDbConfigurationInfoResponsePtrOutput() ServiceCosmosDbConfigurationInfoResponsePtrOutput { + return i.ToServiceCosmosDbConfigurationInfoResponsePtrOutputWithContext(context.Background()) +} + +func (i *serviceCosmosDbConfigurationInfoResponsePtrType) ToServiceCosmosDbConfigurationInfoResponsePtrOutputWithContext(ctx context.Context) ServiceCosmosDbConfigurationInfoResponsePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServiceCosmosDbConfigurationInfoResponsePtrOutput) +} + +// The settings for the Cosmos DB database backing the service. +type ServiceCosmosDbConfigurationInfoResponseOutput struct{ *pulumi.OutputState } + +func (ServiceCosmosDbConfigurationInfoResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ServiceCosmosDbConfigurationInfoResponse)(nil)).Elem() +} + +func (o ServiceCosmosDbConfigurationInfoResponseOutput) ToServiceCosmosDbConfigurationInfoResponseOutput() ServiceCosmosDbConfigurationInfoResponseOutput { + return o +} + +func (o ServiceCosmosDbConfigurationInfoResponseOutput) ToServiceCosmosDbConfigurationInfoResponseOutputWithContext(ctx context.Context) ServiceCosmosDbConfigurationInfoResponseOutput { + return o +} + +func (o ServiceCosmosDbConfigurationInfoResponseOutput) ToServiceCosmosDbConfigurationInfoResponsePtrOutput() ServiceCosmosDbConfigurationInfoResponsePtrOutput { + return o.ToServiceCosmosDbConfigurationInfoResponsePtrOutputWithContext(context.Background()) +} + +func (o ServiceCosmosDbConfigurationInfoResponseOutput) ToServiceCosmosDbConfigurationInfoResponsePtrOutputWithContext(ctx context.Context) ServiceCosmosDbConfigurationInfoResponsePtrOutput { + return o.ApplyT(func(v ServiceCosmosDbConfigurationInfoResponse) *ServiceCosmosDbConfigurationInfoResponse { + return &v + }).(ServiceCosmosDbConfigurationInfoResponsePtrOutput) +} + +// The URI of the customer-managed key for the backing database. +func (o ServiceCosmosDbConfigurationInfoResponseOutput) KeyVaultKeyUri() pulumi.StringPtrOutput { + return o.ApplyT(func(v ServiceCosmosDbConfigurationInfoResponse) *string { return v.KeyVaultKeyUri }).(pulumi.StringPtrOutput) +} + +// The provisioned throughput for the backing database. +func (o ServiceCosmosDbConfigurationInfoResponseOutput) OfferThroughput() pulumi.IntPtrOutput { + return o.ApplyT(func(v ServiceCosmosDbConfigurationInfoResponse) *int { return v.OfferThroughput }).(pulumi.IntPtrOutput) +} + +type ServiceCosmosDbConfigurationInfoResponsePtrOutput struct{ *pulumi.OutputState } + +func (ServiceCosmosDbConfigurationInfoResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ServiceCosmosDbConfigurationInfoResponse)(nil)).Elem() +} + +func (o ServiceCosmosDbConfigurationInfoResponsePtrOutput) ToServiceCosmosDbConfigurationInfoResponsePtrOutput() ServiceCosmosDbConfigurationInfoResponsePtrOutput { + return o +} + +func (o ServiceCosmosDbConfigurationInfoResponsePtrOutput) ToServiceCosmosDbConfigurationInfoResponsePtrOutputWithContext(ctx context.Context) ServiceCosmosDbConfigurationInfoResponsePtrOutput { + return o +} + +func (o ServiceCosmosDbConfigurationInfoResponsePtrOutput) Elem() ServiceCosmosDbConfigurationInfoResponseOutput { + return o.ApplyT(func(v *ServiceCosmosDbConfigurationInfoResponse) ServiceCosmosDbConfigurationInfoResponse { return *v }).(ServiceCosmosDbConfigurationInfoResponseOutput) +} + +// The URI of the customer-managed key for the backing database. +func (o ServiceCosmosDbConfigurationInfoResponsePtrOutput) KeyVaultKeyUri() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ServiceCosmosDbConfigurationInfoResponse) *string { + if v == nil { + return nil + } + return v.KeyVaultKeyUri + }).(pulumi.StringPtrOutput) +} + +// The provisioned throughput for the backing database. +func (o ServiceCosmosDbConfigurationInfoResponsePtrOutput) OfferThroughput() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ServiceCosmosDbConfigurationInfoResponse) *int { + if v == nil { + return nil + } + return v.OfferThroughput + }).(pulumi.IntPtrOutput) +} + +// Export operation configuration information +type ServiceExportConfigurationInfo struct { + // The name of the default export storage account. + StorageAccountName *string `pulumi:"storageAccountName"` +} + +// ServiceExportConfigurationInfoInput is an input type that accepts ServiceExportConfigurationInfoArgs and ServiceExportConfigurationInfoOutput values. +// You can construct a concrete instance of `ServiceExportConfigurationInfoInput` via: +// +// ServiceExportConfigurationInfoArgs{...} +type ServiceExportConfigurationInfoInput interface { + pulumi.Input + + ToServiceExportConfigurationInfoOutput() ServiceExportConfigurationInfoOutput + ToServiceExportConfigurationInfoOutputWithContext(context.Context) ServiceExportConfigurationInfoOutput +} + +// Export operation configuration information +type ServiceExportConfigurationInfoArgs struct { + // The name of the default export storage account. + StorageAccountName pulumi.StringPtrInput `pulumi:"storageAccountName"` +} + +func (ServiceExportConfigurationInfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ServiceExportConfigurationInfo)(nil)).Elem() +} + +func (i ServiceExportConfigurationInfoArgs) ToServiceExportConfigurationInfoOutput() ServiceExportConfigurationInfoOutput { + return i.ToServiceExportConfigurationInfoOutputWithContext(context.Background()) +} + +func (i ServiceExportConfigurationInfoArgs) ToServiceExportConfigurationInfoOutputWithContext(ctx context.Context) ServiceExportConfigurationInfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServiceExportConfigurationInfoOutput) +} + +func (i ServiceExportConfigurationInfoArgs) ToServiceExportConfigurationInfoPtrOutput() ServiceExportConfigurationInfoPtrOutput { + return i.ToServiceExportConfigurationInfoPtrOutputWithContext(context.Background()) +} + +func (i ServiceExportConfigurationInfoArgs) ToServiceExportConfigurationInfoPtrOutputWithContext(ctx context.Context) ServiceExportConfigurationInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServiceExportConfigurationInfoOutput).ToServiceExportConfigurationInfoPtrOutputWithContext(ctx) +} + +// ServiceExportConfigurationInfoPtrInput is an input type that accepts ServiceExportConfigurationInfoArgs, ServiceExportConfigurationInfoPtr and ServiceExportConfigurationInfoPtrOutput values. +// You can construct a concrete instance of `ServiceExportConfigurationInfoPtrInput` via: +// +// ServiceExportConfigurationInfoArgs{...} +// +// or: +// +// nil +type ServiceExportConfigurationInfoPtrInput interface { + pulumi.Input + + ToServiceExportConfigurationInfoPtrOutput() ServiceExportConfigurationInfoPtrOutput + ToServiceExportConfigurationInfoPtrOutputWithContext(context.Context) ServiceExportConfigurationInfoPtrOutput +} + +type serviceExportConfigurationInfoPtrType ServiceExportConfigurationInfoArgs + +func ServiceExportConfigurationInfoPtr(v *ServiceExportConfigurationInfoArgs) ServiceExportConfigurationInfoPtrInput { + return (*serviceExportConfigurationInfoPtrType)(v) +} + +func (*serviceExportConfigurationInfoPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ServiceExportConfigurationInfo)(nil)).Elem() +} + +func (i *serviceExportConfigurationInfoPtrType) ToServiceExportConfigurationInfoPtrOutput() ServiceExportConfigurationInfoPtrOutput { + return i.ToServiceExportConfigurationInfoPtrOutputWithContext(context.Background()) +} + +func (i *serviceExportConfigurationInfoPtrType) ToServiceExportConfigurationInfoPtrOutputWithContext(ctx context.Context) ServiceExportConfigurationInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServiceExportConfigurationInfoPtrOutput) +} + +// Export operation configuration information +type ServiceExportConfigurationInfoOutput struct{ *pulumi.OutputState } + +func (ServiceExportConfigurationInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ServiceExportConfigurationInfo)(nil)).Elem() +} + +func (o ServiceExportConfigurationInfoOutput) ToServiceExportConfigurationInfoOutput() ServiceExportConfigurationInfoOutput { + return o +} + +func (o ServiceExportConfigurationInfoOutput) ToServiceExportConfigurationInfoOutputWithContext(ctx context.Context) ServiceExportConfigurationInfoOutput { + return o +} + +func (o ServiceExportConfigurationInfoOutput) ToServiceExportConfigurationInfoPtrOutput() ServiceExportConfigurationInfoPtrOutput { + return o.ToServiceExportConfigurationInfoPtrOutputWithContext(context.Background()) +} + +func (o ServiceExportConfigurationInfoOutput) ToServiceExportConfigurationInfoPtrOutputWithContext(ctx context.Context) ServiceExportConfigurationInfoPtrOutput { + return o.ApplyT(func(v ServiceExportConfigurationInfo) *ServiceExportConfigurationInfo { + return &v + }).(ServiceExportConfigurationInfoPtrOutput) +} + +// The name of the default export storage account. +func (o ServiceExportConfigurationInfoOutput) StorageAccountName() pulumi.StringPtrOutput { + return o.ApplyT(func(v ServiceExportConfigurationInfo) *string { return v.StorageAccountName }).(pulumi.StringPtrOutput) +} + +type ServiceExportConfigurationInfoPtrOutput struct{ *pulumi.OutputState } + +func (ServiceExportConfigurationInfoPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ServiceExportConfigurationInfo)(nil)).Elem() +} + +func (o ServiceExportConfigurationInfoPtrOutput) ToServiceExportConfigurationInfoPtrOutput() ServiceExportConfigurationInfoPtrOutput { + return o +} + +func (o ServiceExportConfigurationInfoPtrOutput) ToServiceExportConfigurationInfoPtrOutputWithContext(ctx context.Context) ServiceExportConfigurationInfoPtrOutput { + return o +} + +func (o ServiceExportConfigurationInfoPtrOutput) Elem() ServiceExportConfigurationInfoOutput { + return o.ApplyT(func(v *ServiceExportConfigurationInfo) ServiceExportConfigurationInfo { return *v }).(ServiceExportConfigurationInfoOutput) +} + +// The name of the default export storage account. +func (o ServiceExportConfigurationInfoPtrOutput) StorageAccountName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ServiceExportConfigurationInfo) *string { + if v == nil { + return nil + } + return v.StorageAccountName + }).(pulumi.StringPtrOutput) +} + +// Export operation configuration information +type ServiceExportConfigurationInfoResponse struct { + // The name of the default export storage account. + StorageAccountName *string `pulumi:"storageAccountName"` +} + +// ServiceExportConfigurationInfoResponseInput is an input type that accepts ServiceExportConfigurationInfoResponseArgs and ServiceExportConfigurationInfoResponseOutput values. +// You can construct a concrete instance of `ServiceExportConfigurationInfoResponseInput` via: +// +// ServiceExportConfigurationInfoResponseArgs{...} +type ServiceExportConfigurationInfoResponseInput interface { + pulumi.Input + + ToServiceExportConfigurationInfoResponseOutput() ServiceExportConfigurationInfoResponseOutput + ToServiceExportConfigurationInfoResponseOutputWithContext(context.Context) ServiceExportConfigurationInfoResponseOutput +} + +// Export operation configuration information +type ServiceExportConfigurationInfoResponseArgs struct { + // The name of the default export storage account. + StorageAccountName pulumi.StringPtrInput `pulumi:"storageAccountName"` +} + +func (ServiceExportConfigurationInfoResponseArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ServiceExportConfigurationInfoResponse)(nil)).Elem() +} + +func (i ServiceExportConfigurationInfoResponseArgs) ToServiceExportConfigurationInfoResponseOutput() ServiceExportConfigurationInfoResponseOutput { + return i.ToServiceExportConfigurationInfoResponseOutputWithContext(context.Background()) +} + +func (i ServiceExportConfigurationInfoResponseArgs) ToServiceExportConfigurationInfoResponseOutputWithContext(ctx context.Context) ServiceExportConfigurationInfoResponseOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServiceExportConfigurationInfoResponseOutput) +} + +func (i ServiceExportConfigurationInfoResponseArgs) ToServiceExportConfigurationInfoResponsePtrOutput() ServiceExportConfigurationInfoResponsePtrOutput { + return i.ToServiceExportConfigurationInfoResponsePtrOutputWithContext(context.Background()) +} + +func (i ServiceExportConfigurationInfoResponseArgs) ToServiceExportConfigurationInfoResponsePtrOutputWithContext(ctx context.Context) ServiceExportConfigurationInfoResponsePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServiceExportConfigurationInfoResponseOutput).ToServiceExportConfigurationInfoResponsePtrOutputWithContext(ctx) +} + +// ServiceExportConfigurationInfoResponsePtrInput is an input type that accepts ServiceExportConfigurationInfoResponseArgs, ServiceExportConfigurationInfoResponsePtr and ServiceExportConfigurationInfoResponsePtrOutput values. +// You can construct a concrete instance of `ServiceExportConfigurationInfoResponsePtrInput` via: +// +// ServiceExportConfigurationInfoResponseArgs{...} +// +// or: +// +// nil +type ServiceExportConfigurationInfoResponsePtrInput interface { + pulumi.Input + + ToServiceExportConfigurationInfoResponsePtrOutput() ServiceExportConfigurationInfoResponsePtrOutput + ToServiceExportConfigurationInfoResponsePtrOutputWithContext(context.Context) ServiceExportConfigurationInfoResponsePtrOutput +} + +type serviceExportConfigurationInfoResponsePtrType ServiceExportConfigurationInfoResponseArgs + +func ServiceExportConfigurationInfoResponsePtr(v *ServiceExportConfigurationInfoResponseArgs) ServiceExportConfigurationInfoResponsePtrInput { + return (*serviceExportConfigurationInfoResponsePtrType)(v) +} + +func (*serviceExportConfigurationInfoResponsePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ServiceExportConfigurationInfoResponse)(nil)).Elem() +} + +func (i *serviceExportConfigurationInfoResponsePtrType) ToServiceExportConfigurationInfoResponsePtrOutput() ServiceExportConfigurationInfoResponsePtrOutput { + return i.ToServiceExportConfigurationInfoResponsePtrOutputWithContext(context.Background()) +} + +func (i *serviceExportConfigurationInfoResponsePtrType) ToServiceExportConfigurationInfoResponsePtrOutputWithContext(ctx context.Context) ServiceExportConfigurationInfoResponsePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServiceExportConfigurationInfoResponsePtrOutput) +} + +// Export operation configuration information +type ServiceExportConfigurationInfoResponseOutput struct{ *pulumi.OutputState } + +func (ServiceExportConfigurationInfoResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ServiceExportConfigurationInfoResponse)(nil)).Elem() +} + +func (o ServiceExportConfigurationInfoResponseOutput) ToServiceExportConfigurationInfoResponseOutput() ServiceExportConfigurationInfoResponseOutput { + return o +} + +func (o ServiceExportConfigurationInfoResponseOutput) ToServiceExportConfigurationInfoResponseOutputWithContext(ctx context.Context) ServiceExportConfigurationInfoResponseOutput { + return o +} + +func (o ServiceExportConfigurationInfoResponseOutput) ToServiceExportConfigurationInfoResponsePtrOutput() ServiceExportConfigurationInfoResponsePtrOutput { + return o.ToServiceExportConfigurationInfoResponsePtrOutputWithContext(context.Background()) +} + +func (o ServiceExportConfigurationInfoResponseOutput) ToServiceExportConfigurationInfoResponsePtrOutputWithContext(ctx context.Context) ServiceExportConfigurationInfoResponsePtrOutput { + return o.ApplyT(func(v ServiceExportConfigurationInfoResponse) *ServiceExportConfigurationInfoResponse { + return &v + }).(ServiceExportConfigurationInfoResponsePtrOutput) +} + +// The name of the default export storage account. +func (o ServiceExportConfigurationInfoResponseOutput) StorageAccountName() pulumi.StringPtrOutput { + return o.ApplyT(func(v ServiceExportConfigurationInfoResponse) *string { return v.StorageAccountName }).(pulumi.StringPtrOutput) +} + +type ServiceExportConfigurationInfoResponsePtrOutput struct{ *pulumi.OutputState } + +func (ServiceExportConfigurationInfoResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ServiceExportConfigurationInfoResponse)(nil)).Elem() +} + +func (o ServiceExportConfigurationInfoResponsePtrOutput) ToServiceExportConfigurationInfoResponsePtrOutput() ServiceExportConfigurationInfoResponsePtrOutput { + return o +} + +func (o ServiceExportConfigurationInfoResponsePtrOutput) ToServiceExportConfigurationInfoResponsePtrOutputWithContext(ctx context.Context) ServiceExportConfigurationInfoResponsePtrOutput { + return o +} + +func (o ServiceExportConfigurationInfoResponsePtrOutput) Elem() ServiceExportConfigurationInfoResponseOutput { + return o.ApplyT(func(v *ServiceExportConfigurationInfoResponse) ServiceExportConfigurationInfoResponse { return *v }).(ServiceExportConfigurationInfoResponseOutput) +} + +// The name of the default export storage account. +func (o ServiceExportConfigurationInfoResponsePtrOutput) StorageAccountName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ServiceExportConfigurationInfoResponse) *string { + if v == nil { + return nil + } + return v.StorageAccountName + }).(pulumi.StringPtrOutput) +} + +// The properties of a service instance. +type ServicesProperties struct { + // The access policies of the service instance. + AccessPolicies []ServiceAccessPolicyEntry `pulumi:"accessPolicies"` + // The azure container registry settings used for convert data operation of the service instance. + AcrConfiguration *ServiceAcrConfigurationInfo `pulumi:"acrConfiguration"` + // The authentication configuration for the service instance. + AuthenticationConfiguration *ServiceAuthenticationConfigurationInfo `pulumi:"authenticationConfiguration"` + // The settings for the CORS configuration of the service instance. + CorsConfiguration *ServiceCorsConfigurationInfo `pulumi:"corsConfiguration"` + // The settings for the Cosmos DB database backing the service. + CosmosDbConfiguration *ServiceCosmosDbConfigurationInfo `pulumi:"cosmosDbConfiguration"` + // The settings for the export operation of the service instance. + ExportConfiguration *ServiceExportConfigurationInfo `pulumi:"exportConfiguration"` + // The list of private endpoint connections that are set up for this resource. + PrivateEndpointConnections []PrivateEndpointConnectionType `pulumi:"privateEndpointConnections"` + // Control permission for data plane traffic coming from public networks while private endpoint is enabled. + PublicNetworkAccess *string `pulumi:"publicNetworkAccess"` +} + +// ServicesPropertiesInput is an input type that accepts ServicesPropertiesArgs and ServicesPropertiesOutput values. +// You can construct a concrete instance of `ServicesPropertiesInput` via: +// +// ServicesPropertiesArgs{...} +type ServicesPropertiesInput interface { + pulumi.Input + + ToServicesPropertiesOutput() ServicesPropertiesOutput + ToServicesPropertiesOutputWithContext(context.Context) ServicesPropertiesOutput +} + +// The properties of a service instance. +type ServicesPropertiesArgs struct { + // The access policies of the service instance. + AccessPolicies ServiceAccessPolicyEntryArrayInput `pulumi:"accessPolicies"` + // The azure container registry settings used for convert data operation of the service instance. + AcrConfiguration ServiceAcrConfigurationInfoPtrInput `pulumi:"acrConfiguration"` + // The authentication configuration for the service instance. + AuthenticationConfiguration ServiceAuthenticationConfigurationInfoPtrInput `pulumi:"authenticationConfiguration"` + // The settings for the CORS configuration of the service instance. + CorsConfiguration ServiceCorsConfigurationInfoPtrInput `pulumi:"corsConfiguration"` + // The settings for the Cosmos DB database backing the service. + CosmosDbConfiguration ServiceCosmosDbConfigurationInfoPtrInput `pulumi:"cosmosDbConfiguration"` + // The settings for the export operation of the service instance. + ExportConfiguration ServiceExportConfigurationInfoPtrInput `pulumi:"exportConfiguration"` + // The list of private endpoint connections that are set up for this resource. + PrivateEndpointConnections PrivateEndpointConnectionTypeArrayInput `pulumi:"privateEndpointConnections"` + // Control permission for data plane traffic coming from public networks while private endpoint is enabled. + PublicNetworkAccess pulumi.StringPtrInput `pulumi:"publicNetworkAccess"` +} + +func (ServicesPropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ServicesProperties)(nil)).Elem() +} + +func (i ServicesPropertiesArgs) ToServicesPropertiesOutput() ServicesPropertiesOutput { + return i.ToServicesPropertiesOutputWithContext(context.Background()) +} + +func (i ServicesPropertiesArgs) ToServicesPropertiesOutputWithContext(ctx context.Context) ServicesPropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServicesPropertiesOutput) +} + +func (i ServicesPropertiesArgs) ToServicesPropertiesPtrOutput() ServicesPropertiesPtrOutput { + return i.ToServicesPropertiesPtrOutputWithContext(context.Background()) +} + +func (i ServicesPropertiesArgs) ToServicesPropertiesPtrOutputWithContext(ctx context.Context) ServicesPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServicesPropertiesOutput).ToServicesPropertiesPtrOutputWithContext(ctx) +} + +// ServicesPropertiesPtrInput is an input type that accepts ServicesPropertiesArgs, ServicesPropertiesPtr and ServicesPropertiesPtrOutput values. +// You can construct a concrete instance of `ServicesPropertiesPtrInput` via: +// +// ServicesPropertiesArgs{...} +// +// or: +// +// nil +type ServicesPropertiesPtrInput interface { + pulumi.Input + + ToServicesPropertiesPtrOutput() ServicesPropertiesPtrOutput + ToServicesPropertiesPtrOutputWithContext(context.Context) ServicesPropertiesPtrOutput +} + +type servicesPropertiesPtrType ServicesPropertiesArgs + +func ServicesPropertiesPtr(v *ServicesPropertiesArgs) ServicesPropertiesPtrInput { + return (*servicesPropertiesPtrType)(v) +} + +func (*servicesPropertiesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ServicesProperties)(nil)).Elem() +} + +func (i *servicesPropertiesPtrType) ToServicesPropertiesPtrOutput() ServicesPropertiesPtrOutput { + return i.ToServicesPropertiesPtrOutputWithContext(context.Background()) +} + +func (i *servicesPropertiesPtrType) ToServicesPropertiesPtrOutputWithContext(ctx context.Context) ServicesPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServicesPropertiesPtrOutput) +} + +// The properties of a service instance. +type ServicesPropertiesOutput struct{ *pulumi.OutputState } + +func (ServicesPropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ServicesProperties)(nil)).Elem() +} + +func (o ServicesPropertiesOutput) ToServicesPropertiesOutput() ServicesPropertiesOutput { + return o +} + +func (o ServicesPropertiesOutput) ToServicesPropertiesOutputWithContext(ctx context.Context) ServicesPropertiesOutput { + return o +} + +func (o ServicesPropertiesOutput) ToServicesPropertiesPtrOutput() ServicesPropertiesPtrOutput { + return o.ToServicesPropertiesPtrOutputWithContext(context.Background()) +} + +func (o ServicesPropertiesOutput) ToServicesPropertiesPtrOutputWithContext(ctx context.Context) ServicesPropertiesPtrOutput { + return o.ApplyT(func(v ServicesProperties) *ServicesProperties { + return &v + }).(ServicesPropertiesPtrOutput) +} + +// The access policies of the service instance. +func (o ServicesPropertiesOutput) AccessPolicies() ServiceAccessPolicyEntryArrayOutput { + return o.ApplyT(func(v ServicesProperties) []ServiceAccessPolicyEntry { return v.AccessPolicies }).(ServiceAccessPolicyEntryArrayOutput) +} + +// The azure container registry settings used for convert data operation of the service instance. +func (o ServicesPropertiesOutput) AcrConfiguration() ServiceAcrConfigurationInfoPtrOutput { + return o.ApplyT(func(v ServicesProperties) *ServiceAcrConfigurationInfo { return v.AcrConfiguration }).(ServiceAcrConfigurationInfoPtrOutput) +} + +// The authentication configuration for the service instance. +func (o ServicesPropertiesOutput) AuthenticationConfiguration() ServiceAuthenticationConfigurationInfoPtrOutput { + return o.ApplyT(func(v ServicesProperties) *ServiceAuthenticationConfigurationInfo { + return v.AuthenticationConfiguration + }).(ServiceAuthenticationConfigurationInfoPtrOutput) +} + +// The settings for the CORS configuration of the service instance. +func (o ServicesPropertiesOutput) CorsConfiguration() ServiceCorsConfigurationInfoPtrOutput { + return o.ApplyT(func(v ServicesProperties) *ServiceCorsConfigurationInfo { return v.CorsConfiguration }).(ServiceCorsConfigurationInfoPtrOutput) +} + +// The settings for the Cosmos DB database backing the service. +func (o ServicesPropertiesOutput) CosmosDbConfiguration() ServiceCosmosDbConfigurationInfoPtrOutput { + return o.ApplyT(func(v ServicesProperties) *ServiceCosmosDbConfigurationInfo { return v.CosmosDbConfiguration }).(ServiceCosmosDbConfigurationInfoPtrOutput) +} + +// The settings for the export operation of the service instance. +func (o ServicesPropertiesOutput) ExportConfiguration() ServiceExportConfigurationInfoPtrOutput { + return o.ApplyT(func(v ServicesProperties) *ServiceExportConfigurationInfo { return v.ExportConfiguration }).(ServiceExportConfigurationInfoPtrOutput) +} + +// The list of private endpoint connections that are set up for this resource. +func (o ServicesPropertiesOutput) PrivateEndpointConnections() PrivateEndpointConnectionTypeArrayOutput { + return o.ApplyT(func(v ServicesProperties) []PrivateEndpointConnectionType { return v.PrivateEndpointConnections }).(PrivateEndpointConnectionTypeArrayOutput) +} + +// Control permission for data plane traffic coming from public networks while private endpoint is enabled. +func (o ServicesPropertiesOutput) PublicNetworkAccess() pulumi.StringPtrOutput { + return o.ApplyT(func(v ServicesProperties) *string { return v.PublicNetworkAccess }).(pulumi.StringPtrOutput) +} + +type ServicesPropertiesPtrOutput struct{ *pulumi.OutputState } + +func (ServicesPropertiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ServicesProperties)(nil)).Elem() +} + +func (o ServicesPropertiesPtrOutput) ToServicesPropertiesPtrOutput() ServicesPropertiesPtrOutput { + return o +} + +func (o ServicesPropertiesPtrOutput) ToServicesPropertiesPtrOutputWithContext(ctx context.Context) ServicesPropertiesPtrOutput { + return o +} + +func (o ServicesPropertiesPtrOutput) Elem() ServicesPropertiesOutput { + return o.ApplyT(func(v *ServicesProperties) ServicesProperties { return *v }).(ServicesPropertiesOutput) +} + +// The access policies of the service instance. +func (o ServicesPropertiesPtrOutput) AccessPolicies() ServiceAccessPolicyEntryArrayOutput { + return o.ApplyT(func(v *ServicesProperties) []ServiceAccessPolicyEntry { + if v == nil { + return nil + } + return v.AccessPolicies + }).(ServiceAccessPolicyEntryArrayOutput) +} + +// The azure container registry settings used for convert data operation of the service instance. +func (o ServicesPropertiesPtrOutput) AcrConfiguration() ServiceAcrConfigurationInfoPtrOutput { + return o.ApplyT(func(v *ServicesProperties) *ServiceAcrConfigurationInfo { + if v == nil { + return nil + } + return v.AcrConfiguration + }).(ServiceAcrConfigurationInfoPtrOutput) +} + +// The authentication configuration for the service instance. +func (o ServicesPropertiesPtrOutput) AuthenticationConfiguration() ServiceAuthenticationConfigurationInfoPtrOutput { + return o.ApplyT(func(v *ServicesProperties) *ServiceAuthenticationConfigurationInfo { + if v == nil { + return nil + } + return v.AuthenticationConfiguration + }).(ServiceAuthenticationConfigurationInfoPtrOutput) +} + +// The settings for the CORS configuration of the service instance. +func (o ServicesPropertiesPtrOutput) CorsConfiguration() ServiceCorsConfigurationInfoPtrOutput { + return o.ApplyT(func(v *ServicesProperties) *ServiceCorsConfigurationInfo { + if v == nil { + return nil + } + return v.CorsConfiguration + }).(ServiceCorsConfigurationInfoPtrOutput) +} + +// The settings for the Cosmos DB database backing the service. +func (o ServicesPropertiesPtrOutput) CosmosDbConfiguration() ServiceCosmosDbConfigurationInfoPtrOutput { + return o.ApplyT(func(v *ServicesProperties) *ServiceCosmosDbConfigurationInfo { + if v == nil { + return nil + } + return v.CosmosDbConfiguration + }).(ServiceCosmosDbConfigurationInfoPtrOutput) +} + +// The settings for the export operation of the service instance. +func (o ServicesPropertiesPtrOutput) ExportConfiguration() ServiceExportConfigurationInfoPtrOutput { + return o.ApplyT(func(v *ServicesProperties) *ServiceExportConfigurationInfo { + if v == nil { + return nil + } + return v.ExportConfiguration + }).(ServiceExportConfigurationInfoPtrOutput) +} + +// The list of private endpoint connections that are set up for this resource. +func (o ServicesPropertiesPtrOutput) PrivateEndpointConnections() PrivateEndpointConnectionTypeArrayOutput { + return o.ApplyT(func(v *ServicesProperties) []PrivateEndpointConnectionType { + if v == nil { + return nil + } + return v.PrivateEndpointConnections + }).(PrivateEndpointConnectionTypeArrayOutput) +} + +// Control permission for data plane traffic coming from public networks while private endpoint is enabled. +func (o ServicesPropertiesPtrOutput) PublicNetworkAccess() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ServicesProperties) *string { + if v == nil { + return nil + } + return v.PublicNetworkAccess + }).(pulumi.StringPtrOutput) +} + +// The properties of a service instance. +type ServicesPropertiesResponse struct { + // The access policies of the service instance. + AccessPolicies []ServiceAccessPolicyEntryResponse `pulumi:"accessPolicies"` + // The azure container registry settings used for convert data operation of the service instance. + AcrConfiguration *ServiceAcrConfigurationInfoResponse `pulumi:"acrConfiguration"` + // The authentication configuration for the service instance. + AuthenticationConfiguration *ServiceAuthenticationConfigurationInfoResponse `pulumi:"authenticationConfiguration"` + // The settings for the CORS configuration of the service instance. + CorsConfiguration *ServiceCorsConfigurationInfoResponse `pulumi:"corsConfiguration"` + // The settings for the Cosmos DB database backing the service. + CosmosDbConfiguration *ServiceCosmosDbConfigurationInfoResponse `pulumi:"cosmosDbConfiguration"` + // The settings for the export operation of the service instance. + ExportConfiguration *ServiceExportConfigurationInfoResponse `pulumi:"exportConfiguration"` + // The list of private endpoint connections that are set up for this resource. + PrivateEndpointConnections []PrivateEndpointConnectionResponse `pulumi:"privateEndpointConnections"` + // The provisioning state. + ProvisioningState string `pulumi:"provisioningState"` + // Control permission for data plane traffic coming from public networks while private endpoint is enabled. + PublicNetworkAccess *string `pulumi:"publicNetworkAccess"` +} + +// ServicesPropertiesResponseInput is an input type that accepts ServicesPropertiesResponseArgs and ServicesPropertiesResponseOutput values. +// You can construct a concrete instance of `ServicesPropertiesResponseInput` via: +// +// ServicesPropertiesResponseArgs{...} +type ServicesPropertiesResponseInput interface { + pulumi.Input + + ToServicesPropertiesResponseOutput() ServicesPropertiesResponseOutput + ToServicesPropertiesResponseOutputWithContext(context.Context) ServicesPropertiesResponseOutput +} + +// The properties of a service instance. +type ServicesPropertiesResponseArgs struct { + // The access policies of the service instance. + AccessPolicies ServiceAccessPolicyEntryResponseArrayInput `pulumi:"accessPolicies"` + // The azure container registry settings used for convert data operation of the service instance. + AcrConfiguration ServiceAcrConfigurationInfoResponsePtrInput `pulumi:"acrConfiguration"` + // The authentication configuration for the service instance. + AuthenticationConfiguration ServiceAuthenticationConfigurationInfoResponsePtrInput `pulumi:"authenticationConfiguration"` + // The settings for the CORS configuration of the service instance. + CorsConfiguration ServiceCorsConfigurationInfoResponsePtrInput `pulumi:"corsConfiguration"` + // The settings for the Cosmos DB database backing the service. + CosmosDbConfiguration ServiceCosmosDbConfigurationInfoResponsePtrInput `pulumi:"cosmosDbConfiguration"` + // The settings for the export operation of the service instance. + ExportConfiguration ServiceExportConfigurationInfoResponsePtrInput `pulumi:"exportConfiguration"` + // The list of private endpoint connections that are set up for this resource. + PrivateEndpointConnections PrivateEndpointConnectionResponseArrayInput `pulumi:"privateEndpointConnections"` + // The provisioning state. + ProvisioningState pulumi.StringInput `pulumi:"provisioningState"` + // Control permission for data plane traffic coming from public networks while private endpoint is enabled. + PublicNetworkAccess pulumi.StringPtrInput `pulumi:"publicNetworkAccess"` +} + +func (ServicesPropertiesResponseArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ServicesPropertiesResponse)(nil)).Elem() +} + +func (i ServicesPropertiesResponseArgs) ToServicesPropertiesResponseOutput() ServicesPropertiesResponseOutput { + return i.ToServicesPropertiesResponseOutputWithContext(context.Background()) +} + +func (i ServicesPropertiesResponseArgs) ToServicesPropertiesResponseOutputWithContext(ctx context.Context) ServicesPropertiesResponseOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServicesPropertiesResponseOutput) +} + +func (i ServicesPropertiesResponseArgs) ToServicesPropertiesResponsePtrOutput() ServicesPropertiesResponsePtrOutput { + return i.ToServicesPropertiesResponsePtrOutputWithContext(context.Background()) +} + +func (i ServicesPropertiesResponseArgs) ToServicesPropertiesResponsePtrOutputWithContext(ctx context.Context) ServicesPropertiesResponsePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServicesPropertiesResponseOutput).ToServicesPropertiesResponsePtrOutputWithContext(ctx) +} + +// ServicesPropertiesResponsePtrInput is an input type that accepts ServicesPropertiesResponseArgs, ServicesPropertiesResponsePtr and ServicesPropertiesResponsePtrOutput values. +// You can construct a concrete instance of `ServicesPropertiesResponsePtrInput` via: +// +// ServicesPropertiesResponseArgs{...} +// +// or: +// +// nil +type ServicesPropertiesResponsePtrInput interface { + pulumi.Input + + ToServicesPropertiesResponsePtrOutput() ServicesPropertiesResponsePtrOutput + ToServicesPropertiesResponsePtrOutputWithContext(context.Context) ServicesPropertiesResponsePtrOutput +} + +type servicesPropertiesResponsePtrType ServicesPropertiesResponseArgs + +func ServicesPropertiesResponsePtr(v *ServicesPropertiesResponseArgs) ServicesPropertiesResponsePtrInput { + return (*servicesPropertiesResponsePtrType)(v) +} + +func (*servicesPropertiesResponsePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ServicesPropertiesResponse)(nil)).Elem() +} + +func (i *servicesPropertiesResponsePtrType) ToServicesPropertiesResponsePtrOutput() ServicesPropertiesResponsePtrOutput { + return i.ToServicesPropertiesResponsePtrOutputWithContext(context.Background()) +} + +func (i *servicesPropertiesResponsePtrType) ToServicesPropertiesResponsePtrOutputWithContext(ctx context.Context) ServicesPropertiesResponsePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServicesPropertiesResponsePtrOutput) +} + +// The properties of a service instance. +type ServicesPropertiesResponseOutput struct{ *pulumi.OutputState } + +func (ServicesPropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ServicesPropertiesResponse)(nil)).Elem() +} + +func (o ServicesPropertiesResponseOutput) ToServicesPropertiesResponseOutput() ServicesPropertiesResponseOutput { + return o +} + +func (o ServicesPropertiesResponseOutput) ToServicesPropertiesResponseOutputWithContext(ctx context.Context) ServicesPropertiesResponseOutput { + return o +} + +func (o ServicesPropertiesResponseOutput) ToServicesPropertiesResponsePtrOutput() ServicesPropertiesResponsePtrOutput { + return o.ToServicesPropertiesResponsePtrOutputWithContext(context.Background()) +} + +func (o ServicesPropertiesResponseOutput) ToServicesPropertiesResponsePtrOutputWithContext(ctx context.Context) ServicesPropertiesResponsePtrOutput { + return o.ApplyT(func(v ServicesPropertiesResponse) *ServicesPropertiesResponse { + return &v + }).(ServicesPropertiesResponsePtrOutput) +} + +// The access policies of the service instance. +func (o ServicesPropertiesResponseOutput) AccessPolicies() ServiceAccessPolicyEntryResponseArrayOutput { + return o.ApplyT(func(v ServicesPropertiesResponse) []ServiceAccessPolicyEntryResponse { return v.AccessPolicies }).(ServiceAccessPolicyEntryResponseArrayOutput) +} + +// The azure container registry settings used for convert data operation of the service instance. +func (o ServicesPropertiesResponseOutput) AcrConfiguration() ServiceAcrConfigurationInfoResponsePtrOutput { + return o.ApplyT(func(v ServicesPropertiesResponse) *ServiceAcrConfigurationInfoResponse { return v.AcrConfiguration }).(ServiceAcrConfigurationInfoResponsePtrOutput) +} + +// The authentication configuration for the service instance. +func (o ServicesPropertiesResponseOutput) AuthenticationConfiguration() ServiceAuthenticationConfigurationInfoResponsePtrOutput { + return o.ApplyT(func(v ServicesPropertiesResponse) *ServiceAuthenticationConfigurationInfoResponse { + return v.AuthenticationConfiguration + }).(ServiceAuthenticationConfigurationInfoResponsePtrOutput) +} + +// The settings for the CORS configuration of the service instance. +func (o ServicesPropertiesResponseOutput) CorsConfiguration() ServiceCorsConfigurationInfoResponsePtrOutput { + return o.ApplyT(func(v ServicesPropertiesResponse) *ServiceCorsConfigurationInfoResponse { return v.CorsConfiguration }).(ServiceCorsConfigurationInfoResponsePtrOutput) +} + +// The settings for the Cosmos DB database backing the service. +func (o ServicesPropertiesResponseOutput) CosmosDbConfiguration() ServiceCosmosDbConfigurationInfoResponsePtrOutput { + return o.ApplyT(func(v ServicesPropertiesResponse) *ServiceCosmosDbConfigurationInfoResponse { + return v.CosmosDbConfiguration + }).(ServiceCosmosDbConfigurationInfoResponsePtrOutput) +} + +// The settings for the export operation of the service instance. +func (o ServicesPropertiesResponseOutput) ExportConfiguration() ServiceExportConfigurationInfoResponsePtrOutput { + return o.ApplyT(func(v ServicesPropertiesResponse) *ServiceExportConfigurationInfoResponse { + return v.ExportConfiguration + }).(ServiceExportConfigurationInfoResponsePtrOutput) +} + +// The list of private endpoint connections that are set up for this resource. +func (o ServicesPropertiesResponseOutput) PrivateEndpointConnections() PrivateEndpointConnectionResponseArrayOutput { + return o.ApplyT(func(v ServicesPropertiesResponse) []PrivateEndpointConnectionResponse { + return v.PrivateEndpointConnections + }).(PrivateEndpointConnectionResponseArrayOutput) +} + +// The provisioning state. +func (o ServicesPropertiesResponseOutput) ProvisioningState() pulumi.StringOutput { + return o.ApplyT(func(v ServicesPropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput) +} + +// Control permission for data plane traffic coming from public networks while private endpoint is enabled. +func (o ServicesPropertiesResponseOutput) PublicNetworkAccess() pulumi.StringPtrOutput { + return o.ApplyT(func(v ServicesPropertiesResponse) *string { return v.PublicNetworkAccess }).(pulumi.StringPtrOutput) +} + +type ServicesPropertiesResponsePtrOutput struct{ *pulumi.OutputState } + +func (ServicesPropertiesResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ServicesPropertiesResponse)(nil)).Elem() +} + +func (o ServicesPropertiesResponsePtrOutput) ToServicesPropertiesResponsePtrOutput() ServicesPropertiesResponsePtrOutput { + return o +} + +func (o ServicesPropertiesResponsePtrOutput) ToServicesPropertiesResponsePtrOutputWithContext(ctx context.Context) ServicesPropertiesResponsePtrOutput { + return o +} + +func (o ServicesPropertiesResponsePtrOutput) Elem() ServicesPropertiesResponseOutput { + return o.ApplyT(func(v *ServicesPropertiesResponse) ServicesPropertiesResponse { return *v }).(ServicesPropertiesResponseOutput) +} + +// The access policies of the service instance. +func (o ServicesPropertiesResponsePtrOutput) AccessPolicies() ServiceAccessPolicyEntryResponseArrayOutput { + return o.ApplyT(func(v *ServicesPropertiesResponse) []ServiceAccessPolicyEntryResponse { + if v == nil { + return nil + } + return v.AccessPolicies + }).(ServiceAccessPolicyEntryResponseArrayOutput) +} + +// The azure container registry settings used for convert data operation of the service instance. +func (o ServicesPropertiesResponsePtrOutput) AcrConfiguration() ServiceAcrConfigurationInfoResponsePtrOutput { + return o.ApplyT(func(v *ServicesPropertiesResponse) *ServiceAcrConfigurationInfoResponse { + if v == nil { + return nil + } + return v.AcrConfiguration + }).(ServiceAcrConfigurationInfoResponsePtrOutput) +} + +// The authentication configuration for the service instance. +func (o ServicesPropertiesResponsePtrOutput) AuthenticationConfiguration() ServiceAuthenticationConfigurationInfoResponsePtrOutput { + return o.ApplyT(func(v *ServicesPropertiesResponse) *ServiceAuthenticationConfigurationInfoResponse { + if v == nil { + return nil + } + return v.AuthenticationConfiguration + }).(ServiceAuthenticationConfigurationInfoResponsePtrOutput) +} + +// The settings for the CORS configuration of the service instance. +func (o ServicesPropertiesResponsePtrOutput) CorsConfiguration() ServiceCorsConfigurationInfoResponsePtrOutput { + return o.ApplyT(func(v *ServicesPropertiesResponse) *ServiceCorsConfigurationInfoResponse { + if v == nil { + return nil + } + return v.CorsConfiguration + }).(ServiceCorsConfigurationInfoResponsePtrOutput) +} + +// The settings for the Cosmos DB database backing the service. +func (o ServicesPropertiesResponsePtrOutput) CosmosDbConfiguration() ServiceCosmosDbConfigurationInfoResponsePtrOutput { + return o.ApplyT(func(v *ServicesPropertiesResponse) *ServiceCosmosDbConfigurationInfoResponse { + if v == nil { + return nil + } + return v.CosmosDbConfiguration + }).(ServiceCosmosDbConfigurationInfoResponsePtrOutput) +} + +// The settings for the export operation of the service instance. +func (o ServicesPropertiesResponsePtrOutput) ExportConfiguration() ServiceExportConfigurationInfoResponsePtrOutput { + return o.ApplyT(func(v *ServicesPropertiesResponse) *ServiceExportConfigurationInfoResponse { + if v == nil { + return nil + } + return v.ExportConfiguration + }).(ServiceExportConfigurationInfoResponsePtrOutput) +} + +// The list of private endpoint connections that are set up for this resource. +func (o ServicesPropertiesResponsePtrOutput) PrivateEndpointConnections() PrivateEndpointConnectionResponseArrayOutput { + return o.ApplyT(func(v *ServicesPropertiesResponse) []PrivateEndpointConnectionResponse { + if v == nil { + return nil + } + return v.PrivateEndpointConnections + }).(PrivateEndpointConnectionResponseArrayOutput) +} + +// The provisioning state. +func (o ServicesPropertiesResponsePtrOutput) ProvisioningState() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ServicesPropertiesResponse) *string { + if v == nil { + return nil + } + return &v.ProvisioningState + }).(pulumi.StringPtrOutput) +} + +// Control permission for data plane traffic coming from public networks while private endpoint is enabled. +func (o ServicesPropertiesResponsePtrOutput) PublicNetworkAccess() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ServicesPropertiesResponse) *string { + if v == nil { + return nil + } + return v.PublicNetworkAccess + }).(pulumi.StringPtrOutput) +} + +// Setting indicating whether the service has a managed identity associated with it. +type ServicesResourceIdentity struct { + // Type of identity being specified, currently SystemAssigned and None are allowed. + Type *string `pulumi:"type"` +} + +// ServicesResourceIdentityInput is an input type that accepts ServicesResourceIdentityArgs and ServicesResourceIdentityOutput values. +// You can construct a concrete instance of `ServicesResourceIdentityInput` via: +// +// ServicesResourceIdentityArgs{...} +type ServicesResourceIdentityInput interface { + pulumi.Input + + ToServicesResourceIdentityOutput() ServicesResourceIdentityOutput + ToServicesResourceIdentityOutputWithContext(context.Context) ServicesResourceIdentityOutput +} + +// Setting indicating whether the service has a managed identity associated with it. +type ServicesResourceIdentityArgs struct { + // Type of identity being specified, currently SystemAssigned and None are allowed. + Type pulumi.StringPtrInput `pulumi:"type"` +} + +func (ServicesResourceIdentityArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ServicesResourceIdentity)(nil)).Elem() +} + +func (i ServicesResourceIdentityArgs) ToServicesResourceIdentityOutput() ServicesResourceIdentityOutput { + return i.ToServicesResourceIdentityOutputWithContext(context.Background()) +} + +func (i ServicesResourceIdentityArgs) ToServicesResourceIdentityOutputWithContext(ctx context.Context) ServicesResourceIdentityOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServicesResourceIdentityOutput) +} + +func (i ServicesResourceIdentityArgs) ToServicesResourceIdentityPtrOutput() ServicesResourceIdentityPtrOutput { + return i.ToServicesResourceIdentityPtrOutputWithContext(context.Background()) +} + +func (i ServicesResourceIdentityArgs) ToServicesResourceIdentityPtrOutputWithContext(ctx context.Context) ServicesResourceIdentityPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServicesResourceIdentityOutput).ToServicesResourceIdentityPtrOutputWithContext(ctx) +} + +// ServicesResourceIdentityPtrInput is an input type that accepts ServicesResourceIdentityArgs, ServicesResourceIdentityPtr and ServicesResourceIdentityPtrOutput values. +// You can construct a concrete instance of `ServicesResourceIdentityPtrInput` via: +// +// ServicesResourceIdentityArgs{...} +// +// or: +// +// nil +type ServicesResourceIdentityPtrInput interface { + pulumi.Input + + ToServicesResourceIdentityPtrOutput() ServicesResourceIdentityPtrOutput + ToServicesResourceIdentityPtrOutputWithContext(context.Context) ServicesResourceIdentityPtrOutput +} + +type servicesResourceIdentityPtrType ServicesResourceIdentityArgs + +func ServicesResourceIdentityPtr(v *ServicesResourceIdentityArgs) ServicesResourceIdentityPtrInput { + return (*servicesResourceIdentityPtrType)(v) +} + +func (*servicesResourceIdentityPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ServicesResourceIdentity)(nil)).Elem() +} + +func (i *servicesResourceIdentityPtrType) ToServicesResourceIdentityPtrOutput() ServicesResourceIdentityPtrOutput { + return i.ToServicesResourceIdentityPtrOutputWithContext(context.Background()) +} + +func (i *servicesResourceIdentityPtrType) ToServicesResourceIdentityPtrOutputWithContext(ctx context.Context) ServicesResourceIdentityPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServicesResourceIdentityPtrOutput) +} + +// Setting indicating whether the service has a managed identity associated with it. +type ServicesResourceIdentityOutput struct{ *pulumi.OutputState } + +func (ServicesResourceIdentityOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ServicesResourceIdentity)(nil)).Elem() +} + +func (o ServicesResourceIdentityOutput) ToServicesResourceIdentityOutput() ServicesResourceIdentityOutput { + return o +} + +func (o ServicesResourceIdentityOutput) ToServicesResourceIdentityOutputWithContext(ctx context.Context) ServicesResourceIdentityOutput { + return o +} + +func (o ServicesResourceIdentityOutput) ToServicesResourceIdentityPtrOutput() ServicesResourceIdentityPtrOutput { + return o.ToServicesResourceIdentityPtrOutputWithContext(context.Background()) +} + +func (o ServicesResourceIdentityOutput) ToServicesResourceIdentityPtrOutputWithContext(ctx context.Context) ServicesResourceIdentityPtrOutput { + return o.ApplyT(func(v ServicesResourceIdentity) *ServicesResourceIdentity { + return &v + }).(ServicesResourceIdentityPtrOutput) +} + +// Type of identity being specified, currently SystemAssigned and None are allowed. +func (o ServicesResourceIdentityOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v ServicesResourceIdentity) *string { return v.Type }).(pulumi.StringPtrOutput) +} + +type ServicesResourceIdentityPtrOutput struct{ *pulumi.OutputState } + +func (ServicesResourceIdentityPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ServicesResourceIdentity)(nil)).Elem() +} + +func (o ServicesResourceIdentityPtrOutput) ToServicesResourceIdentityPtrOutput() ServicesResourceIdentityPtrOutput { + return o +} + +func (o ServicesResourceIdentityPtrOutput) ToServicesResourceIdentityPtrOutputWithContext(ctx context.Context) ServicesResourceIdentityPtrOutput { + return o +} + +func (o ServicesResourceIdentityPtrOutput) Elem() ServicesResourceIdentityOutput { + return o.ApplyT(func(v *ServicesResourceIdentity) ServicesResourceIdentity { return *v }).(ServicesResourceIdentityOutput) +} + +// Type of identity being specified, currently SystemAssigned and None are allowed. +func (o ServicesResourceIdentityPtrOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ServicesResourceIdentity) *string { + if v == nil { + return nil + } + return v.Type + }).(pulumi.StringPtrOutput) +} + +// Setting indicating whether the service has a managed identity associated with it. +type ServicesResourceResponseIdentity struct { + // The principal ID of the resource identity. + PrincipalId string `pulumi:"principalId"` + // The tenant ID of the resource. + TenantId string `pulumi:"tenantId"` + // Type of identity being specified, currently SystemAssigned and None are allowed. + Type *string `pulumi:"type"` +} + +// ServicesResourceResponseIdentityInput is an input type that accepts ServicesResourceResponseIdentityArgs and ServicesResourceResponseIdentityOutput values. +// You can construct a concrete instance of `ServicesResourceResponseIdentityInput` via: +// +// ServicesResourceResponseIdentityArgs{...} +type ServicesResourceResponseIdentityInput interface { + pulumi.Input + + ToServicesResourceResponseIdentityOutput() ServicesResourceResponseIdentityOutput + ToServicesResourceResponseIdentityOutputWithContext(context.Context) ServicesResourceResponseIdentityOutput +} + +// Setting indicating whether the service has a managed identity associated with it. +type ServicesResourceResponseIdentityArgs struct { + // The principal ID of the resource identity. + PrincipalId pulumi.StringInput `pulumi:"principalId"` + // The tenant ID of the resource. + TenantId pulumi.StringInput `pulumi:"tenantId"` + // Type of identity being specified, currently SystemAssigned and None are allowed. + Type pulumi.StringPtrInput `pulumi:"type"` +} + +func (ServicesResourceResponseIdentityArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ServicesResourceResponseIdentity)(nil)).Elem() +} + +func (i ServicesResourceResponseIdentityArgs) ToServicesResourceResponseIdentityOutput() ServicesResourceResponseIdentityOutput { + return i.ToServicesResourceResponseIdentityOutputWithContext(context.Background()) +} + +func (i ServicesResourceResponseIdentityArgs) ToServicesResourceResponseIdentityOutputWithContext(ctx context.Context) ServicesResourceResponseIdentityOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServicesResourceResponseIdentityOutput) +} + +func (i ServicesResourceResponseIdentityArgs) ToServicesResourceResponseIdentityPtrOutput() ServicesResourceResponseIdentityPtrOutput { + return i.ToServicesResourceResponseIdentityPtrOutputWithContext(context.Background()) +} + +func (i ServicesResourceResponseIdentityArgs) ToServicesResourceResponseIdentityPtrOutputWithContext(ctx context.Context) ServicesResourceResponseIdentityPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServicesResourceResponseIdentityOutput).ToServicesResourceResponseIdentityPtrOutputWithContext(ctx) +} + +// ServicesResourceResponseIdentityPtrInput is an input type that accepts ServicesResourceResponseIdentityArgs, ServicesResourceResponseIdentityPtr and ServicesResourceResponseIdentityPtrOutput values. +// You can construct a concrete instance of `ServicesResourceResponseIdentityPtrInput` via: +// +// ServicesResourceResponseIdentityArgs{...} +// +// or: +// +// nil +type ServicesResourceResponseIdentityPtrInput interface { + pulumi.Input + + ToServicesResourceResponseIdentityPtrOutput() ServicesResourceResponseIdentityPtrOutput + ToServicesResourceResponseIdentityPtrOutputWithContext(context.Context) ServicesResourceResponseIdentityPtrOutput +} + +type servicesResourceResponseIdentityPtrType ServicesResourceResponseIdentityArgs + +func ServicesResourceResponseIdentityPtr(v *ServicesResourceResponseIdentityArgs) ServicesResourceResponseIdentityPtrInput { + return (*servicesResourceResponseIdentityPtrType)(v) +} + +func (*servicesResourceResponseIdentityPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ServicesResourceResponseIdentity)(nil)).Elem() +} + +func (i *servicesResourceResponseIdentityPtrType) ToServicesResourceResponseIdentityPtrOutput() ServicesResourceResponseIdentityPtrOutput { + return i.ToServicesResourceResponseIdentityPtrOutputWithContext(context.Background()) +} + +func (i *servicesResourceResponseIdentityPtrType) ToServicesResourceResponseIdentityPtrOutputWithContext(ctx context.Context) ServicesResourceResponseIdentityPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServicesResourceResponseIdentityPtrOutput) +} + +// Setting indicating whether the service has a managed identity associated with it. +type ServicesResourceResponseIdentityOutput struct{ *pulumi.OutputState } + +func (ServicesResourceResponseIdentityOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ServicesResourceResponseIdentity)(nil)).Elem() +} + +func (o ServicesResourceResponseIdentityOutput) ToServicesResourceResponseIdentityOutput() ServicesResourceResponseIdentityOutput { + return o +} + +func (o ServicesResourceResponseIdentityOutput) ToServicesResourceResponseIdentityOutputWithContext(ctx context.Context) ServicesResourceResponseIdentityOutput { + return o +} + +func (o ServicesResourceResponseIdentityOutput) ToServicesResourceResponseIdentityPtrOutput() ServicesResourceResponseIdentityPtrOutput { + return o.ToServicesResourceResponseIdentityPtrOutputWithContext(context.Background()) +} + +func (o ServicesResourceResponseIdentityOutput) ToServicesResourceResponseIdentityPtrOutputWithContext(ctx context.Context) ServicesResourceResponseIdentityPtrOutput { + return o.ApplyT(func(v ServicesResourceResponseIdentity) *ServicesResourceResponseIdentity { + return &v + }).(ServicesResourceResponseIdentityPtrOutput) +} + +// The principal ID of the resource identity. +func (o ServicesResourceResponseIdentityOutput) PrincipalId() pulumi.StringOutput { + return o.ApplyT(func(v ServicesResourceResponseIdentity) string { return v.PrincipalId }).(pulumi.StringOutput) +} + +// The tenant ID of the resource. +func (o ServicesResourceResponseIdentityOutput) TenantId() pulumi.StringOutput { + return o.ApplyT(func(v ServicesResourceResponseIdentity) string { return v.TenantId }).(pulumi.StringOutput) +} + +// Type of identity being specified, currently SystemAssigned and None are allowed. +func (o ServicesResourceResponseIdentityOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v ServicesResourceResponseIdentity) *string { return v.Type }).(pulumi.StringPtrOutput) +} + +type ServicesResourceResponseIdentityPtrOutput struct{ *pulumi.OutputState } + +func (ServicesResourceResponseIdentityPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ServicesResourceResponseIdentity)(nil)).Elem() +} + +func (o ServicesResourceResponseIdentityPtrOutput) ToServicesResourceResponseIdentityPtrOutput() ServicesResourceResponseIdentityPtrOutput { + return o +} + +func (o ServicesResourceResponseIdentityPtrOutput) ToServicesResourceResponseIdentityPtrOutputWithContext(ctx context.Context) ServicesResourceResponseIdentityPtrOutput { + return o +} + +func (o ServicesResourceResponseIdentityPtrOutput) Elem() ServicesResourceResponseIdentityOutput { + return o.ApplyT(func(v *ServicesResourceResponseIdentity) ServicesResourceResponseIdentity { return *v }).(ServicesResourceResponseIdentityOutput) +} + +// The principal ID of the resource identity. +func (o ServicesResourceResponseIdentityPtrOutput) PrincipalId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ServicesResourceResponseIdentity) *string { + if v == nil { + return nil + } + return &v.PrincipalId + }).(pulumi.StringPtrOutput) +} + +// The tenant ID of the resource. +func (o ServicesResourceResponseIdentityPtrOutput) TenantId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ServicesResourceResponseIdentity) *string { + if v == nil { + return nil + } + return &v.TenantId + }).(pulumi.StringPtrOutput) +} + +// Type of identity being specified, currently SystemAssigned and None are allowed. +func (o ServicesResourceResponseIdentityPtrOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ServicesResourceResponseIdentity) *string { + if v == nil { + return nil + } + return v.Type + }).(pulumi.StringPtrOutput) +} + +// Metadata pertaining to creation and last modification of the resource. +type SystemDataResponse struct { + // The timestamp of resource creation (UTC). + CreatedAt *string `pulumi:"createdAt"` + // The identity that created the resource. + CreatedBy *string `pulumi:"createdBy"` + // The type of identity that created the resource. + CreatedByType *string `pulumi:"createdByType"` + // The type of identity that last modified the resource. + LastModifiedAt *string `pulumi:"lastModifiedAt"` + // The identity that last modified the resource. + LastModifiedBy *string `pulumi:"lastModifiedBy"` + // The type of identity that last modified the resource. + LastModifiedByType *string `pulumi:"lastModifiedByType"` +} + +// SystemDataResponseInput is an input type that accepts SystemDataResponseArgs and SystemDataResponseOutput values. +// You can construct a concrete instance of `SystemDataResponseInput` via: +// +// SystemDataResponseArgs{...} +type SystemDataResponseInput interface { + pulumi.Input + + ToSystemDataResponseOutput() SystemDataResponseOutput + ToSystemDataResponseOutputWithContext(context.Context) SystemDataResponseOutput +} + +// Metadata pertaining to creation and last modification of the resource. +type SystemDataResponseArgs struct { + // The timestamp of resource creation (UTC). + CreatedAt pulumi.StringPtrInput `pulumi:"createdAt"` + // The identity that created the resource. + CreatedBy pulumi.StringPtrInput `pulumi:"createdBy"` + // The type of identity that created the resource. + CreatedByType pulumi.StringPtrInput `pulumi:"createdByType"` + // The type of identity that last modified the resource. + LastModifiedAt pulumi.StringPtrInput `pulumi:"lastModifiedAt"` + // The identity that last modified the resource. + LastModifiedBy pulumi.StringPtrInput `pulumi:"lastModifiedBy"` + // The type of identity that last modified the resource. + LastModifiedByType pulumi.StringPtrInput `pulumi:"lastModifiedByType"` +} + +func (SystemDataResponseArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SystemDataResponse)(nil)).Elem() +} + +func (i SystemDataResponseArgs) ToSystemDataResponseOutput() SystemDataResponseOutput { + return i.ToSystemDataResponseOutputWithContext(context.Background()) +} + +func (i SystemDataResponseArgs) ToSystemDataResponseOutputWithContext(ctx context.Context) SystemDataResponseOutput { + return pulumi.ToOutputWithContext(ctx, i).(SystemDataResponseOutput) +} + +func (i SystemDataResponseArgs) ToSystemDataResponsePtrOutput() SystemDataResponsePtrOutput { + return i.ToSystemDataResponsePtrOutputWithContext(context.Background()) +} + +func (i SystemDataResponseArgs) ToSystemDataResponsePtrOutputWithContext(ctx context.Context) SystemDataResponsePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SystemDataResponseOutput).ToSystemDataResponsePtrOutputWithContext(ctx) +} + +// SystemDataResponsePtrInput is an input type that accepts SystemDataResponseArgs, SystemDataResponsePtr and SystemDataResponsePtrOutput values. +// You can construct a concrete instance of `SystemDataResponsePtrInput` via: +// +// SystemDataResponseArgs{...} +// +// or: +// +// nil +type SystemDataResponsePtrInput interface { + pulumi.Input + + ToSystemDataResponsePtrOutput() SystemDataResponsePtrOutput + ToSystemDataResponsePtrOutputWithContext(context.Context) SystemDataResponsePtrOutput +} + +type systemDataResponsePtrType SystemDataResponseArgs + +func SystemDataResponsePtr(v *SystemDataResponseArgs) SystemDataResponsePtrInput { + return (*systemDataResponsePtrType)(v) +} + +func (*systemDataResponsePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SystemDataResponse)(nil)).Elem() +} + +func (i *systemDataResponsePtrType) ToSystemDataResponsePtrOutput() SystemDataResponsePtrOutput { + return i.ToSystemDataResponsePtrOutputWithContext(context.Background()) +} + +func (i *systemDataResponsePtrType) ToSystemDataResponsePtrOutputWithContext(ctx context.Context) SystemDataResponsePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SystemDataResponsePtrOutput) +} + +// Metadata pertaining to creation and last modification of the resource. +type SystemDataResponseOutput struct{ *pulumi.OutputState } + +func (SystemDataResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SystemDataResponse)(nil)).Elem() +} + +func (o SystemDataResponseOutput) ToSystemDataResponseOutput() SystemDataResponseOutput { + return o +} + +func (o SystemDataResponseOutput) ToSystemDataResponseOutputWithContext(ctx context.Context) SystemDataResponseOutput { + return o +} + +func (o SystemDataResponseOutput) ToSystemDataResponsePtrOutput() SystemDataResponsePtrOutput { + return o.ToSystemDataResponsePtrOutputWithContext(context.Background()) +} + +func (o SystemDataResponseOutput) ToSystemDataResponsePtrOutputWithContext(ctx context.Context) SystemDataResponsePtrOutput { + return o.ApplyT(func(v SystemDataResponse) *SystemDataResponse { + return &v + }).(SystemDataResponsePtrOutput) +} + +// The timestamp of resource creation (UTC). +func (o SystemDataResponseOutput) CreatedAt() pulumi.StringPtrOutput { + return o.ApplyT(func(v SystemDataResponse) *string { return v.CreatedAt }).(pulumi.StringPtrOutput) +} + +// The identity that created the resource. +func (o SystemDataResponseOutput) CreatedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v SystemDataResponse) *string { return v.CreatedBy }).(pulumi.StringPtrOutput) +} + +// The type of identity that created the resource. +func (o SystemDataResponseOutput) CreatedByType() pulumi.StringPtrOutput { + return o.ApplyT(func(v SystemDataResponse) *string { return v.CreatedByType }).(pulumi.StringPtrOutput) +} + +// The type of identity that last modified the resource. +func (o SystemDataResponseOutput) LastModifiedAt() pulumi.StringPtrOutput { + return o.ApplyT(func(v SystemDataResponse) *string { return v.LastModifiedAt }).(pulumi.StringPtrOutput) +} + +// The identity that last modified the resource. +func (o SystemDataResponseOutput) LastModifiedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v SystemDataResponse) *string { return v.LastModifiedBy }).(pulumi.StringPtrOutput) +} + +// The type of identity that last modified the resource. +func (o SystemDataResponseOutput) LastModifiedByType() pulumi.StringPtrOutput { + return o.ApplyT(func(v SystemDataResponse) *string { return v.LastModifiedByType }).(pulumi.StringPtrOutput) +} + +type SystemDataResponsePtrOutput struct{ *pulumi.OutputState } + +func (SystemDataResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SystemDataResponse)(nil)).Elem() +} + +func (o SystemDataResponsePtrOutput) ToSystemDataResponsePtrOutput() SystemDataResponsePtrOutput { + return o +} + +func (o SystemDataResponsePtrOutput) ToSystemDataResponsePtrOutputWithContext(ctx context.Context) SystemDataResponsePtrOutput { + return o +} + +func (o SystemDataResponsePtrOutput) Elem() SystemDataResponseOutput { + return o.ApplyT(func(v *SystemDataResponse) SystemDataResponse { return *v }).(SystemDataResponseOutput) +} + +// The timestamp of resource creation (UTC). +func (o SystemDataResponsePtrOutput) CreatedAt() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SystemDataResponse) *string { + if v == nil { + return nil + } + return v.CreatedAt + }).(pulumi.StringPtrOutput) +} + +// The identity that created the resource. +func (o SystemDataResponsePtrOutput) CreatedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SystemDataResponse) *string { + if v == nil { + return nil + } + return v.CreatedBy + }).(pulumi.StringPtrOutput) +} + +// The type of identity that created the resource. +func (o SystemDataResponsePtrOutput) CreatedByType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SystemDataResponse) *string { + if v == nil { + return nil + } + return v.CreatedByType + }).(pulumi.StringPtrOutput) +} + +// The type of identity that last modified the resource. +func (o SystemDataResponsePtrOutput) LastModifiedAt() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SystemDataResponse) *string { + if v == nil { + return nil + } + return v.LastModifiedAt + }).(pulumi.StringPtrOutput) +} + +// The identity that last modified the resource. +func (o SystemDataResponsePtrOutput) LastModifiedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SystemDataResponse) *string { + if v == nil { + return nil + } + return v.LastModifiedBy + }).(pulumi.StringPtrOutput) +} + +// The type of identity that last modified the resource. +func (o SystemDataResponsePtrOutput) LastModifiedByType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SystemDataResponse) *string { + if v == nil { + return nil + } + return v.LastModifiedByType + }).(pulumi.StringPtrOutput) +} + +func init() { + pulumi.RegisterOutputType(PrivateEndpointConnectionTypeOutput{}) + pulumi.RegisterOutputType(PrivateEndpointConnectionTypeArrayOutput{}) + pulumi.RegisterOutputType(PrivateEndpointConnectionResponseOutput{}) + pulumi.RegisterOutputType(PrivateEndpointConnectionResponseArrayOutput{}) + pulumi.RegisterOutputType(PrivateEndpointResponseOutput{}) + pulumi.RegisterOutputType(PrivateEndpointResponsePtrOutput{}) + pulumi.RegisterOutputType(PrivateLinkServiceConnectionStateOutput{}) + pulumi.RegisterOutputType(PrivateLinkServiceConnectionStatePtrOutput{}) + pulumi.RegisterOutputType(PrivateLinkServiceConnectionStateResponseOutput{}) + pulumi.RegisterOutputType(PrivateLinkServiceConnectionStateResponsePtrOutput{}) + pulumi.RegisterOutputType(ServiceAccessPolicyEntryOutput{}) + pulumi.RegisterOutputType(ServiceAccessPolicyEntryArrayOutput{}) + pulumi.RegisterOutputType(ServiceAccessPolicyEntryResponseOutput{}) + pulumi.RegisterOutputType(ServiceAccessPolicyEntryResponseArrayOutput{}) + pulumi.RegisterOutputType(ServiceAcrConfigurationInfoOutput{}) + pulumi.RegisterOutputType(ServiceAcrConfigurationInfoPtrOutput{}) + pulumi.RegisterOutputType(ServiceAcrConfigurationInfoResponseOutput{}) + pulumi.RegisterOutputType(ServiceAcrConfigurationInfoResponsePtrOutput{}) + pulumi.RegisterOutputType(ServiceAuthenticationConfigurationInfoOutput{}) + pulumi.RegisterOutputType(ServiceAuthenticationConfigurationInfoPtrOutput{}) + pulumi.RegisterOutputType(ServiceAuthenticationConfigurationInfoResponseOutput{}) + pulumi.RegisterOutputType(ServiceAuthenticationConfigurationInfoResponsePtrOutput{}) + pulumi.RegisterOutputType(ServiceCorsConfigurationInfoOutput{}) + pulumi.RegisterOutputType(ServiceCorsConfigurationInfoPtrOutput{}) + pulumi.RegisterOutputType(ServiceCorsConfigurationInfoResponseOutput{}) + pulumi.RegisterOutputType(ServiceCorsConfigurationInfoResponsePtrOutput{}) + pulumi.RegisterOutputType(ServiceCosmosDbConfigurationInfoOutput{}) + pulumi.RegisterOutputType(ServiceCosmosDbConfigurationInfoPtrOutput{}) + pulumi.RegisterOutputType(ServiceCosmosDbConfigurationInfoResponseOutput{}) + pulumi.RegisterOutputType(ServiceCosmosDbConfigurationInfoResponsePtrOutput{}) + pulumi.RegisterOutputType(ServiceExportConfigurationInfoOutput{}) + pulumi.RegisterOutputType(ServiceExportConfigurationInfoPtrOutput{}) + pulumi.RegisterOutputType(ServiceExportConfigurationInfoResponseOutput{}) + pulumi.RegisterOutputType(ServiceExportConfigurationInfoResponsePtrOutput{}) + pulumi.RegisterOutputType(ServicesPropertiesOutput{}) + pulumi.RegisterOutputType(ServicesPropertiesPtrOutput{}) + pulumi.RegisterOutputType(ServicesPropertiesResponseOutput{}) + pulumi.RegisterOutputType(ServicesPropertiesResponsePtrOutput{}) + pulumi.RegisterOutputType(ServicesResourceIdentityOutput{}) + pulumi.RegisterOutputType(ServicesResourceIdentityPtrOutput{}) + pulumi.RegisterOutputType(ServicesResourceResponseIdentityOutput{}) + pulumi.RegisterOutputType(ServicesResourceResponseIdentityPtrOutput{}) + pulumi.RegisterOutputType(SystemDataResponseOutput{}) + pulumi.RegisterOutputType(SystemDataResponsePtrOutput{}) +} diff --git a/sdk/go/azure/healthcareapis/v20210111/service.go b/sdk/go/azure/healthcareapis/v20210111/service.go new file mode 100644 index 000000000000..6cfaafed2bfb --- /dev/null +++ b/sdk/go/azure/healthcareapis/v20210111/service.go @@ -0,0 +1,219 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package v20210111 + +import ( + "context" + "reflect" + + "github.com/pkg/errors" + "github.com/pulumi/pulumi/sdk/v2/go/pulumi" +) + +// The description of the service. +type Service struct { + pulumi.CustomResourceState + + // An etag associated with the resource, used for optimistic concurrency when editing it. + Etag pulumi.StringPtrOutput `pulumi:"etag"` + // Setting indicating whether the service has a managed identity associated with it. + Identity ServicesResourceResponseIdentityPtrOutput `pulumi:"identity"` + // The kind of the service. + Kind pulumi.StringOutput `pulumi:"kind"` + // The resource location. + Location pulumi.StringOutput `pulumi:"location"` + // The resource name. + Name pulumi.StringOutput `pulumi:"name"` + // The common properties of a service. + Properties ServicesPropertiesResponseOutput `pulumi:"properties"` + // Metadata pertaining to creation and last modification of the resource. + SystemData SystemDataResponseOutput `pulumi:"systemData"` + // The resource tags. + Tags pulumi.StringMapOutput `pulumi:"tags"` + // The resource type. + Type pulumi.StringOutput `pulumi:"type"` +} + +// NewService registers a new resource with the given unique name, arguments, and options. +func NewService(ctx *pulumi.Context, + name string, args *ServiceArgs, opts ...pulumi.ResourceOption) (*Service, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.Location == nil { + return nil, errors.New("invalid value for required argument 'Location'") + } + if args.ResourceGroupName == nil { + return nil, errors.New("invalid value for required argument 'ResourceGroupName'") + } + if args.ResourceName == nil { + return nil, errors.New("invalid value for required argument 'ResourceName'") + } + aliases := pulumi.Aliases([]pulumi.Alias{ + { + Type: pulumi.String("azure-nextgen:healthcareapis/latest:Service"), + }, + { + Type: pulumi.String("azure-nextgen:healthcareapis/v20180820preview:Service"), + }, + { + Type: pulumi.String("azure-nextgen:healthcareapis/v20190916:Service"), + }, + { + Type: pulumi.String("azure-nextgen:healthcareapis/v20200315:Service"), + }, + { + Type: pulumi.String("azure-nextgen:healthcareapis/v20200330:Service"), + }, + }) + opts = append(opts, aliases) + var resource Service + err := ctx.RegisterResource("azure-nextgen:healthcareapis/v20210111:Service", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetService gets an existing Service resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetService(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *ServiceState, opts ...pulumi.ResourceOption) (*Service, error) { + var resource Service + err := ctx.ReadResource("azure-nextgen:healthcareapis/v20210111:Service", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering Service resources. +type serviceState struct { + // An etag associated with the resource, used for optimistic concurrency when editing it. + Etag *string `pulumi:"etag"` + // Setting indicating whether the service has a managed identity associated with it. + Identity *ServicesResourceResponseIdentity `pulumi:"identity"` + // The kind of the service. + Kind *string `pulumi:"kind"` + // The resource location. + Location *string `pulumi:"location"` + // The resource name. + Name *string `pulumi:"name"` + // The common properties of a service. + Properties *ServicesPropertiesResponse `pulumi:"properties"` + // Metadata pertaining to creation and last modification of the resource. + SystemData *SystemDataResponse `pulumi:"systemData"` + // The resource tags. + Tags map[string]string `pulumi:"tags"` + // The resource type. + Type *string `pulumi:"type"` +} + +type ServiceState struct { + // An etag associated with the resource, used for optimistic concurrency when editing it. + Etag pulumi.StringPtrInput + // Setting indicating whether the service has a managed identity associated with it. + Identity ServicesResourceResponseIdentityPtrInput + // The kind of the service. + Kind pulumi.StringPtrInput + // The resource location. + Location pulumi.StringPtrInput + // The resource name. + Name pulumi.StringPtrInput + // The common properties of a service. + Properties ServicesPropertiesResponsePtrInput + // Metadata pertaining to creation and last modification of the resource. + SystemData SystemDataResponsePtrInput + // The resource tags. + Tags pulumi.StringMapInput + // The resource type. + Type pulumi.StringPtrInput +} + +func (ServiceState) ElementType() reflect.Type { + return reflect.TypeOf((*serviceState)(nil)).Elem() +} + +type serviceArgs struct { + // An etag associated with the resource, used for optimistic concurrency when editing it. + Etag *string `pulumi:"etag"` + // Setting indicating whether the service has a managed identity associated with it. + Identity *ServicesResourceIdentity `pulumi:"identity"` + // The kind of the service. + Kind string `pulumi:"kind"` + // The resource location. + Location string `pulumi:"location"` + // The common properties of a service. + Properties *ServicesProperties `pulumi:"properties"` + // The name of the resource group that contains the service instance. + ResourceGroupName string `pulumi:"resourceGroupName"` + // The name of the service instance. + ResourceName string `pulumi:"resourceName"` + // The resource tags. + Tags map[string]string `pulumi:"tags"` +} + +// The set of arguments for constructing a Service resource. +type ServiceArgs struct { + // An etag associated with the resource, used for optimistic concurrency when editing it. + Etag pulumi.StringPtrInput + // Setting indicating whether the service has a managed identity associated with it. + Identity ServicesResourceIdentityPtrInput + // The kind of the service. + Kind Kind + // The resource location. + Location pulumi.StringInput + // The common properties of a service. + Properties ServicesPropertiesPtrInput + // The name of the resource group that contains the service instance. + ResourceGroupName pulumi.StringInput + // The name of the service instance. + ResourceName pulumi.StringInput + // The resource tags. + Tags pulumi.StringMapInput +} + +func (ServiceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*serviceArgs)(nil)).Elem() +} + +type ServiceInput interface { + pulumi.Input + + ToServiceOutput() ServiceOutput + ToServiceOutputWithContext(ctx context.Context) ServiceOutput +} + +func (*Service) ElementType() reflect.Type { + return reflect.TypeOf((*Service)(nil)) +} + +func (i *Service) ToServiceOutput() ServiceOutput { + return i.ToServiceOutputWithContext(context.Background()) +} + +func (i *Service) ToServiceOutputWithContext(ctx context.Context) ServiceOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServiceOutput) +} + +type ServiceOutput struct { + *pulumi.OutputState +} + +func (ServiceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*Service)(nil)) +} + +func (o ServiceOutput) ToServiceOutput() ServiceOutput { + return o +} + +func (o ServiceOutput) ToServiceOutputWithContext(ctx context.Context) ServiceOutput { + return o +} + +func init() { + pulumi.RegisterOutputType(ServiceOutput{}) +} diff --git a/sdk/go/azure/mixedreality/latest/getRemoteRenderingAccount.go b/sdk/go/azure/mixedreality/latest/getRemoteRenderingAccount.go new file mode 100644 index 000000000000..40eddbf366e5 --- /dev/null +++ b/sdk/go/azure/mixedreality/latest/getRemoteRenderingAccount.go @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package latest + +import ( + "github.com/pulumi/pulumi/sdk/v2/go/pulumi" +) + +func LookupRemoteRenderingAccount(ctx *pulumi.Context, args *LookupRemoteRenderingAccountArgs, opts ...pulumi.InvokeOption) (*LookupRemoteRenderingAccountResult, error) { + var rv LookupRemoteRenderingAccountResult + err := ctx.Invoke("azure-nextgen:mixedreality/latest:getRemoteRenderingAccount", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +type LookupRemoteRenderingAccountArgs struct { + // Name of an Mixed Reality Account. + AccountName string `pulumi:"accountName"` + // Name of an Azure resource group. + ResourceGroupName string `pulumi:"resourceGroupName"` +} + +// RemoteRenderingAccount Response. +type LookupRemoteRenderingAccountResult struct { + // Correspond domain name of certain Spatial Anchors Account + AccountDomain string `pulumi:"accountDomain"` + // unique id of certain account. + AccountId string `pulumi:"accountId"` + // Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + Id string `pulumi:"id"` + // The identity associated with this account + Identity *IdentityResponse `pulumi:"identity"` + // The kind of account, if supported + Kind *SkuResponse `pulumi:"kind"` + // The geo-location where the resource lives + Location string `pulumi:"location"` + // The name of the resource + Name string `pulumi:"name"` + // The plan associated with this account + Plan *IdentityResponse `pulumi:"plan"` + // The sku associated with this account + Sku *SkuResponse `pulumi:"sku"` + // System metadata for this account + SystemData SystemDataResponse `pulumi:"systemData"` + // Resource tags. + Tags map[string]string `pulumi:"tags"` + // The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + Type string `pulumi:"type"` +} diff --git a/sdk/go/azure/mixedreality/latest/getSpatialAnchorsAccount.go b/sdk/go/azure/mixedreality/latest/getSpatialAnchorsAccount.go index c4c325313b85..c2f5f220f64d 100644 --- a/sdk/go/azure/mixedreality/latest/getSpatialAnchorsAccount.go +++ b/sdk/go/azure/mixedreality/latest/getSpatialAnchorsAccount.go @@ -33,10 +33,18 @@ type LookupSpatialAnchorsAccountResult struct { Id string `pulumi:"id"` // The identity associated with this account Identity *IdentityResponse `pulumi:"identity"` + // The kind of account, if supported + Kind *SkuResponse `pulumi:"kind"` // The geo-location where the resource lives Location string `pulumi:"location"` // The name of the resource Name string `pulumi:"name"` + // The plan associated with this account + Plan *IdentityResponse `pulumi:"plan"` + // The sku associated with this account + Sku *SkuResponse `pulumi:"sku"` + // System metadata for this account + SystemData SystemDataResponse `pulumi:"systemData"` // Resource tags. Tags map[string]string `pulumi:"tags"` // The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" diff --git a/sdk/go/azure/mixedreality/latest/listRemoteRenderingAccountKeys.go b/sdk/go/azure/mixedreality/latest/listRemoteRenderingAccountKeys.go new file mode 100644 index 000000000000..1973fa4953c2 --- /dev/null +++ b/sdk/go/azure/mixedreality/latest/listRemoteRenderingAccountKeys.go @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package latest + +import ( + "github.com/pulumi/pulumi/sdk/v2/go/pulumi" +) + +func ListRemoteRenderingAccountKeys(ctx *pulumi.Context, args *ListRemoteRenderingAccountKeysArgs, opts ...pulumi.InvokeOption) (*ListRemoteRenderingAccountKeysResult, error) { + var rv ListRemoteRenderingAccountKeysResult + err := ctx.Invoke("azure-nextgen:mixedreality/latest:listRemoteRenderingAccountKeys", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +type ListRemoteRenderingAccountKeysArgs struct { + // Name of an Mixed Reality Account. + AccountName string `pulumi:"accountName"` + // Name of an Azure resource group. + ResourceGroupName string `pulumi:"resourceGroupName"` +} + +// Developer Keys of account +type ListRemoteRenderingAccountKeysResult struct { + // value of primary key. + PrimaryKey string `pulumi:"primaryKey"` + // value of secondary key. + SecondaryKey string `pulumi:"secondaryKey"` +} diff --git a/sdk/go/azure/mixedreality/latest/pulumiEnums.go b/sdk/go/azure/mixedreality/latest/pulumiEnums.go index 96f7152581b5..a471f7a581ff 100644 --- a/sdk/go/azure/mixedreality/latest/pulumiEnums.go +++ b/sdk/go/azure/mixedreality/latest/pulumiEnums.go @@ -36,3 +36,33 @@ func (e ResourceIdentityType) ToStringPtrOutput() pulumi.StringPtrOutput { func (e ResourceIdentityType) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput { return pulumi.String(e).ToStringOutputWithContext(ctx).ToStringPtrOutputWithContext(ctx) } + +// This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. +type SkuTier pulumi.String + +const ( + SkuTierFree = SkuTier("Free") + SkuTierBasic = SkuTier("Basic") + SkuTierStandard = SkuTier("Standard") + SkuTierPremium = SkuTier("Premium") +) + +func (SkuTier) ElementType() reflect.Type { + return reflect.TypeOf((*pulumi.String)(nil)).Elem() +} + +func (e SkuTier) ToStringOutput() pulumi.StringOutput { + return pulumi.ToOutput(pulumi.String(e)).(pulumi.StringOutput) +} + +func (e SkuTier) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput { + return pulumi.ToOutputWithContext(ctx, pulumi.String(e)).(pulumi.StringOutput) +} + +func (e SkuTier) ToStringPtrOutput() pulumi.StringPtrOutput { + return pulumi.String(e).ToStringPtrOutputWithContext(context.Background()) +} + +func (e SkuTier) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput { + return pulumi.String(e).ToStringOutputWithContext(ctx).ToStringPtrOutputWithContext(ctx) +} diff --git a/sdk/go/azure/mixedreality/latest/pulumiTypes.go b/sdk/go/azure/mixedreality/latest/pulumiTypes.go index 32760a6577ab..819105f0759a 100644 --- a/sdk/go/azure/mixedreality/latest/pulumiTypes.go +++ b/sdk/go/azure/mixedreality/latest/pulumiTypes.go @@ -316,9 +316,664 @@ func (o IdentityResponsePtrOutput) Type() pulumi.StringPtrOutput { }).(pulumi.StringPtrOutput) } +// The resource model definition representing SKU +type Sku struct { + // If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. + Capacity *int `pulumi:"capacity"` + // If the service has different generations of hardware, for the same SKU, then that can be captured here. + Family *string `pulumi:"family"` + // The name of the SKU. Ex - P3. It is typically a letter+number code + Name string `pulumi:"name"` + // The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. + Size *string `pulumi:"size"` + // This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. + Tier *string `pulumi:"tier"` +} + +// SkuInput is an input type that accepts SkuArgs and SkuOutput values. +// You can construct a concrete instance of `SkuInput` via: +// +// SkuArgs{...} +type SkuInput interface { + pulumi.Input + + ToSkuOutput() SkuOutput + ToSkuOutputWithContext(context.Context) SkuOutput +} + +// The resource model definition representing SKU +type SkuArgs struct { + // If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. + Capacity pulumi.IntPtrInput `pulumi:"capacity"` + // If the service has different generations of hardware, for the same SKU, then that can be captured here. + Family pulumi.StringPtrInput `pulumi:"family"` + // The name of the SKU. Ex - P3. It is typically a letter+number code + Name pulumi.StringInput `pulumi:"name"` + // The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. + Size pulumi.StringPtrInput `pulumi:"size"` + // This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. + Tier SkuTier `pulumi:"tier"` +} + +func (SkuArgs) ElementType() reflect.Type { + return reflect.TypeOf((*Sku)(nil)).Elem() +} + +func (i SkuArgs) ToSkuOutput() SkuOutput { + return i.ToSkuOutputWithContext(context.Background()) +} + +func (i SkuArgs) ToSkuOutputWithContext(ctx context.Context) SkuOutput { + return pulumi.ToOutputWithContext(ctx, i).(SkuOutput) +} + +func (i SkuArgs) ToSkuPtrOutput() SkuPtrOutput { + return i.ToSkuPtrOutputWithContext(context.Background()) +} + +func (i SkuArgs) ToSkuPtrOutputWithContext(ctx context.Context) SkuPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SkuOutput).ToSkuPtrOutputWithContext(ctx) +} + +// SkuPtrInput is an input type that accepts SkuArgs, SkuPtr and SkuPtrOutput values. +// You can construct a concrete instance of `SkuPtrInput` via: +// +// SkuArgs{...} +// +// or: +// +// nil +type SkuPtrInput interface { + pulumi.Input + + ToSkuPtrOutput() SkuPtrOutput + ToSkuPtrOutputWithContext(context.Context) SkuPtrOutput +} + +type skuPtrType SkuArgs + +func SkuPtr(v *SkuArgs) SkuPtrInput { + return (*skuPtrType)(v) +} + +func (*skuPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**Sku)(nil)).Elem() +} + +func (i *skuPtrType) ToSkuPtrOutput() SkuPtrOutput { + return i.ToSkuPtrOutputWithContext(context.Background()) +} + +func (i *skuPtrType) ToSkuPtrOutputWithContext(ctx context.Context) SkuPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SkuPtrOutput) +} + +// The resource model definition representing SKU +type SkuOutput struct{ *pulumi.OutputState } + +func (SkuOutput) ElementType() reflect.Type { + return reflect.TypeOf((*Sku)(nil)).Elem() +} + +func (o SkuOutput) ToSkuOutput() SkuOutput { + return o +} + +func (o SkuOutput) ToSkuOutputWithContext(ctx context.Context) SkuOutput { + return o +} + +func (o SkuOutput) ToSkuPtrOutput() SkuPtrOutput { + return o.ToSkuPtrOutputWithContext(context.Background()) +} + +func (o SkuOutput) ToSkuPtrOutputWithContext(ctx context.Context) SkuPtrOutput { + return o.ApplyT(func(v Sku) *Sku { + return &v + }).(SkuPtrOutput) +} + +// If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. +func (o SkuOutput) Capacity() pulumi.IntPtrOutput { + return o.ApplyT(func(v Sku) *int { return v.Capacity }).(pulumi.IntPtrOutput) +} + +// If the service has different generations of hardware, for the same SKU, then that can be captured here. +func (o SkuOutput) Family() pulumi.StringPtrOutput { + return o.ApplyT(func(v Sku) *string { return v.Family }).(pulumi.StringPtrOutput) +} + +// The name of the SKU. Ex - P3. It is typically a letter+number code +func (o SkuOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v Sku) string { return v.Name }).(pulumi.StringOutput) +} + +// The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. +func (o SkuOutput) Size() pulumi.StringPtrOutput { + return o.ApplyT(func(v Sku) *string { return v.Size }).(pulumi.StringPtrOutput) +} + +// This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. +func (o SkuOutput) Tier() pulumi.StringPtrOutput { + return o.ApplyT(func(v Sku) *string { return v.Tier }).(pulumi.StringPtrOutput) +} + +type SkuPtrOutput struct{ *pulumi.OutputState } + +func (SkuPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**Sku)(nil)).Elem() +} + +func (o SkuPtrOutput) ToSkuPtrOutput() SkuPtrOutput { + return o +} + +func (o SkuPtrOutput) ToSkuPtrOutputWithContext(ctx context.Context) SkuPtrOutput { + return o +} + +func (o SkuPtrOutput) Elem() SkuOutput { + return o.ApplyT(func(v *Sku) Sku { return *v }).(SkuOutput) +} + +// If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. +func (o SkuPtrOutput) Capacity() pulumi.IntPtrOutput { + return o.ApplyT(func(v *Sku) *int { + if v == nil { + return nil + } + return v.Capacity + }).(pulumi.IntPtrOutput) +} + +// If the service has different generations of hardware, for the same SKU, then that can be captured here. +func (o SkuPtrOutput) Family() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Sku) *string { + if v == nil { + return nil + } + return v.Family + }).(pulumi.StringPtrOutput) +} + +// The name of the SKU. Ex - P3. It is typically a letter+number code +func (o SkuPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Sku) *string { + if v == nil { + return nil + } + return &v.Name + }).(pulumi.StringPtrOutput) +} + +// The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. +func (o SkuPtrOutput) Size() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Sku) *string { + if v == nil { + return nil + } + return v.Size + }).(pulumi.StringPtrOutput) +} + +// This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. +func (o SkuPtrOutput) Tier() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Sku) *string { + if v == nil { + return nil + } + return v.Tier + }).(pulumi.StringPtrOutput) +} + +// The resource model definition representing SKU +type SkuResponse struct { + // If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. + Capacity *int `pulumi:"capacity"` + // If the service has different generations of hardware, for the same SKU, then that can be captured here. + Family *string `pulumi:"family"` + // The name of the SKU. Ex - P3. It is typically a letter+number code + Name string `pulumi:"name"` + // The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. + Size *string `pulumi:"size"` + // This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. + Tier *string `pulumi:"tier"` +} + +// SkuResponseInput is an input type that accepts SkuResponseArgs and SkuResponseOutput values. +// You can construct a concrete instance of `SkuResponseInput` via: +// +// SkuResponseArgs{...} +type SkuResponseInput interface { + pulumi.Input + + ToSkuResponseOutput() SkuResponseOutput + ToSkuResponseOutputWithContext(context.Context) SkuResponseOutput +} + +// The resource model definition representing SKU +type SkuResponseArgs struct { + // If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. + Capacity pulumi.IntPtrInput `pulumi:"capacity"` + // If the service has different generations of hardware, for the same SKU, then that can be captured here. + Family pulumi.StringPtrInput `pulumi:"family"` + // The name of the SKU. Ex - P3. It is typically a letter+number code + Name pulumi.StringInput `pulumi:"name"` + // The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. + Size pulumi.StringPtrInput `pulumi:"size"` + // This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. + Tier pulumi.StringPtrInput `pulumi:"tier"` +} + +func (SkuResponseArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SkuResponse)(nil)).Elem() +} + +func (i SkuResponseArgs) ToSkuResponseOutput() SkuResponseOutput { + return i.ToSkuResponseOutputWithContext(context.Background()) +} + +func (i SkuResponseArgs) ToSkuResponseOutputWithContext(ctx context.Context) SkuResponseOutput { + return pulumi.ToOutputWithContext(ctx, i).(SkuResponseOutput) +} + +func (i SkuResponseArgs) ToSkuResponsePtrOutput() SkuResponsePtrOutput { + return i.ToSkuResponsePtrOutputWithContext(context.Background()) +} + +func (i SkuResponseArgs) ToSkuResponsePtrOutputWithContext(ctx context.Context) SkuResponsePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SkuResponseOutput).ToSkuResponsePtrOutputWithContext(ctx) +} + +// SkuResponsePtrInput is an input type that accepts SkuResponseArgs, SkuResponsePtr and SkuResponsePtrOutput values. +// You can construct a concrete instance of `SkuResponsePtrInput` via: +// +// SkuResponseArgs{...} +// +// or: +// +// nil +type SkuResponsePtrInput interface { + pulumi.Input + + ToSkuResponsePtrOutput() SkuResponsePtrOutput + ToSkuResponsePtrOutputWithContext(context.Context) SkuResponsePtrOutput +} + +type skuResponsePtrType SkuResponseArgs + +func SkuResponsePtr(v *SkuResponseArgs) SkuResponsePtrInput { + return (*skuResponsePtrType)(v) +} + +func (*skuResponsePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SkuResponse)(nil)).Elem() +} + +func (i *skuResponsePtrType) ToSkuResponsePtrOutput() SkuResponsePtrOutput { + return i.ToSkuResponsePtrOutputWithContext(context.Background()) +} + +func (i *skuResponsePtrType) ToSkuResponsePtrOutputWithContext(ctx context.Context) SkuResponsePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SkuResponsePtrOutput) +} + +// The resource model definition representing SKU +type SkuResponseOutput struct{ *pulumi.OutputState } + +func (SkuResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SkuResponse)(nil)).Elem() +} + +func (o SkuResponseOutput) ToSkuResponseOutput() SkuResponseOutput { + return o +} + +func (o SkuResponseOutput) ToSkuResponseOutputWithContext(ctx context.Context) SkuResponseOutput { + return o +} + +func (o SkuResponseOutput) ToSkuResponsePtrOutput() SkuResponsePtrOutput { + return o.ToSkuResponsePtrOutputWithContext(context.Background()) +} + +func (o SkuResponseOutput) ToSkuResponsePtrOutputWithContext(ctx context.Context) SkuResponsePtrOutput { + return o.ApplyT(func(v SkuResponse) *SkuResponse { + return &v + }).(SkuResponsePtrOutput) +} + +// If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. +func (o SkuResponseOutput) Capacity() pulumi.IntPtrOutput { + return o.ApplyT(func(v SkuResponse) *int { return v.Capacity }).(pulumi.IntPtrOutput) +} + +// If the service has different generations of hardware, for the same SKU, then that can be captured here. +func (o SkuResponseOutput) Family() pulumi.StringPtrOutput { + return o.ApplyT(func(v SkuResponse) *string { return v.Family }).(pulumi.StringPtrOutput) +} + +// The name of the SKU. Ex - P3. It is typically a letter+number code +func (o SkuResponseOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v SkuResponse) string { return v.Name }).(pulumi.StringOutput) +} + +// The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. +func (o SkuResponseOutput) Size() pulumi.StringPtrOutput { + return o.ApplyT(func(v SkuResponse) *string { return v.Size }).(pulumi.StringPtrOutput) +} + +// This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. +func (o SkuResponseOutput) Tier() pulumi.StringPtrOutput { + return o.ApplyT(func(v SkuResponse) *string { return v.Tier }).(pulumi.StringPtrOutput) +} + +type SkuResponsePtrOutput struct{ *pulumi.OutputState } + +func (SkuResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SkuResponse)(nil)).Elem() +} + +func (o SkuResponsePtrOutput) ToSkuResponsePtrOutput() SkuResponsePtrOutput { + return o +} + +func (o SkuResponsePtrOutput) ToSkuResponsePtrOutputWithContext(ctx context.Context) SkuResponsePtrOutput { + return o +} + +func (o SkuResponsePtrOutput) Elem() SkuResponseOutput { + return o.ApplyT(func(v *SkuResponse) SkuResponse { return *v }).(SkuResponseOutput) +} + +// If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. +func (o SkuResponsePtrOutput) Capacity() pulumi.IntPtrOutput { + return o.ApplyT(func(v *SkuResponse) *int { + if v == nil { + return nil + } + return v.Capacity + }).(pulumi.IntPtrOutput) +} + +// If the service has different generations of hardware, for the same SKU, then that can be captured here. +func (o SkuResponsePtrOutput) Family() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SkuResponse) *string { + if v == nil { + return nil + } + return v.Family + }).(pulumi.StringPtrOutput) +} + +// The name of the SKU. Ex - P3. It is typically a letter+number code +func (o SkuResponsePtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SkuResponse) *string { + if v == nil { + return nil + } + return &v.Name + }).(pulumi.StringPtrOutput) +} + +// The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. +func (o SkuResponsePtrOutput) Size() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SkuResponse) *string { + if v == nil { + return nil + } + return v.Size + }).(pulumi.StringPtrOutput) +} + +// This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. +func (o SkuResponsePtrOutput) Tier() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SkuResponse) *string { + if v == nil { + return nil + } + return v.Tier + }).(pulumi.StringPtrOutput) +} + +// Metadata pertaining to creation and last modification of the resource. +type SystemDataResponse struct { + // The timestamp of resource creation (UTC). + CreatedAt *string `pulumi:"createdAt"` + // The identity that created the resource. + CreatedBy *string `pulumi:"createdBy"` + // The type of identity that created the resource. + CreatedByType *string `pulumi:"createdByType"` + // The type of identity that last modified the resource. + LastModifiedAt *string `pulumi:"lastModifiedAt"` + // The identity that last modified the resource. + LastModifiedBy *string `pulumi:"lastModifiedBy"` + // The type of identity that last modified the resource. + LastModifiedByType *string `pulumi:"lastModifiedByType"` +} + +// SystemDataResponseInput is an input type that accepts SystemDataResponseArgs and SystemDataResponseOutput values. +// You can construct a concrete instance of `SystemDataResponseInput` via: +// +// SystemDataResponseArgs{...} +type SystemDataResponseInput interface { + pulumi.Input + + ToSystemDataResponseOutput() SystemDataResponseOutput + ToSystemDataResponseOutputWithContext(context.Context) SystemDataResponseOutput +} + +// Metadata pertaining to creation and last modification of the resource. +type SystemDataResponseArgs struct { + // The timestamp of resource creation (UTC). + CreatedAt pulumi.StringPtrInput `pulumi:"createdAt"` + // The identity that created the resource. + CreatedBy pulumi.StringPtrInput `pulumi:"createdBy"` + // The type of identity that created the resource. + CreatedByType pulumi.StringPtrInput `pulumi:"createdByType"` + // The type of identity that last modified the resource. + LastModifiedAt pulumi.StringPtrInput `pulumi:"lastModifiedAt"` + // The identity that last modified the resource. + LastModifiedBy pulumi.StringPtrInput `pulumi:"lastModifiedBy"` + // The type of identity that last modified the resource. + LastModifiedByType pulumi.StringPtrInput `pulumi:"lastModifiedByType"` +} + +func (SystemDataResponseArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SystemDataResponse)(nil)).Elem() +} + +func (i SystemDataResponseArgs) ToSystemDataResponseOutput() SystemDataResponseOutput { + return i.ToSystemDataResponseOutputWithContext(context.Background()) +} + +func (i SystemDataResponseArgs) ToSystemDataResponseOutputWithContext(ctx context.Context) SystemDataResponseOutput { + return pulumi.ToOutputWithContext(ctx, i).(SystemDataResponseOutput) +} + +func (i SystemDataResponseArgs) ToSystemDataResponsePtrOutput() SystemDataResponsePtrOutput { + return i.ToSystemDataResponsePtrOutputWithContext(context.Background()) +} + +func (i SystemDataResponseArgs) ToSystemDataResponsePtrOutputWithContext(ctx context.Context) SystemDataResponsePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SystemDataResponseOutput).ToSystemDataResponsePtrOutputWithContext(ctx) +} + +// SystemDataResponsePtrInput is an input type that accepts SystemDataResponseArgs, SystemDataResponsePtr and SystemDataResponsePtrOutput values. +// You can construct a concrete instance of `SystemDataResponsePtrInput` via: +// +// SystemDataResponseArgs{...} +// +// or: +// +// nil +type SystemDataResponsePtrInput interface { + pulumi.Input + + ToSystemDataResponsePtrOutput() SystemDataResponsePtrOutput + ToSystemDataResponsePtrOutputWithContext(context.Context) SystemDataResponsePtrOutput +} + +type systemDataResponsePtrType SystemDataResponseArgs + +func SystemDataResponsePtr(v *SystemDataResponseArgs) SystemDataResponsePtrInput { + return (*systemDataResponsePtrType)(v) +} + +func (*systemDataResponsePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SystemDataResponse)(nil)).Elem() +} + +func (i *systemDataResponsePtrType) ToSystemDataResponsePtrOutput() SystemDataResponsePtrOutput { + return i.ToSystemDataResponsePtrOutputWithContext(context.Background()) +} + +func (i *systemDataResponsePtrType) ToSystemDataResponsePtrOutputWithContext(ctx context.Context) SystemDataResponsePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SystemDataResponsePtrOutput) +} + +// Metadata pertaining to creation and last modification of the resource. +type SystemDataResponseOutput struct{ *pulumi.OutputState } + +func (SystemDataResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SystemDataResponse)(nil)).Elem() +} + +func (o SystemDataResponseOutput) ToSystemDataResponseOutput() SystemDataResponseOutput { + return o +} + +func (o SystemDataResponseOutput) ToSystemDataResponseOutputWithContext(ctx context.Context) SystemDataResponseOutput { + return o +} + +func (o SystemDataResponseOutput) ToSystemDataResponsePtrOutput() SystemDataResponsePtrOutput { + return o.ToSystemDataResponsePtrOutputWithContext(context.Background()) +} + +func (o SystemDataResponseOutput) ToSystemDataResponsePtrOutputWithContext(ctx context.Context) SystemDataResponsePtrOutput { + return o.ApplyT(func(v SystemDataResponse) *SystemDataResponse { + return &v + }).(SystemDataResponsePtrOutput) +} + +// The timestamp of resource creation (UTC). +func (o SystemDataResponseOutput) CreatedAt() pulumi.StringPtrOutput { + return o.ApplyT(func(v SystemDataResponse) *string { return v.CreatedAt }).(pulumi.StringPtrOutput) +} + +// The identity that created the resource. +func (o SystemDataResponseOutput) CreatedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v SystemDataResponse) *string { return v.CreatedBy }).(pulumi.StringPtrOutput) +} + +// The type of identity that created the resource. +func (o SystemDataResponseOutput) CreatedByType() pulumi.StringPtrOutput { + return o.ApplyT(func(v SystemDataResponse) *string { return v.CreatedByType }).(pulumi.StringPtrOutput) +} + +// The type of identity that last modified the resource. +func (o SystemDataResponseOutput) LastModifiedAt() pulumi.StringPtrOutput { + return o.ApplyT(func(v SystemDataResponse) *string { return v.LastModifiedAt }).(pulumi.StringPtrOutput) +} + +// The identity that last modified the resource. +func (o SystemDataResponseOutput) LastModifiedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v SystemDataResponse) *string { return v.LastModifiedBy }).(pulumi.StringPtrOutput) +} + +// The type of identity that last modified the resource. +func (o SystemDataResponseOutput) LastModifiedByType() pulumi.StringPtrOutput { + return o.ApplyT(func(v SystemDataResponse) *string { return v.LastModifiedByType }).(pulumi.StringPtrOutput) +} + +type SystemDataResponsePtrOutput struct{ *pulumi.OutputState } + +func (SystemDataResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SystemDataResponse)(nil)).Elem() +} + +func (o SystemDataResponsePtrOutput) ToSystemDataResponsePtrOutput() SystemDataResponsePtrOutput { + return o +} + +func (o SystemDataResponsePtrOutput) ToSystemDataResponsePtrOutputWithContext(ctx context.Context) SystemDataResponsePtrOutput { + return o +} + +func (o SystemDataResponsePtrOutput) Elem() SystemDataResponseOutput { + return o.ApplyT(func(v *SystemDataResponse) SystemDataResponse { return *v }).(SystemDataResponseOutput) +} + +// The timestamp of resource creation (UTC). +func (o SystemDataResponsePtrOutput) CreatedAt() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SystemDataResponse) *string { + if v == nil { + return nil + } + return v.CreatedAt + }).(pulumi.StringPtrOutput) +} + +// The identity that created the resource. +func (o SystemDataResponsePtrOutput) CreatedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SystemDataResponse) *string { + if v == nil { + return nil + } + return v.CreatedBy + }).(pulumi.StringPtrOutput) +} + +// The type of identity that created the resource. +func (o SystemDataResponsePtrOutput) CreatedByType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SystemDataResponse) *string { + if v == nil { + return nil + } + return v.CreatedByType + }).(pulumi.StringPtrOutput) +} + +// The type of identity that last modified the resource. +func (o SystemDataResponsePtrOutput) LastModifiedAt() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SystemDataResponse) *string { + if v == nil { + return nil + } + return v.LastModifiedAt + }).(pulumi.StringPtrOutput) +} + +// The identity that last modified the resource. +func (o SystemDataResponsePtrOutput) LastModifiedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SystemDataResponse) *string { + if v == nil { + return nil + } + return v.LastModifiedBy + }).(pulumi.StringPtrOutput) +} + +// The type of identity that last modified the resource. +func (o SystemDataResponsePtrOutput) LastModifiedByType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SystemDataResponse) *string { + if v == nil { + return nil + } + return v.LastModifiedByType + }).(pulumi.StringPtrOutput) +} + func init() { pulumi.RegisterOutputType(IdentityOutput{}) pulumi.RegisterOutputType(IdentityPtrOutput{}) pulumi.RegisterOutputType(IdentityResponseOutput{}) pulumi.RegisterOutputType(IdentityResponsePtrOutput{}) + pulumi.RegisterOutputType(SkuOutput{}) + pulumi.RegisterOutputType(SkuPtrOutput{}) + pulumi.RegisterOutputType(SkuResponseOutput{}) + pulumi.RegisterOutputType(SkuResponsePtrOutput{}) + pulumi.RegisterOutputType(SystemDataResponseOutput{}) + pulumi.RegisterOutputType(SystemDataResponsePtrOutput{}) } diff --git a/sdk/go/azure/mixedreality/latest/remoteRenderingAccount.go b/sdk/go/azure/mixedreality/latest/remoteRenderingAccount.go new file mode 100644 index 000000000000..1bfa3fe54748 --- /dev/null +++ b/sdk/go/azure/mixedreality/latest/remoteRenderingAccount.go @@ -0,0 +1,226 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package latest + +import ( + "context" + "reflect" + + "github.com/pkg/errors" + "github.com/pulumi/pulumi/sdk/v2/go/pulumi" +) + +// RemoteRenderingAccount Response. +// Latest API Version: 2021-01-01. +type RemoteRenderingAccount struct { + pulumi.CustomResourceState + + // Correspond domain name of certain Spatial Anchors Account + AccountDomain pulumi.StringOutput `pulumi:"accountDomain"` + // unique id of certain account. + AccountId pulumi.StringOutput `pulumi:"accountId"` + // The identity associated with this account + Identity IdentityResponsePtrOutput `pulumi:"identity"` + // The kind of account, if supported + Kind SkuResponsePtrOutput `pulumi:"kind"` + // The geo-location where the resource lives + Location pulumi.StringOutput `pulumi:"location"` + // The name of the resource + Name pulumi.StringOutput `pulumi:"name"` + // The plan associated with this account + Plan IdentityResponsePtrOutput `pulumi:"plan"` + // The sku associated with this account + Sku SkuResponsePtrOutput `pulumi:"sku"` + // System metadata for this account + SystemData SystemDataResponseOutput `pulumi:"systemData"` + // Resource tags. + Tags pulumi.StringMapOutput `pulumi:"tags"` + // The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + Type pulumi.StringOutput `pulumi:"type"` +} + +// NewRemoteRenderingAccount registers a new resource with the given unique name, arguments, and options. +func NewRemoteRenderingAccount(ctx *pulumi.Context, + name string, args *RemoteRenderingAccountArgs, opts ...pulumi.ResourceOption) (*RemoteRenderingAccount, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.AccountName == nil { + return nil, errors.New("invalid value for required argument 'AccountName'") + } + if args.Location == nil { + return nil, errors.New("invalid value for required argument 'Location'") + } + if args.ResourceGroupName == nil { + return nil, errors.New("invalid value for required argument 'ResourceGroupName'") + } + aliases := pulumi.Aliases([]pulumi.Alias{ + { + Type: pulumi.String("azure-nextgen:mixedreality/v20191202preview:RemoteRenderingAccount"), + }, + { + Type: pulumi.String("azure-nextgen:mixedreality/v20200406preview:RemoteRenderingAccount"), + }, + { + Type: pulumi.String("azure-nextgen:mixedreality/v20210101:RemoteRenderingAccount"), + }, + }) + opts = append(opts, aliases) + var resource RemoteRenderingAccount + err := ctx.RegisterResource("azure-nextgen:mixedreality/latest:RemoteRenderingAccount", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetRemoteRenderingAccount gets an existing RemoteRenderingAccount resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetRemoteRenderingAccount(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *RemoteRenderingAccountState, opts ...pulumi.ResourceOption) (*RemoteRenderingAccount, error) { + var resource RemoteRenderingAccount + err := ctx.ReadResource("azure-nextgen:mixedreality/latest:RemoteRenderingAccount", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering RemoteRenderingAccount resources. +type remoteRenderingAccountState struct { + // Correspond domain name of certain Spatial Anchors Account + AccountDomain *string `pulumi:"accountDomain"` + // unique id of certain account. + AccountId *string `pulumi:"accountId"` + // The identity associated with this account + Identity *IdentityResponse `pulumi:"identity"` + // The kind of account, if supported + Kind *SkuResponse `pulumi:"kind"` + // The geo-location where the resource lives + Location *string `pulumi:"location"` + // The name of the resource + Name *string `pulumi:"name"` + // The plan associated with this account + Plan *IdentityResponse `pulumi:"plan"` + // The sku associated with this account + Sku *SkuResponse `pulumi:"sku"` + // System metadata for this account + SystemData *SystemDataResponse `pulumi:"systemData"` + // Resource tags. + Tags map[string]string `pulumi:"tags"` + // The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + Type *string `pulumi:"type"` +} + +type RemoteRenderingAccountState struct { + // Correspond domain name of certain Spatial Anchors Account + AccountDomain pulumi.StringPtrInput + // unique id of certain account. + AccountId pulumi.StringPtrInput + // The identity associated with this account + Identity IdentityResponsePtrInput + // The kind of account, if supported + Kind SkuResponsePtrInput + // The geo-location where the resource lives + Location pulumi.StringPtrInput + // The name of the resource + Name pulumi.StringPtrInput + // The plan associated with this account + Plan IdentityResponsePtrInput + // The sku associated with this account + Sku SkuResponsePtrInput + // System metadata for this account + SystemData SystemDataResponsePtrInput + // Resource tags. + Tags pulumi.StringMapInput + // The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + Type pulumi.StringPtrInput +} + +func (RemoteRenderingAccountState) ElementType() reflect.Type { + return reflect.TypeOf((*remoteRenderingAccountState)(nil)).Elem() +} + +type remoteRenderingAccountArgs struct { + // Name of an Mixed Reality Account. + AccountName string `pulumi:"accountName"` + // The identity associated with this account + Identity *Identity `pulumi:"identity"` + // The kind of account, if supported + Kind *Sku `pulumi:"kind"` + // The geo-location where the resource lives + Location string `pulumi:"location"` + // The plan associated with this account + Plan *Identity `pulumi:"plan"` + // Name of an Azure resource group. + ResourceGroupName string `pulumi:"resourceGroupName"` + // The sku associated with this account + Sku *Sku `pulumi:"sku"` + // Resource tags. + Tags map[string]string `pulumi:"tags"` +} + +// The set of arguments for constructing a RemoteRenderingAccount resource. +type RemoteRenderingAccountArgs struct { + // Name of an Mixed Reality Account. + AccountName pulumi.StringInput + // The identity associated with this account + Identity IdentityPtrInput + // The kind of account, if supported + Kind SkuPtrInput + // The geo-location where the resource lives + Location pulumi.StringInput + // The plan associated with this account + Plan IdentityPtrInput + // Name of an Azure resource group. + ResourceGroupName pulumi.StringInput + // The sku associated with this account + Sku SkuPtrInput + // Resource tags. + Tags pulumi.StringMapInput +} + +func (RemoteRenderingAccountArgs) ElementType() reflect.Type { + return reflect.TypeOf((*remoteRenderingAccountArgs)(nil)).Elem() +} + +type RemoteRenderingAccountInput interface { + pulumi.Input + + ToRemoteRenderingAccountOutput() RemoteRenderingAccountOutput + ToRemoteRenderingAccountOutputWithContext(ctx context.Context) RemoteRenderingAccountOutput +} + +func (*RemoteRenderingAccount) ElementType() reflect.Type { + return reflect.TypeOf((*RemoteRenderingAccount)(nil)) +} + +func (i *RemoteRenderingAccount) ToRemoteRenderingAccountOutput() RemoteRenderingAccountOutput { + return i.ToRemoteRenderingAccountOutputWithContext(context.Background()) +} + +func (i *RemoteRenderingAccount) ToRemoteRenderingAccountOutputWithContext(ctx context.Context) RemoteRenderingAccountOutput { + return pulumi.ToOutputWithContext(ctx, i).(RemoteRenderingAccountOutput) +} + +type RemoteRenderingAccountOutput struct { + *pulumi.OutputState +} + +func (RemoteRenderingAccountOutput) ElementType() reflect.Type { + return reflect.TypeOf((*RemoteRenderingAccount)(nil)) +} + +func (o RemoteRenderingAccountOutput) ToRemoteRenderingAccountOutput() RemoteRenderingAccountOutput { + return o +} + +func (o RemoteRenderingAccountOutput) ToRemoteRenderingAccountOutputWithContext(ctx context.Context) RemoteRenderingAccountOutput { + return o +} + +func init() { + pulumi.RegisterOutputType(RemoteRenderingAccountOutput{}) +} diff --git a/sdk/go/azure/mixedreality/latest/spatialAnchorsAccount.go b/sdk/go/azure/mixedreality/latest/spatialAnchorsAccount.go index e984f0260ac6..f9aed4ca3298 100644 --- a/sdk/go/azure/mixedreality/latest/spatialAnchorsAccount.go +++ b/sdk/go/azure/mixedreality/latest/spatialAnchorsAccount.go @@ -12,7 +12,7 @@ import ( ) // SpatialAnchorsAccount Response. -// Latest API Version: 2020-05-01. +// Latest API Version: 2021-01-01. type SpatialAnchorsAccount struct { pulumi.CustomResourceState @@ -22,10 +22,18 @@ type SpatialAnchorsAccount struct { AccountId pulumi.StringOutput `pulumi:"accountId"` // The identity associated with this account Identity IdentityResponsePtrOutput `pulumi:"identity"` + // The kind of account, if supported + Kind SkuResponsePtrOutput `pulumi:"kind"` // The geo-location where the resource lives Location pulumi.StringOutput `pulumi:"location"` // The name of the resource Name pulumi.StringOutput `pulumi:"name"` + // The plan associated with this account + Plan IdentityResponsePtrOutput `pulumi:"plan"` + // The sku associated with this account + Sku SkuResponsePtrOutput `pulumi:"sku"` + // System metadata for this account + SystemData SystemDataResponseOutput `pulumi:"systemData"` // Resource tags. Tags pulumi.StringMapOutput `pulumi:"tags"` // The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" @@ -58,6 +66,9 @@ func NewSpatialAnchorsAccount(ctx *pulumi.Context, { Type: pulumi.String("azure-nextgen:mixedreality/v20200501:SpatialAnchorsAccount"), }, + { + Type: pulumi.String("azure-nextgen:mixedreality/v20210101:SpatialAnchorsAccount"), + }, }) opts = append(opts, aliases) var resource SpatialAnchorsAccount @@ -88,10 +99,18 @@ type spatialAnchorsAccountState struct { AccountId *string `pulumi:"accountId"` // The identity associated with this account Identity *IdentityResponse `pulumi:"identity"` + // The kind of account, if supported + Kind *SkuResponse `pulumi:"kind"` // The geo-location where the resource lives Location *string `pulumi:"location"` // The name of the resource Name *string `pulumi:"name"` + // The plan associated with this account + Plan *IdentityResponse `pulumi:"plan"` + // The sku associated with this account + Sku *SkuResponse `pulumi:"sku"` + // System metadata for this account + SystemData *SystemDataResponse `pulumi:"systemData"` // Resource tags. Tags map[string]string `pulumi:"tags"` // The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" @@ -105,10 +124,18 @@ type SpatialAnchorsAccountState struct { AccountId pulumi.StringPtrInput // The identity associated with this account Identity IdentityResponsePtrInput + // The kind of account, if supported + Kind SkuResponsePtrInput // The geo-location where the resource lives Location pulumi.StringPtrInput // The name of the resource Name pulumi.StringPtrInput + // The plan associated with this account + Plan IdentityResponsePtrInput + // The sku associated with this account + Sku SkuResponsePtrInput + // System metadata for this account + SystemData SystemDataResponsePtrInput // Resource tags. Tags pulumi.StringMapInput // The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" @@ -124,10 +151,16 @@ type spatialAnchorsAccountArgs struct { AccountName string `pulumi:"accountName"` // The identity associated with this account Identity *Identity `pulumi:"identity"` + // The kind of account, if supported + Kind *Sku `pulumi:"kind"` // The geo-location where the resource lives Location string `pulumi:"location"` + // The plan associated with this account + Plan *Identity `pulumi:"plan"` // Name of an Azure resource group. ResourceGroupName string `pulumi:"resourceGroupName"` + // The sku associated with this account + Sku *Sku `pulumi:"sku"` // Resource tags. Tags map[string]string `pulumi:"tags"` } @@ -138,10 +171,16 @@ type SpatialAnchorsAccountArgs struct { AccountName pulumi.StringInput // The identity associated with this account Identity IdentityPtrInput + // The kind of account, if supported + Kind SkuPtrInput // The geo-location where the resource lives Location pulumi.StringInput + // The plan associated with this account + Plan IdentityPtrInput // Name of an Azure resource group. ResourceGroupName pulumi.StringInput + // The sku associated with this account + Sku SkuPtrInput // Resource tags. Tags pulumi.StringMapInput } diff --git a/sdk/go/azure/mixedreality/v20190228preview/spatialAnchorsAccount.go b/sdk/go/azure/mixedreality/v20190228preview/spatialAnchorsAccount.go index 54d6ff2c12d6..40c201d0e99e 100644 --- a/sdk/go/azure/mixedreality/v20190228preview/spatialAnchorsAccount.go +++ b/sdk/go/azure/mixedreality/v20190228preview/spatialAnchorsAccount.go @@ -57,6 +57,9 @@ func NewSpatialAnchorsAccount(ctx *pulumi.Context, { Type: pulumi.String("azure-nextgen:mixedreality/v20200501:SpatialAnchorsAccount"), }, + { + Type: pulumi.String("azure-nextgen:mixedreality/v20210101:SpatialAnchorsAccount"), + }, }) opts = append(opts, aliases) var resource SpatialAnchorsAccount diff --git a/sdk/go/azure/mixedreality/v20191202preview/remoteRenderingAccount.go b/sdk/go/azure/mixedreality/v20191202preview/remoteRenderingAccount.go index 10974da62db7..752e9570f9b1 100644 --- a/sdk/go/azure/mixedreality/v20191202preview/remoteRenderingAccount.go +++ b/sdk/go/azure/mixedreality/v20191202preview/remoteRenderingAccount.go @@ -48,9 +48,15 @@ func NewRemoteRenderingAccount(ctx *pulumi.Context, return nil, errors.New("invalid value for required argument 'ResourceGroupName'") } aliases := pulumi.Aliases([]pulumi.Alias{ + { + Type: pulumi.String("azure-nextgen:mixedreality/latest:RemoteRenderingAccount"), + }, { Type: pulumi.String("azure-nextgen:mixedreality/v20200406preview:RemoteRenderingAccount"), }, + { + Type: pulumi.String("azure-nextgen:mixedreality/v20210101:RemoteRenderingAccount"), + }, }) opts = append(opts, aliases) var resource RemoteRenderingAccount diff --git a/sdk/go/azure/mixedreality/v20191202preview/spatialAnchorsAccount.go b/sdk/go/azure/mixedreality/v20191202preview/spatialAnchorsAccount.go index 223064b90dc1..db88403c992b 100644 --- a/sdk/go/azure/mixedreality/v20191202preview/spatialAnchorsAccount.go +++ b/sdk/go/azure/mixedreality/v20191202preview/spatialAnchorsAccount.go @@ -57,6 +57,9 @@ func NewSpatialAnchorsAccount(ctx *pulumi.Context, { Type: pulumi.String("azure-nextgen:mixedreality/v20200501:SpatialAnchorsAccount"), }, + { + Type: pulumi.String("azure-nextgen:mixedreality/v20210101:SpatialAnchorsAccount"), + }, }) opts = append(opts, aliases) var resource SpatialAnchorsAccount diff --git a/sdk/go/azure/mixedreality/v20200406preview/remoteRenderingAccount.go b/sdk/go/azure/mixedreality/v20200406preview/remoteRenderingAccount.go index 2b06a016f58a..c62257df23a7 100644 --- a/sdk/go/azure/mixedreality/v20200406preview/remoteRenderingAccount.go +++ b/sdk/go/azure/mixedreality/v20200406preview/remoteRenderingAccount.go @@ -47,9 +47,15 @@ func NewRemoteRenderingAccount(ctx *pulumi.Context, return nil, errors.New("invalid value for required argument 'ResourceGroupName'") } aliases := pulumi.Aliases([]pulumi.Alias{ + { + Type: pulumi.String("azure-nextgen:mixedreality/latest:RemoteRenderingAccount"), + }, { Type: pulumi.String("azure-nextgen:mixedreality/v20191202preview:RemoteRenderingAccount"), }, + { + Type: pulumi.String("azure-nextgen:mixedreality/v20210101:RemoteRenderingAccount"), + }, }) opts = append(opts, aliases) var resource RemoteRenderingAccount diff --git a/sdk/go/azure/mixedreality/v20200501/spatialAnchorsAccount.go b/sdk/go/azure/mixedreality/v20200501/spatialAnchorsAccount.go index e3ff109d9731..affc8e525f61 100644 --- a/sdk/go/azure/mixedreality/v20200501/spatialAnchorsAccount.go +++ b/sdk/go/azure/mixedreality/v20200501/spatialAnchorsAccount.go @@ -57,6 +57,9 @@ func NewSpatialAnchorsAccount(ctx *pulumi.Context, { Type: pulumi.String("azure-nextgen:mixedreality/v20191202preview:SpatialAnchorsAccount"), }, + { + Type: pulumi.String("azure-nextgen:mixedreality/v20210101:SpatialAnchorsAccount"), + }, }) opts = append(opts, aliases) var resource SpatialAnchorsAccount diff --git a/sdk/go/azure/mixedreality/v20210101/getRemoteRenderingAccount.go b/sdk/go/azure/mixedreality/v20210101/getRemoteRenderingAccount.go new file mode 100644 index 000000000000..9da3c9b4883b --- /dev/null +++ b/sdk/go/azure/mixedreality/v20210101/getRemoteRenderingAccount.go @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package v20210101 + +import ( + "github.com/pulumi/pulumi/sdk/v2/go/pulumi" +) + +func LookupRemoteRenderingAccount(ctx *pulumi.Context, args *LookupRemoteRenderingAccountArgs, opts ...pulumi.InvokeOption) (*LookupRemoteRenderingAccountResult, error) { + var rv LookupRemoteRenderingAccountResult + err := ctx.Invoke("azure-nextgen:mixedreality/v20210101:getRemoteRenderingAccount", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +type LookupRemoteRenderingAccountArgs struct { + // Name of an Mixed Reality Account. + AccountName string `pulumi:"accountName"` + // Name of an Azure resource group. + ResourceGroupName string `pulumi:"resourceGroupName"` +} + +// RemoteRenderingAccount Response. +type LookupRemoteRenderingAccountResult struct { + // Correspond domain name of certain Spatial Anchors Account + AccountDomain string `pulumi:"accountDomain"` + // unique id of certain account. + AccountId string `pulumi:"accountId"` + // Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + Id string `pulumi:"id"` + // The identity associated with this account + Identity *IdentityResponse `pulumi:"identity"` + // The kind of account, if supported + Kind *SkuResponse `pulumi:"kind"` + // The geo-location where the resource lives + Location string `pulumi:"location"` + // The name of the resource + Name string `pulumi:"name"` + // The plan associated with this account + Plan *IdentityResponse `pulumi:"plan"` + // The sku associated with this account + Sku *SkuResponse `pulumi:"sku"` + // System metadata for this account + SystemData SystemDataResponse `pulumi:"systemData"` + // Resource tags. + Tags map[string]string `pulumi:"tags"` + // The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + Type string `pulumi:"type"` +} diff --git a/sdk/go/azure/mixedreality/v20210101/getSpatialAnchorsAccount.go b/sdk/go/azure/mixedreality/v20210101/getSpatialAnchorsAccount.go new file mode 100644 index 000000000000..7c57ca41c6bb --- /dev/null +++ b/sdk/go/azure/mixedreality/v20210101/getSpatialAnchorsAccount.go @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package v20210101 + +import ( + "github.com/pulumi/pulumi/sdk/v2/go/pulumi" +) + +func LookupSpatialAnchorsAccount(ctx *pulumi.Context, args *LookupSpatialAnchorsAccountArgs, opts ...pulumi.InvokeOption) (*LookupSpatialAnchorsAccountResult, error) { + var rv LookupSpatialAnchorsAccountResult + err := ctx.Invoke("azure-nextgen:mixedreality/v20210101:getSpatialAnchorsAccount", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +type LookupSpatialAnchorsAccountArgs struct { + // Name of an Mixed Reality Account. + AccountName string `pulumi:"accountName"` + // Name of an Azure resource group. + ResourceGroupName string `pulumi:"resourceGroupName"` +} + +// SpatialAnchorsAccount Response. +type LookupSpatialAnchorsAccountResult struct { + // Correspond domain name of certain Spatial Anchors Account + AccountDomain string `pulumi:"accountDomain"` + // unique id of certain account. + AccountId string `pulumi:"accountId"` + // Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + Id string `pulumi:"id"` + // The identity associated with this account + Identity *IdentityResponse `pulumi:"identity"` + // The kind of account, if supported + Kind *SkuResponse `pulumi:"kind"` + // The geo-location where the resource lives + Location string `pulumi:"location"` + // The name of the resource + Name string `pulumi:"name"` + // The plan associated with this account + Plan *IdentityResponse `pulumi:"plan"` + // The sku associated with this account + Sku *SkuResponse `pulumi:"sku"` + // System metadata for this account + SystemData SystemDataResponse `pulumi:"systemData"` + // Resource tags. + Tags map[string]string `pulumi:"tags"` + // The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + Type string `pulumi:"type"` +} diff --git a/sdk/go/azure/mixedreality/v20210101/listRemoteRenderingAccountKeys.go b/sdk/go/azure/mixedreality/v20210101/listRemoteRenderingAccountKeys.go new file mode 100644 index 000000000000..4d367337ab12 --- /dev/null +++ b/sdk/go/azure/mixedreality/v20210101/listRemoteRenderingAccountKeys.go @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package v20210101 + +import ( + "github.com/pulumi/pulumi/sdk/v2/go/pulumi" +) + +func ListRemoteRenderingAccountKeys(ctx *pulumi.Context, args *ListRemoteRenderingAccountKeysArgs, opts ...pulumi.InvokeOption) (*ListRemoteRenderingAccountKeysResult, error) { + var rv ListRemoteRenderingAccountKeysResult + err := ctx.Invoke("azure-nextgen:mixedreality/v20210101:listRemoteRenderingAccountKeys", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +type ListRemoteRenderingAccountKeysArgs struct { + // Name of an Mixed Reality Account. + AccountName string `pulumi:"accountName"` + // Name of an Azure resource group. + ResourceGroupName string `pulumi:"resourceGroupName"` +} + +// Developer Keys of account +type ListRemoteRenderingAccountKeysResult struct { + // value of primary key. + PrimaryKey string `pulumi:"primaryKey"` + // value of secondary key. + SecondaryKey string `pulumi:"secondaryKey"` +} diff --git a/sdk/go/azure/mixedreality/v20210101/listSpatialAnchorsAccountKeys.go b/sdk/go/azure/mixedreality/v20210101/listSpatialAnchorsAccountKeys.go new file mode 100644 index 000000000000..3063edee53ba --- /dev/null +++ b/sdk/go/azure/mixedreality/v20210101/listSpatialAnchorsAccountKeys.go @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package v20210101 + +import ( + "github.com/pulumi/pulumi/sdk/v2/go/pulumi" +) + +func ListSpatialAnchorsAccountKeys(ctx *pulumi.Context, args *ListSpatialAnchorsAccountKeysArgs, opts ...pulumi.InvokeOption) (*ListSpatialAnchorsAccountKeysResult, error) { + var rv ListSpatialAnchorsAccountKeysResult + err := ctx.Invoke("azure-nextgen:mixedreality/v20210101:listSpatialAnchorsAccountKeys", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +type ListSpatialAnchorsAccountKeysArgs struct { + // Name of an Mixed Reality Account. + AccountName string `pulumi:"accountName"` + // Name of an Azure resource group. + ResourceGroupName string `pulumi:"resourceGroupName"` +} + +// Developer Keys of account +type ListSpatialAnchorsAccountKeysResult struct { + // value of primary key. + PrimaryKey string `pulumi:"primaryKey"` + // value of secondary key. + SecondaryKey string `pulumi:"secondaryKey"` +} diff --git a/sdk/go/azure/mixedreality/v20210101/pulumiEnums.go b/sdk/go/azure/mixedreality/v20210101/pulumiEnums.go new file mode 100644 index 000000000000..c3eb87d4733e --- /dev/null +++ b/sdk/go/azure/mixedreality/v20210101/pulumiEnums.go @@ -0,0 +1,68 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package v20210101 + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi/sdk/v2/go/pulumi" +) + +// The identity type. +type ResourceIdentityType pulumi.String + +const ( + ResourceIdentityTypeSystemAssigned = ResourceIdentityType("SystemAssigned") +) + +func (ResourceIdentityType) ElementType() reflect.Type { + return reflect.TypeOf((*pulumi.String)(nil)).Elem() +} + +func (e ResourceIdentityType) ToStringOutput() pulumi.StringOutput { + return pulumi.ToOutput(pulumi.String(e)).(pulumi.StringOutput) +} + +func (e ResourceIdentityType) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput { + return pulumi.ToOutputWithContext(ctx, pulumi.String(e)).(pulumi.StringOutput) +} + +func (e ResourceIdentityType) ToStringPtrOutput() pulumi.StringPtrOutput { + return pulumi.String(e).ToStringPtrOutputWithContext(context.Background()) +} + +func (e ResourceIdentityType) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput { + return pulumi.String(e).ToStringOutputWithContext(ctx).ToStringPtrOutputWithContext(ctx) +} + +// This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. +type SkuTier pulumi.String + +const ( + SkuTierFree = SkuTier("Free") + SkuTierBasic = SkuTier("Basic") + SkuTierStandard = SkuTier("Standard") + SkuTierPremium = SkuTier("Premium") +) + +func (SkuTier) ElementType() reflect.Type { + return reflect.TypeOf((*pulumi.String)(nil)).Elem() +} + +func (e SkuTier) ToStringOutput() pulumi.StringOutput { + return pulumi.ToOutput(pulumi.String(e)).(pulumi.StringOutput) +} + +func (e SkuTier) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput { + return pulumi.ToOutputWithContext(ctx, pulumi.String(e)).(pulumi.StringOutput) +} + +func (e SkuTier) ToStringPtrOutput() pulumi.StringPtrOutput { + return pulumi.String(e).ToStringPtrOutputWithContext(context.Background()) +} + +func (e SkuTier) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput { + return pulumi.String(e).ToStringOutputWithContext(ctx).ToStringPtrOutputWithContext(ctx) +} diff --git a/sdk/go/azure/mixedreality/v20210101/pulumiTypes.go b/sdk/go/azure/mixedreality/v20210101/pulumiTypes.go new file mode 100644 index 000000000000..c5e91312cbd0 --- /dev/null +++ b/sdk/go/azure/mixedreality/v20210101/pulumiTypes.go @@ -0,0 +1,979 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package v20210101 + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi/sdk/v2/go/pulumi" +) + +// Identity for the resource. +type Identity struct { + // The identity type. + Type *string `pulumi:"type"` +} + +// IdentityInput is an input type that accepts IdentityArgs and IdentityOutput values. +// You can construct a concrete instance of `IdentityInput` via: +// +// IdentityArgs{...} +type IdentityInput interface { + pulumi.Input + + ToIdentityOutput() IdentityOutput + ToIdentityOutputWithContext(context.Context) IdentityOutput +} + +// Identity for the resource. +type IdentityArgs struct { + // The identity type. + Type ResourceIdentityType `pulumi:"type"` +} + +func (IdentityArgs) ElementType() reflect.Type { + return reflect.TypeOf((*Identity)(nil)).Elem() +} + +func (i IdentityArgs) ToIdentityOutput() IdentityOutput { + return i.ToIdentityOutputWithContext(context.Background()) +} + +func (i IdentityArgs) ToIdentityOutputWithContext(ctx context.Context) IdentityOutput { + return pulumi.ToOutputWithContext(ctx, i).(IdentityOutput) +} + +func (i IdentityArgs) ToIdentityPtrOutput() IdentityPtrOutput { + return i.ToIdentityPtrOutputWithContext(context.Background()) +} + +func (i IdentityArgs) ToIdentityPtrOutputWithContext(ctx context.Context) IdentityPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(IdentityOutput).ToIdentityPtrOutputWithContext(ctx) +} + +// IdentityPtrInput is an input type that accepts IdentityArgs, IdentityPtr and IdentityPtrOutput values. +// You can construct a concrete instance of `IdentityPtrInput` via: +// +// IdentityArgs{...} +// +// or: +// +// nil +type IdentityPtrInput interface { + pulumi.Input + + ToIdentityPtrOutput() IdentityPtrOutput + ToIdentityPtrOutputWithContext(context.Context) IdentityPtrOutput +} + +type identityPtrType IdentityArgs + +func IdentityPtr(v *IdentityArgs) IdentityPtrInput { + return (*identityPtrType)(v) +} + +func (*identityPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**Identity)(nil)).Elem() +} + +func (i *identityPtrType) ToIdentityPtrOutput() IdentityPtrOutput { + return i.ToIdentityPtrOutputWithContext(context.Background()) +} + +func (i *identityPtrType) ToIdentityPtrOutputWithContext(ctx context.Context) IdentityPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(IdentityPtrOutput) +} + +// Identity for the resource. +type IdentityOutput struct{ *pulumi.OutputState } + +func (IdentityOutput) ElementType() reflect.Type { + return reflect.TypeOf((*Identity)(nil)).Elem() +} + +func (o IdentityOutput) ToIdentityOutput() IdentityOutput { + return o +} + +func (o IdentityOutput) ToIdentityOutputWithContext(ctx context.Context) IdentityOutput { + return o +} + +func (o IdentityOutput) ToIdentityPtrOutput() IdentityPtrOutput { + return o.ToIdentityPtrOutputWithContext(context.Background()) +} + +func (o IdentityOutput) ToIdentityPtrOutputWithContext(ctx context.Context) IdentityPtrOutput { + return o.ApplyT(func(v Identity) *Identity { + return &v + }).(IdentityPtrOutput) +} + +// The identity type. +func (o IdentityOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v Identity) *string { return v.Type }).(pulumi.StringPtrOutput) +} + +type IdentityPtrOutput struct{ *pulumi.OutputState } + +func (IdentityPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**Identity)(nil)).Elem() +} + +func (o IdentityPtrOutput) ToIdentityPtrOutput() IdentityPtrOutput { + return o +} + +func (o IdentityPtrOutput) ToIdentityPtrOutputWithContext(ctx context.Context) IdentityPtrOutput { + return o +} + +func (o IdentityPtrOutput) Elem() IdentityOutput { + return o.ApplyT(func(v *Identity) Identity { return *v }).(IdentityOutput) +} + +// The identity type. +func (o IdentityPtrOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Identity) *string { + if v == nil { + return nil + } + return v.Type + }).(pulumi.StringPtrOutput) +} + +// Identity for the resource. +type IdentityResponse struct { + // The principal ID of resource identity. + PrincipalId string `pulumi:"principalId"` + // The tenant ID of resource. + TenantId string `pulumi:"tenantId"` + // The identity type. + Type *string `pulumi:"type"` +} + +// IdentityResponseInput is an input type that accepts IdentityResponseArgs and IdentityResponseOutput values. +// You can construct a concrete instance of `IdentityResponseInput` via: +// +// IdentityResponseArgs{...} +type IdentityResponseInput interface { + pulumi.Input + + ToIdentityResponseOutput() IdentityResponseOutput + ToIdentityResponseOutputWithContext(context.Context) IdentityResponseOutput +} + +// Identity for the resource. +type IdentityResponseArgs struct { + // The principal ID of resource identity. + PrincipalId pulumi.StringInput `pulumi:"principalId"` + // The tenant ID of resource. + TenantId pulumi.StringInput `pulumi:"tenantId"` + // The identity type. + Type pulumi.StringPtrInput `pulumi:"type"` +} + +func (IdentityResponseArgs) ElementType() reflect.Type { + return reflect.TypeOf((*IdentityResponse)(nil)).Elem() +} + +func (i IdentityResponseArgs) ToIdentityResponseOutput() IdentityResponseOutput { + return i.ToIdentityResponseOutputWithContext(context.Background()) +} + +func (i IdentityResponseArgs) ToIdentityResponseOutputWithContext(ctx context.Context) IdentityResponseOutput { + return pulumi.ToOutputWithContext(ctx, i).(IdentityResponseOutput) +} + +func (i IdentityResponseArgs) ToIdentityResponsePtrOutput() IdentityResponsePtrOutput { + return i.ToIdentityResponsePtrOutputWithContext(context.Background()) +} + +func (i IdentityResponseArgs) ToIdentityResponsePtrOutputWithContext(ctx context.Context) IdentityResponsePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(IdentityResponseOutput).ToIdentityResponsePtrOutputWithContext(ctx) +} + +// IdentityResponsePtrInput is an input type that accepts IdentityResponseArgs, IdentityResponsePtr and IdentityResponsePtrOutput values. +// You can construct a concrete instance of `IdentityResponsePtrInput` via: +// +// IdentityResponseArgs{...} +// +// or: +// +// nil +type IdentityResponsePtrInput interface { + pulumi.Input + + ToIdentityResponsePtrOutput() IdentityResponsePtrOutput + ToIdentityResponsePtrOutputWithContext(context.Context) IdentityResponsePtrOutput +} + +type identityResponsePtrType IdentityResponseArgs + +func IdentityResponsePtr(v *IdentityResponseArgs) IdentityResponsePtrInput { + return (*identityResponsePtrType)(v) +} + +func (*identityResponsePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**IdentityResponse)(nil)).Elem() +} + +func (i *identityResponsePtrType) ToIdentityResponsePtrOutput() IdentityResponsePtrOutput { + return i.ToIdentityResponsePtrOutputWithContext(context.Background()) +} + +func (i *identityResponsePtrType) ToIdentityResponsePtrOutputWithContext(ctx context.Context) IdentityResponsePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(IdentityResponsePtrOutput) +} + +// Identity for the resource. +type IdentityResponseOutput struct{ *pulumi.OutputState } + +func (IdentityResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*IdentityResponse)(nil)).Elem() +} + +func (o IdentityResponseOutput) ToIdentityResponseOutput() IdentityResponseOutput { + return o +} + +func (o IdentityResponseOutput) ToIdentityResponseOutputWithContext(ctx context.Context) IdentityResponseOutput { + return o +} + +func (o IdentityResponseOutput) ToIdentityResponsePtrOutput() IdentityResponsePtrOutput { + return o.ToIdentityResponsePtrOutputWithContext(context.Background()) +} + +func (o IdentityResponseOutput) ToIdentityResponsePtrOutputWithContext(ctx context.Context) IdentityResponsePtrOutput { + return o.ApplyT(func(v IdentityResponse) *IdentityResponse { + return &v + }).(IdentityResponsePtrOutput) +} + +// The principal ID of resource identity. +func (o IdentityResponseOutput) PrincipalId() pulumi.StringOutput { + return o.ApplyT(func(v IdentityResponse) string { return v.PrincipalId }).(pulumi.StringOutput) +} + +// The tenant ID of resource. +func (o IdentityResponseOutput) TenantId() pulumi.StringOutput { + return o.ApplyT(func(v IdentityResponse) string { return v.TenantId }).(pulumi.StringOutput) +} + +// The identity type. +func (o IdentityResponseOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v IdentityResponse) *string { return v.Type }).(pulumi.StringPtrOutput) +} + +type IdentityResponsePtrOutput struct{ *pulumi.OutputState } + +func (IdentityResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**IdentityResponse)(nil)).Elem() +} + +func (o IdentityResponsePtrOutput) ToIdentityResponsePtrOutput() IdentityResponsePtrOutput { + return o +} + +func (o IdentityResponsePtrOutput) ToIdentityResponsePtrOutputWithContext(ctx context.Context) IdentityResponsePtrOutput { + return o +} + +func (o IdentityResponsePtrOutput) Elem() IdentityResponseOutput { + return o.ApplyT(func(v *IdentityResponse) IdentityResponse { return *v }).(IdentityResponseOutput) +} + +// The principal ID of resource identity. +func (o IdentityResponsePtrOutput) PrincipalId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *IdentityResponse) *string { + if v == nil { + return nil + } + return &v.PrincipalId + }).(pulumi.StringPtrOutput) +} + +// The tenant ID of resource. +func (o IdentityResponsePtrOutput) TenantId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *IdentityResponse) *string { + if v == nil { + return nil + } + return &v.TenantId + }).(pulumi.StringPtrOutput) +} + +// The identity type. +func (o IdentityResponsePtrOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v *IdentityResponse) *string { + if v == nil { + return nil + } + return v.Type + }).(pulumi.StringPtrOutput) +} + +// The resource model definition representing SKU +type Sku struct { + // If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. + Capacity *int `pulumi:"capacity"` + // If the service has different generations of hardware, for the same SKU, then that can be captured here. + Family *string `pulumi:"family"` + // The name of the SKU. Ex - P3. It is typically a letter+number code + Name string `pulumi:"name"` + // The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. + Size *string `pulumi:"size"` + // This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. + Tier *string `pulumi:"tier"` +} + +// SkuInput is an input type that accepts SkuArgs and SkuOutput values. +// You can construct a concrete instance of `SkuInput` via: +// +// SkuArgs{...} +type SkuInput interface { + pulumi.Input + + ToSkuOutput() SkuOutput + ToSkuOutputWithContext(context.Context) SkuOutput +} + +// The resource model definition representing SKU +type SkuArgs struct { + // If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. + Capacity pulumi.IntPtrInput `pulumi:"capacity"` + // If the service has different generations of hardware, for the same SKU, then that can be captured here. + Family pulumi.StringPtrInput `pulumi:"family"` + // The name of the SKU. Ex - P3. It is typically a letter+number code + Name pulumi.StringInput `pulumi:"name"` + // The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. + Size pulumi.StringPtrInput `pulumi:"size"` + // This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. + Tier SkuTier `pulumi:"tier"` +} + +func (SkuArgs) ElementType() reflect.Type { + return reflect.TypeOf((*Sku)(nil)).Elem() +} + +func (i SkuArgs) ToSkuOutput() SkuOutput { + return i.ToSkuOutputWithContext(context.Background()) +} + +func (i SkuArgs) ToSkuOutputWithContext(ctx context.Context) SkuOutput { + return pulumi.ToOutputWithContext(ctx, i).(SkuOutput) +} + +func (i SkuArgs) ToSkuPtrOutput() SkuPtrOutput { + return i.ToSkuPtrOutputWithContext(context.Background()) +} + +func (i SkuArgs) ToSkuPtrOutputWithContext(ctx context.Context) SkuPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SkuOutput).ToSkuPtrOutputWithContext(ctx) +} + +// SkuPtrInput is an input type that accepts SkuArgs, SkuPtr and SkuPtrOutput values. +// You can construct a concrete instance of `SkuPtrInput` via: +// +// SkuArgs{...} +// +// or: +// +// nil +type SkuPtrInput interface { + pulumi.Input + + ToSkuPtrOutput() SkuPtrOutput + ToSkuPtrOutputWithContext(context.Context) SkuPtrOutput +} + +type skuPtrType SkuArgs + +func SkuPtr(v *SkuArgs) SkuPtrInput { + return (*skuPtrType)(v) +} + +func (*skuPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**Sku)(nil)).Elem() +} + +func (i *skuPtrType) ToSkuPtrOutput() SkuPtrOutput { + return i.ToSkuPtrOutputWithContext(context.Background()) +} + +func (i *skuPtrType) ToSkuPtrOutputWithContext(ctx context.Context) SkuPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SkuPtrOutput) +} + +// The resource model definition representing SKU +type SkuOutput struct{ *pulumi.OutputState } + +func (SkuOutput) ElementType() reflect.Type { + return reflect.TypeOf((*Sku)(nil)).Elem() +} + +func (o SkuOutput) ToSkuOutput() SkuOutput { + return o +} + +func (o SkuOutput) ToSkuOutputWithContext(ctx context.Context) SkuOutput { + return o +} + +func (o SkuOutput) ToSkuPtrOutput() SkuPtrOutput { + return o.ToSkuPtrOutputWithContext(context.Background()) +} + +func (o SkuOutput) ToSkuPtrOutputWithContext(ctx context.Context) SkuPtrOutput { + return o.ApplyT(func(v Sku) *Sku { + return &v + }).(SkuPtrOutput) +} + +// If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. +func (o SkuOutput) Capacity() pulumi.IntPtrOutput { + return o.ApplyT(func(v Sku) *int { return v.Capacity }).(pulumi.IntPtrOutput) +} + +// If the service has different generations of hardware, for the same SKU, then that can be captured here. +func (o SkuOutput) Family() pulumi.StringPtrOutput { + return o.ApplyT(func(v Sku) *string { return v.Family }).(pulumi.StringPtrOutput) +} + +// The name of the SKU. Ex - P3. It is typically a letter+number code +func (o SkuOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v Sku) string { return v.Name }).(pulumi.StringOutput) +} + +// The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. +func (o SkuOutput) Size() pulumi.StringPtrOutput { + return o.ApplyT(func(v Sku) *string { return v.Size }).(pulumi.StringPtrOutput) +} + +// This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. +func (o SkuOutput) Tier() pulumi.StringPtrOutput { + return o.ApplyT(func(v Sku) *string { return v.Tier }).(pulumi.StringPtrOutput) +} + +type SkuPtrOutput struct{ *pulumi.OutputState } + +func (SkuPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**Sku)(nil)).Elem() +} + +func (o SkuPtrOutput) ToSkuPtrOutput() SkuPtrOutput { + return o +} + +func (o SkuPtrOutput) ToSkuPtrOutputWithContext(ctx context.Context) SkuPtrOutput { + return o +} + +func (o SkuPtrOutput) Elem() SkuOutput { + return o.ApplyT(func(v *Sku) Sku { return *v }).(SkuOutput) +} + +// If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. +func (o SkuPtrOutput) Capacity() pulumi.IntPtrOutput { + return o.ApplyT(func(v *Sku) *int { + if v == nil { + return nil + } + return v.Capacity + }).(pulumi.IntPtrOutput) +} + +// If the service has different generations of hardware, for the same SKU, then that can be captured here. +func (o SkuPtrOutput) Family() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Sku) *string { + if v == nil { + return nil + } + return v.Family + }).(pulumi.StringPtrOutput) +} + +// The name of the SKU. Ex - P3. It is typically a letter+number code +func (o SkuPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Sku) *string { + if v == nil { + return nil + } + return &v.Name + }).(pulumi.StringPtrOutput) +} + +// The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. +func (o SkuPtrOutput) Size() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Sku) *string { + if v == nil { + return nil + } + return v.Size + }).(pulumi.StringPtrOutput) +} + +// This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. +func (o SkuPtrOutput) Tier() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Sku) *string { + if v == nil { + return nil + } + return v.Tier + }).(pulumi.StringPtrOutput) +} + +// The resource model definition representing SKU +type SkuResponse struct { + // If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. + Capacity *int `pulumi:"capacity"` + // If the service has different generations of hardware, for the same SKU, then that can be captured here. + Family *string `pulumi:"family"` + // The name of the SKU. Ex - P3. It is typically a letter+number code + Name string `pulumi:"name"` + // The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. + Size *string `pulumi:"size"` + // This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. + Tier *string `pulumi:"tier"` +} + +// SkuResponseInput is an input type that accepts SkuResponseArgs and SkuResponseOutput values. +// You can construct a concrete instance of `SkuResponseInput` via: +// +// SkuResponseArgs{...} +type SkuResponseInput interface { + pulumi.Input + + ToSkuResponseOutput() SkuResponseOutput + ToSkuResponseOutputWithContext(context.Context) SkuResponseOutput +} + +// The resource model definition representing SKU +type SkuResponseArgs struct { + // If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. + Capacity pulumi.IntPtrInput `pulumi:"capacity"` + // If the service has different generations of hardware, for the same SKU, then that can be captured here. + Family pulumi.StringPtrInput `pulumi:"family"` + // The name of the SKU. Ex - P3. It is typically a letter+number code + Name pulumi.StringInput `pulumi:"name"` + // The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. + Size pulumi.StringPtrInput `pulumi:"size"` + // This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. + Tier pulumi.StringPtrInput `pulumi:"tier"` +} + +func (SkuResponseArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SkuResponse)(nil)).Elem() +} + +func (i SkuResponseArgs) ToSkuResponseOutput() SkuResponseOutput { + return i.ToSkuResponseOutputWithContext(context.Background()) +} + +func (i SkuResponseArgs) ToSkuResponseOutputWithContext(ctx context.Context) SkuResponseOutput { + return pulumi.ToOutputWithContext(ctx, i).(SkuResponseOutput) +} + +func (i SkuResponseArgs) ToSkuResponsePtrOutput() SkuResponsePtrOutput { + return i.ToSkuResponsePtrOutputWithContext(context.Background()) +} + +func (i SkuResponseArgs) ToSkuResponsePtrOutputWithContext(ctx context.Context) SkuResponsePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SkuResponseOutput).ToSkuResponsePtrOutputWithContext(ctx) +} + +// SkuResponsePtrInput is an input type that accepts SkuResponseArgs, SkuResponsePtr and SkuResponsePtrOutput values. +// You can construct a concrete instance of `SkuResponsePtrInput` via: +// +// SkuResponseArgs{...} +// +// or: +// +// nil +type SkuResponsePtrInput interface { + pulumi.Input + + ToSkuResponsePtrOutput() SkuResponsePtrOutput + ToSkuResponsePtrOutputWithContext(context.Context) SkuResponsePtrOutput +} + +type skuResponsePtrType SkuResponseArgs + +func SkuResponsePtr(v *SkuResponseArgs) SkuResponsePtrInput { + return (*skuResponsePtrType)(v) +} + +func (*skuResponsePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SkuResponse)(nil)).Elem() +} + +func (i *skuResponsePtrType) ToSkuResponsePtrOutput() SkuResponsePtrOutput { + return i.ToSkuResponsePtrOutputWithContext(context.Background()) +} + +func (i *skuResponsePtrType) ToSkuResponsePtrOutputWithContext(ctx context.Context) SkuResponsePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SkuResponsePtrOutput) +} + +// The resource model definition representing SKU +type SkuResponseOutput struct{ *pulumi.OutputState } + +func (SkuResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SkuResponse)(nil)).Elem() +} + +func (o SkuResponseOutput) ToSkuResponseOutput() SkuResponseOutput { + return o +} + +func (o SkuResponseOutput) ToSkuResponseOutputWithContext(ctx context.Context) SkuResponseOutput { + return o +} + +func (o SkuResponseOutput) ToSkuResponsePtrOutput() SkuResponsePtrOutput { + return o.ToSkuResponsePtrOutputWithContext(context.Background()) +} + +func (o SkuResponseOutput) ToSkuResponsePtrOutputWithContext(ctx context.Context) SkuResponsePtrOutput { + return o.ApplyT(func(v SkuResponse) *SkuResponse { + return &v + }).(SkuResponsePtrOutput) +} + +// If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. +func (o SkuResponseOutput) Capacity() pulumi.IntPtrOutput { + return o.ApplyT(func(v SkuResponse) *int { return v.Capacity }).(pulumi.IntPtrOutput) +} + +// If the service has different generations of hardware, for the same SKU, then that can be captured here. +func (o SkuResponseOutput) Family() pulumi.StringPtrOutput { + return o.ApplyT(func(v SkuResponse) *string { return v.Family }).(pulumi.StringPtrOutput) +} + +// The name of the SKU. Ex - P3. It is typically a letter+number code +func (o SkuResponseOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v SkuResponse) string { return v.Name }).(pulumi.StringOutput) +} + +// The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. +func (o SkuResponseOutput) Size() pulumi.StringPtrOutput { + return o.ApplyT(func(v SkuResponse) *string { return v.Size }).(pulumi.StringPtrOutput) +} + +// This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. +func (o SkuResponseOutput) Tier() pulumi.StringPtrOutput { + return o.ApplyT(func(v SkuResponse) *string { return v.Tier }).(pulumi.StringPtrOutput) +} + +type SkuResponsePtrOutput struct{ *pulumi.OutputState } + +func (SkuResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SkuResponse)(nil)).Elem() +} + +func (o SkuResponsePtrOutput) ToSkuResponsePtrOutput() SkuResponsePtrOutput { + return o +} + +func (o SkuResponsePtrOutput) ToSkuResponsePtrOutputWithContext(ctx context.Context) SkuResponsePtrOutput { + return o +} + +func (o SkuResponsePtrOutput) Elem() SkuResponseOutput { + return o.ApplyT(func(v *SkuResponse) SkuResponse { return *v }).(SkuResponseOutput) +} + +// If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. +func (o SkuResponsePtrOutput) Capacity() pulumi.IntPtrOutput { + return o.ApplyT(func(v *SkuResponse) *int { + if v == nil { + return nil + } + return v.Capacity + }).(pulumi.IntPtrOutput) +} + +// If the service has different generations of hardware, for the same SKU, then that can be captured here. +func (o SkuResponsePtrOutput) Family() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SkuResponse) *string { + if v == nil { + return nil + } + return v.Family + }).(pulumi.StringPtrOutput) +} + +// The name of the SKU. Ex - P3. It is typically a letter+number code +func (o SkuResponsePtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SkuResponse) *string { + if v == nil { + return nil + } + return &v.Name + }).(pulumi.StringPtrOutput) +} + +// The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. +func (o SkuResponsePtrOutput) Size() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SkuResponse) *string { + if v == nil { + return nil + } + return v.Size + }).(pulumi.StringPtrOutput) +} + +// This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. +func (o SkuResponsePtrOutput) Tier() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SkuResponse) *string { + if v == nil { + return nil + } + return v.Tier + }).(pulumi.StringPtrOutput) +} + +// Metadata pertaining to creation and last modification of the resource. +type SystemDataResponse struct { + // The timestamp of resource creation (UTC). + CreatedAt *string `pulumi:"createdAt"` + // The identity that created the resource. + CreatedBy *string `pulumi:"createdBy"` + // The type of identity that created the resource. + CreatedByType *string `pulumi:"createdByType"` + // The type of identity that last modified the resource. + LastModifiedAt *string `pulumi:"lastModifiedAt"` + // The identity that last modified the resource. + LastModifiedBy *string `pulumi:"lastModifiedBy"` + // The type of identity that last modified the resource. + LastModifiedByType *string `pulumi:"lastModifiedByType"` +} + +// SystemDataResponseInput is an input type that accepts SystemDataResponseArgs and SystemDataResponseOutput values. +// You can construct a concrete instance of `SystemDataResponseInput` via: +// +// SystemDataResponseArgs{...} +type SystemDataResponseInput interface { + pulumi.Input + + ToSystemDataResponseOutput() SystemDataResponseOutput + ToSystemDataResponseOutputWithContext(context.Context) SystemDataResponseOutput +} + +// Metadata pertaining to creation and last modification of the resource. +type SystemDataResponseArgs struct { + // The timestamp of resource creation (UTC). + CreatedAt pulumi.StringPtrInput `pulumi:"createdAt"` + // The identity that created the resource. + CreatedBy pulumi.StringPtrInput `pulumi:"createdBy"` + // The type of identity that created the resource. + CreatedByType pulumi.StringPtrInput `pulumi:"createdByType"` + // The type of identity that last modified the resource. + LastModifiedAt pulumi.StringPtrInput `pulumi:"lastModifiedAt"` + // The identity that last modified the resource. + LastModifiedBy pulumi.StringPtrInput `pulumi:"lastModifiedBy"` + // The type of identity that last modified the resource. + LastModifiedByType pulumi.StringPtrInput `pulumi:"lastModifiedByType"` +} + +func (SystemDataResponseArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SystemDataResponse)(nil)).Elem() +} + +func (i SystemDataResponseArgs) ToSystemDataResponseOutput() SystemDataResponseOutput { + return i.ToSystemDataResponseOutputWithContext(context.Background()) +} + +func (i SystemDataResponseArgs) ToSystemDataResponseOutputWithContext(ctx context.Context) SystemDataResponseOutput { + return pulumi.ToOutputWithContext(ctx, i).(SystemDataResponseOutput) +} + +func (i SystemDataResponseArgs) ToSystemDataResponsePtrOutput() SystemDataResponsePtrOutput { + return i.ToSystemDataResponsePtrOutputWithContext(context.Background()) +} + +func (i SystemDataResponseArgs) ToSystemDataResponsePtrOutputWithContext(ctx context.Context) SystemDataResponsePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SystemDataResponseOutput).ToSystemDataResponsePtrOutputWithContext(ctx) +} + +// SystemDataResponsePtrInput is an input type that accepts SystemDataResponseArgs, SystemDataResponsePtr and SystemDataResponsePtrOutput values. +// You can construct a concrete instance of `SystemDataResponsePtrInput` via: +// +// SystemDataResponseArgs{...} +// +// or: +// +// nil +type SystemDataResponsePtrInput interface { + pulumi.Input + + ToSystemDataResponsePtrOutput() SystemDataResponsePtrOutput + ToSystemDataResponsePtrOutputWithContext(context.Context) SystemDataResponsePtrOutput +} + +type systemDataResponsePtrType SystemDataResponseArgs + +func SystemDataResponsePtr(v *SystemDataResponseArgs) SystemDataResponsePtrInput { + return (*systemDataResponsePtrType)(v) +} + +func (*systemDataResponsePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SystemDataResponse)(nil)).Elem() +} + +func (i *systemDataResponsePtrType) ToSystemDataResponsePtrOutput() SystemDataResponsePtrOutput { + return i.ToSystemDataResponsePtrOutputWithContext(context.Background()) +} + +func (i *systemDataResponsePtrType) ToSystemDataResponsePtrOutputWithContext(ctx context.Context) SystemDataResponsePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SystemDataResponsePtrOutput) +} + +// Metadata pertaining to creation and last modification of the resource. +type SystemDataResponseOutput struct{ *pulumi.OutputState } + +func (SystemDataResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SystemDataResponse)(nil)).Elem() +} + +func (o SystemDataResponseOutput) ToSystemDataResponseOutput() SystemDataResponseOutput { + return o +} + +func (o SystemDataResponseOutput) ToSystemDataResponseOutputWithContext(ctx context.Context) SystemDataResponseOutput { + return o +} + +func (o SystemDataResponseOutput) ToSystemDataResponsePtrOutput() SystemDataResponsePtrOutput { + return o.ToSystemDataResponsePtrOutputWithContext(context.Background()) +} + +func (o SystemDataResponseOutput) ToSystemDataResponsePtrOutputWithContext(ctx context.Context) SystemDataResponsePtrOutput { + return o.ApplyT(func(v SystemDataResponse) *SystemDataResponse { + return &v + }).(SystemDataResponsePtrOutput) +} + +// The timestamp of resource creation (UTC). +func (o SystemDataResponseOutput) CreatedAt() pulumi.StringPtrOutput { + return o.ApplyT(func(v SystemDataResponse) *string { return v.CreatedAt }).(pulumi.StringPtrOutput) +} + +// The identity that created the resource. +func (o SystemDataResponseOutput) CreatedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v SystemDataResponse) *string { return v.CreatedBy }).(pulumi.StringPtrOutput) +} + +// The type of identity that created the resource. +func (o SystemDataResponseOutput) CreatedByType() pulumi.StringPtrOutput { + return o.ApplyT(func(v SystemDataResponse) *string { return v.CreatedByType }).(pulumi.StringPtrOutput) +} + +// The type of identity that last modified the resource. +func (o SystemDataResponseOutput) LastModifiedAt() pulumi.StringPtrOutput { + return o.ApplyT(func(v SystemDataResponse) *string { return v.LastModifiedAt }).(pulumi.StringPtrOutput) +} + +// The identity that last modified the resource. +func (o SystemDataResponseOutput) LastModifiedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v SystemDataResponse) *string { return v.LastModifiedBy }).(pulumi.StringPtrOutput) +} + +// The type of identity that last modified the resource. +func (o SystemDataResponseOutput) LastModifiedByType() pulumi.StringPtrOutput { + return o.ApplyT(func(v SystemDataResponse) *string { return v.LastModifiedByType }).(pulumi.StringPtrOutput) +} + +type SystemDataResponsePtrOutput struct{ *pulumi.OutputState } + +func (SystemDataResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SystemDataResponse)(nil)).Elem() +} + +func (o SystemDataResponsePtrOutput) ToSystemDataResponsePtrOutput() SystemDataResponsePtrOutput { + return o +} + +func (o SystemDataResponsePtrOutput) ToSystemDataResponsePtrOutputWithContext(ctx context.Context) SystemDataResponsePtrOutput { + return o +} + +func (o SystemDataResponsePtrOutput) Elem() SystemDataResponseOutput { + return o.ApplyT(func(v *SystemDataResponse) SystemDataResponse { return *v }).(SystemDataResponseOutput) +} + +// The timestamp of resource creation (UTC). +func (o SystemDataResponsePtrOutput) CreatedAt() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SystemDataResponse) *string { + if v == nil { + return nil + } + return v.CreatedAt + }).(pulumi.StringPtrOutput) +} + +// The identity that created the resource. +func (o SystemDataResponsePtrOutput) CreatedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SystemDataResponse) *string { + if v == nil { + return nil + } + return v.CreatedBy + }).(pulumi.StringPtrOutput) +} + +// The type of identity that created the resource. +func (o SystemDataResponsePtrOutput) CreatedByType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SystemDataResponse) *string { + if v == nil { + return nil + } + return v.CreatedByType + }).(pulumi.StringPtrOutput) +} + +// The type of identity that last modified the resource. +func (o SystemDataResponsePtrOutput) LastModifiedAt() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SystemDataResponse) *string { + if v == nil { + return nil + } + return v.LastModifiedAt + }).(pulumi.StringPtrOutput) +} + +// The identity that last modified the resource. +func (o SystemDataResponsePtrOutput) LastModifiedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SystemDataResponse) *string { + if v == nil { + return nil + } + return v.LastModifiedBy + }).(pulumi.StringPtrOutput) +} + +// The type of identity that last modified the resource. +func (o SystemDataResponsePtrOutput) LastModifiedByType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SystemDataResponse) *string { + if v == nil { + return nil + } + return v.LastModifiedByType + }).(pulumi.StringPtrOutput) +} + +func init() { + pulumi.RegisterOutputType(IdentityOutput{}) + pulumi.RegisterOutputType(IdentityPtrOutput{}) + pulumi.RegisterOutputType(IdentityResponseOutput{}) + pulumi.RegisterOutputType(IdentityResponsePtrOutput{}) + pulumi.RegisterOutputType(SkuOutput{}) + pulumi.RegisterOutputType(SkuPtrOutput{}) + pulumi.RegisterOutputType(SkuResponseOutput{}) + pulumi.RegisterOutputType(SkuResponsePtrOutput{}) + pulumi.RegisterOutputType(SystemDataResponseOutput{}) + pulumi.RegisterOutputType(SystemDataResponsePtrOutput{}) +} diff --git a/sdk/go/azure/mixedreality/v20210101/remoteRenderingAccount.go b/sdk/go/azure/mixedreality/v20210101/remoteRenderingAccount.go new file mode 100644 index 000000000000..8a3ab9558e8d --- /dev/null +++ b/sdk/go/azure/mixedreality/v20210101/remoteRenderingAccount.go @@ -0,0 +1,225 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package v20210101 + +import ( + "context" + "reflect" + + "github.com/pkg/errors" + "github.com/pulumi/pulumi/sdk/v2/go/pulumi" +) + +// RemoteRenderingAccount Response. +type RemoteRenderingAccount struct { + pulumi.CustomResourceState + + // Correspond domain name of certain Spatial Anchors Account + AccountDomain pulumi.StringOutput `pulumi:"accountDomain"` + // unique id of certain account. + AccountId pulumi.StringOutput `pulumi:"accountId"` + // The identity associated with this account + Identity IdentityResponsePtrOutput `pulumi:"identity"` + // The kind of account, if supported + Kind SkuResponsePtrOutput `pulumi:"kind"` + // The geo-location where the resource lives + Location pulumi.StringOutput `pulumi:"location"` + // The name of the resource + Name pulumi.StringOutput `pulumi:"name"` + // The plan associated with this account + Plan IdentityResponsePtrOutput `pulumi:"plan"` + // The sku associated with this account + Sku SkuResponsePtrOutput `pulumi:"sku"` + // System metadata for this account + SystemData SystemDataResponseOutput `pulumi:"systemData"` + // Resource tags. + Tags pulumi.StringMapOutput `pulumi:"tags"` + // The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + Type pulumi.StringOutput `pulumi:"type"` +} + +// NewRemoteRenderingAccount registers a new resource with the given unique name, arguments, and options. +func NewRemoteRenderingAccount(ctx *pulumi.Context, + name string, args *RemoteRenderingAccountArgs, opts ...pulumi.ResourceOption) (*RemoteRenderingAccount, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.AccountName == nil { + return nil, errors.New("invalid value for required argument 'AccountName'") + } + if args.Location == nil { + return nil, errors.New("invalid value for required argument 'Location'") + } + if args.ResourceGroupName == nil { + return nil, errors.New("invalid value for required argument 'ResourceGroupName'") + } + aliases := pulumi.Aliases([]pulumi.Alias{ + { + Type: pulumi.String("azure-nextgen:mixedreality/latest:RemoteRenderingAccount"), + }, + { + Type: pulumi.String("azure-nextgen:mixedreality/v20191202preview:RemoteRenderingAccount"), + }, + { + Type: pulumi.String("azure-nextgen:mixedreality/v20200406preview:RemoteRenderingAccount"), + }, + }) + opts = append(opts, aliases) + var resource RemoteRenderingAccount + err := ctx.RegisterResource("azure-nextgen:mixedreality/v20210101:RemoteRenderingAccount", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetRemoteRenderingAccount gets an existing RemoteRenderingAccount resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetRemoteRenderingAccount(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *RemoteRenderingAccountState, opts ...pulumi.ResourceOption) (*RemoteRenderingAccount, error) { + var resource RemoteRenderingAccount + err := ctx.ReadResource("azure-nextgen:mixedreality/v20210101:RemoteRenderingAccount", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering RemoteRenderingAccount resources. +type remoteRenderingAccountState struct { + // Correspond domain name of certain Spatial Anchors Account + AccountDomain *string `pulumi:"accountDomain"` + // unique id of certain account. + AccountId *string `pulumi:"accountId"` + // The identity associated with this account + Identity *IdentityResponse `pulumi:"identity"` + // The kind of account, if supported + Kind *SkuResponse `pulumi:"kind"` + // The geo-location where the resource lives + Location *string `pulumi:"location"` + // The name of the resource + Name *string `pulumi:"name"` + // The plan associated with this account + Plan *IdentityResponse `pulumi:"plan"` + // The sku associated with this account + Sku *SkuResponse `pulumi:"sku"` + // System metadata for this account + SystemData *SystemDataResponse `pulumi:"systemData"` + // Resource tags. + Tags map[string]string `pulumi:"tags"` + // The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + Type *string `pulumi:"type"` +} + +type RemoteRenderingAccountState struct { + // Correspond domain name of certain Spatial Anchors Account + AccountDomain pulumi.StringPtrInput + // unique id of certain account. + AccountId pulumi.StringPtrInput + // The identity associated with this account + Identity IdentityResponsePtrInput + // The kind of account, if supported + Kind SkuResponsePtrInput + // The geo-location where the resource lives + Location pulumi.StringPtrInput + // The name of the resource + Name pulumi.StringPtrInput + // The plan associated with this account + Plan IdentityResponsePtrInput + // The sku associated with this account + Sku SkuResponsePtrInput + // System metadata for this account + SystemData SystemDataResponsePtrInput + // Resource tags. + Tags pulumi.StringMapInput + // The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + Type pulumi.StringPtrInput +} + +func (RemoteRenderingAccountState) ElementType() reflect.Type { + return reflect.TypeOf((*remoteRenderingAccountState)(nil)).Elem() +} + +type remoteRenderingAccountArgs struct { + // Name of an Mixed Reality Account. + AccountName string `pulumi:"accountName"` + // The identity associated with this account + Identity *Identity `pulumi:"identity"` + // The kind of account, if supported + Kind *Sku `pulumi:"kind"` + // The geo-location where the resource lives + Location string `pulumi:"location"` + // The plan associated with this account + Plan *Identity `pulumi:"plan"` + // Name of an Azure resource group. + ResourceGroupName string `pulumi:"resourceGroupName"` + // The sku associated with this account + Sku *Sku `pulumi:"sku"` + // Resource tags. + Tags map[string]string `pulumi:"tags"` +} + +// The set of arguments for constructing a RemoteRenderingAccount resource. +type RemoteRenderingAccountArgs struct { + // Name of an Mixed Reality Account. + AccountName pulumi.StringInput + // The identity associated with this account + Identity IdentityPtrInput + // The kind of account, if supported + Kind SkuPtrInput + // The geo-location where the resource lives + Location pulumi.StringInput + // The plan associated with this account + Plan IdentityPtrInput + // Name of an Azure resource group. + ResourceGroupName pulumi.StringInput + // The sku associated with this account + Sku SkuPtrInput + // Resource tags. + Tags pulumi.StringMapInput +} + +func (RemoteRenderingAccountArgs) ElementType() reflect.Type { + return reflect.TypeOf((*remoteRenderingAccountArgs)(nil)).Elem() +} + +type RemoteRenderingAccountInput interface { + pulumi.Input + + ToRemoteRenderingAccountOutput() RemoteRenderingAccountOutput + ToRemoteRenderingAccountOutputWithContext(ctx context.Context) RemoteRenderingAccountOutput +} + +func (*RemoteRenderingAccount) ElementType() reflect.Type { + return reflect.TypeOf((*RemoteRenderingAccount)(nil)) +} + +func (i *RemoteRenderingAccount) ToRemoteRenderingAccountOutput() RemoteRenderingAccountOutput { + return i.ToRemoteRenderingAccountOutputWithContext(context.Background()) +} + +func (i *RemoteRenderingAccount) ToRemoteRenderingAccountOutputWithContext(ctx context.Context) RemoteRenderingAccountOutput { + return pulumi.ToOutputWithContext(ctx, i).(RemoteRenderingAccountOutput) +} + +type RemoteRenderingAccountOutput struct { + *pulumi.OutputState +} + +func (RemoteRenderingAccountOutput) ElementType() reflect.Type { + return reflect.TypeOf((*RemoteRenderingAccount)(nil)) +} + +func (o RemoteRenderingAccountOutput) ToRemoteRenderingAccountOutput() RemoteRenderingAccountOutput { + return o +} + +func (o RemoteRenderingAccountOutput) ToRemoteRenderingAccountOutputWithContext(ctx context.Context) RemoteRenderingAccountOutput { + return o +} + +func init() { + pulumi.RegisterOutputType(RemoteRenderingAccountOutput{}) +} diff --git a/sdk/go/azure/mixedreality/v20210101/spatialAnchorsAccount.go b/sdk/go/azure/mixedreality/v20210101/spatialAnchorsAccount.go new file mode 100644 index 000000000000..fa158e599487 --- /dev/null +++ b/sdk/go/azure/mixedreality/v20210101/spatialAnchorsAccount.go @@ -0,0 +1,228 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package v20210101 + +import ( + "context" + "reflect" + + "github.com/pkg/errors" + "github.com/pulumi/pulumi/sdk/v2/go/pulumi" +) + +// SpatialAnchorsAccount Response. +type SpatialAnchorsAccount struct { + pulumi.CustomResourceState + + // Correspond domain name of certain Spatial Anchors Account + AccountDomain pulumi.StringOutput `pulumi:"accountDomain"` + // unique id of certain account. + AccountId pulumi.StringOutput `pulumi:"accountId"` + // The identity associated with this account + Identity IdentityResponsePtrOutput `pulumi:"identity"` + // The kind of account, if supported + Kind SkuResponsePtrOutput `pulumi:"kind"` + // The geo-location where the resource lives + Location pulumi.StringOutput `pulumi:"location"` + // The name of the resource + Name pulumi.StringOutput `pulumi:"name"` + // The plan associated with this account + Plan IdentityResponsePtrOutput `pulumi:"plan"` + // The sku associated with this account + Sku SkuResponsePtrOutput `pulumi:"sku"` + // System metadata for this account + SystemData SystemDataResponseOutput `pulumi:"systemData"` + // Resource tags. + Tags pulumi.StringMapOutput `pulumi:"tags"` + // The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + Type pulumi.StringOutput `pulumi:"type"` +} + +// NewSpatialAnchorsAccount registers a new resource with the given unique name, arguments, and options. +func NewSpatialAnchorsAccount(ctx *pulumi.Context, + name string, args *SpatialAnchorsAccountArgs, opts ...pulumi.ResourceOption) (*SpatialAnchorsAccount, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.AccountName == nil { + return nil, errors.New("invalid value for required argument 'AccountName'") + } + if args.Location == nil { + return nil, errors.New("invalid value for required argument 'Location'") + } + if args.ResourceGroupName == nil { + return nil, errors.New("invalid value for required argument 'ResourceGroupName'") + } + aliases := pulumi.Aliases([]pulumi.Alias{ + { + Type: pulumi.String("azure-nextgen:mixedreality/latest:SpatialAnchorsAccount"), + }, + { + Type: pulumi.String("azure-nextgen:mixedreality/v20190228preview:SpatialAnchorsAccount"), + }, + { + Type: pulumi.String("azure-nextgen:mixedreality/v20191202preview:SpatialAnchorsAccount"), + }, + { + Type: pulumi.String("azure-nextgen:mixedreality/v20200501:SpatialAnchorsAccount"), + }, + }) + opts = append(opts, aliases) + var resource SpatialAnchorsAccount + err := ctx.RegisterResource("azure-nextgen:mixedreality/v20210101:SpatialAnchorsAccount", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetSpatialAnchorsAccount gets an existing SpatialAnchorsAccount resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetSpatialAnchorsAccount(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *SpatialAnchorsAccountState, opts ...pulumi.ResourceOption) (*SpatialAnchorsAccount, error) { + var resource SpatialAnchorsAccount + err := ctx.ReadResource("azure-nextgen:mixedreality/v20210101:SpatialAnchorsAccount", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering SpatialAnchorsAccount resources. +type spatialAnchorsAccountState struct { + // Correspond domain name of certain Spatial Anchors Account + AccountDomain *string `pulumi:"accountDomain"` + // unique id of certain account. + AccountId *string `pulumi:"accountId"` + // The identity associated with this account + Identity *IdentityResponse `pulumi:"identity"` + // The kind of account, if supported + Kind *SkuResponse `pulumi:"kind"` + // The geo-location where the resource lives + Location *string `pulumi:"location"` + // The name of the resource + Name *string `pulumi:"name"` + // The plan associated with this account + Plan *IdentityResponse `pulumi:"plan"` + // The sku associated with this account + Sku *SkuResponse `pulumi:"sku"` + // System metadata for this account + SystemData *SystemDataResponse `pulumi:"systemData"` + // Resource tags. + Tags map[string]string `pulumi:"tags"` + // The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + Type *string `pulumi:"type"` +} + +type SpatialAnchorsAccountState struct { + // Correspond domain name of certain Spatial Anchors Account + AccountDomain pulumi.StringPtrInput + // unique id of certain account. + AccountId pulumi.StringPtrInput + // The identity associated with this account + Identity IdentityResponsePtrInput + // The kind of account, if supported + Kind SkuResponsePtrInput + // The geo-location where the resource lives + Location pulumi.StringPtrInput + // The name of the resource + Name pulumi.StringPtrInput + // The plan associated with this account + Plan IdentityResponsePtrInput + // The sku associated with this account + Sku SkuResponsePtrInput + // System metadata for this account + SystemData SystemDataResponsePtrInput + // Resource tags. + Tags pulumi.StringMapInput + // The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + Type pulumi.StringPtrInput +} + +func (SpatialAnchorsAccountState) ElementType() reflect.Type { + return reflect.TypeOf((*spatialAnchorsAccountState)(nil)).Elem() +} + +type spatialAnchorsAccountArgs struct { + // Name of an Mixed Reality Account. + AccountName string `pulumi:"accountName"` + // The identity associated with this account + Identity *Identity `pulumi:"identity"` + // The kind of account, if supported + Kind *Sku `pulumi:"kind"` + // The geo-location where the resource lives + Location string `pulumi:"location"` + // The plan associated with this account + Plan *Identity `pulumi:"plan"` + // Name of an Azure resource group. + ResourceGroupName string `pulumi:"resourceGroupName"` + // The sku associated with this account + Sku *Sku `pulumi:"sku"` + // Resource tags. + Tags map[string]string `pulumi:"tags"` +} + +// The set of arguments for constructing a SpatialAnchorsAccount resource. +type SpatialAnchorsAccountArgs struct { + // Name of an Mixed Reality Account. + AccountName pulumi.StringInput + // The identity associated with this account + Identity IdentityPtrInput + // The kind of account, if supported + Kind SkuPtrInput + // The geo-location where the resource lives + Location pulumi.StringInput + // The plan associated with this account + Plan IdentityPtrInput + // Name of an Azure resource group. + ResourceGroupName pulumi.StringInput + // The sku associated with this account + Sku SkuPtrInput + // Resource tags. + Tags pulumi.StringMapInput +} + +func (SpatialAnchorsAccountArgs) ElementType() reflect.Type { + return reflect.TypeOf((*spatialAnchorsAccountArgs)(nil)).Elem() +} + +type SpatialAnchorsAccountInput interface { + pulumi.Input + + ToSpatialAnchorsAccountOutput() SpatialAnchorsAccountOutput + ToSpatialAnchorsAccountOutputWithContext(ctx context.Context) SpatialAnchorsAccountOutput +} + +func (*SpatialAnchorsAccount) ElementType() reflect.Type { + return reflect.TypeOf((*SpatialAnchorsAccount)(nil)) +} + +func (i *SpatialAnchorsAccount) ToSpatialAnchorsAccountOutput() SpatialAnchorsAccountOutput { + return i.ToSpatialAnchorsAccountOutputWithContext(context.Background()) +} + +func (i *SpatialAnchorsAccount) ToSpatialAnchorsAccountOutputWithContext(ctx context.Context) SpatialAnchorsAccountOutput { + return pulumi.ToOutputWithContext(ctx, i).(SpatialAnchorsAccountOutput) +} + +type SpatialAnchorsAccountOutput struct { + *pulumi.OutputState +} + +func (SpatialAnchorsAccountOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SpatialAnchorsAccount)(nil)) +} + +func (o SpatialAnchorsAccountOutput) ToSpatialAnchorsAccountOutput() SpatialAnchorsAccountOutput { + return o +} + +func (o SpatialAnchorsAccountOutput) ToSpatialAnchorsAccountOutputWithContext(ctx context.Context) SpatialAnchorsAccountOutput { + return o +} + +func init() { + pulumi.RegisterOutputType(SpatialAnchorsAccountOutput{}) +} diff --git a/sdk/go/azure/network/latest/getPolicy.go b/sdk/go/azure/network/latest/getPolicy.go index f39946a86a1e..a79c1ef820a9 100644 --- a/sdk/go/azure/network/latest/getPolicy.go +++ b/sdk/go/azure/network/latest/getPolicy.go @@ -46,6 +46,8 @@ type LookupPolicyResult struct { ResourceState string `pulumi:"resourceState"` // Describes Routing Rules associated with this Web Application Firewall policy. RoutingRuleLinks []RoutingRuleLinkResponse `pulumi:"routingRuleLinks"` + // Describes Security Policy associated with this Web Application Firewall policy. + SecurityPolicyLinks []SecurityPolicyLinkResponse `pulumi:"securityPolicyLinks"` // The pricing tier of web application firewall policy. Defaults to Classic_AzureFrontDoor if not specified. Sku *SkuResponse `pulumi:"sku"` // Resource tags. diff --git a/sdk/go/azure/network/latest/policy.go b/sdk/go/azure/network/latest/policy.go index 71f56be5ddac..8e9cdd6d3b1f 100644 --- a/sdk/go/azure/network/latest/policy.go +++ b/sdk/go/azure/network/latest/policy.go @@ -35,6 +35,8 @@ type Policy struct { ResourceState pulumi.StringOutput `pulumi:"resourceState"` // Describes Routing Rules associated with this Web Application Firewall policy. RoutingRuleLinks RoutingRuleLinkResponseArrayOutput `pulumi:"routingRuleLinks"` + // Describes Security Policy associated with this Web Application Firewall policy. + SecurityPolicyLinks SecurityPolicyLinkResponseArrayOutput `pulumi:"securityPolicyLinks"` // The pricing tier of web application firewall policy. Defaults to Classic_AzureFrontDoor if not specified. Sku SkuResponsePtrOutput `pulumi:"sku"` // Resource tags. @@ -115,6 +117,8 @@ type policyState struct { ResourceState *string `pulumi:"resourceState"` // Describes Routing Rules associated with this Web Application Firewall policy. RoutingRuleLinks []RoutingRuleLinkResponse `pulumi:"routingRuleLinks"` + // Describes Security Policy associated with this Web Application Firewall policy. + SecurityPolicyLinks []SecurityPolicyLinkResponse `pulumi:"securityPolicyLinks"` // The pricing tier of web application firewall policy. Defaults to Classic_AzureFrontDoor if not specified. Sku *SkuResponse `pulumi:"sku"` // Resource tags. @@ -143,6 +147,8 @@ type PolicyState struct { ResourceState pulumi.StringPtrInput // Describes Routing Rules associated with this Web Application Firewall policy. RoutingRuleLinks RoutingRuleLinkResponseArrayInput + // Describes Security Policy associated with this Web Application Firewall policy. + SecurityPolicyLinks SecurityPolicyLinkResponseArrayInput // The pricing tier of web application firewall policy. Defaults to Classic_AzureFrontDoor if not specified. Sku SkuResponsePtrInput // Resource tags. diff --git a/sdk/go/azure/network/latest/pulumiEnums.go b/sdk/go/azure/network/latest/pulumiEnums.go index 386919f119d5..c0c4fc813cfc 100644 --- a/sdk/go/azure/network/latest/pulumiEnums.go +++ b/sdk/go/azure/network/latest/pulumiEnums.go @@ -2530,6 +2530,7 @@ const ( ManagedRuleExclusionMatchVariableRequestCookieNames = ManagedRuleExclusionMatchVariable("RequestCookieNames") ManagedRuleExclusionMatchVariableQueryStringArgNames = ManagedRuleExclusionMatchVariable("QueryStringArgNames") ManagedRuleExclusionMatchVariableRequestBodyPostArgNames = ManagedRuleExclusionMatchVariable("RequestBodyPostArgNames") + ManagedRuleExclusionMatchVariableRequestBodyJsonArgNames = ManagedRuleExclusionMatchVariable("RequestBodyJsonArgNames") ) func (ManagedRuleExclusionMatchVariable) ElementType() reflect.Type { diff --git a/sdk/go/azure/network/latest/pulumiTypes.go b/sdk/go/azure/network/latest/pulumiTypes.go index 8decc5d08ff3..db12097f5020 100644 --- a/sdk/go/azure/network/latest/pulumiTypes.go +++ b/sdk/go/azure/network/latest/pulumiTypes.go @@ -71365,6 +71365,106 @@ func (o RulesEngineRuleResponseArrayOutput) Index(i pulumi.IntInput) RulesEngine }).(RulesEngineRuleResponseOutput) } +// Defines the Resource ID for a Security Policy. +type SecurityPolicyLinkResponse struct { + // Resource ID. + Id *string `pulumi:"id"` +} + +// SecurityPolicyLinkResponseInput is an input type that accepts SecurityPolicyLinkResponseArgs and SecurityPolicyLinkResponseOutput values. +// You can construct a concrete instance of `SecurityPolicyLinkResponseInput` via: +// +// SecurityPolicyLinkResponseArgs{...} +type SecurityPolicyLinkResponseInput interface { + pulumi.Input + + ToSecurityPolicyLinkResponseOutput() SecurityPolicyLinkResponseOutput + ToSecurityPolicyLinkResponseOutputWithContext(context.Context) SecurityPolicyLinkResponseOutput +} + +// Defines the Resource ID for a Security Policy. +type SecurityPolicyLinkResponseArgs struct { + // Resource ID. + Id pulumi.StringPtrInput `pulumi:"id"` +} + +func (SecurityPolicyLinkResponseArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SecurityPolicyLinkResponse)(nil)).Elem() +} + +func (i SecurityPolicyLinkResponseArgs) ToSecurityPolicyLinkResponseOutput() SecurityPolicyLinkResponseOutput { + return i.ToSecurityPolicyLinkResponseOutputWithContext(context.Background()) +} + +func (i SecurityPolicyLinkResponseArgs) ToSecurityPolicyLinkResponseOutputWithContext(ctx context.Context) SecurityPolicyLinkResponseOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyLinkResponseOutput) +} + +// SecurityPolicyLinkResponseArrayInput is an input type that accepts SecurityPolicyLinkResponseArray and SecurityPolicyLinkResponseArrayOutput values. +// You can construct a concrete instance of `SecurityPolicyLinkResponseArrayInput` via: +// +// SecurityPolicyLinkResponseArray{ SecurityPolicyLinkResponseArgs{...} } +type SecurityPolicyLinkResponseArrayInput interface { + pulumi.Input + + ToSecurityPolicyLinkResponseArrayOutput() SecurityPolicyLinkResponseArrayOutput + ToSecurityPolicyLinkResponseArrayOutputWithContext(context.Context) SecurityPolicyLinkResponseArrayOutput +} + +type SecurityPolicyLinkResponseArray []SecurityPolicyLinkResponseInput + +func (SecurityPolicyLinkResponseArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]SecurityPolicyLinkResponse)(nil)).Elem() +} + +func (i SecurityPolicyLinkResponseArray) ToSecurityPolicyLinkResponseArrayOutput() SecurityPolicyLinkResponseArrayOutput { + return i.ToSecurityPolicyLinkResponseArrayOutputWithContext(context.Background()) +} + +func (i SecurityPolicyLinkResponseArray) ToSecurityPolicyLinkResponseArrayOutputWithContext(ctx context.Context) SecurityPolicyLinkResponseArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyLinkResponseArrayOutput) +} + +// Defines the Resource ID for a Security Policy. +type SecurityPolicyLinkResponseOutput struct{ *pulumi.OutputState } + +func (SecurityPolicyLinkResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SecurityPolicyLinkResponse)(nil)).Elem() +} + +func (o SecurityPolicyLinkResponseOutput) ToSecurityPolicyLinkResponseOutput() SecurityPolicyLinkResponseOutput { + return o +} + +func (o SecurityPolicyLinkResponseOutput) ToSecurityPolicyLinkResponseOutputWithContext(ctx context.Context) SecurityPolicyLinkResponseOutput { + return o +} + +// Resource ID. +func (o SecurityPolicyLinkResponseOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v SecurityPolicyLinkResponse) *string { return v.Id }).(pulumi.StringPtrOutput) +} + +type SecurityPolicyLinkResponseArrayOutput struct{ *pulumi.OutputState } + +func (SecurityPolicyLinkResponseArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]SecurityPolicyLinkResponse)(nil)).Elem() +} + +func (o SecurityPolicyLinkResponseArrayOutput) ToSecurityPolicyLinkResponseArrayOutput() SecurityPolicyLinkResponseArrayOutput { + return o +} + +func (o SecurityPolicyLinkResponseArrayOutput) ToSecurityPolicyLinkResponseArrayOutputWithContext(ctx context.Context) SecurityPolicyLinkResponseArrayOutput { + return o +} + +func (o SecurityPolicyLinkResponseArrayOutput) Index(i pulumi.IntInput) SecurityPolicyLinkResponseOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecurityPolicyLinkResponse { + return vs[0].([]SecurityPolicyLinkResponse)[vs[1].(int)] + }).(SecurityPolicyLinkResponseOutput) +} + // Network security rule. type SecurityRuleType struct { // The network traffic is allowed or denied. @@ -88174,6 +88274,8 @@ func init() { pulumi.RegisterOutputType(RulesEngineRuleArrayOutput{}) pulumi.RegisterOutputType(RulesEngineRuleResponseOutput{}) pulumi.RegisterOutputType(RulesEngineRuleResponseArrayOutput{}) + pulumi.RegisterOutputType(SecurityPolicyLinkResponseOutput{}) + pulumi.RegisterOutputType(SecurityPolicyLinkResponseArrayOutput{}) pulumi.RegisterOutputType(SecurityRuleTypeOutput{}) pulumi.RegisterOutputType(SecurityRuleTypeArrayOutput{}) pulumi.RegisterOutputType(SecurityRuleResponseOutput{}) diff --git a/sdk/go/azure/network/v20201101/getPolicy.go b/sdk/go/azure/network/v20201101/getPolicy.go index 1c862c67a6fd..b4174c66f8fe 100644 --- a/sdk/go/azure/network/v20201101/getPolicy.go +++ b/sdk/go/azure/network/v20201101/getPolicy.go @@ -46,6 +46,8 @@ type LookupPolicyResult struct { ResourceState string `pulumi:"resourceState"` // Describes Routing Rules associated with this Web Application Firewall policy. RoutingRuleLinks []RoutingRuleLinkResponse `pulumi:"routingRuleLinks"` + // Describes Security Policy associated with this Web Application Firewall policy. + SecurityPolicyLinks []SecurityPolicyLinkResponse `pulumi:"securityPolicyLinks"` // The pricing tier of web application firewall policy. Defaults to Classic_AzureFrontDoor if not specified. Sku *SkuResponse `pulumi:"sku"` // Resource tags. diff --git a/sdk/go/azure/network/v20201101/policy.go b/sdk/go/azure/network/v20201101/policy.go index 356c3ebebf72..f999163a2dce 100644 --- a/sdk/go/azure/network/v20201101/policy.go +++ b/sdk/go/azure/network/v20201101/policy.go @@ -34,6 +34,8 @@ type Policy struct { ResourceState pulumi.StringOutput `pulumi:"resourceState"` // Describes Routing Rules associated with this Web Application Firewall policy. RoutingRuleLinks RoutingRuleLinkResponseArrayOutput `pulumi:"routingRuleLinks"` + // Describes Security Policy associated with this Web Application Firewall policy. + SecurityPolicyLinks SecurityPolicyLinkResponseArrayOutput `pulumi:"securityPolicyLinks"` // The pricing tier of web application firewall policy. Defaults to Classic_AzureFrontDoor if not specified. Sku SkuResponsePtrOutput `pulumi:"sku"` // Resource tags. @@ -114,6 +116,8 @@ type policyState struct { ResourceState *string `pulumi:"resourceState"` // Describes Routing Rules associated with this Web Application Firewall policy. RoutingRuleLinks []RoutingRuleLinkResponse `pulumi:"routingRuleLinks"` + // Describes Security Policy associated with this Web Application Firewall policy. + SecurityPolicyLinks []SecurityPolicyLinkResponse `pulumi:"securityPolicyLinks"` // The pricing tier of web application firewall policy. Defaults to Classic_AzureFrontDoor if not specified. Sku *SkuResponse `pulumi:"sku"` // Resource tags. @@ -142,6 +146,8 @@ type PolicyState struct { ResourceState pulumi.StringPtrInput // Describes Routing Rules associated with this Web Application Firewall policy. RoutingRuleLinks RoutingRuleLinkResponseArrayInput + // Describes Security Policy associated with this Web Application Firewall policy. + SecurityPolicyLinks SecurityPolicyLinkResponseArrayInput // The pricing tier of web application firewall policy. Defaults to Classic_AzureFrontDoor if not specified. Sku SkuResponsePtrInput // Resource tags. diff --git a/sdk/go/azure/network/v20201101/pulumiEnums.go b/sdk/go/azure/network/v20201101/pulumiEnums.go index 073854cbcdf6..42978a588283 100644 --- a/sdk/go/azure/network/v20201101/pulumiEnums.go +++ b/sdk/go/azure/network/v20201101/pulumiEnums.go @@ -104,6 +104,7 @@ const ( ManagedRuleExclusionMatchVariableRequestCookieNames = ManagedRuleExclusionMatchVariable("RequestCookieNames") ManagedRuleExclusionMatchVariableQueryStringArgNames = ManagedRuleExclusionMatchVariable("QueryStringArgNames") ManagedRuleExclusionMatchVariableRequestBodyPostArgNames = ManagedRuleExclusionMatchVariable("RequestBodyPostArgNames") + ManagedRuleExclusionMatchVariableRequestBodyJsonArgNames = ManagedRuleExclusionMatchVariable("RequestBodyJsonArgNames") ) func (ManagedRuleExclusionMatchVariable) ElementType() reflect.Type { diff --git a/sdk/go/azure/network/v20201101/pulumiTypes.go b/sdk/go/azure/network/v20201101/pulumiTypes.go index 8be16582d4fb..3e946edd8c5d 100644 --- a/sdk/go/azure/network/v20201101/pulumiTypes.go +++ b/sdk/go/azure/network/v20201101/pulumiTypes.go @@ -2818,6 +2818,106 @@ func (o RoutingRuleLinkResponseArrayOutput) Index(i pulumi.IntInput) RoutingRule }).(RoutingRuleLinkResponseOutput) } +// Defines the Resource ID for a Security Policy. +type SecurityPolicyLinkResponse struct { + // Resource ID. + Id *string `pulumi:"id"` +} + +// SecurityPolicyLinkResponseInput is an input type that accepts SecurityPolicyLinkResponseArgs and SecurityPolicyLinkResponseOutput values. +// You can construct a concrete instance of `SecurityPolicyLinkResponseInput` via: +// +// SecurityPolicyLinkResponseArgs{...} +type SecurityPolicyLinkResponseInput interface { + pulumi.Input + + ToSecurityPolicyLinkResponseOutput() SecurityPolicyLinkResponseOutput + ToSecurityPolicyLinkResponseOutputWithContext(context.Context) SecurityPolicyLinkResponseOutput +} + +// Defines the Resource ID for a Security Policy. +type SecurityPolicyLinkResponseArgs struct { + // Resource ID. + Id pulumi.StringPtrInput `pulumi:"id"` +} + +func (SecurityPolicyLinkResponseArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SecurityPolicyLinkResponse)(nil)).Elem() +} + +func (i SecurityPolicyLinkResponseArgs) ToSecurityPolicyLinkResponseOutput() SecurityPolicyLinkResponseOutput { + return i.ToSecurityPolicyLinkResponseOutputWithContext(context.Background()) +} + +func (i SecurityPolicyLinkResponseArgs) ToSecurityPolicyLinkResponseOutputWithContext(ctx context.Context) SecurityPolicyLinkResponseOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyLinkResponseOutput) +} + +// SecurityPolicyLinkResponseArrayInput is an input type that accepts SecurityPolicyLinkResponseArray and SecurityPolicyLinkResponseArrayOutput values. +// You can construct a concrete instance of `SecurityPolicyLinkResponseArrayInput` via: +// +// SecurityPolicyLinkResponseArray{ SecurityPolicyLinkResponseArgs{...} } +type SecurityPolicyLinkResponseArrayInput interface { + pulumi.Input + + ToSecurityPolicyLinkResponseArrayOutput() SecurityPolicyLinkResponseArrayOutput + ToSecurityPolicyLinkResponseArrayOutputWithContext(context.Context) SecurityPolicyLinkResponseArrayOutput +} + +type SecurityPolicyLinkResponseArray []SecurityPolicyLinkResponseInput + +func (SecurityPolicyLinkResponseArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]SecurityPolicyLinkResponse)(nil)).Elem() +} + +func (i SecurityPolicyLinkResponseArray) ToSecurityPolicyLinkResponseArrayOutput() SecurityPolicyLinkResponseArrayOutput { + return i.ToSecurityPolicyLinkResponseArrayOutputWithContext(context.Background()) +} + +func (i SecurityPolicyLinkResponseArray) ToSecurityPolicyLinkResponseArrayOutputWithContext(ctx context.Context) SecurityPolicyLinkResponseArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyLinkResponseArrayOutput) +} + +// Defines the Resource ID for a Security Policy. +type SecurityPolicyLinkResponseOutput struct{ *pulumi.OutputState } + +func (SecurityPolicyLinkResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SecurityPolicyLinkResponse)(nil)).Elem() +} + +func (o SecurityPolicyLinkResponseOutput) ToSecurityPolicyLinkResponseOutput() SecurityPolicyLinkResponseOutput { + return o +} + +func (o SecurityPolicyLinkResponseOutput) ToSecurityPolicyLinkResponseOutputWithContext(ctx context.Context) SecurityPolicyLinkResponseOutput { + return o +} + +// Resource ID. +func (o SecurityPolicyLinkResponseOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v SecurityPolicyLinkResponse) *string { return v.Id }).(pulumi.StringPtrOutput) +} + +type SecurityPolicyLinkResponseArrayOutput struct{ *pulumi.OutputState } + +func (SecurityPolicyLinkResponseArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]SecurityPolicyLinkResponse)(nil)).Elem() +} + +func (o SecurityPolicyLinkResponseArrayOutput) ToSecurityPolicyLinkResponseArrayOutput() SecurityPolicyLinkResponseArrayOutput { + return o +} + +func (o SecurityPolicyLinkResponseArrayOutput) ToSecurityPolicyLinkResponseArrayOutputWithContext(ctx context.Context) SecurityPolicyLinkResponseArrayOutput { + return o +} + +func (o SecurityPolicyLinkResponseArrayOutput) Index(i pulumi.IntInput) SecurityPolicyLinkResponseOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecurityPolicyLinkResponse { + return vs[0].([]SecurityPolicyLinkResponse)[vs[1].(int)] + }).(SecurityPolicyLinkResponseOutput) +} + // The pricing tier of the web application firewall policy. type Sku struct { // Name of the pricing tier. @@ -3127,6 +3227,8 @@ func init() { pulumi.RegisterOutputType(PolicySettingsResponsePtrOutput{}) pulumi.RegisterOutputType(RoutingRuleLinkResponseOutput{}) pulumi.RegisterOutputType(RoutingRuleLinkResponseArrayOutput{}) + pulumi.RegisterOutputType(SecurityPolicyLinkResponseOutput{}) + pulumi.RegisterOutputType(SecurityPolicyLinkResponseArrayOutput{}) pulumi.RegisterOutputType(SkuOutput{}) pulumi.RegisterOutputType(SkuPtrOutput{}) pulumi.RegisterOutputType(SkuResponseOutput{}) diff --git a/sdk/go/azure/operationalinsights/latest/alertRuleAction.go b/sdk/go/azure/operationalinsights/latest/action.go similarity index 66% rename from sdk/go/azure/operationalinsights/latest/alertRuleAction.go rename to sdk/go/azure/operationalinsights/latest/action.go index 5f5b192d6933..bd61cb9f91ef 100644 --- a/sdk/go/azure/operationalinsights/latest/alertRuleAction.go +++ b/sdk/go/azure/operationalinsights/latest/action.go @@ -13,7 +13,7 @@ import ( // Action for alert rule. // Latest API Version: 2020-01-01. -type AlertRuleAction struct { +type Action struct { pulumi.CustomResourceState // Etag of the action. @@ -28,9 +28,9 @@ type AlertRuleAction struct { WorkflowId pulumi.StringPtrOutput `pulumi:"workflowId"` } -// NewAlertRuleAction registers a new resource with the given unique name, arguments, and options. -func NewAlertRuleAction(ctx *pulumi.Context, - name string, args *AlertRuleActionArgs, opts ...pulumi.ResourceOption) (*AlertRuleAction, error) { +// NewAction registers a new resource with the given unique name, arguments, and options. +func NewAction(ctx *pulumi.Context, + name string, args *ActionArgs, opts ...pulumi.ResourceOption) (*Action, error) { if args == nil { return nil, errors.New("missing one or more required arguments") } @@ -52,32 +52,32 @@ func NewAlertRuleAction(ctx *pulumi.Context, } aliases := pulumi.Aliases([]pulumi.Alias{ { - Type: pulumi.String("azure-nextgen:operationalinsights/v20200101:AlertRuleAction"), + Type: pulumi.String("azure-nextgen:operationalinsights/v20200101:Action"), }, }) opts = append(opts, aliases) - var resource AlertRuleAction - err := ctx.RegisterResource("azure-nextgen:operationalinsights/latest:AlertRuleAction", name, args, &resource, opts...) + var resource Action + err := ctx.RegisterResource("azure-nextgen:operationalinsights/latest:Action", name, args, &resource, opts...) if err != nil { return nil, err } return &resource, nil } -// GetAlertRuleAction gets an existing AlertRuleAction resource's state with the given name, ID, and optional +// GetAction gets an existing Action resource's state with the given name, ID, and optional // state properties that are used to uniquely qualify the lookup (nil if not required). -func GetAlertRuleAction(ctx *pulumi.Context, - name string, id pulumi.IDInput, state *AlertRuleActionState, opts ...pulumi.ResourceOption) (*AlertRuleAction, error) { - var resource AlertRuleAction - err := ctx.ReadResource("azure-nextgen:operationalinsights/latest:AlertRuleAction", name, id, state, &resource, opts...) +func GetAction(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *ActionState, opts ...pulumi.ResourceOption) (*Action, error) { + var resource Action + err := ctx.ReadResource("azure-nextgen:operationalinsights/latest:Action", name, id, state, &resource, opts...) if err != nil { return nil, err } return &resource, nil } -// Input properties used for looking up and filtering AlertRuleAction resources. -type alertRuleActionState struct { +// Input properties used for looking up and filtering Action resources. +type actionState struct { // Etag of the action. Etag *string `pulumi:"etag"` // Logic App Resource Id, /subscriptions/{my-subscription}/resourceGroups/{my-resource-group}/providers/Microsoft.Logic/workflows/{my-workflow-id}. @@ -90,7 +90,7 @@ type alertRuleActionState struct { WorkflowId *string `pulumi:"workflowId"` } -type AlertRuleActionState struct { +type ActionState struct { // Etag of the action. Etag pulumi.StringPtrInput // Logic App Resource Id, /subscriptions/{my-subscription}/resourceGroups/{my-resource-group}/providers/Microsoft.Logic/workflows/{my-workflow-id}. @@ -103,11 +103,11 @@ type AlertRuleActionState struct { WorkflowId pulumi.StringPtrInput } -func (AlertRuleActionState) ElementType() reflect.Type { - return reflect.TypeOf((*alertRuleActionState)(nil)).Elem() +func (ActionState) ElementType() reflect.Type { + return reflect.TypeOf((*actionState)(nil)).Elem() } -type alertRuleActionArgs struct { +type actionArgs struct { // Action ID ActionId string `pulumi:"actionId"` // Etag of the azure resource @@ -124,8 +124,8 @@ type alertRuleActionArgs struct { WorkspaceName string `pulumi:"workspaceName"` } -// The set of arguments for constructing a AlertRuleAction resource. -type AlertRuleActionArgs struct { +// The set of arguments for constructing a Action resource. +type ActionArgs struct { // Action ID ActionId pulumi.StringInput // Etag of the azure resource @@ -142,45 +142,45 @@ type AlertRuleActionArgs struct { WorkspaceName pulumi.StringInput } -func (AlertRuleActionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*alertRuleActionArgs)(nil)).Elem() +func (ActionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*actionArgs)(nil)).Elem() } -type AlertRuleActionInput interface { +type ActionInput interface { pulumi.Input - ToAlertRuleActionOutput() AlertRuleActionOutput - ToAlertRuleActionOutputWithContext(ctx context.Context) AlertRuleActionOutput + ToActionOutput() ActionOutput + ToActionOutputWithContext(ctx context.Context) ActionOutput } -func (*AlertRuleAction) ElementType() reflect.Type { - return reflect.TypeOf((*AlertRuleAction)(nil)) +func (*Action) ElementType() reflect.Type { + return reflect.TypeOf((*Action)(nil)) } -func (i *AlertRuleAction) ToAlertRuleActionOutput() AlertRuleActionOutput { - return i.ToAlertRuleActionOutputWithContext(context.Background()) +func (i *Action) ToActionOutput() ActionOutput { + return i.ToActionOutputWithContext(context.Background()) } -func (i *AlertRuleAction) ToAlertRuleActionOutputWithContext(ctx context.Context) AlertRuleActionOutput { - return pulumi.ToOutputWithContext(ctx, i).(AlertRuleActionOutput) +func (i *Action) ToActionOutputWithContext(ctx context.Context) ActionOutput { + return pulumi.ToOutputWithContext(ctx, i).(ActionOutput) } -type AlertRuleActionOutput struct { +type ActionOutput struct { *pulumi.OutputState } -func (AlertRuleActionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*AlertRuleAction)(nil)) +func (ActionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*Action)(nil)) } -func (o AlertRuleActionOutput) ToAlertRuleActionOutput() AlertRuleActionOutput { +func (o ActionOutput) ToActionOutput() ActionOutput { return o } -func (o AlertRuleActionOutput) ToAlertRuleActionOutputWithContext(ctx context.Context) AlertRuleActionOutput { +func (o ActionOutput) ToActionOutputWithContext(ctx context.Context) ActionOutput { return o } func init() { - pulumi.RegisterOutputType(AlertRuleActionOutput{}) + pulumi.RegisterOutputType(ActionOutput{}) } diff --git a/sdk/go/azure/operationalinsights/latest/getAlertRuleAction.go b/sdk/go/azure/operationalinsights/latest/getAction.go similarity index 79% rename from sdk/go/azure/operationalinsights/latest/getAlertRuleAction.go rename to sdk/go/azure/operationalinsights/latest/getAction.go index 8ed95489c6d2..edc072d9a8c9 100644 --- a/sdk/go/azure/operationalinsights/latest/getAlertRuleAction.go +++ b/sdk/go/azure/operationalinsights/latest/getAction.go @@ -7,16 +7,16 @@ import ( "github.com/pulumi/pulumi/sdk/v2/go/pulumi" ) -func LookupAlertRuleAction(ctx *pulumi.Context, args *LookupAlertRuleActionArgs, opts ...pulumi.InvokeOption) (*LookupAlertRuleActionResult, error) { - var rv LookupAlertRuleActionResult - err := ctx.Invoke("azure-nextgen:operationalinsights/latest:getAlertRuleAction", args, &rv, opts...) +func LookupAction(ctx *pulumi.Context, args *LookupActionArgs, opts ...pulumi.InvokeOption) (*LookupActionResult, error) { + var rv LookupActionResult + err := ctx.Invoke("azure-nextgen:operationalinsights/latest:getAction", args, &rv, opts...) if err != nil { return nil, err } return &rv, nil } -type LookupAlertRuleActionArgs struct { +type LookupActionArgs struct { // Action ID ActionId string `pulumi:"actionId"` // The name of the resource group within the user's subscription. The name is case insensitive. @@ -28,7 +28,7 @@ type LookupAlertRuleActionArgs struct { } // Action for alert rule. -type LookupAlertRuleActionResult struct { +type LookupActionResult struct { // Etag of the action. Etag *string `pulumi:"etag"` // Azure resource Id diff --git a/sdk/go/azure/operationalinsights/v20200101/alertRuleAction.go b/sdk/go/azure/operationalinsights/v20200101/action.go similarity index 66% rename from sdk/go/azure/operationalinsights/v20200101/alertRuleAction.go rename to sdk/go/azure/operationalinsights/v20200101/action.go index e03b899dd7b5..df28b185914d 100644 --- a/sdk/go/azure/operationalinsights/v20200101/alertRuleAction.go +++ b/sdk/go/azure/operationalinsights/v20200101/action.go @@ -12,7 +12,7 @@ import ( ) // Action for alert rule. -type AlertRuleAction struct { +type Action struct { pulumi.CustomResourceState // Etag of the action. @@ -27,9 +27,9 @@ type AlertRuleAction struct { WorkflowId pulumi.StringPtrOutput `pulumi:"workflowId"` } -// NewAlertRuleAction registers a new resource with the given unique name, arguments, and options. -func NewAlertRuleAction(ctx *pulumi.Context, - name string, args *AlertRuleActionArgs, opts ...pulumi.ResourceOption) (*AlertRuleAction, error) { +// NewAction registers a new resource with the given unique name, arguments, and options. +func NewAction(ctx *pulumi.Context, + name string, args *ActionArgs, opts ...pulumi.ResourceOption) (*Action, error) { if args == nil { return nil, errors.New("missing one or more required arguments") } @@ -51,32 +51,32 @@ func NewAlertRuleAction(ctx *pulumi.Context, } aliases := pulumi.Aliases([]pulumi.Alias{ { - Type: pulumi.String("azure-nextgen:operationalinsights/latest:AlertRuleAction"), + Type: pulumi.String("azure-nextgen:operationalinsights/latest:Action"), }, }) opts = append(opts, aliases) - var resource AlertRuleAction - err := ctx.RegisterResource("azure-nextgen:operationalinsights/v20200101:AlertRuleAction", name, args, &resource, opts...) + var resource Action + err := ctx.RegisterResource("azure-nextgen:operationalinsights/v20200101:Action", name, args, &resource, opts...) if err != nil { return nil, err } return &resource, nil } -// GetAlertRuleAction gets an existing AlertRuleAction resource's state with the given name, ID, and optional +// GetAction gets an existing Action resource's state with the given name, ID, and optional // state properties that are used to uniquely qualify the lookup (nil if not required). -func GetAlertRuleAction(ctx *pulumi.Context, - name string, id pulumi.IDInput, state *AlertRuleActionState, opts ...pulumi.ResourceOption) (*AlertRuleAction, error) { - var resource AlertRuleAction - err := ctx.ReadResource("azure-nextgen:operationalinsights/v20200101:AlertRuleAction", name, id, state, &resource, opts...) +func GetAction(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *ActionState, opts ...pulumi.ResourceOption) (*Action, error) { + var resource Action + err := ctx.ReadResource("azure-nextgen:operationalinsights/v20200101:Action", name, id, state, &resource, opts...) if err != nil { return nil, err } return &resource, nil } -// Input properties used for looking up and filtering AlertRuleAction resources. -type alertRuleActionState struct { +// Input properties used for looking up and filtering Action resources. +type actionState struct { // Etag of the action. Etag *string `pulumi:"etag"` // Logic App Resource Id, /subscriptions/{my-subscription}/resourceGroups/{my-resource-group}/providers/Microsoft.Logic/workflows/{my-workflow-id}. @@ -89,7 +89,7 @@ type alertRuleActionState struct { WorkflowId *string `pulumi:"workflowId"` } -type AlertRuleActionState struct { +type ActionState struct { // Etag of the action. Etag pulumi.StringPtrInput // Logic App Resource Id, /subscriptions/{my-subscription}/resourceGroups/{my-resource-group}/providers/Microsoft.Logic/workflows/{my-workflow-id}. @@ -102,11 +102,11 @@ type AlertRuleActionState struct { WorkflowId pulumi.StringPtrInput } -func (AlertRuleActionState) ElementType() reflect.Type { - return reflect.TypeOf((*alertRuleActionState)(nil)).Elem() +func (ActionState) ElementType() reflect.Type { + return reflect.TypeOf((*actionState)(nil)).Elem() } -type alertRuleActionArgs struct { +type actionArgs struct { // Action ID ActionId string `pulumi:"actionId"` // Etag of the azure resource @@ -123,8 +123,8 @@ type alertRuleActionArgs struct { WorkspaceName string `pulumi:"workspaceName"` } -// The set of arguments for constructing a AlertRuleAction resource. -type AlertRuleActionArgs struct { +// The set of arguments for constructing a Action resource. +type ActionArgs struct { // Action ID ActionId pulumi.StringInput // Etag of the azure resource @@ -141,45 +141,45 @@ type AlertRuleActionArgs struct { WorkspaceName pulumi.StringInput } -func (AlertRuleActionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*alertRuleActionArgs)(nil)).Elem() +func (ActionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*actionArgs)(nil)).Elem() } -type AlertRuleActionInput interface { +type ActionInput interface { pulumi.Input - ToAlertRuleActionOutput() AlertRuleActionOutput - ToAlertRuleActionOutputWithContext(ctx context.Context) AlertRuleActionOutput + ToActionOutput() ActionOutput + ToActionOutputWithContext(ctx context.Context) ActionOutput } -func (*AlertRuleAction) ElementType() reflect.Type { - return reflect.TypeOf((*AlertRuleAction)(nil)) +func (*Action) ElementType() reflect.Type { + return reflect.TypeOf((*Action)(nil)) } -func (i *AlertRuleAction) ToAlertRuleActionOutput() AlertRuleActionOutput { - return i.ToAlertRuleActionOutputWithContext(context.Background()) +func (i *Action) ToActionOutput() ActionOutput { + return i.ToActionOutputWithContext(context.Background()) } -func (i *AlertRuleAction) ToAlertRuleActionOutputWithContext(ctx context.Context) AlertRuleActionOutput { - return pulumi.ToOutputWithContext(ctx, i).(AlertRuleActionOutput) +func (i *Action) ToActionOutputWithContext(ctx context.Context) ActionOutput { + return pulumi.ToOutputWithContext(ctx, i).(ActionOutput) } -type AlertRuleActionOutput struct { +type ActionOutput struct { *pulumi.OutputState } -func (AlertRuleActionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*AlertRuleAction)(nil)) +func (ActionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*Action)(nil)) } -func (o AlertRuleActionOutput) ToAlertRuleActionOutput() AlertRuleActionOutput { +func (o ActionOutput) ToActionOutput() ActionOutput { return o } -func (o AlertRuleActionOutput) ToAlertRuleActionOutputWithContext(ctx context.Context) AlertRuleActionOutput { +func (o ActionOutput) ToActionOutputWithContext(ctx context.Context) ActionOutput { return o } func init() { - pulumi.RegisterOutputType(AlertRuleActionOutput{}) + pulumi.RegisterOutputType(ActionOutput{}) } diff --git a/sdk/go/azure/operationalinsights/v20200101/getAlertRuleAction.go b/sdk/go/azure/operationalinsights/v20200101/getAction.go similarity index 79% rename from sdk/go/azure/operationalinsights/v20200101/getAlertRuleAction.go rename to sdk/go/azure/operationalinsights/v20200101/getAction.go index 02053550a7e6..dfb49d42f734 100644 --- a/sdk/go/azure/operationalinsights/v20200101/getAlertRuleAction.go +++ b/sdk/go/azure/operationalinsights/v20200101/getAction.go @@ -7,16 +7,16 @@ import ( "github.com/pulumi/pulumi/sdk/v2/go/pulumi" ) -func LookupAlertRuleAction(ctx *pulumi.Context, args *LookupAlertRuleActionArgs, opts ...pulumi.InvokeOption) (*LookupAlertRuleActionResult, error) { - var rv LookupAlertRuleActionResult - err := ctx.Invoke("azure-nextgen:operationalinsights/v20200101:getAlertRuleAction", args, &rv, opts...) +func LookupAction(ctx *pulumi.Context, args *LookupActionArgs, opts ...pulumi.InvokeOption) (*LookupActionResult, error) { + var rv LookupActionResult + err := ctx.Invoke("azure-nextgen:operationalinsights/v20200101:getAction", args, &rv, opts...) if err != nil { return nil, err } return &rv, nil } -type LookupAlertRuleActionArgs struct { +type LookupActionArgs struct { // Action ID ActionId string `pulumi:"actionId"` // The name of the resource group within the user's subscription. The name is case insensitive. @@ -28,7 +28,7 @@ type LookupAlertRuleActionArgs struct { } // Action for alert rule. -type LookupAlertRuleActionResult struct { +type LookupActionResult struct { // Etag of the action. Etag *string `pulumi:"etag"` // Azure resource Id diff --git a/sdk/go/azure/quantum/v20191104preview/getWorkspace.go b/sdk/go/azure/quantum/v20191104preview/getWorkspace.go index 680b2380377f..335976bc418f 100644 --- a/sdk/go/azure/quantum/v20191104preview/getWorkspace.go +++ b/sdk/go/azure/quantum/v20191104preview/getWorkspace.go @@ -25,6 +25,8 @@ type LookupWorkspaceArgs struct { // The resource proxy definition object for quantum workspace. type LookupWorkspaceResult struct { + // The URI of the workspace endpoint. + EndpointUri string `pulumi:"endpointUri"` // Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} Id string `pulumi:"id"` // Managed Identity information. diff --git a/sdk/go/azure/quantum/v20191104preview/workspace.go b/sdk/go/azure/quantum/v20191104preview/workspace.go index f20ecade98de..6814e33fef64 100644 --- a/sdk/go/azure/quantum/v20191104preview/workspace.go +++ b/sdk/go/azure/quantum/v20191104preview/workspace.go @@ -15,6 +15,8 @@ import ( type Workspace struct { pulumi.CustomResourceState + // The URI of the workspace endpoint. + EndpointUri pulumi.StringOutput `pulumi:"endpointUri"` // Managed Identity information. Identity QuantumWorkspaceResponseIdentityPtrOutput `pulumi:"identity"` // The geo-location where the resource lives @@ -73,6 +75,8 @@ func GetWorkspace(ctx *pulumi.Context, // Input properties used for looking up and filtering Workspace resources. type workspaceState struct { + // The URI of the workspace endpoint. + EndpointUri *string `pulumi:"endpointUri"` // Managed Identity information. Identity *QuantumWorkspaceResponseIdentity `pulumi:"identity"` // The geo-location where the resource lives @@ -94,6 +98,8 @@ type workspaceState struct { } type WorkspaceState struct { + // The URI of the workspace endpoint. + EndpointUri pulumi.StringPtrInput // Managed Identity information. Identity QuantumWorkspaceResponseIdentityPtrInput // The geo-location where the resource lives diff --git a/sdk/go/azure/securityinsights/v20190101preview/alertRuleAction.go b/sdk/go/azure/securityinsights/v20190101preview/action.go similarity index 67% rename from sdk/go/azure/securityinsights/v20190101preview/alertRuleAction.go rename to sdk/go/azure/securityinsights/v20190101preview/action.go index b3a5b316ea25..3285d182e5fc 100644 --- a/sdk/go/azure/securityinsights/v20190101preview/alertRuleAction.go +++ b/sdk/go/azure/securityinsights/v20190101preview/action.go @@ -12,7 +12,7 @@ import ( ) // Action for alert rule. -type AlertRuleAction struct { +type Action struct { pulumi.CustomResourceState // Etag of the action. @@ -27,9 +27,9 @@ type AlertRuleAction struct { WorkflowId pulumi.StringPtrOutput `pulumi:"workflowId"` } -// NewAlertRuleAction registers a new resource with the given unique name, arguments, and options. -func NewAlertRuleAction(ctx *pulumi.Context, - name string, args *AlertRuleActionArgs, opts ...pulumi.ResourceOption) (*AlertRuleAction, error) { +// NewAction registers a new resource with the given unique name, arguments, and options. +func NewAction(ctx *pulumi.Context, + name string, args *ActionArgs, opts ...pulumi.ResourceOption) (*Action, error) { if args == nil { return nil, errors.New("missing one or more required arguments") } @@ -49,28 +49,28 @@ func NewAlertRuleAction(ctx *pulumi.Context, if args.WorkspaceName == nil { return nil, errors.New("invalid value for required argument 'WorkspaceName'") } - var resource AlertRuleAction - err := ctx.RegisterResource("azure-nextgen:securityinsights/v20190101preview:AlertRuleAction", name, args, &resource, opts...) + var resource Action + err := ctx.RegisterResource("azure-nextgen:securityinsights/v20190101preview:Action", name, args, &resource, opts...) if err != nil { return nil, err } return &resource, nil } -// GetAlertRuleAction gets an existing AlertRuleAction resource's state with the given name, ID, and optional +// GetAction gets an existing Action resource's state with the given name, ID, and optional // state properties that are used to uniquely qualify the lookup (nil if not required). -func GetAlertRuleAction(ctx *pulumi.Context, - name string, id pulumi.IDInput, state *AlertRuleActionState, opts ...pulumi.ResourceOption) (*AlertRuleAction, error) { - var resource AlertRuleAction - err := ctx.ReadResource("azure-nextgen:securityinsights/v20190101preview:AlertRuleAction", name, id, state, &resource, opts...) +func GetAction(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *ActionState, opts ...pulumi.ResourceOption) (*Action, error) { + var resource Action + err := ctx.ReadResource("azure-nextgen:securityinsights/v20190101preview:Action", name, id, state, &resource, opts...) if err != nil { return nil, err } return &resource, nil } -// Input properties used for looking up and filtering AlertRuleAction resources. -type alertRuleActionState struct { +// Input properties used for looking up and filtering Action resources. +type actionState struct { // Etag of the action. Etag *string `pulumi:"etag"` // Logic App Resource Id, /subscriptions/{my-subscription}/resourceGroups/{my-resource-group}/providers/Microsoft.Logic/workflows/{my-workflow-id}. @@ -83,7 +83,7 @@ type alertRuleActionState struct { WorkflowId *string `pulumi:"workflowId"` } -type AlertRuleActionState struct { +type ActionState struct { // Etag of the action. Etag pulumi.StringPtrInput // Logic App Resource Id, /subscriptions/{my-subscription}/resourceGroups/{my-resource-group}/providers/Microsoft.Logic/workflows/{my-workflow-id}. @@ -96,11 +96,11 @@ type AlertRuleActionState struct { WorkflowId pulumi.StringPtrInput } -func (AlertRuleActionState) ElementType() reflect.Type { - return reflect.TypeOf((*alertRuleActionState)(nil)).Elem() +func (ActionState) ElementType() reflect.Type { + return reflect.TypeOf((*actionState)(nil)).Elem() } -type alertRuleActionArgs struct { +type actionArgs struct { // Action ID ActionId string `pulumi:"actionId"` // Etag of the azure resource @@ -119,8 +119,8 @@ type alertRuleActionArgs struct { WorkspaceName string `pulumi:"workspaceName"` } -// The set of arguments for constructing a AlertRuleAction resource. -type AlertRuleActionArgs struct { +// The set of arguments for constructing a Action resource. +type ActionArgs struct { // Action ID ActionId pulumi.StringInput // Etag of the azure resource @@ -139,45 +139,45 @@ type AlertRuleActionArgs struct { WorkspaceName pulumi.StringInput } -func (AlertRuleActionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*alertRuleActionArgs)(nil)).Elem() +func (ActionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*actionArgs)(nil)).Elem() } -type AlertRuleActionInput interface { +type ActionInput interface { pulumi.Input - ToAlertRuleActionOutput() AlertRuleActionOutput - ToAlertRuleActionOutputWithContext(ctx context.Context) AlertRuleActionOutput + ToActionOutput() ActionOutput + ToActionOutputWithContext(ctx context.Context) ActionOutput } -func (*AlertRuleAction) ElementType() reflect.Type { - return reflect.TypeOf((*AlertRuleAction)(nil)) +func (*Action) ElementType() reflect.Type { + return reflect.TypeOf((*Action)(nil)) } -func (i *AlertRuleAction) ToAlertRuleActionOutput() AlertRuleActionOutput { - return i.ToAlertRuleActionOutputWithContext(context.Background()) +func (i *Action) ToActionOutput() ActionOutput { + return i.ToActionOutputWithContext(context.Background()) } -func (i *AlertRuleAction) ToAlertRuleActionOutputWithContext(ctx context.Context) AlertRuleActionOutput { - return pulumi.ToOutputWithContext(ctx, i).(AlertRuleActionOutput) +func (i *Action) ToActionOutputWithContext(ctx context.Context) ActionOutput { + return pulumi.ToOutputWithContext(ctx, i).(ActionOutput) } -type AlertRuleActionOutput struct { +type ActionOutput struct { *pulumi.OutputState } -func (AlertRuleActionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*AlertRuleAction)(nil)) +func (ActionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*Action)(nil)) } -func (o AlertRuleActionOutput) ToAlertRuleActionOutput() AlertRuleActionOutput { +func (o ActionOutput) ToActionOutput() ActionOutput { return o } -func (o AlertRuleActionOutput) ToAlertRuleActionOutputWithContext(ctx context.Context) AlertRuleActionOutput { +func (o ActionOutput) ToActionOutputWithContext(ctx context.Context) ActionOutput { return o } func init() { - pulumi.RegisterOutputType(AlertRuleActionOutput{}) + pulumi.RegisterOutputType(ActionOutput{}) } diff --git a/sdk/go/azure/securityinsights/v20190101preview/getAlertRuleAction.go b/sdk/go/azure/securityinsights/v20190101preview/getAction.go similarity index 81% rename from sdk/go/azure/securityinsights/v20190101preview/getAlertRuleAction.go rename to sdk/go/azure/securityinsights/v20190101preview/getAction.go index d8a7b21b593b..5aa2b9a8b2f5 100644 --- a/sdk/go/azure/securityinsights/v20190101preview/getAlertRuleAction.go +++ b/sdk/go/azure/securityinsights/v20190101preview/getAction.go @@ -7,16 +7,16 @@ import ( "github.com/pulumi/pulumi/sdk/v2/go/pulumi" ) -func LookupAlertRuleAction(ctx *pulumi.Context, args *LookupAlertRuleActionArgs, opts ...pulumi.InvokeOption) (*LookupAlertRuleActionResult, error) { - var rv LookupAlertRuleActionResult - err := ctx.Invoke("azure-nextgen:securityinsights/v20190101preview:getAlertRuleAction", args, &rv, opts...) +func LookupAction(ctx *pulumi.Context, args *LookupActionArgs, opts ...pulumi.InvokeOption) (*LookupActionResult, error) { + var rv LookupActionResult + err := ctx.Invoke("azure-nextgen:securityinsights/v20190101preview:getAction", args, &rv, opts...) if err != nil { return nil, err } return &rv, nil } -type LookupAlertRuleActionArgs struct { +type LookupActionArgs struct { // Action ID ActionId string `pulumi:"actionId"` // The namespace of workspaces resource provider- Microsoft.OperationalInsights. @@ -30,7 +30,7 @@ type LookupAlertRuleActionArgs struct { } // Action for alert rule. -type LookupAlertRuleActionResult struct { +type LookupActionResult struct { // Etag of the action. Etag *string `pulumi:"etag"` // Azure resource Id diff --git a/sdk/go/azure/securityinsights/v20190101preview/pulumiEnums.go b/sdk/go/azure/securityinsights/v20190101preview/pulumiEnums.go index 40ad927c0d89..cc929cafea5f 100644 --- a/sdk/go/azure/securityinsights/v20190101preview/pulumiEnums.go +++ b/sdk/go/azure/securityinsights/v20190101preview/pulumiEnums.go @@ -19,6 +19,7 @@ const ( AlertRuleKindFusion = AlertRuleKind("Fusion") AlertRuleKindMLBehaviorAnalytics = AlertRuleKind("MLBehaviorAnalytics") AlertRuleKindThreatIntelligence = AlertRuleKind("ThreatIntelligence") + AlertRuleKindAnomaly = AlertRuleKind("Anomaly") ) func (AlertRuleKind) ElementType() reflect.Type { diff --git a/sdk/nodejs/desktopvirtualization/v20201110preview/getHostPool.ts b/sdk/nodejs/desktopvirtualization/v20201110preview/getHostPool.ts index 540834d8251c..e90371d15dbb 100644 --- a/sdk/nodejs/desktopvirtualization/v20201110preview/getHostPool.ts +++ b/sdk/nodejs/desktopvirtualization/v20201110preview/getHostPool.ts @@ -98,10 +98,6 @@ export interface GetHostPoolResult { * Path to Azure KeyVault storing the secret used for communication to ADFS. */ readonly ssoClientSecretKeyVaultPath?: string; - /** - * Path to keyvault containing ssoContext secret. - */ - readonly ssoContext?: string; /** * The type of single sign on Secret Type. */ diff --git a/sdk/nodejs/desktopvirtualization/v20201110preview/hostPool.ts b/sdk/nodejs/desktopvirtualization/v20201110preview/hostPool.ts index 7e49bc07e879..8810200e29d6 100644 --- a/sdk/nodejs/desktopvirtualization/v20201110preview/hostPool.ts +++ b/sdk/nodejs/desktopvirtualization/v20201110preview/hostPool.ts @@ -95,10 +95,6 @@ export class HostPool extends pulumi.CustomResource { * Path to Azure KeyVault storing the secret used for communication to ADFS. */ public readonly ssoClientSecretKeyVaultPath!: pulumi.Output; - /** - * Path to keyvault containing ssoContext secret. - */ - public readonly ssoContext!: pulumi.Output; /** * The type of single sign on Secret Type. */ @@ -171,7 +167,6 @@ export class HostPool extends pulumi.CustomResource { inputs["ring"] = args ? args.ring : undefined; inputs["ssoClientId"] = args ? args.ssoClientId : undefined; inputs["ssoClientSecretKeyVaultPath"] = args ? args.ssoClientSecretKeyVaultPath : undefined; - inputs["ssoContext"] = args ? args.ssoContext : undefined; inputs["ssoSecretType"] = args ? args.ssoSecretType : undefined; inputs["ssoadfsAuthority"] = args ? args.ssoadfsAuthority : undefined; inputs["startVMOnConnect"] = args ? args.startVMOnConnect : undefined; @@ -197,7 +192,6 @@ export class HostPool extends pulumi.CustomResource { inputs["ring"] = undefined /*out*/; inputs["ssoClientId"] = undefined /*out*/; inputs["ssoClientSecretKeyVaultPath"] = undefined /*out*/; - inputs["ssoContext"] = undefined /*out*/; inputs["ssoSecretType"] = undefined /*out*/; inputs["ssoadfsAuthority"] = undefined /*out*/; inputs["startVMOnConnect"] = undefined /*out*/; @@ -283,10 +277,6 @@ export interface HostPoolArgs { * Path to Azure KeyVault storing the secret used for communication to ADFS. */ readonly ssoClientSecretKeyVaultPath?: pulumi.Input; - /** - * Path to keyvault containing ssoContext secret. - */ - readonly ssoContext?: pulumi.Input; /** * The type of single sign on Secret Type. */ diff --git a/sdk/nodejs/edgeorder/index.ts b/sdk/nodejs/edgeorder/index.ts new file mode 100644 index 000000000000..bb9ef9750d3d --- /dev/null +++ b/sdk/nodejs/edgeorder/index.ts @@ -0,0 +1,9 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +// Export sub-modules: +import * as v20201201preview from "./v20201201preview"; + +export { + v20201201preview, +}; diff --git a/sdk/nodejs/edgeorder/v20201201preview/addressByName.ts b/sdk/nodejs/edgeorder/v20201201preview/addressByName.ts new file mode 100644 index 000000000000..6065c5b4d936 --- /dev/null +++ b/sdk/nodejs/edgeorder/v20201201preview/addressByName.ts @@ -0,0 +1,146 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import { input as inputs, output as outputs, enums } from "../../types"; +import * as utilities from "../../utilities"; + +/** + * Address Resource. + */ +export class AddressByName extends pulumi.CustomResource { + /** + * Get an existing AddressByName 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): AddressByName { + return new AddressByName(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-nextgen:edgeorder/v20201201preview:AddressByName'; + + /** + * Returns true if the given object is an instance of AddressByName. 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 AddressByName { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === AddressByName.__pulumiType; + } + + /** + * Contact details for the address + */ + public readonly contactDetails!: 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; + /** + * Shipping details for the address + */ + public readonly shippingAddress!: pulumi.Output; + /** + * Represents resource creation and update time + */ + 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 AddressByName 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: AddressByNameArgs, opts?: pulumi.CustomResourceOptions) { + let inputs: pulumi.Inputs = {}; + if (!(opts && opts.id)) { + if ((!args || args.addressName === undefined) && !(opts && opts.urn)) { + throw new Error("Missing required property 'addressName'"); + } + if ((!args || args.contactDetails === undefined) && !(opts && opts.urn)) { + throw new Error("Missing required property 'contactDetails'"); + } + if ((!args || args.location === undefined) && !(opts && opts.urn)) { + throw new Error("Missing required property 'location'"); + } + if ((!args || args.resourceGroupName === undefined) && !(opts && opts.urn)) { + throw new Error("Missing required property 'resourceGroupName'"); + } + inputs["addressName"] = args ? args.addressName : undefined; + inputs["contactDetails"] = args ? args.contactDetails : undefined; + inputs["location"] = args ? args.location : undefined; + inputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + inputs["shippingAddress"] = args ? args.shippingAddress : undefined; + inputs["tags"] = args ? args.tags : undefined; + inputs["name"] = undefined /*out*/; + inputs["systemData"] = undefined /*out*/; + inputs["type"] = undefined /*out*/; + } else { + inputs["contactDetails"] = undefined /*out*/; + inputs["location"] = undefined /*out*/; + inputs["name"] = undefined /*out*/; + inputs["shippingAddress"] = undefined /*out*/; + inputs["systemData"] = undefined /*out*/; + inputs["tags"] = undefined /*out*/; + inputs["type"] = undefined /*out*/; + } + if (!opts) { + opts = {} + } + + if (!opts.version) { + opts.version = utilities.getVersion(); + } + super(AddressByName.__pulumiType, name, inputs, opts); + } +} + +/** + * The set of arguments for constructing a AddressByName resource. + */ +export interface AddressByNameArgs { + /** + * The name of the address Resource within the specified resource group. address names must be between 3 and 24 characters in length and use any alphanumeric and underscore only + */ + readonly addressName: pulumi.Input; + /** + * Contact details for the address + */ + readonly contactDetails: pulumi.Input; + /** + * The geo-location where the resource lives + */ + readonly location: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + readonly resourceGroupName: pulumi.Input; + /** + * Shipping details for the address + */ + readonly shippingAddress?: pulumi.Input; + /** + * Resource tags. + */ + readonly tags?: pulumi.Input<{[key: string]: pulumi.Input}>; +} diff --git a/sdk/nodejs/edgeorder/v20201201preview/getAddressByName.ts b/sdk/nodejs/edgeorder/v20201201preview/getAddressByName.ts new file mode 100644 index 000000000000..53abe0673755 --- /dev/null +++ b/sdk/nodejs/edgeorder/v20201201preview/getAddressByName.ts @@ -0,0 +1,69 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import { input as inputs, output as outputs, enums } from "../../types"; +import * as utilities from "../../utilities"; + +export function getAddressByName(args: GetAddressByNameArgs, opts?: pulumi.InvokeOptions): Promise { + if (!opts) { + opts = {} + } + + if (!opts.version) { + opts.version = utilities.getVersion(); + } + return pulumi.runtime.invoke("azure-nextgen:edgeorder/v20201201preview:getAddressByName", { + "addressName": args.addressName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetAddressByNameArgs { + /** + * The name of the address Resource within the specified resource group. address names must be between 3 and 24 characters in length and use any alphanumeric and underscore only + */ + readonly addressName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + readonly resourceGroupName: string; +} + +/** + * Address Resource. + */ +export interface GetAddressByNameResult { + /** + * Contact details for the address + */ + readonly contactDetails: outputs.edgeorder.v20201201preview.ContactDetailsResponse; + /** + * Fully qualified resource ID for the resource. Ex - /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; + /** + * Shipping details for the address + */ + readonly shippingAddress?: outputs.edgeorder.v20201201preview.ShippingAddressResponse; + /** + * Represents resource creation and update time + */ + readonly systemData: outputs.edgeorder.v20201201preview.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; +} diff --git a/sdk/nodejs/edgeorder/v20201201preview/getOrderByName.ts b/sdk/nodejs/edgeorder/v20201201preview/getOrderByName.ts new file mode 100644 index 000000000000..d03289bc21b5 --- /dev/null +++ b/sdk/nodejs/edgeorder/v20201201preview/getOrderByName.ts @@ -0,0 +1,77 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import { input as inputs, output as outputs, enums } from "../../types"; +import * as utilities from "../../utilities"; + +export function getOrderByName(args: GetOrderByNameArgs, opts?: pulumi.InvokeOptions): Promise { + if (!opts) { + opts = {} + } + + if (!opts.version) { + opts.version = utilities.getVersion(); + } + return pulumi.runtime.invoke("azure-nextgen:edgeorder/v20201201preview:getOrderByName", { + "orderName": args.orderName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetOrderByNameArgs { + /** + * The name of the order + */ + readonly orderName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + readonly resourceGroupName: string; +} + +/** + * Represents order contract + */ +export interface GetOrderByNameResult { + /** + * Represents shipping and return address for order + */ + readonly addressDetails: outputs.edgeorder.v20201201preview.AddressDetailsResponse; + /** + * Fully qualified resource ID for the resource. Ex - /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; + /** + * Id of the order collection to which order belongs to + */ + readonly orderCollectionId: string; + /** + * Represents order details. + */ + readonly orderDetails: outputs.edgeorder.v20201201preview.OrderDetailsResponse; + /** + * Start time of order + */ + readonly startTime: string; + /** + * Represents resource creation and update time + */ + readonly systemData: outputs.edgeorder.v20201201preview.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; +} diff --git a/sdk/nodejs/edgeorder/v20201201preview/getOrderCollectionByName.ts b/sdk/nodejs/edgeorder/v20201201preview/getOrderCollectionByName.ts new file mode 100644 index 000000000000..87d290b17b5c --- /dev/null +++ b/sdk/nodejs/edgeorder/v20201201preview/getOrderCollectionByName.ts @@ -0,0 +1,65 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import { input as inputs, output as outputs, enums } from "../../types"; +import * as utilities from "../../utilities"; + +export function getOrderCollectionByName(args: GetOrderCollectionByNameArgs, opts?: pulumi.InvokeOptions): Promise { + if (!opts) { + opts = {} + } + + if (!opts.version) { + opts.version = utilities.getVersion(); + } + return pulumi.runtime.invoke("azure-nextgen:edgeorder/v20201201preview:getOrderCollectionByName", { + "orderCollectionName": args.orderCollectionName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetOrderCollectionByNameArgs { + /** + * The name of the order collection + */ + readonly orderCollectionName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + readonly resourceGroupName: string; +} + +/** + * Specifies the properties or parameters for an order collection. Order collection is a grouping of one or more orders. + */ +export interface GetOrderCollectionByNameResult { + /** + * Fully qualified resource ID for the resource. Ex - /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; + /** + * List of order ARM Ids which are part of an order collection. + */ + readonly orderIds: string[]; + /** + * Represents resource creation and update time + */ + readonly systemData: outputs.edgeorder.v20201201preview.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; +} diff --git a/sdk/nodejs/edgeorder/v20201201preview/index.ts b/sdk/nodejs/edgeorder/v20201201preview/index.ts new file mode 100644 index 000000000000..90a6729b0a7f --- /dev/null +++ b/sdk/nodejs/edgeorder/v20201201preview/index.ts @@ -0,0 +1,40 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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 * from "./addressByName"; +export * from "./getAddressByName"; +export * from "./getOrderByName"; +export * from "./getOrderCollectionByName"; +export * from "./listConfigurations"; +export * from "./listProductFamilies"; +export * from "./orderByName"; +export * from "./orderCollectionByName"; + +// Export enums: +export * from "../../types/enums/edgeorder/v20201201preview"; + +// Import resources to register: +import { AddressByName } from "./addressByName"; +import { OrderByName } from "./orderByName"; +import { OrderCollectionByName } from "./orderCollectionByName"; + +const _module = { + version: utilities.getVersion(), + construct: (name: string, type: string, urn: string): pulumi.Resource => { + switch (type) { + case "azure-nextgen:edgeorder/v20201201preview:AddressByName": + return new AddressByName(name, undefined, { urn }) + case "azure-nextgen:edgeorder/v20201201preview:OrderByName": + return new OrderByName(name, undefined, { urn }) + case "azure-nextgen:edgeorder/v20201201preview:OrderCollectionByName": + return new OrderCollectionByName(name, undefined, { urn }) + default: + throw new Error(`unknown resource type ${type}`); + } + }, +}; +pulumi.runtime.registerResourceModule("azure-nextgen", "edgeorder/v20201201preview", _module) diff --git a/sdk/nodejs/edgeorder/v20201201preview/listConfigurations.ts b/sdk/nodejs/edgeorder/v20201201preview/listConfigurations.ts new file mode 100644 index 000000000000..400ddc0098ec --- /dev/null +++ b/sdk/nodejs/edgeorder/v20201201preview/listConfigurations.ts @@ -0,0 +1,50 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import { input as inputs, output as outputs, enums } from "../../types"; +import * as utilities from "../../utilities"; + +export function listConfigurations(args: ListConfigurationsArgs, opts?: pulumi.InvokeOptions): Promise { + if (!opts) { + opts = {} + } + + if (!opts.version) { + opts.version = utilities.getVersion(); + } + return pulumi.runtime.invoke("azure-nextgen:edgeorder/v20201201preview:listConfigurations", { + "configurationFilters": args.configurationFilters, + "customerSubscriptionDetails": args.customerSubscriptionDetails, + "skipToken": args.skipToken, + }, opts); +} + +export interface ListConfigurationsArgs { + /** + * Holds details about product hierarchy information and filterable property. + */ + readonly configurationFilters: inputs.edgeorder.v20201201preview.ConfigurationFilters[]; + /** + * Customer subscription properties. Clients can display available products to unregistered customers by explicitly passing subscription details + */ + readonly customerSubscriptionDetails?: inputs.edgeorder.v20201201preview.CustomerSubscriptionDetails; + /** + * $skipToken is supported on list of configurations, which provides the next page in the list of configurations. + */ + readonly skipToken?: string; +} + +/** + * The list of configurations. + */ +export interface ListConfigurationsResult { + /** + * Link for the next set of configurations. + */ + readonly nextLink?: string; + /** + * List of configurations. + */ + readonly value: outputs.edgeorder.v20201201preview.ConfigurationResponse[]; +} diff --git a/sdk/nodejs/edgeorder/v20201201preview/listProductFamilies.ts b/sdk/nodejs/edgeorder/v20201201preview/listProductFamilies.ts new file mode 100644 index 000000000000..11305c52a523 --- /dev/null +++ b/sdk/nodejs/edgeorder/v20201201preview/listProductFamilies.ts @@ -0,0 +1,55 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import { input as inputs, output as outputs, enums } from "../../types"; +import * as utilities from "../../utilities"; + +export function listProductFamilies(args: ListProductFamiliesArgs, opts?: pulumi.InvokeOptions): Promise { + if (!opts) { + opts = {} + } + + if (!opts.version) { + opts.version = utilities.getVersion(); + } + return pulumi.runtime.invoke("azure-nextgen:edgeorder/v20201201preview:listProductFamilies", { + "customerSubscriptionDetails": args.customerSubscriptionDetails, + "expand": args.expand, + "filterableProperties": args.filterableProperties, + "skipToken": args.skipToken, + }, opts); +} + +export interface ListProductFamiliesArgs { + /** + * Customer subscription properties. Clients can display available products to unregistered customers by explicitly passing subscription details + */ + readonly customerSubscriptionDetails?: inputs.edgeorder.v20201201preview.CustomerSubscriptionDetails; + /** + * $expand is supported on configurations parameter for product, which provides details on the configurations for the product. + */ + readonly expand?: string; + /** + * Dictionary of filterable properties on product family. + */ + readonly filterableProperties: {[key: string]: inputs.edgeorder.v20201201preview.FilterableProperty}; + /** + * $skipToken is supported on list of product families, which provides the next page in the list of product families. + */ + readonly skipToken?: string; +} + +/** + * The list of product families. + */ +export interface ListProductFamiliesResult { + /** + * Link for the next set of product families. + */ + readonly nextLink?: string; + /** + * List of product families. + */ + readonly value: outputs.edgeorder.v20201201preview.ProductFamilyResponse[]; +} diff --git a/sdk/nodejs/edgeorder/v20201201preview/orderByName.ts b/sdk/nodejs/edgeorder/v20201201preview/orderByName.ts new file mode 100644 index 000000000000..0db21b3f79a2 --- /dev/null +++ b/sdk/nodejs/edgeorder/v20201201preview/orderByName.ts @@ -0,0 +1,161 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import { input as inputs, output as outputs, enums } from "../../types"; +import * as utilities from "../../utilities"; + +/** + * Represents order contract + */ +export class OrderByName extends pulumi.CustomResource { + /** + * Get an existing OrderByName 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): OrderByName { + return new OrderByName(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-nextgen:edgeorder/v20201201preview:OrderByName'; + + /** + * Returns true if the given object is an instance of OrderByName. 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 OrderByName { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === OrderByName.__pulumiType; + } + + /** + * Represents shipping and return address for order + */ + public readonly addressDetails!: 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; + /** + * Id of the order collection to which order belongs to + */ + public /*out*/ readonly orderCollectionId!: pulumi.Output; + /** + * Represents order details. + */ + public readonly orderDetails!: pulumi.Output; + /** + * Start time of order + */ + public /*out*/ readonly startTime!: pulumi.Output; + /** + * Represents resource creation and update time + */ + 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 OrderByName 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: OrderByNameArgs, opts?: pulumi.CustomResourceOptions) { + let inputs: pulumi.Inputs = {}; + if (!(opts && opts.id)) { + if ((!args || args.addressDetails === undefined) && !(opts && opts.urn)) { + throw new Error("Missing required property 'addressDetails'"); + } + if ((!args || args.location === undefined) && !(opts && opts.urn)) { + throw new Error("Missing required property 'location'"); + } + if ((!args || args.orderDetails === undefined) && !(opts && opts.urn)) { + throw new Error("Missing required property 'orderDetails'"); + } + if ((!args || args.orderName === undefined) && !(opts && opts.urn)) { + throw new Error("Missing required property 'orderName'"); + } + if ((!args || args.resourceGroupName === undefined) && !(opts && opts.urn)) { + throw new Error("Missing required property 'resourceGroupName'"); + } + inputs["addressDetails"] = args ? args.addressDetails : undefined; + inputs["location"] = args ? args.location : undefined; + inputs["orderDetails"] = args ? args.orderDetails : undefined; + inputs["orderName"] = args ? args.orderName : undefined; + inputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + inputs["tags"] = args ? args.tags : undefined; + inputs["name"] = undefined /*out*/; + inputs["orderCollectionId"] = undefined /*out*/; + inputs["startTime"] = undefined /*out*/; + inputs["systemData"] = undefined /*out*/; + inputs["type"] = undefined /*out*/; + } else { + inputs["addressDetails"] = undefined /*out*/; + inputs["location"] = undefined /*out*/; + inputs["name"] = undefined /*out*/; + inputs["orderCollectionId"] = undefined /*out*/; + inputs["orderDetails"] = undefined /*out*/; + inputs["startTime"] = undefined /*out*/; + inputs["systemData"] = undefined /*out*/; + inputs["tags"] = undefined /*out*/; + inputs["type"] = undefined /*out*/; + } + if (!opts) { + opts = {} + } + + if (!opts.version) { + opts.version = utilities.getVersion(); + } + super(OrderByName.__pulumiType, name, inputs, opts); + } +} + +/** + * The set of arguments for constructing a OrderByName resource. + */ +export interface OrderByNameArgs { + /** + * Represents shipping and return address for order + */ + readonly addressDetails: pulumi.Input; + /** + * The geo-location where the resource lives + */ + readonly location: pulumi.Input; + /** + * Represents order details. + */ + readonly orderDetails: pulumi.Input; + /** + * The name of the order + */ + readonly orderName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + readonly resourceGroupName: pulumi.Input; + /** + * Resource tags. + */ + readonly tags?: pulumi.Input<{[key: string]: pulumi.Input}>; +} diff --git a/sdk/nodejs/edgeorder/v20201201preview/orderCollectionByName.ts b/sdk/nodejs/edgeorder/v20201201preview/orderCollectionByName.ts new file mode 100644 index 000000000000..5f5ca5819669 --- /dev/null +++ b/sdk/nodejs/edgeorder/v20201201preview/orderCollectionByName.ts @@ -0,0 +1,136 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import { input as inputs, output as outputs, enums } from "../../types"; +import * as utilities from "../../utilities"; + +/** + * Specifies the properties or parameters for an order collection. Order collection is a grouping of one or more orders. + */ +export class OrderCollectionByName extends pulumi.CustomResource { + /** + * Get an existing OrderCollectionByName 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): OrderCollectionByName { + return new OrderCollectionByName(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-nextgen:edgeorder/v20201201preview:OrderCollectionByName'; + + /** + * Returns true if the given object is an instance of OrderCollectionByName. 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 OrderCollectionByName { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === OrderCollectionByName.__pulumiType; + } + + /** + * The geo-location where the resource lives + */ + public readonly location!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * List of order ARM Ids which are part of an order collection. + */ + public readonly orderIds!: pulumi.Output; + /** + * Represents resource creation and update time + */ + 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 OrderCollectionByName 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: OrderCollectionByNameArgs, opts?: pulumi.CustomResourceOptions) { + let inputs: pulumi.Inputs = {}; + if (!(opts && opts.id)) { + if ((!args || args.location === undefined) && !(opts && opts.urn)) { + throw new Error("Missing required property 'location'"); + } + if ((!args || args.orderCollectionName === undefined) && !(opts && opts.urn)) { + throw new Error("Missing required property 'orderCollectionName'"); + } + if ((!args || args.orderIds === undefined) && !(opts && opts.urn)) { + throw new Error("Missing required property 'orderIds'"); + } + if ((!args || args.resourceGroupName === undefined) && !(opts && opts.urn)) { + throw new Error("Missing required property 'resourceGroupName'"); + } + inputs["location"] = args ? args.location : undefined; + inputs["orderCollectionName"] = args ? args.orderCollectionName : undefined; + inputs["orderIds"] = args ? args.orderIds : undefined; + inputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + inputs["tags"] = args ? args.tags : undefined; + inputs["name"] = undefined /*out*/; + inputs["systemData"] = undefined /*out*/; + inputs["type"] = undefined /*out*/; + } else { + inputs["location"] = undefined /*out*/; + inputs["name"] = undefined /*out*/; + inputs["orderIds"] = undefined /*out*/; + inputs["systemData"] = undefined /*out*/; + inputs["tags"] = undefined /*out*/; + inputs["type"] = undefined /*out*/; + } + if (!opts) { + opts = {} + } + + if (!opts.version) { + opts.version = utilities.getVersion(); + } + super(OrderCollectionByName.__pulumiType, name, inputs, opts); + } +} + +/** + * The set of arguments for constructing a OrderCollectionByName resource. + */ +export interface OrderCollectionByNameArgs { + /** + * The geo-location where the resource lives + */ + readonly location: pulumi.Input; + /** + * The name of the order collection + */ + readonly orderCollectionName: pulumi.Input; + /** + * List of order ARM Ids which are part of an order collection. + */ + readonly orderIds: pulumi.Input[]>; + /** + * The name of the resource group. The name is case insensitive. + */ + readonly resourceGroupName: pulumi.Input; + /** + * Resource tags. + */ + readonly tags?: pulumi.Input<{[key: string]: pulumi.Input}>; +} diff --git a/sdk/nodejs/healthcareapis/index.ts b/sdk/nodejs/healthcareapis/index.ts index 011059dde0ad..9a0eb3db3950 100644 --- a/sdk/nodejs/healthcareapis/index.ts +++ b/sdk/nodejs/healthcareapis/index.ts @@ -7,6 +7,7 @@ import * as v20180820preview from "./v20180820preview"; import * as v20190916 from "./v20190916"; import * as v20200315 from "./v20200315"; import * as v20200330 from "./v20200330"; +import * as v20210111 from "./v20210111"; export { latest, @@ -14,4 +15,5 @@ export { v20190916, v20200315, v20200330, + v20210111, }; diff --git a/sdk/nodejs/healthcareapis/latest/getPrivateEndpointConnection.ts b/sdk/nodejs/healthcareapis/latest/getPrivateEndpointConnection.ts index a042be2914aa..a7bd50ff7ce1 100644 --- a/sdk/nodejs/healthcareapis/latest/getPrivateEndpointConnection.ts +++ b/sdk/nodejs/healthcareapis/latest/getPrivateEndpointConnection.ts @@ -59,6 +59,10 @@ export interface GetPrivateEndpointConnectionResult { * The provisioning state of the private endpoint connection resource. */ readonly provisioningState: string; + /** + * System metadata for this resource. + */ + readonly systemData: outputs.healthcareapis.latest.SystemDataResponse; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ diff --git a/sdk/nodejs/healthcareapis/latest/getService.ts b/sdk/nodejs/healthcareapis/latest/getService.ts index 853be3ba3a67..b8a7433f0b0e 100644 --- a/sdk/nodejs/healthcareapis/latest/getService.ts +++ b/sdk/nodejs/healthcareapis/latest/getService.ts @@ -62,6 +62,10 @@ export interface GetServiceResult { * The common properties of a service. */ readonly properties: outputs.healthcareapis.latest.ServicesPropertiesResponse; + /** + * Metadata pertaining to creation and last modification of the resource. + */ + readonly systemData: outputs.healthcareapis.latest.SystemDataResponse; /** * The resource tags. */ diff --git a/sdk/nodejs/healthcareapis/latest/privateEndpointConnection.ts b/sdk/nodejs/healthcareapis/latest/privateEndpointConnection.ts index ca2962585274..631085bc4915 100644 --- a/sdk/nodejs/healthcareapis/latest/privateEndpointConnection.ts +++ b/sdk/nodejs/healthcareapis/latest/privateEndpointConnection.ts @@ -7,7 +7,7 @@ import * as utilities from "../../utilities"; /** * The Private Endpoint Connection resource. - * Latest API Version: 2020-03-30. + * Latest API Version: 2021-01-11. */ export class PrivateEndpointConnection extends pulumi.CustomResource { /** @@ -52,6 +52,10 @@ export class PrivateEndpointConnection extends pulumi.CustomResource { * The provisioning state of the private endpoint connection resource. */ public /*out*/ readonly provisioningState!: pulumi.Output; + /** + * System metadata for this resource. + */ + public /*out*/ readonly systemData!: pulumi.Output; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ @@ -86,12 +90,14 @@ export class PrivateEndpointConnection extends pulumi.CustomResource { inputs["name"] = undefined /*out*/; inputs["privateEndpoint"] = undefined /*out*/; inputs["provisioningState"] = undefined /*out*/; + inputs["systemData"] = undefined /*out*/; inputs["type"] = undefined /*out*/; } else { inputs["name"] = undefined /*out*/; inputs["privateEndpoint"] = undefined /*out*/; inputs["privateLinkServiceConnectionState"] = undefined /*out*/; inputs["provisioningState"] = undefined /*out*/; + inputs["systemData"] = undefined /*out*/; inputs["type"] = undefined /*out*/; } if (!opts) { @@ -101,7 +107,7 @@ export class PrivateEndpointConnection extends pulumi.CustomResource { if (!opts.version) { opts.version = utilities.getVersion(); } - const aliasOpts = { aliases: [{ type: "azure-nextgen:healthcareapis/v20200330:PrivateEndpointConnection" }] }; + const aliasOpts = { aliases: [{ type: "azure-nextgen:healthcareapis/v20200330:PrivateEndpointConnection" }, { type: "azure-nextgen:healthcareapis/v20210111:PrivateEndpointConnection" }] }; opts = opts ? pulumi.mergeOptions(opts, aliasOpts) : aliasOpts; super(PrivateEndpointConnection.__pulumiType, name, inputs, opts); } diff --git a/sdk/nodejs/healthcareapis/latest/service.ts b/sdk/nodejs/healthcareapis/latest/service.ts index 9daa93a7fc94..49f36ec400b5 100644 --- a/sdk/nodejs/healthcareapis/latest/service.ts +++ b/sdk/nodejs/healthcareapis/latest/service.ts @@ -7,7 +7,7 @@ import * as utilities from "../../utilities"; /** * The description of the service. - * Latest API Version: 2020-03-30. + * Latest API Version: 2021-01-11. */ export class Service extends pulumi.CustomResource { /** @@ -60,6 +60,10 @@ export class Service extends pulumi.CustomResource { * The common properties of a service. */ public readonly properties!: pulumi.Output; + /** + * Metadata pertaining to creation and last modification of the resource. + */ + public /*out*/ readonly systemData!: pulumi.Output; /** * The resource tags. */ @@ -100,6 +104,7 @@ export class Service extends pulumi.CustomResource { inputs["resourceName"] = args ? args.resourceName : undefined; inputs["tags"] = args ? args.tags : undefined; inputs["name"] = undefined /*out*/; + inputs["systemData"] = undefined /*out*/; inputs["type"] = undefined /*out*/; } else { inputs["etag"] = undefined /*out*/; @@ -108,6 +113,7 @@ export class Service extends pulumi.CustomResource { inputs["location"] = undefined /*out*/; inputs["name"] = undefined /*out*/; inputs["properties"] = undefined /*out*/; + inputs["systemData"] = undefined /*out*/; inputs["tags"] = undefined /*out*/; inputs["type"] = undefined /*out*/; } @@ -118,7 +124,7 @@ export class Service extends pulumi.CustomResource { if (!opts.version) { opts.version = utilities.getVersion(); } - const aliasOpts = { aliases: [{ type: "azure-nextgen:healthcareapis/v20180820preview:Service" }, { type: "azure-nextgen:healthcareapis/v20190916:Service" }, { type: "azure-nextgen:healthcareapis/v20200315:Service" }, { type: "azure-nextgen:healthcareapis/v20200330:Service" }] }; + const aliasOpts = { aliases: [{ type: "azure-nextgen:healthcareapis/v20180820preview:Service" }, { type: "azure-nextgen:healthcareapis/v20190916:Service" }, { type: "azure-nextgen:healthcareapis/v20200315:Service" }, { type: "azure-nextgen:healthcareapis/v20200330:Service" }, { type: "azure-nextgen:healthcareapis/v20210111:Service" }] }; opts = opts ? pulumi.mergeOptions(opts, aliasOpts) : aliasOpts; super(Service.__pulumiType, name, inputs, opts); } diff --git a/sdk/nodejs/healthcareapis/v20180820preview/service.ts b/sdk/nodejs/healthcareapis/v20180820preview/service.ts index 4397d9657a03..8e9f53576244 100644 --- a/sdk/nodejs/healthcareapis/v20180820preview/service.ts +++ b/sdk/nodejs/healthcareapis/v20180820preview/service.ts @@ -111,7 +111,7 @@ export class Service extends pulumi.CustomResource { if (!opts.version) { opts.version = utilities.getVersion(); } - const aliasOpts = { aliases: [{ type: "azure-nextgen:healthcareapis/latest:Service" }, { type: "azure-nextgen:healthcareapis/v20190916:Service" }, { type: "azure-nextgen:healthcareapis/v20200315:Service" }, { type: "azure-nextgen:healthcareapis/v20200330:Service" }] }; + const aliasOpts = { aliases: [{ type: "azure-nextgen:healthcareapis/latest:Service" }, { type: "azure-nextgen:healthcareapis/v20190916:Service" }, { type: "azure-nextgen:healthcareapis/v20200315:Service" }, { type: "azure-nextgen:healthcareapis/v20200330:Service" }, { type: "azure-nextgen:healthcareapis/v20210111:Service" }] }; opts = opts ? pulumi.mergeOptions(opts, aliasOpts) : aliasOpts; super(Service.__pulumiType, name, inputs, opts); } diff --git a/sdk/nodejs/healthcareapis/v20190916/service.ts b/sdk/nodejs/healthcareapis/v20190916/service.ts index 49708ac35f69..fc00c885fd99 100644 --- a/sdk/nodejs/healthcareapis/v20190916/service.ts +++ b/sdk/nodejs/healthcareapis/v20190916/service.ts @@ -117,7 +117,7 @@ export class Service extends pulumi.CustomResource { if (!opts.version) { opts.version = utilities.getVersion(); } - const aliasOpts = { aliases: [{ type: "azure-nextgen:healthcareapis/latest:Service" }, { type: "azure-nextgen:healthcareapis/v20180820preview:Service" }, { type: "azure-nextgen:healthcareapis/v20200315:Service" }, { type: "azure-nextgen:healthcareapis/v20200330:Service" }] }; + const aliasOpts = { aliases: [{ type: "azure-nextgen:healthcareapis/latest:Service" }, { type: "azure-nextgen:healthcareapis/v20180820preview:Service" }, { type: "azure-nextgen:healthcareapis/v20200315:Service" }, { type: "azure-nextgen:healthcareapis/v20200330:Service" }, { type: "azure-nextgen:healthcareapis/v20210111:Service" }] }; opts = opts ? pulumi.mergeOptions(opts, aliasOpts) : aliasOpts; super(Service.__pulumiType, name, inputs, opts); } diff --git a/sdk/nodejs/healthcareapis/v20200315/service.ts b/sdk/nodejs/healthcareapis/v20200315/service.ts index e99a082fc309..b1f3cb6fd733 100644 --- a/sdk/nodejs/healthcareapis/v20200315/service.ts +++ b/sdk/nodejs/healthcareapis/v20200315/service.ts @@ -117,7 +117,7 @@ export class Service extends pulumi.CustomResource { if (!opts.version) { opts.version = utilities.getVersion(); } - const aliasOpts = { aliases: [{ type: "azure-nextgen:healthcareapis/latest:Service" }, { type: "azure-nextgen:healthcareapis/v20180820preview:Service" }, { type: "azure-nextgen:healthcareapis/v20190916:Service" }, { type: "azure-nextgen:healthcareapis/v20200330:Service" }] }; + const aliasOpts = { aliases: [{ type: "azure-nextgen:healthcareapis/latest:Service" }, { type: "azure-nextgen:healthcareapis/v20180820preview:Service" }, { type: "azure-nextgen:healthcareapis/v20190916:Service" }, { type: "azure-nextgen:healthcareapis/v20200330:Service" }, { type: "azure-nextgen:healthcareapis/v20210111:Service" }] }; opts = opts ? pulumi.mergeOptions(opts, aliasOpts) : aliasOpts; super(Service.__pulumiType, name, inputs, opts); } diff --git a/sdk/nodejs/healthcareapis/v20200330/privateEndpointConnection.ts b/sdk/nodejs/healthcareapis/v20200330/privateEndpointConnection.ts index fb6abcd3cb7b..64858db22641 100644 --- a/sdk/nodejs/healthcareapis/v20200330/privateEndpointConnection.ts +++ b/sdk/nodejs/healthcareapis/v20200330/privateEndpointConnection.ts @@ -100,7 +100,7 @@ export class PrivateEndpointConnection extends pulumi.CustomResource { if (!opts.version) { opts.version = utilities.getVersion(); } - const aliasOpts = { aliases: [{ type: "azure-nextgen:healthcareapis/latest:PrivateEndpointConnection" }] }; + const aliasOpts = { aliases: [{ type: "azure-nextgen:healthcareapis/latest:PrivateEndpointConnection" }, { type: "azure-nextgen:healthcareapis/v20210111:PrivateEndpointConnection" }] }; opts = opts ? pulumi.mergeOptions(opts, aliasOpts) : aliasOpts; super(PrivateEndpointConnection.__pulumiType, name, inputs, opts); } diff --git a/sdk/nodejs/healthcareapis/v20200330/service.ts b/sdk/nodejs/healthcareapis/v20200330/service.ts index d7ce21fda458..09cc079c773e 100644 --- a/sdk/nodejs/healthcareapis/v20200330/service.ts +++ b/sdk/nodejs/healthcareapis/v20200330/service.ts @@ -117,7 +117,7 @@ export class Service extends pulumi.CustomResource { if (!opts.version) { opts.version = utilities.getVersion(); } - const aliasOpts = { aliases: [{ type: "azure-nextgen:healthcareapis/latest:Service" }, { type: "azure-nextgen:healthcareapis/v20180820preview:Service" }, { type: "azure-nextgen:healthcareapis/v20190916:Service" }, { type: "azure-nextgen:healthcareapis/v20200315:Service" }] }; + const aliasOpts = { aliases: [{ type: "azure-nextgen:healthcareapis/latest:Service" }, { type: "azure-nextgen:healthcareapis/v20180820preview:Service" }, { type: "azure-nextgen:healthcareapis/v20190916:Service" }, { type: "azure-nextgen:healthcareapis/v20200315:Service" }, { type: "azure-nextgen:healthcareapis/v20210111:Service" }] }; opts = opts ? pulumi.mergeOptions(opts, aliasOpts) : aliasOpts; super(Service.__pulumiType, name, inputs, opts); } diff --git a/sdk/nodejs/healthcareapis/v20210111/getPrivateEndpointConnection.ts b/sdk/nodejs/healthcareapis/v20210111/getPrivateEndpointConnection.ts new file mode 100644 index 000000000000..dbf1a9e2a5ee --- /dev/null +++ b/sdk/nodejs/healthcareapis/v20210111/getPrivateEndpointConnection.ts @@ -0,0 +1,70 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import { input as inputs, output as outputs, enums } from "../../types"; +import * as utilities from "../../utilities"; + +export function getPrivateEndpointConnection(args: GetPrivateEndpointConnectionArgs, opts?: pulumi.InvokeOptions): Promise { + if (!opts) { + opts = {} + } + + if (!opts.version) { + opts.version = utilities.getVersion(); + } + return pulumi.runtime.invoke("azure-nextgen:healthcareapis/v20210111:getPrivateEndpointConnection", { + "privateEndpointConnectionName": args.privateEndpointConnectionName, + "resourceGroupName": args.resourceGroupName, + "resourceName": args.resourceName, + }, opts); +} + +export interface GetPrivateEndpointConnectionArgs { + /** + * The name of the private endpoint connection associated with the Azure resource + */ + readonly privateEndpointConnectionName: string; + /** + * The name of the resource group that contains the service instance. + */ + readonly resourceGroupName: string; + /** + * The name of the service instance. + */ + readonly resourceName: string; +} + +/** + * The Private Endpoint Connection resource. + */ +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; + /** + * The resource of private end point. + */ + readonly privateEndpoint?: outputs.healthcareapis.v20210111.PrivateEndpointResponse; + /** + * A collection of information about the state of the connection between service consumer and provider. + */ + readonly privateLinkServiceConnectionState: outputs.healthcareapis.v20210111.PrivateLinkServiceConnectionStateResponse; + /** + * The provisioning state of the private endpoint connection resource. + */ + readonly provisioningState: string; + /** + * System metadata for this resource. + */ + readonly systemData: outputs.healthcareapis.v20210111.SystemDataResponse; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} diff --git a/sdk/nodejs/healthcareapis/v20210111/getService.ts b/sdk/nodejs/healthcareapis/v20210111/getService.ts new file mode 100644 index 000000000000..d7cd0653ad66 --- /dev/null +++ b/sdk/nodejs/healthcareapis/v20210111/getService.ts @@ -0,0 +1,77 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import { input as inputs, output as outputs, enums } from "../../types"; +import * as utilities from "../../utilities"; + +export function getService(args: GetServiceArgs, opts?: pulumi.InvokeOptions): Promise { + if (!opts) { + opts = {} + } + + if (!opts.version) { + opts.version = utilities.getVersion(); + } + return pulumi.runtime.invoke("azure-nextgen:healthcareapis/v20210111:getService", { + "resourceGroupName": args.resourceGroupName, + "resourceName": args.resourceName, + }, opts); +} + +export interface GetServiceArgs { + /** + * The name of the resource group that contains the service instance. + */ + readonly resourceGroupName: string; + /** + * The name of the service instance. + */ + readonly resourceName: string; +} + +/** + * The description of the service. + */ +export interface GetServiceResult { + /** + * An etag associated with the resource, used for optimistic concurrency when editing it. + */ + readonly etag?: string; + /** + * The resource identifier. + */ + readonly id: string; + /** + * Setting indicating whether the service has a managed identity associated with it. + */ + readonly identity?: outputs.healthcareapis.v20210111.ServicesResourceResponseIdentity; + /** + * The kind of the service. + */ + readonly kind: string; + /** + * The resource location. + */ + readonly location: string; + /** + * The resource name. + */ + readonly name: string; + /** + * The common properties of a service. + */ + readonly properties: outputs.healthcareapis.v20210111.ServicesPropertiesResponse; + /** + * Metadata pertaining to creation and last modification of the resource. + */ + readonly systemData: outputs.healthcareapis.v20210111.SystemDataResponse; + /** + * The resource tags. + */ + readonly tags?: {[key: string]: string}; + /** + * The resource type. + */ + readonly type: string; +} diff --git a/sdk/nodejs/healthcareapis/v20210111/index.ts b/sdk/nodejs/healthcareapis/v20210111/index.ts new file mode 100644 index 000000000000..c3e4f65a05a9 --- /dev/null +++ b/sdk/nodejs/healthcareapis/v20210111/index.ts @@ -0,0 +1,33 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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 * from "./getPrivateEndpointConnection"; +export * from "./getService"; +export * from "./privateEndpointConnection"; +export * from "./service"; + +// Export enums: +export * from "../../types/enums/healthcareapis/v20210111"; + +// Import resources to register: +import { PrivateEndpointConnection } from "./privateEndpointConnection"; +import { Service } from "./service"; + +const _module = { + version: utilities.getVersion(), + construct: (name: string, type: string, urn: string): pulumi.Resource => { + switch (type) { + case "azure-nextgen:healthcareapis/v20210111:PrivateEndpointConnection": + return new PrivateEndpointConnection(name, undefined, { urn }) + case "azure-nextgen:healthcareapis/v20210111:Service": + return new Service(name, undefined, { urn }) + default: + throw new Error(`unknown resource type ${type}`); + } + }, +}; +pulumi.runtime.registerResourceModule("azure-nextgen", "healthcareapis/v20210111", _module) diff --git a/sdk/nodejs/healthcareapis/v20210111/privateEndpointConnection.ts b/sdk/nodejs/healthcareapis/v20210111/privateEndpointConnection.ts new file mode 100644 index 000000000000..d4143e1b942f --- /dev/null +++ b/sdk/nodejs/healthcareapis/v20210111/privateEndpointConnection.ts @@ -0,0 +1,135 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import { input as inputs, output as outputs, enums } from "../../types"; +import * as utilities from "../../utilities"; + +/** + * The Private Endpoint Connection resource. + */ +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-nextgen:healthcareapis/v20210111: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; + /** + * The resource of private end point. + */ + public /*out*/ readonly privateEndpoint!: pulumi.Output; + /** + * A collection of information about the state of the connection between service consumer and provider. + */ + public readonly privateLinkServiceConnectionState!: pulumi.Output; + /** + * The provisioning state of the private endpoint connection resource. + */ + public /*out*/ readonly provisioningState!: pulumi.Output; + /** + * System metadata for this resource. + */ + 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 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 inputs: pulumi.Inputs = {}; + if (!(opts && opts.id)) { + if ((!args || args.privateEndpointConnectionName === undefined) && !(opts && opts.urn)) { + throw new Error("Missing required property 'privateEndpointConnectionName'"); + } + if ((!args || args.privateLinkServiceConnectionState === undefined) && !(opts && opts.urn)) { + throw new Error("Missing required property 'privateLinkServiceConnectionState'"); + } + if ((!args || args.resourceGroupName === undefined) && !(opts && opts.urn)) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.resourceName === undefined) && !(opts && opts.urn)) { + throw new Error("Missing required property 'resourceName'"); + } + inputs["privateEndpointConnectionName"] = args ? args.privateEndpointConnectionName : undefined; + inputs["privateLinkServiceConnectionState"] = args ? args.privateLinkServiceConnectionState : undefined; + inputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + inputs["resourceName"] = args ? args.resourceName : undefined; + inputs["name"] = undefined /*out*/; + inputs["privateEndpoint"] = undefined /*out*/; + inputs["provisioningState"] = undefined /*out*/; + inputs["systemData"] = undefined /*out*/; + inputs["type"] = undefined /*out*/; + } else { + inputs["name"] = undefined /*out*/; + inputs["privateEndpoint"] = undefined /*out*/; + inputs["privateLinkServiceConnectionState"] = undefined /*out*/; + inputs["provisioningState"] = undefined /*out*/; + inputs["systemData"] = undefined /*out*/; + inputs["type"] = undefined /*out*/; + } + if (!opts) { + opts = {} + } + + if (!opts.version) { + opts.version = utilities.getVersion(); + } + const aliasOpts = { aliases: [{ type: "azure-nextgen:healthcareapis/latest:PrivateEndpointConnection" }, { type: "azure-nextgen:healthcareapis/v20200330:PrivateEndpointConnection" }] }; + opts = opts ? pulumi.mergeOptions(opts, aliasOpts) : aliasOpts; + super(PrivateEndpointConnection.__pulumiType, name, inputs, opts); + } +} + +/** + * The set of arguments for constructing a PrivateEndpointConnection resource. + */ +export interface PrivateEndpointConnectionArgs { + /** + * The name of the private endpoint connection associated with the Azure resource + */ + readonly privateEndpointConnectionName: pulumi.Input; + /** + * A collection of information about the state of the connection between service consumer and provider. + */ + readonly privateLinkServiceConnectionState: pulumi.Input; + /** + * The name of the resource group that contains the service instance. + */ + readonly resourceGroupName: pulumi.Input; + /** + * The name of the service instance. + */ + readonly resourceName: pulumi.Input; +} diff --git a/sdk/nodejs/healthcareapis/v20210111/service.ts b/sdk/nodejs/healthcareapis/v20210111/service.ts new file mode 100644 index 000000000000..cf3566b83e85 --- /dev/null +++ b/sdk/nodejs/healthcareapis/v20210111/service.ts @@ -0,0 +1,168 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import { input as inputs, output as outputs, enums } from "../../types"; +import * as utilities from "../../utilities"; + +/** + * The description of the service. + */ +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-nextgen:healthcareapis/v20210111: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; + } + + /** + * An etag associated with the resource, used for optimistic concurrency when editing it. + */ + public readonly etag!: pulumi.Output; + /** + * Setting indicating whether the service has a managed identity associated with it. + */ + public readonly identity!: pulumi.Output; + /** + * The kind of the service. + */ + public readonly kind!: pulumi.Output; + /** + * The resource location. + */ + public readonly location!: pulumi.Output; + /** + * The resource name. + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * The common properties of a service. + */ + public readonly properties!: pulumi.Output; + /** + * Metadata pertaining to creation and last modification of the resource. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The resource tags. + */ + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; + /** + * The resource type. + */ + public /*out*/ readonly type!: 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 inputs: pulumi.Inputs = {}; + if (!(opts && opts.id)) { + if ((!args || args.kind === undefined) && !(opts && opts.urn)) { + throw new Error("Missing required property 'kind'"); + } + if ((!args || args.location === undefined) && !(opts && opts.urn)) { + throw new Error("Missing required property 'location'"); + } + if ((!args || args.resourceGroupName === undefined) && !(opts && opts.urn)) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.resourceName === undefined) && !(opts && opts.urn)) { + throw new Error("Missing required property 'resourceName'"); + } + inputs["etag"] = args ? args.etag : undefined; + inputs["identity"] = args ? args.identity : undefined; + inputs["kind"] = args ? args.kind : undefined; + inputs["location"] = args ? args.location : undefined; + inputs["properties"] = args ? args.properties : undefined; + inputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + inputs["resourceName"] = args ? args.resourceName : undefined; + inputs["tags"] = args ? args.tags : undefined; + inputs["name"] = undefined /*out*/; + inputs["systemData"] = undefined /*out*/; + inputs["type"] = undefined /*out*/; + } else { + inputs["etag"] = undefined /*out*/; + inputs["identity"] = undefined /*out*/; + inputs["kind"] = undefined /*out*/; + inputs["location"] = undefined /*out*/; + inputs["name"] = undefined /*out*/; + inputs["properties"] = undefined /*out*/; + inputs["systemData"] = undefined /*out*/; + inputs["tags"] = undefined /*out*/; + inputs["type"] = undefined /*out*/; + } + if (!opts) { + opts = {} + } + + if (!opts.version) { + opts.version = utilities.getVersion(); + } + const aliasOpts = { aliases: [{ type: "azure-nextgen:healthcareapis/latest:Service" }, { type: "azure-nextgen:healthcareapis/v20180820preview:Service" }, { type: "azure-nextgen:healthcareapis/v20190916:Service" }, { type: "azure-nextgen:healthcareapis/v20200315:Service" }, { type: "azure-nextgen:healthcareapis/v20200330:Service" }] }; + opts = opts ? pulumi.mergeOptions(opts, aliasOpts) : aliasOpts; + super(Service.__pulumiType, name, inputs, opts); + } +} + +/** + * The set of arguments for constructing a Service resource. + */ +export interface ServiceArgs { + /** + * An etag associated with the resource, used for optimistic concurrency when editing it. + */ + readonly etag?: pulumi.Input; + /** + * Setting indicating whether the service has a managed identity associated with it. + */ + readonly identity?: pulumi.Input; + /** + * The kind of the service. + */ + readonly kind: pulumi.Input; + /** + * The resource location. + */ + readonly location: pulumi.Input; + /** + * The common properties of a service. + */ + readonly properties?: pulumi.Input; + /** + * The name of the resource group that contains the service instance. + */ + readonly resourceGroupName: pulumi.Input; + /** + * The name of the service instance. + */ + readonly resourceName: pulumi.Input; + /** + * The resource tags. + */ + readonly tags?: pulumi.Input<{[key: string]: pulumi.Input}>; +} diff --git a/sdk/nodejs/index.ts b/sdk/nodejs/index.ts index 2c7f3da1150e..c703ce9b9819 100644 --- a/sdk/nodejs/index.ts +++ b/sdk/nodejs/index.ts @@ -73,6 +73,7 @@ import * as devtestlab from "./devtestlab"; import * as digitaltwins from "./digitaltwins"; import * as documentdb from "./documentdb"; import * as domainregistration from "./domainregistration"; +import * as edgeorder from "./edgeorder"; import * as engagementfabric from "./engagementfabric"; import * as enterpriseknowledgegraph from "./enterpriseknowledgegraph"; import * as eventgrid from "./eventgrid"; @@ -229,6 +230,7 @@ export { digitaltwins, documentdb, domainregistration, + edgeorder, engagementfabric, enterpriseknowledgegraph, eventgrid, diff --git a/sdk/nodejs/mixedreality/index.ts b/sdk/nodejs/mixedreality/index.ts index 50efea64cfd7..61bfc8f3c48d 100644 --- a/sdk/nodejs/mixedreality/index.ts +++ b/sdk/nodejs/mixedreality/index.ts @@ -7,6 +7,7 @@ import * as v20190228preview from "./v20190228preview"; import * as v20191202preview from "./v20191202preview"; import * as v20200406preview from "./v20200406preview"; import * as v20200501 from "./v20200501"; +import * as v20210101 from "./v20210101"; export { latest, @@ -14,4 +15,5 @@ export { v20191202preview, v20200406preview, v20200501, + v20210101, }; diff --git a/sdk/nodejs/mixedreality/latest/getRemoteRenderingAccount.ts b/sdk/nodejs/mixedreality/latest/getRemoteRenderingAccount.ts new file mode 100644 index 000000000000..0cee366386ca --- /dev/null +++ b/sdk/nodejs/mixedreality/latest/getRemoteRenderingAccount.ts @@ -0,0 +1,85 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import { input as inputs, output as outputs, enums } from "../../types"; +import * as utilities from "../../utilities"; + +export function getRemoteRenderingAccount(args: GetRemoteRenderingAccountArgs, opts?: pulumi.InvokeOptions): Promise { + if (!opts) { + opts = {} + } + + if (!opts.version) { + opts.version = utilities.getVersion(); + } + return pulumi.runtime.invoke("azure-nextgen:mixedreality/latest:getRemoteRenderingAccount", { + "accountName": args.accountName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetRemoteRenderingAccountArgs { + /** + * Name of an Mixed Reality Account. + */ + readonly accountName: string; + /** + * Name of an Azure resource group. + */ + readonly resourceGroupName: string; +} + +/** + * RemoteRenderingAccount Response. + */ +export interface GetRemoteRenderingAccountResult { + /** + * Correspond domain name of certain Spatial Anchors Account + */ + readonly accountDomain: string; + /** + * unique id of certain account. + */ + readonly accountId: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * The identity associated with this account + */ + readonly identity?: outputs.mixedreality.latest.IdentityResponse; + /** + * The kind of account, if supported + */ + readonly kind?: outputs.mixedreality.latest.SkuResponse; + /** + * The geo-location where the resource lives + */ + readonly location: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * The plan associated with this account + */ + readonly plan?: outputs.mixedreality.latest.IdentityResponse; + /** + * The sku associated with this account + */ + readonly sku?: outputs.mixedreality.latest.SkuResponse; + /** + * System metadata for this account + */ + readonly systemData: outputs.mixedreality.latest.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; +} diff --git a/sdk/nodejs/mixedreality/latest/getSpatialAnchorsAccount.ts b/sdk/nodejs/mixedreality/latest/getSpatialAnchorsAccount.ts index d4365e118563..b383317d38d0 100644 --- a/sdk/nodejs/mixedreality/latest/getSpatialAnchorsAccount.ts +++ b/sdk/nodejs/mixedreality/latest/getSpatialAnchorsAccount.ts @@ -50,6 +50,10 @@ export interface GetSpatialAnchorsAccountResult { * The identity associated with this account */ readonly identity?: outputs.mixedreality.latest.IdentityResponse; + /** + * The kind of account, if supported + */ + readonly kind?: outputs.mixedreality.latest.SkuResponse; /** * The geo-location where the resource lives */ @@ -58,6 +62,18 @@ export interface GetSpatialAnchorsAccountResult { * The name of the resource */ readonly name: string; + /** + * The plan associated with this account + */ + readonly plan?: outputs.mixedreality.latest.IdentityResponse; + /** + * The sku associated with this account + */ + readonly sku?: outputs.mixedreality.latest.SkuResponse; + /** + * System metadata for this account + */ + readonly systemData: outputs.mixedreality.latest.SystemDataResponse; /** * Resource tags. */ diff --git a/sdk/nodejs/mixedreality/latest/index.ts b/sdk/nodejs/mixedreality/latest/index.ts index 80e48788412c..9a98591897c7 100644 --- a/sdk/nodejs/mixedreality/latest/index.ts +++ b/sdk/nodejs/mixedreality/latest/index.ts @@ -5,20 +5,26 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "../../utilities"; // Export members: +export * from "./getRemoteRenderingAccount"; export * from "./getSpatialAnchorsAccount"; +export * from "./listRemoteRenderingAccountKeys"; export * from "./listSpatialAnchorsAccountKeys"; +export * from "./remoteRenderingAccount"; export * from "./spatialAnchorsAccount"; // Export enums: export * from "../../types/enums/mixedreality/latest"; // Import resources to register: +import { RemoteRenderingAccount } from "./remoteRenderingAccount"; import { SpatialAnchorsAccount } from "./spatialAnchorsAccount"; const _module = { version: utilities.getVersion(), construct: (name: string, type: string, urn: string): pulumi.Resource => { switch (type) { + case "azure-nextgen:mixedreality/latest:RemoteRenderingAccount": + return new RemoteRenderingAccount(name, undefined, { urn }) case "azure-nextgen:mixedreality/latest:SpatialAnchorsAccount": return new SpatialAnchorsAccount(name, undefined, { urn }) default: diff --git a/sdk/nodejs/mixedreality/latest/listRemoteRenderingAccountKeys.ts b/sdk/nodejs/mixedreality/latest/listRemoteRenderingAccountKeys.ts new file mode 100644 index 000000000000..f2523ae48eab --- /dev/null +++ b/sdk/nodejs/mixedreality/latest/listRemoteRenderingAccountKeys.ts @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import { input as inputs, output as outputs, enums } from "../../types"; +import * as utilities from "../../utilities"; + +export function listRemoteRenderingAccountKeys(args: ListRemoteRenderingAccountKeysArgs, opts?: pulumi.InvokeOptions): Promise { + if (!opts) { + opts = {} + } + + if (!opts.version) { + opts.version = utilities.getVersion(); + } + return pulumi.runtime.invoke("azure-nextgen:mixedreality/latest:listRemoteRenderingAccountKeys", { + "accountName": args.accountName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface ListRemoteRenderingAccountKeysArgs { + /** + * Name of an Mixed Reality Account. + */ + readonly accountName: string; + /** + * Name of an Azure resource group. + */ + readonly resourceGroupName: string; +} + +/** + * Developer Keys of account + */ +export interface ListRemoteRenderingAccountKeysResult { + /** + * value of primary key. + */ + readonly primaryKey: string; + /** + * value of secondary key. + */ + readonly secondaryKey: string; +} diff --git a/sdk/nodejs/mixedreality/latest/remoteRenderingAccount.ts b/sdk/nodejs/mixedreality/latest/remoteRenderingAccount.ts new file mode 100644 index 000000000000..3147eb8c3dd9 --- /dev/null +++ b/sdk/nodejs/mixedreality/latest/remoteRenderingAccount.ts @@ -0,0 +1,178 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import { input as inputs, output as outputs, enums } from "../../types"; +import * as utilities from "../../utilities"; + +/** + * RemoteRenderingAccount Response. + * Latest API Version: 2021-01-01. + */ +export class RemoteRenderingAccount extends pulumi.CustomResource { + /** + * Get an existing RemoteRenderingAccount 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): RemoteRenderingAccount { + return new RemoteRenderingAccount(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-nextgen:mixedreality/latest:RemoteRenderingAccount'; + + /** + * Returns true if the given object is an instance of RemoteRenderingAccount. 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 RemoteRenderingAccount { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === RemoteRenderingAccount.__pulumiType; + } + + /** + * Correspond domain name of certain Spatial Anchors Account + */ + public /*out*/ readonly accountDomain!: pulumi.Output; + /** + * unique id of certain account. + */ + public /*out*/ readonly accountId!: pulumi.Output; + /** + * The identity associated with this account + */ + public readonly identity!: pulumi.Output; + /** + * The kind of account, if supported + */ + public readonly kind!: 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; + /** + * The plan associated with this account + */ + public readonly plan!: pulumi.Output; + /** + * The sku associated with this account + */ + public readonly sku!: pulumi.Output; + /** + * System metadata for this account + */ + 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 RemoteRenderingAccount 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: RemoteRenderingAccountArgs, opts?: pulumi.CustomResourceOptions) { + let inputs: pulumi.Inputs = {}; + if (!(opts && opts.id)) { + if ((!args || args.accountName === undefined) && !(opts && opts.urn)) { + throw new Error("Missing required property 'accountName'"); + } + if ((!args || args.location === undefined) && !(opts && opts.urn)) { + throw new Error("Missing required property 'location'"); + } + if ((!args || args.resourceGroupName === undefined) && !(opts && opts.urn)) { + throw new Error("Missing required property 'resourceGroupName'"); + } + inputs["accountName"] = args ? args.accountName : undefined; + inputs["identity"] = args ? args.identity : undefined; + inputs["kind"] = args ? args.kind : undefined; + inputs["location"] = args ? args.location : undefined; + inputs["plan"] = args ? args.plan : undefined; + inputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + inputs["sku"] = args ? args.sku : undefined; + inputs["tags"] = args ? args.tags : undefined; + inputs["accountDomain"] = undefined /*out*/; + inputs["accountId"] = undefined /*out*/; + inputs["name"] = undefined /*out*/; + inputs["systemData"] = undefined /*out*/; + inputs["type"] = undefined /*out*/; + } else { + inputs["accountDomain"] = undefined /*out*/; + inputs["accountId"] = undefined /*out*/; + inputs["identity"] = undefined /*out*/; + inputs["kind"] = undefined /*out*/; + inputs["location"] = undefined /*out*/; + inputs["name"] = undefined /*out*/; + inputs["plan"] = undefined /*out*/; + inputs["sku"] = undefined /*out*/; + inputs["systemData"] = undefined /*out*/; + inputs["tags"] = undefined /*out*/; + inputs["type"] = undefined /*out*/; + } + if (!opts) { + opts = {} + } + + if (!opts.version) { + opts.version = utilities.getVersion(); + } + const aliasOpts = { aliases: [{ type: "azure-nextgen:mixedreality/v20191202preview:RemoteRenderingAccount" }, { type: "azure-nextgen:mixedreality/v20200406preview:RemoteRenderingAccount" }, { type: "azure-nextgen:mixedreality/v20210101:RemoteRenderingAccount" }] }; + opts = opts ? pulumi.mergeOptions(opts, aliasOpts) : aliasOpts; + super(RemoteRenderingAccount.__pulumiType, name, inputs, opts); + } +} + +/** + * The set of arguments for constructing a RemoteRenderingAccount resource. + */ +export interface RemoteRenderingAccountArgs { + /** + * Name of an Mixed Reality Account. + */ + readonly accountName: pulumi.Input; + /** + * The identity associated with this account + */ + readonly identity?: pulumi.Input; + /** + * The kind of account, if supported + */ + readonly kind?: pulumi.Input; + /** + * The geo-location where the resource lives + */ + readonly location: pulumi.Input; + /** + * The plan associated with this account + */ + readonly plan?: pulumi.Input; + /** + * Name of an Azure resource group. + */ + readonly resourceGroupName: pulumi.Input; + /** + * The sku associated with this account + */ + readonly sku?: pulumi.Input; + /** + * Resource tags. + */ + readonly tags?: pulumi.Input<{[key: string]: pulumi.Input}>; +} diff --git a/sdk/nodejs/mixedreality/latest/spatialAnchorsAccount.ts b/sdk/nodejs/mixedreality/latest/spatialAnchorsAccount.ts index ad1d8eef740f..79835b812a6a 100644 --- a/sdk/nodejs/mixedreality/latest/spatialAnchorsAccount.ts +++ b/sdk/nodejs/mixedreality/latest/spatialAnchorsAccount.ts @@ -7,7 +7,7 @@ import * as utilities from "../../utilities"; /** * SpatialAnchorsAccount Response. - * Latest API Version: 2020-05-01. + * Latest API Version: 2021-01-01. */ export class SpatialAnchorsAccount extends pulumi.CustomResource { /** @@ -48,6 +48,10 @@ export class SpatialAnchorsAccount extends pulumi.CustomResource { * The identity associated with this account */ public readonly identity!: pulumi.Output; + /** + * The kind of account, if supported + */ + public readonly kind!: pulumi.Output; /** * The geo-location where the resource lives */ @@ -56,6 +60,18 @@ export class SpatialAnchorsAccount extends pulumi.CustomResource { * The name of the resource */ public /*out*/ readonly name!: pulumi.Output; + /** + * The plan associated with this account + */ + public readonly plan!: pulumi.Output; + /** + * The sku associated with this account + */ + public readonly sku!: pulumi.Output; + /** + * System metadata for this account + */ + public /*out*/ readonly systemData!: pulumi.Output; /** * Resource tags. */ @@ -86,19 +102,27 @@ export class SpatialAnchorsAccount extends pulumi.CustomResource { } inputs["accountName"] = args ? args.accountName : undefined; inputs["identity"] = args ? args.identity : undefined; + inputs["kind"] = args ? args.kind : undefined; inputs["location"] = args ? args.location : undefined; + inputs["plan"] = args ? args.plan : undefined; inputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + inputs["sku"] = args ? args.sku : undefined; inputs["tags"] = args ? args.tags : undefined; inputs["accountDomain"] = undefined /*out*/; inputs["accountId"] = undefined /*out*/; inputs["name"] = undefined /*out*/; + inputs["systemData"] = undefined /*out*/; inputs["type"] = undefined /*out*/; } else { inputs["accountDomain"] = undefined /*out*/; inputs["accountId"] = undefined /*out*/; inputs["identity"] = undefined /*out*/; + inputs["kind"] = undefined /*out*/; inputs["location"] = undefined /*out*/; inputs["name"] = undefined /*out*/; + inputs["plan"] = undefined /*out*/; + inputs["sku"] = undefined /*out*/; + inputs["systemData"] = undefined /*out*/; inputs["tags"] = undefined /*out*/; inputs["type"] = undefined /*out*/; } @@ -109,7 +133,7 @@ export class SpatialAnchorsAccount extends pulumi.CustomResource { if (!opts.version) { opts.version = utilities.getVersion(); } - const aliasOpts = { aliases: [{ type: "azure-nextgen:mixedreality/v20190228preview:SpatialAnchorsAccount" }, { type: "azure-nextgen:mixedreality/v20191202preview:SpatialAnchorsAccount" }, { type: "azure-nextgen:mixedreality/v20200501:SpatialAnchorsAccount" }] }; + const aliasOpts = { aliases: [{ type: "azure-nextgen:mixedreality/v20190228preview:SpatialAnchorsAccount" }, { type: "azure-nextgen:mixedreality/v20191202preview:SpatialAnchorsAccount" }, { type: "azure-nextgen:mixedreality/v20200501:SpatialAnchorsAccount" }, { type: "azure-nextgen:mixedreality/v20210101:SpatialAnchorsAccount" }] }; opts = opts ? pulumi.mergeOptions(opts, aliasOpts) : aliasOpts; super(SpatialAnchorsAccount.__pulumiType, name, inputs, opts); } @@ -127,14 +151,26 @@ export interface SpatialAnchorsAccountArgs { * The identity associated with this account */ readonly identity?: pulumi.Input; + /** + * The kind of account, if supported + */ + readonly kind?: pulumi.Input; /** * The geo-location where the resource lives */ readonly location: pulumi.Input; + /** + * The plan associated with this account + */ + readonly plan?: pulumi.Input; /** * Name of an Azure resource group. */ readonly resourceGroupName: pulumi.Input; + /** + * The sku associated with this account + */ + readonly sku?: pulumi.Input; /** * Resource tags. */ diff --git a/sdk/nodejs/mixedreality/v20190228preview/spatialAnchorsAccount.ts b/sdk/nodejs/mixedreality/v20190228preview/spatialAnchorsAccount.ts index 7ccc6ac0453d..29f203267ace 100644 --- a/sdk/nodejs/mixedreality/v20190228preview/spatialAnchorsAccount.ts +++ b/sdk/nodejs/mixedreality/v20190228preview/spatialAnchorsAccount.ts @@ -108,7 +108,7 @@ export class SpatialAnchorsAccount extends pulumi.CustomResource { if (!opts.version) { opts.version = utilities.getVersion(); } - const aliasOpts = { aliases: [{ type: "azure-nextgen:mixedreality/latest:SpatialAnchorsAccount" }, { type: "azure-nextgen:mixedreality/v20191202preview:SpatialAnchorsAccount" }, { type: "azure-nextgen:mixedreality/v20200501:SpatialAnchorsAccount" }] }; + const aliasOpts = { aliases: [{ type: "azure-nextgen:mixedreality/latest:SpatialAnchorsAccount" }, { type: "azure-nextgen:mixedreality/v20191202preview:SpatialAnchorsAccount" }, { type: "azure-nextgen:mixedreality/v20200501:SpatialAnchorsAccount" }, { type: "azure-nextgen:mixedreality/v20210101:SpatialAnchorsAccount" }] }; opts = opts ? pulumi.mergeOptions(opts, aliasOpts) : aliasOpts; super(SpatialAnchorsAccount.__pulumiType, name, inputs, opts); } diff --git a/sdk/nodejs/mixedreality/v20191202preview/remoteRenderingAccount.ts b/sdk/nodejs/mixedreality/v20191202preview/remoteRenderingAccount.ts index 48f1c3a2bdf2..a3967759ddec 100644 --- a/sdk/nodejs/mixedreality/v20191202preview/remoteRenderingAccount.ts +++ b/sdk/nodejs/mixedreality/v20191202preview/remoteRenderingAccount.ts @@ -108,7 +108,7 @@ export class RemoteRenderingAccount extends pulumi.CustomResource { if (!opts.version) { opts.version = utilities.getVersion(); } - const aliasOpts = { aliases: [{ type: "azure-nextgen:mixedreality/v20200406preview:RemoteRenderingAccount" }] }; + const aliasOpts = { aliases: [{ type: "azure-nextgen:mixedreality/latest:RemoteRenderingAccount" }, { type: "azure-nextgen:mixedreality/v20200406preview:RemoteRenderingAccount" }, { type: "azure-nextgen:mixedreality/v20210101:RemoteRenderingAccount" }] }; opts = opts ? pulumi.mergeOptions(opts, aliasOpts) : aliasOpts; super(RemoteRenderingAccount.__pulumiType, name, inputs, opts); } diff --git a/sdk/nodejs/mixedreality/v20191202preview/spatialAnchorsAccount.ts b/sdk/nodejs/mixedreality/v20191202preview/spatialAnchorsAccount.ts index 78e637b0f39b..8b8facbbcf31 100644 --- a/sdk/nodejs/mixedreality/v20191202preview/spatialAnchorsAccount.ts +++ b/sdk/nodejs/mixedreality/v20191202preview/spatialAnchorsAccount.ts @@ -108,7 +108,7 @@ export class SpatialAnchorsAccount extends pulumi.CustomResource { if (!opts.version) { opts.version = utilities.getVersion(); } - const aliasOpts = { aliases: [{ type: "azure-nextgen:mixedreality/latest:SpatialAnchorsAccount" }, { type: "azure-nextgen:mixedreality/v20190228preview:SpatialAnchorsAccount" }, { type: "azure-nextgen:mixedreality/v20200501:SpatialAnchorsAccount" }] }; + const aliasOpts = { aliases: [{ type: "azure-nextgen:mixedreality/latest:SpatialAnchorsAccount" }, { type: "azure-nextgen:mixedreality/v20190228preview:SpatialAnchorsAccount" }, { type: "azure-nextgen:mixedreality/v20200501:SpatialAnchorsAccount" }, { type: "azure-nextgen:mixedreality/v20210101:SpatialAnchorsAccount" }] }; opts = opts ? pulumi.mergeOptions(opts, aliasOpts) : aliasOpts; super(SpatialAnchorsAccount.__pulumiType, name, inputs, opts); } diff --git a/sdk/nodejs/mixedreality/v20200406preview/remoteRenderingAccount.ts b/sdk/nodejs/mixedreality/v20200406preview/remoteRenderingAccount.ts index e0439e369f03..baeee2d58352 100644 --- a/sdk/nodejs/mixedreality/v20200406preview/remoteRenderingAccount.ts +++ b/sdk/nodejs/mixedreality/v20200406preview/remoteRenderingAccount.ts @@ -105,7 +105,7 @@ export class RemoteRenderingAccount extends pulumi.CustomResource { if (!opts.version) { opts.version = utilities.getVersion(); } - const aliasOpts = { aliases: [{ type: "azure-nextgen:mixedreality/v20191202preview:RemoteRenderingAccount" }] }; + const aliasOpts = { aliases: [{ type: "azure-nextgen:mixedreality/latest:RemoteRenderingAccount" }, { type: "azure-nextgen:mixedreality/v20191202preview:RemoteRenderingAccount" }, { type: "azure-nextgen:mixedreality/v20210101:RemoteRenderingAccount" }] }; opts = opts ? pulumi.mergeOptions(opts, aliasOpts) : aliasOpts; super(RemoteRenderingAccount.__pulumiType, name, inputs, opts); } diff --git a/sdk/nodejs/mixedreality/v20200501/spatialAnchorsAccount.ts b/sdk/nodejs/mixedreality/v20200501/spatialAnchorsAccount.ts index 31a69a8bda37..fb9088d23741 100644 --- a/sdk/nodejs/mixedreality/v20200501/spatialAnchorsAccount.ts +++ b/sdk/nodejs/mixedreality/v20200501/spatialAnchorsAccount.ts @@ -108,7 +108,7 @@ export class SpatialAnchorsAccount extends pulumi.CustomResource { if (!opts.version) { opts.version = utilities.getVersion(); } - const aliasOpts = { aliases: [{ type: "azure-nextgen:mixedreality/latest:SpatialAnchorsAccount" }, { type: "azure-nextgen:mixedreality/v20190228preview:SpatialAnchorsAccount" }, { type: "azure-nextgen:mixedreality/v20191202preview:SpatialAnchorsAccount" }] }; + const aliasOpts = { aliases: [{ type: "azure-nextgen:mixedreality/latest:SpatialAnchorsAccount" }, { type: "azure-nextgen:mixedreality/v20190228preview:SpatialAnchorsAccount" }, { type: "azure-nextgen:mixedreality/v20191202preview:SpatialAnchorsAccount" }, { type: "azure-nextgen:mixedreality/v20210101:SpatialAnchorsAccount" }] }; opts = opts ? pulumi.mergeOptions(opts, aliasOpts) : aliasOpts; super(SpatialAnchorsAccount.__pulumiType, name, inputs, opts); } diff --git a/sdk/nodejs/mixedreality/v20210101/getRemoteRenderingAccount.ts b/sdk/nodejs/mixedreality/v20210101/getRemoteRenderingAccount.ts new file mode 100644 index 000000000000..0e5653e019cf --- /dev/null +++ b/sdk/nodejs/mixedreality/v20210101/getRemoteRenderingAccount.ts @@ -0,0 +1,85 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import { input as inputs, output as outputs, enums } from "../../types"; +import * as utilities from "../../utilities"; + +export function getRemoteRenderingAccount(args: GetRemoteRenderingAccountArgs, opts?: pulumi.InvokeOptions): Promise { + if (!opts) { + opts = {} + } + + if (!opts.version) { + opts.version = utilities.getVersion(); + } + return pulumi.runtime.invoke("azure-nextgen:mixedreality/v20210101:getRemoteRenderingAccount", { + "accountName": args.accountName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetRemoteRenderingAccountArgs { + /** + * Name of an Mixed Reality Account. + */ + readonly accountName: string; + /** + * Name of an Azure resource group. + */ + readonly resourceGroupName: string; +} + +/** + * RemoteRenderingAccount Response. + */ +export interface GetRemoteRenderingAccountResult { + /** + * Correspond domain name of certain Spatial Anchors Account + */ + readonly accountDomain: string; + /** + * unique id of certain account. + */ + readonly accountId: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * The identity associated with this account + */ + readonly identity?: outputs.mixedreality.v20210101.IdentityResponse; + /** + * The kind of account, if supported + */ + readonly kind?: outputs.mixedreality.v20210101.SkuResponse; + /** + * The geo-location where the resource lives + */ + readonly location: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * The plan associated with this account + */ + readonly plan?: outputs.mixedreality.v20210101.IdentityResponse; + /** + * The sku associated with this account + */ + readonly sku?: outputs.mixedreality.v20210101.SkuResponse; + /** + * System metadata for this account + */ + readonly systemData: outputs.mixedreality.v20210101.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; +} diff --git a/sdk/nodejs/mixedreality/v20210101/getSpatialAnchorsAccount.ts b/sdk/nodejs/mixedreality/v20210101/getSpatialAnchorsAccount.ts new file mode 100644 index 000000000000..c2bbb7ad4da5 --- /dev/null +++ b/sdk/nodejs/mixedreality/v20210101/getSpatialAnchorsAccount.ts @@ -0,0 +1,85 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import { input as inputs, output as outputs, enums } from "../../types"; +import * as utilities from "../../utilities"; + +export function getSpatialAnchorsAccount(args: GetSpatialAnchorsAccountArgs, opts?: pulumi.InvokeOptions): Promise { + if (!opts) { + opts = {} + } + + if (!opts.version) { + opts.version = utilities.getVersion(); + } + return pulumi.runtime.invoke("azure-nextgen:mixedreality/v20210101:getSpatialAnchorsAccount", { + "accountName": args.accountName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetSpatialAnchorsAccountArgs { + /** + * Name of an Mixed Reality Account. + */ + readonly accountName: string; + /** + * Name of an Azure resource group. + */ + readonly resourceGroupName: string; +} + +/** + * SpatialAnchorsAccount Response. + */ +export interface GetSpatialAnchorsAccountResult { + /** + * Correspond domain name of certain Spatial Anchors Account + */ + readonly accountDomain: string; + /** + * unique id of certain account. + */ + readonly accountId: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * The identity associated with this account + */ + readonly identity?: outputs.mixedreality.v20210101.IdentityResponse; + /** + * The kind of account, if supported + */ + readonly kind?: outputs.mixedreality.v20210101.SkuResponse; + /** + * The geo-location where the resource lives + */ + readonly location: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * The plan associated with this account + */ + readonly plan?: outputs.mixedreality.v20210101.IdentityResponse; + /** + * The sku associated with this account + */ + readonly sku?: outputs.mixedreality.v20210101.SkuResponse; + /** + * System metadata for this account + */ + readonly systemData: outputs.mixedreality.v20210101.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; +} diff --git a/sdk/nodejs/mixedreality/v20210101/index.ts b/sdk/nodejs/mixedreality/v20210101/index.ts new file mode 100644 index 000000000000..fe5f73beffc5 --- /dev/null +++ b/sdk/nodejs/mixedreality/v20210101/index.ts @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** 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 * from "./getRemoteRenderingAccount"; +export * from "./getSpatialAnchorsAccount"; +export * from "./listRemoteRenderingAccountKeys"; +export * from "./listSpatialAnchorsAccountKeys"; +export * from "./remoteRenderingAccount"; +export * from "./spatialAnchorsAccount"; + +// Export enums: +export * from "../../types/enums/mixedreality/v20210101"; + +// Import resources to register: +import { RemoteRenderingAccount } from "./remoteRenderingAccount"; +import { SpatialAnchorsAccount } from "./spatialAnchorsAccount"; + +const _module = { + version: utilities.getVersion(), + construct: (name: string, type: string, urn: string): pulumi.Resource => { + switch (type) { + case "azure-nextgen:mixedreality/v20210101:RemoteRenderingAccount": + return new RemoteRenderingAccount(name, undefined, { urn }) + case "azure-nextgen:mixedreality/v20210101:SpatialAnchorsAccount": + return new SpatialAnchorsAccount(name, undefined, { urn }) + default: + throw new Error(`unknown resource type ${type}`); + } + }, +}; +pulumi.runtime.registerResourceModule("azure-nextgen", "mixedreality/v20210101", _module) diff --git a/sdk/nodejs/mixedreality/v20210101/listRemoteRenderingAccountKeys.ts b/sdk/nodejs/mixedreality/v20210101/listRemoteRenderingAccountKeys.ts new file mode 100644 index 000000000000..c54c85b57e53 --- /dev/null +++ b/sdk/nodejs/mixedreality/v20210101/listRemoteRenderingAccountKeys.ts @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import { input as inputs, output as outputs, enums } from "../../types"; +import * as utilities from "../../utilities"; + +export function listRemoteRenderingAccountKeys(args: ListRemoteRenderingAccountKeysArgs, opts?: pulumi.InvokeOptions): Promise { + if (!opts) { + opts = {} + } + + if (!opts.version) { + opts.version = utilities.getVersion(); + } + return pulumi.runtime.invoke("azure-nextgen:mixedreality/v20210101:listRemoteRenderingAccountKeys", { + "accountName": args.accountName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface ListRemoteRenderingAccountKeysArgs { + /** + * Name of an Mixed Reality Account. + */ + readonly accountName: string; + /** + * Name of an Azure resource group. + */ + readonly resourceGroupName: string; +} + +/** + * Developer Keys of account + */ +export interface ListRemoteRenderingAccountKeysResult { + /** + * value of primary key. + */ + readonly primaryKey: string; + /** + * value of secondary key. + */ + readonly secondaryKey: string; +} diff --git a/sdk/nodejs/mixedreality/v20210101/listSpatialAnchorsAccountKeys.ts b/sdk/nodejs/mixedreality/v20210101/listSpatialAnchorsAccountKeys.ts new file mode 100644 index 000000000000..069672724227 --- /dev/null +++ b/sdk/nodejs/mixedreality/v20210101/listSpatialAnchorsAccountKeys.ts @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import { input as inputs, output as outputs, enums } from "../../types"; +import * as utilities from "../../utilities"; + +export function listSpatialAnchorsAccountKeys(args: ListSpatialAnchorsAccountKeysArgs, opts?: pulumi.InvokeOptions): Promise { + if (!opts) { + opts = {} + } + + if (!opts.version) { + opts.version = utilities.getVersion(); + } + return pulumi.runtime.invoke("azure-nextgen:mixedreality/v20210101:listSpatialAnchorsAccountKeys", { + "accountName": args.accountName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface ListSpatialAnchorsAccountKeysArgs { + /** + * Name of an Mixed Reality Account. + */ + readonly accountName: string; + /** + * Name of an Azure resource group. + */ + readonly resourceGroupName: string; +} + +/** + * Developer Keys of account + */ +export interface ListSpatialAnchorsAccountKeysResult { + /** + * value of primary key. + */ + readonly primaryKey: string; + /** + * value of secondary key. + */ + readonly secondaryKey: string; +} diff --git a/sdk/nodejs/mixedreality/v20210101/remoteRenderingAccount.ts b/sdk/nodejs/mixedreality/v20210101/remoteRenderingAccount.ts new file mode 100644 index 000000000000..89fd0035216c --- /dev/null +++ b/sdk/nodejs/mixedreality/v20210101/remoteRenderingAccount.ts @@ -0,0 +1,177 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import { input as inputs, output as outputs, enums } from "../../types"; +import * as utilities from "../../utilities"; + +/** + * RemoteRenderingAccount Response. + */ +export class RemoteRenderingAccount extends pulumi.CustomResource { + /** + * Get an existing RemoteRenderingAccount 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): RemoteRenderingAccount { + return new RemoteRenderingAccount(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-nextgen:mixedreality/v20210101:RemoteRenderingAccount'; + + /** + * Returns true if the given object is an instance of RemoteRenderingAccount. 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 RemoteRenderingAccount { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === RemoteRenderingAccount.__pulumiType; + } + + /** + * Correspond domain name of certain Spatial Anchors Account + */ + public /*out*/ readonly accountDomain!: pulumi.Output; + /** + * unique id of certain account. + */ + public /*out*/ readonly accountId!: pulumi.Output; + /** + * The identity associated with this account + */ + public readonly identity!: pulumi.Output; + /** + * The kind of account, if supported + */ + public readonly kind!: 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; + /** + * The plan associated with this account + */ + public readonly plan!: pulumi.Output; + /** + * The sku associated with this account + */ + public readonly sku!: pulumi.Output; + /** + * System metadata for this account + */ + 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 RemoteRenderingAccount 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: RemoteRenderingAccountArgs, opts?: pulumi.CustomResourceOptions) { + let inputs: pulumi.Inputs = {}; + if (!(opts && opts.id)) { + if ((!args || args.accountName === undefined) && !(opts && opts.urn)) { + throw new Error("Missing required property 'accountName'"); + } + if ((!args || args.location === undefined) && !(opts && opts.urn)) { + throw new Error("Missing required property 'location'"); + } + if ((!args || args.resourceGroupName === undefined) && !(opts && opts.urn)) { + throw new Error("Missing required property 'resourceGroupName'"); + } + inputs["accountName"] = args ? args.accountName : undefined; + inputs["identity"] = args ? args.identity : undefined; + inputs["kind"] = args ? args.kind : undefined; + inputs["location"] = args ? args.location : undefined; + inputs["plan"] = args ? args.plan : undefined; + inputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + inputs["sku"] = args ? args.sku : undefined; + inputs["tags"] = args ? args.tags : undefined; + inputs["accountDomain"] = undefined /*out*/; + inputs["accountId"] = undefined /*out*/; + inputs["name"] = undefined /*out*/; + inputs["systemData"] = undefined /*out*/; + inputs["type"] = undefined /*out*/; + } else { + inputs["accountDomain"] = undefined /*out*/; + inputs["accountId"] = undefined /*out*/; + inputs["identity"] = undefined /*out*/; + inputs["kind"] = undefined /*out*/; + inputs["location"] = undefined /*out*/; + inputs["name"] = undefined /*out*/; + inputs["plan"] = undefined /*out*/; + inputs["sku"] = undefined /*out*/; + inputs["systemData"] = undefined /*out*/; + inputs["tags"] = undefined /*out*/; + inputs["type"] = undefined /*out*/; + } + if (!opts) { + opts = {} + } + + if (!opts.version) { + opts.version = utilities.getVersion(); + } + const aliasOpts = { aliases: [{ type: "azure-nextgen:mixedreality/latest:RemoteRenderingAccount" }, { type: "azure-nextgen:mixedreality/v20191202preview:RemoteRenderingAccount" }, { type: "azure-nextgen:mixedreality/v20200406preview:RemoteRenderingAccount" }] }; + opts = opts ? pulumi.mergeOptions(opts, aliasOpts) : aliasOpts; + super(RemoteRenderingAccount.__pulumiType, name, inputs, opts); + } +} + +/** + * The set of arguments for constructing a RemoteRenderingAccount resource. + */ +export interface RemoteRenderingAccountArgs { + /** + * Name of an Mixed Reality Account. + */ + readonly accountName: pulumi.Input; + /** + * The identity associated with this account + */ + readonly identity?: pulumi.Input; + /** + * The kind of account, if supported + */ + readonly kind?: pulumi.Input; + /** + * The geo-location where the resource lives + */ + readonly location: pulumi.Input; + /** + * The plan associated with this account + */ + readonly plan?: pulumi.Input; + /** + * Name of an Azure resource group. + */ + readonly resourceGroupName: pulumi.Input; + /** + * The sku associated with this account + */ + readonly sku?: pulumi.Input; + /** + * Resource tags. + */ + readonly tags?: pulumi.Input<{[key: string]: pulumi.Input}>; +} diff --git a/sdk/nodejs/mixedreality/v20210101/spatialAnchorsAccount.ts b/sdk/nodejs/mixedreality/v20210101/spatialAnchorsAccount.ts new file mode 100644 index 000000000000..9f211c57c5a2 --- /dev/null +++ b/sdk/nodejs/mixedreality/v20210101/spatialAnchorsAccount.ts @@ -0,0 +1,177 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import { input as inputs, output as outputs, enums } from "../../types"; +import * as utilities from "../../utilities"; + +/** + * SpatialAnchorsAccount Response. + */ +export class SpatialAnchorsAccount extends pulumi.CustomResource { + /** + * Get an existing SpatialAnchorsAccount 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): SpatialAnchorsAccount { + return new SpatialAnchorsAccount(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-nextgen:mixedreality/v20210101:SpatialAnchorsAccount'; + + /** + * Returns true if the given object is an instance of SpatialAnchorsAccount. 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 SpatialAnchorsAccount { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === SpatialAnchorsAccount.__pulumiType; + } + + /** + * Correspond domain name of certain Spatial Anchors Account + */ + public /*out*/ readonly accountDomain!: pulumi.Output; + /** + * unique id of certain account. + */ + public /*out*/ readonly accountId!: pulumi.Output; + /** + * The identity associated with this account + */ + public readonly identity!: pulumi.Output; + /** + * The kind of account, if supported + */ + public readonly kind!: 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; + /** + * The plan associated with this account + */ + public readonly plan!: pulumi.Output; + /** + * The sku associated with this account + */ + public readonly sku!: pulumi.Output; + /** + * System metadata for this account + */ + 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 SpatialAnchorsAccount 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: SpatialAnchorsAccountArgs, opts?: pulumi.CustomResourceOptions) { + let inputs: pulumi.Inputs = {}; + if (!(opts && opts.id)) { + if ((!args || args.accountName === undefined) && !(opts && opts.urn)) { + throw new Error("Missing required property 'accountName'"); + } + if ((!args || args.location === undefined) && !(opts && opts.urn)) { + throw new Error("Missing required property 'location'"); + } + if ((!args || args.resourceGroupName === undefined) && !(opts && opts.urn)) { + throw new Error("Missing required property 'resourceGroupName'"); + } + inputs["accountName"] = args ? args.accountName : undefined; + inputs["identity"] = args ? args.identity : undefined; + inputs["kind"] = args ? args.kind : undefined; + inputs["location"] = args ? args.location : undefined; + inputs["plan"] = args ? args.plan : undefined; + inputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + inputs["sku"] = args ? args.sku : undefined; + inputs["tags"] = args ? args.tags : undefined; + inputs["accountDomain"] = undefined /*out*/; + inputs["accountId"] = undefined /*out*/; + inputs["name"] = undefined /*out*/; + inputs["systemData"] = undefined /*out*/; + inputs["type"] = undefined /*out*/; + } else { + inputs["accountDomain"] = undefined /*out*/; + inputs["accountId"] = undefined /*out*/; + inputs["identity"] = undefined /*out*/; + inputs["kind"] = undefined /*out*/; + inputs["location"] = undefined /*out*/; + inputs["name"] = undefined /*out*/; + inputs["plan"] = undefined /*out*/; + inputs["sku"] = undefined /*out*/; + inputs["systemData"] = undefined /*out*/; + inputs["tags"] = undefined /*out*/; + inputs["type"] = undefined /*out*/; + } + if (!opts) { + opts = {} + } + + if (!opts.version) { + opts.version = utilities.getVersion(); + } + const aliasOpts = { aliases: [{ type: "azure-nextgen:mixedreality/latest:SpatialAnchorsAccount" }, { type: "azure-nextgen:mixedreality/v20190228preview:SpatialAnchorsAccount" }, { type: "azure-nextgen:mixedreality/v20191202preview:SpatialAnchorsAccount" }, { type: "azure-nextgen:mixedreality/v20200501:SpatialAnchorsAccount" }] }; + opts = opts ? pulumi.mergeOptions(opts, aliasOpts) : aliasOpts; + super(SpatialAnchorsAccount.__pulumiType, name, inputs, opts); + } +} + +/** + * The set of arguments for constructing a SpatialAnchorsAccount resource. + */ +export interface SpatialAnchorsAccountArgs { + /** + * Name of an Mixed Reality Account. + */ + readonly accountName: pulumi.Input; + /** + * The identity associated with this account + */ + readonly identity?: pulumi.Input; + /** + * The kind of account, if supported + */ + readonly kind?: pulumi.Input; + /** + * The geo-location where the resource lives + */ + readonly location: pulumi.Input; + /** + * The plan associated with this account + */ + readonly plan?: pulumi.Input; + /** + * Name of an Azure resource group. + */ + readonly resourceGroupName: pulumi.Input; + /** + * The sku associated with this account + */ + readonly sku?: pulumi.Input; + /** + * Resource tags. + */ + readonly tags?: pulumi.Input<{[key: string]: pulumi.Input}>; +} diff --git a/sdk/nodejs/network/latest/getPolicy.ts b/sdk/nodejs/network/latest/getPolicy.ts index 50da91e57c31..13b74ea1ee61 100644 --- a/sdk/nodejs/network/latest/getPolicy.ts +++ b/sdk/nodejs/network/latest/getPolicy.ts @@ -75,6 +75,10 @@ export interface GetPolicyResult { * Describes Routing Rules associated with this Web Application Firewall policy. */ readonly routingRuleLinks: outputs.network.latest.RoutingRuleLinkResponse[]; + /** + * Describes Security Policy associated with this Web Application Firewall policy. + */ + readonly securityPolicyLinks: outputs.network.latest.SecurityPolicyLinkResponse[]; /** * The pricing tier of web application firewall policy. Defaults to Classic_AzureFrontDoor if not specified. */ diff --git a/sdk/nodejs/network/latest/policy.ts b/sdk/nodejs/network/latest/policy.ts index 483a0be858d3..162d61b03500 100644 --- a/sdk/nodejs/network/latest/policy.ts +++ b/sdk/nodejs/network/latest/policy.ts @@ -73,6 +73,10 @@ export class Policy extends pulumi.CustomResource { * Describes Routing Rules associated with this Web Application Firewall policy. */ public /*out*/ readonly routingRuleLinks!: pulumi.Output; + /** + * Describes Security Policy associated with this Web Application Firewall policy. + */ + public /*out*/ readonly securityPolicyLinks!: pulumi.Output; /** * The pricing tier of web application firewall policy. Defaults to Classic_AzureFrontDoor if not specified. */ @@ -116,6 +120,7 @@ export class Policy extends pulumi.CustomResource { inputs["provisioningState"] = undefined /*out*/; inputs["resourceState"] = undefined /*out*/; inputs["routingRuleLinks"] = undefined /*out*/; + inputs["securityPolicyLinks"] = undefined /*out*/; inputs["type"] = undefined /*out*/; } else { inputs["customRules"] = undefined /*out*/; @@ -128,6 +133,7 @@ export class Policy extends pulumi.CustomResource { inputs["provisioningState"] = undefined /*out*/; inputs["resourceState"] = undefined /*out*/; inputs["routingRuleLinks"] = undefined /*out*/; + inputs["securityPolicyLinks"] = undefined /*out*/; inputs["sku"] = undefined /*out*/; inputs["tags"] = undefined /*out*/; inputs["type"] = undefined /*out*/; diff --git a/sdk/nodejs/network/v20201101/getPolicy.ts b/sdk/nodejs/network/v20201101/getPolicy.ts index 442b8ccbfc24..c6a0d13854dc 100644 --- a/sdk/nodejs/network/v20201101/getPolicy.ts +++ b/sdk/nodejs/network/v20201101/getPolicy.ts @@ -75,6 +75,10 @@ export interface GetPolicyResult { * Describes Routing Rules associated with this Web Application Firewall policy. */ readonly routingRuleLinks: outputs.network.v20201101.RoutingRuleLinkResponse[]; + /** + * Describes Security Policy associated with this Web Application Firewall policy. + */ + readonly securityPolicyLinks: outputs.network.v20201101.SecurityPolicyLinkResponse[]; /** * The pricing tier of web application firewall policy. Defaults to Classic_AzureFrontDoor if not specified. */ diff --git a/sdk/nodejs/network/v20201101/policy.ts b/sdk/nodejs/network/v20201101/policy.ts index 98b6d6d7b8a5..dbabaa1273d7 100644 --- a/sdk/nodejs/network/v20201101/policy.ts +++ b/sdk/nodejs/network/v20201101/policy.ts @@ -72,6 +72,10 @@ export class Policy extends pulumi.CustomResource { * Describes Routing Rules associated with this Web Application Firewall policy. */ public /*out*/ readonly routingRuleLinks!: pulumi.Output; + /** + * Describes Security Policy associated with this Web Application Firewall policy. + */ + public /*out*/ readonly securityPolicyLinks!: pulumi.Output; /** * The pricing tier of web application firewall policy. Defaults to Classic_AzureFrontDoor if not specified. */ @@ -115,6 +119,7 @@ export class Policy extends pulumi.CustomResource { inputs["provisioningState"] = undefined /*out*/; inputs["resourceState"] = undefined /*out*/; inputs["routingRuleLinks"] = undefined /*out*/; + inputs["securityPolicyLinks"] = undefined /*out*/; inputs["type"] = undefined /*out*/; } else { inputs["customRules"] = undefined /*out*/; @@ -127,6 +132,7 @@ export class Policy extends pulumi.CustomResource { inputs["provisioningState"] = undefined /*out*/; inputs["resourceState"] = undefined /*out*/; inputs["routingRuleLinks"] = undefined /*out*/; + inputs["securityPolicyLinks"] = undefined /*out*/; inputs["sku"] = undefined /*out*/; inputs["tags"] = undefined /*out*/; inputs["type"] = undefined /*out*/; diff --git a/sdk/nodejs/operationalinsights/latest/alertRuleAction.ts b/sdk/nodejs/operationalinsights/latest/action.ts similarity index 83% rename from sdk/nodejs/operationalinsights/latest/alertRuleAction.ts rename to sdk/nodejs/operationalinsights/latest/action.ts index 5db1b4396e10..2acbd8efca80 100644 --- a/sdk/nodejs/operationalinsights/latest/alertRuleAction.ts +++ b/sdk/nodejs/operationalinsights/latest/action.ts @@ -8,31 +8,31 @@ import * as utilities from "../../utilities"; * Action for alert rule. * Latest API Version: 2020-01-01. */ -export class AlertRuleAction extends pulumi.CustomResource { +export class Action extends pulumi.CustomResource { /** - * Get an existing AlertRuleAction resource's state with the given name, ID, and optional extra + * Get an existing Action 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): AlertRuleAction { - return new AlertRuleAction(name, undefined as any, { ...opts, id: id }); + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Action { + return new Action(name, undefined as any, { ...opts, id: id }); } /** @internal */ - public static readonly __pulumiType = 'azure-nextgen:operationalinsights/latest:AlertRuleAction'; + public static readonly __pulumiType = 'azure-nextgen:operationalinsights/latest:Action'; /** - * Returns true if the given object is an instance of AlertRuleAction. This is designed to work even + * Returns true if the given object is an instance of Action. 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 AlertRuleAction { + public static isInstance(obj: any): obj is Action { if (obj === undefined || obj === null) { return false; } - return obj['__pulumiType'] === AlertRuleAction.__pulumiType; + return obj['__pulumiType'] === Action.__pulumiType; } /** @@ -57,13 +57,13 @@ export class AlertRuleAction extends pulumi.CustomResource { public /*out*/ readonly workflowId!: pulumi.Output; /** - * Create a AlertRuleAction resource with the given unique name, arguments, and options. + * Create a Action 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: AlertRuleActionArgs, opts?: pulumi.CustomResourceOptions) { + constructor(name: string, args: ActionArgs, opts?: pulumi.CustomResourceOptions) { let inputs: pulumi.Inputs = {}; if (!(opts && opts.id)) { if ((!args || args.actionId === undefined) && !(opts && opts.urn)) { @@ -105,16 +105,16 @@ export class AlertRuleAction extends pulumi.CustomResource { if (!opts.version) { opts.version = utilities.getVersion(); } - const aliasOpts = { aliases: [{ type: "azure-nextgen:operationalinsights/v20200101:AlertRuleAction" }] }; + const aliasOpts = { aliases: [{ type: "azure-nextgen:operationalinsights/v20200101:Action" }] }; opts = opts ? pulumi.mergeOptions(opts, aliasOpts) : aliasOpts; - super(AlertRuleAction.__pulumiType, name, inputs, opts); + super(Action.__pulumiType, name, inputs, opts); } } /** - * The set of arguments for constructing a AlertRuleAction resource. + * The set of arguments for constructing a Action resource. */ -export interface AlertRuleActionArgs { +export interface ActionArgs { /** * Action ID */ diff --git a/sdk/nodejs/operationalinsights/latest/getAlertRuleAction.ts b/sdk/nodejs/operationalinsights/latest/getAction.ts similarity index 86% rename from sdk/nodejs/operationalinsights/latest/getAlertRuleAction.ts rename to sdk/nodejs/operationalinsights/latest/getAction.ts index 53eba14c61e3..3ada10deb7a1 100644 --- a/sdk/nodejs/operationalinsights/latest/getAlertRuleAction.ts +++ b/sdk/nodejs/operationalinsights/latest/getAction.ts @@ -5,7 +5,7 @@ import * as pulumi from "@pulumi/pulumi"; import { input as inputs, output as outputs, enums } from "../../types"; import * as utilities from "../../utilities"; -export function getAlertRuleAction(args: GetAlertRuleActionArgs, opts?: pulumi.InvokeOptions): Promise { +export function getAction(args: GetActionArgs, opts?: pulumi.InvokeOptions): Promise { if (!opts) { opts = {} } @@ -13,7 +13,7 @@ export function getAlertRuleAction(args: GetAlertRuleActionArgs, opts?: pulumi.I if (!opts.version) { opts.version = utilities.getVersion(); } - return pulumi.runtime.invoke("azure-nextgen:operationalinsights/latest:getAlertRuleAction", { + return pulumi.runtime.invoke("azure-nextgen:operationalinsights/latest:getAction", { "actionId": args.actionId, "resourceGroupName": args.resourceGroupName, "ruleId": args.ruleId, @@ -21,7 +21,7 @@ export function getAlertRuleAction(args: GetAlertRuleActionArgs, opts?: pulumi.I }, opts); } -export interface GetAlertRuleActionArgs { +export interface GetActionArgs { /** * Action ID */ @@ -43,7 +43,7 @@ export interface GetAlertRuleActionArgs { /** * Action for alert rule. */ -export interface GetAlertRuleActionResult { +export interface GetActionResult { /** * Etag of the action. */ diff --git a/sdk/nodejs/operationalinsights/latest/index.ts b/sdk/nodejs/operationalinsights/latest/index.ts index fe77231e9555..2adaa5526bfd 100644 --- a/sdk/nodejs/operationalinsights/latest/index.ts +++ b/sdk/nodejs/operationalinsights/latest/index.ts @@ -5,15 +5,15 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "../../utilities"; // Export members: +export * from "./action"; export * from "./alertRule"; -export * from "./alertRuleAction"; export * from "./bookmark"; export * from "./cluster"; export * from "./dataConnector"; export * from "./dataExport"; export * from "./dataSource"; +export * from "./getAction"; export * from "./getAlertRule"; -export * from "./getAlertRuleAction"; export * from "./getBookmark"; export * from "./getCluster"; export * from "./getDataConnector"; @@ -37,8 +37,8 @@ export * from "./workspace"; export * from "../../types/enums/operationalinsights/latest"; // Import resources to register: +import { Action } from "./action"; import { AlertRule } from "./alertRule"; -import { AlertRuleAction } from "./alertRuleAction"; import { Bookmark } from "./bookmark"; import { Cluster } from "./cluster"; import { DataConnector } from "./dataConnector"; @@ -55,10 +55,10 @@ const _module = { version: utilities.getVersion(), construct: (name: string, type: string, urn: string): pulumi.Resource => { switch (type) { + case "azure-nextgen:operationalinsights/latest:Action": + return new Action(name, undefined, { urn }) case "azure-nextgen:operationalinsights/latest:AlertRule": return new AlertRule(name, undefined, { urn }) - case "azure-nextgen:operationalinsights/latest:AlertRuleAction": - return new AlertRuleAction(name, undefined, { urn }) case "azure-nextgen:operationalinsights/latest:Bookmark": return new Bookmark(name, undefined, { urn }) case "azure-nextgen:operationalinsights/latest:Cluster": diff --git a/sdk/nodejs/operationalinsights/v20200101/alertRuleAction.ts b/sdk/nodejs/operationalinsights/v20200101/action.ts similarity index 83% rename from sdk/nodejs/operationalinsights/v20200101/alertRuleAction.ts rename to sdk/nodejs/operationalinsights/v20200101/action.ts index 10a5e5aa2d43..6fa355d72f55 100644 --- a/sdk/nodejs/operationalinsights/v20200101/alertRuleAction.ts +++ b/sdk/nodejs/operationalinsights/v20200101/action.ts @@ -7,31 +7,31 @@ import * as utilities from "../../utilities"; /** * Action for alert rule. */ -export class AlertRuleAction extends pulumi.CustomResource { +export class Action extends pulumi.CustomResource { /** - * Get an existing AlertRuleAction resource's state with the given name, ID, and optional extra + * Get an existing Action 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): AlertRuleAction { - return new AlertRuleAction(name, undefined as any, { ...opts, id: id }); + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Action { + return new Action(name, undefined as any, { ...opts, id: id }); } /** @internal */ - public static readonly __pulumiType = 'azure-nextgen:operationalinsights/v20200101:AlertRuleAction'; + public static readonly __pulumiType = 'azure-nextgen:operationalinsights/v20200101:Action'; /** - * Returns true if the given object is an instance of AlertRuleAction. This is designed to work even + * Returns true if the given object is an instance of Action. 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 AlertRuleAction { + public static isInstance(obj: any): obj is Action { if (obj === undefined || obj === null) { return false; } - return obj['__pulumiType'] === AlertRuleAction.__pulumiType; + return obj['__pulumiType'] === Action.__pulumiType; } /** @@ -56,13 +56,13 @@ export class AlertRuleAction extends pulumi.CustomResource { public /*out*/ readonly workflowId!: pulumi.Output; /** - * Create a AlertRuleAction resource with the given unique name, arguments, and options. + * Create a Action 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: AlertRuleActionArgs, opts?: pulumi.CustomResourceOptions) { + constructor(name: string, args: ActionArgs, opts?: pulumi.CustomResourceOptions) { let inputs: pulumi.Inputs = {}; if (!(opts && opts.id)) { if ((!args || args.actionId === undefined) && !(opts && opts.urn)) { @@ -104,16 +104,16 @@ export class AlertRuleAction extends pulumi.CustomResource { if (!opts.version) { opts.version = utilities.getVersion(); } - const aliasOpts = { aliases: [{ type: "azure-nextgen:operationalinsights/latest:AlertRuleAction" }] }; + const aliasOpts = { aliases: [{ type: "azure-nextgen:operationalinsights/latest:Action" }] }; opts = opts ? pulumi.mergeOptions(opts, aliasOpts) : aliasOpts; - super(AlertRuleAction.__pulumiType, name, inputs, opts); + super(Action.__pulumiType, name, inputs, opts); } } /** - * The set of arguments for constructing a AlertRuleAction resource. + * The set of arguments for constructing a Action resource. */ -export interface AlertRuleActionArgs { +export interface ActionArgs { /** * Action ID */ diff --git a/sdk/nodejs/operationalinsights/v20200101/getAlertRuleAction.ts b/sdk/nodejs/operationalinsights/v20200101/getAction.ts similarity index 86% rename from sdk/nodejs/operationalinsights/v20200101/getAlertRuleAction.ts rename to sdk/nodejs/operationalinsights/v20200101/getAction.ts index 4999f6302f4a..5d1a011bc455 100644 --- a/sdk/nodejs/operationalinsights/v20200101/getAlertRuleAction.ts +++ b/sdk/nodejs/operationalinsights/v20200101/getAction.ts @@ -5,7 +5,7 @@ import * as pulumi from "@pulumi/pulumi"; import { input as inputs, output as outputs, enums } from "../../types"; import * as utilities from "../../utilities"; -export function getAlertRuleAction(args: GetAlertRuleActionArgs, opts?: pulumi.InvokeOptions): Promise { +export function getAction(args: GetActionArgs, opts?: pulumi.InvokeOptions): Promise { if (!opts) { opts = {} } @@ -13,7 +13,7 @@ export function getAlertRuleAction(args: GetAlertRuleActionArgs, opts?: pulumi.I if (!opts.version) { opts.version = utilities.getVersion(); } - return pulumi.runtime.invoke("azure-nextgen:operationalinsights/v20200101:getAlertRuleAction", { + return pulumi.runtime.invoke("azure-nextgen:operationalinsights/v20200101:getAction", { "actionId": args.actionId, "resourceGroupName": args.resourceGroupName, "ruleId": args.ruleId, @@ -21,7 +21,7 @@ export function getAlertRuleAction(args: GetAlertRuleActionArgs, opts?: pulumi.I }, opts); } -export interface GetAlertRuleActionArgs { +export interface GetActionArgs { /** * Action ID */ @@ -43,7 +43,7 @@ export interface GetAlertRuleActionArgs { /** * Action for alert rule. */ -export interface GetAlertRuleActionResult { +export interface GetActionResult { /** * Etag of the action. */ diff --git a/sdk/nodejs/operationalinsights/v20200101/index.ts b/sdk/nodejs/operationalinsights/v20200101/index.ts index 323668df321f..5c29a4a3ab17 100644 --- a/sdk/nodejs/operationalinsights/v20200101/index.ts +++ b/sdk/nodejs/operationalinsights/v20200101/index.ts @@ -5,12 +5,12 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "../../utilities"; // Export members: +export * from "./action"; export * from "./alertRule"; -export * from "./alertRuleAction"; export * from "./bookmark"; export * from "./dataConnector"; +export * from "./getAction"; export * from "./getAlertRule"; -export * from "./getAlertRuleAction"; export * from "./getBookmark"; export * from "./getDataConnector"; export * from "./getIncident"; @@ -20,8 +20,8 @@ export * from "./incident"; export * from "../../types/enums/operationalinsights/v20200101"; // Import resources to register: +import { Action } from "./action"; import { AlertRule } from "./alertRule"; -import { AlertRuleAction } from "./alertRuleAction"; import { Bookmark } from "./bookmark"; import { DataConnector } from "./dataConnector"; import { Incident } from "./incident"; @@ -30,10 +30,10 @@ const _module = { version: utilities.getVersion(), construct: (name: string, type: string, urn: string): pulumi.Resource => { switch (type) { + case "azure-nextgen:operationalinsights/v20200101:Action": + return new Action(name, undefined, { urn }) case "azure-nextgen:operationalinsights/v20200101:AlertRule": return new AlertRule(name, undefined, { urn }) - case "azure-nextgen:operationalinsights/v20200101:AlertRuleAction": - return new AlertRuleAction(name, undefined, { urn }) case "azure-nextgen:operationalinsights/v20200101:Bookmark": return new Bookmark(name, undefined, { urn }) case "azure-nextgen:operationalinsights/v20200101:DataConnector": diff --git a/sdk/nodejs/quantum/v20191104preview/getWorkspace.ts b/sdk/nodejs/quantum/v20191104preview/getWorkspace.ts index 82b83c293b20..43826d7fb6c3 100644 --- a/sdk/nodejs/quantum/v20191104preview/getWorkspace.ts +++ b/sdk/nodejs/quantum/v20191104preview/getWorkspace.ts @@ -34,6 +34,10 @@ export interface GetWorkspaceArgs { * The resource proxy definition object for quantum workspace. */ export interface GetWorkspaceResult { + /** + * The URI of the workspace endpoint. + */ + readonly endpointUri: string; /** * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */ diff --git a/sdk/nodejs/quantum/v20191104preview/workspace.ts b/sdk/nodejs/quantum/v20191104preview/workspace.ts index 64eefe8a2cc5..89dce0fd3e69 100644 --- a/sdk/nodejs/quantum/v20191104preview/workspace.ts +++ b/sdk/nodejs/quantum/v20191104preview/workspace.ts @@ -35,6 +35,10 @@ export class Workspace extends pulumi.CustomResource { return obj['__pulumiType'] === Workspace.__pulumiType; } + /** + * The URI of the workspace endpoint. + */ + public /*out*/ readonly endpointUri!: pulumi.Output; /** * Managed Identity information. */ @@ -98,11 +102,13 @@ export class Workspace extends pulumi.CustomResource { inputs["storageAccount"] = args ? args.storageAccount : undefined; inputs["tags"] = args ? args.tags : undefined; inputs["workspaceName"] = args ? args.workspaceName : undefined; + inputs["endpointUri"] = undefined /*out*/; inputs["name"] = undefined /*out*/; inputs["provisioningState"] = undefined /*out*/; inputs["type"] = undefined /*out*/; inputs["usable"] = undefined /*out*/; } else { + inputs["endpointUri"] = undefined /*out*/; inputs["identity"] = undefined /*out*/; inputs["location"] = undefined /*out*/; inputs["name"] = undefined /*out*/; diff --git a/sdk/nodejs/securityinsights/v20190101preview/alertRuleAction.ts b/sdk/nodejs/securityinsights/v20190101preview/action.ts similarity index 84% rename from sdk/nodejs/securityinsights/v20190101preview/alertRuleAction.ts rename to sdk/nodejs/securityinsights/v20190101preview/action.ts index f9e5f82a3e7a..49c17a14755b 100644 --- a/sdk/nodejs/securityinsights/v20190101preview/alertRuleAction.ts +++ b/sdk/nodejs/securityinsights/v20190101preview/action.ts @@ -7,31 +7,31 @@ import * as utilities from "../../utilities"; /** * Action for alert rule. */ -export class AlertRuleAction extends pulumi.CustomResource { +export class Action extends pulumi.CustomResource { /** - * Get an existing AlertRuleAction resource's state with the given name, ID, and optional extra + * Get an existing Action 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): AlertRuleAction { - return new AlertRuleAction(name, undefined as any, { ...opts, id: id }); + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Action { + return new Action(name, undefined as any, { ...opts, id: id }); } /** @internal */ - public static readonly __pulumiType = 'azure-nextgen:securityinsights/v20190101preview:AlertRuleAction'; + public static readonly __pulumiType = 'azure-nextgen:securityinsights/v20190101preview:Action'; /** - * Returns true if the given object is an instance of AlertRuleAction. This is designed to work even + * Returns true if the given object is an instance of Action. 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 AlertRuleAction { + public static isInstance(obj: any): obj is Action { if (obj === undefined || obj === null) { return false; } - return obj['__pulumiType'] === AlertRuleAction.__pulumiType; + return obj['__pulumiType'] === Action.__pulumiType; } /** @@ -56,13 +56,13 @@ export class AlertRuleAction extends pulumi.CustomResource { public /*out*/ readonly workflowId!: pulumi.Output; /** - * Create a AlertRuleAction resource with the given unique name, arguments, and options. + * Create a Action 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: AlertRuleActionArgs, opts?: pulumi.CustomResourceOptions) { + constructor(name: string, args: ActionArgs, opts?: pulumi.CustomResourceOptions) { let inputs: pulumi.Inputs = {}; if (!(opts && opts.id)) { if ((!args || args.actionId === undefined) && !(opts && opts.urn)) { @@ -105,14 +105,14 @@ export class AlertRuleAction extends pulumi.CustomResource { if (!opts.version) { opts.version = utilities.getVersion(); } - super(AlertRuleAction.__pulumiType, name, inputs, opts); + super(Action.__pulumiType, name, inputs, opts); } } /** - * The set of arguments for constructing a AlertRuleAction resource. + * The set of arguments for constructing a Action resource. */ -export interface AlertRuleActionArgs { +export interface ActionArgs { /** * Action ID */ diff --git a/sdk/nodejs/securityinsights/v20190101preview/getAlertRuleAction.ts b/sdk/nodejs/securityinsights/v20190101preview/getAction.ts similarity index 88% rename from sdk/nodejs/securityinsights/v20190101preview/getAlertRuleAction.ts rename to sdk/nodejs/securityinsights/v20190101preview/getAction.ts index 7e0be7abc723..5a096c1b9270 100644 --- a/sdk/nodejs/securityinsights/v20190101preview/getAlertRuleAction.ts +++ b/sdk/nodejs/securityinsights/v20190101preview/getAction.ts @@ -5,7 +5,7 @@ import * as pulumi from "@pulumi/pulumi"; import { input as inputs, output as outputs, enums } from "../../types"; import * as utilities from "../../utilities"; -export function getAlertRuleAction(args: GetAlertRuleActionArgs, opts?: pulumi.InvokeOptions): Promise { +export function getAction(args: GetActionArgs, opts?: pulumi.InvokeOptions): Promise { if (!opts) { opts = {} } @@ -13,7 +13,7 @@ export function getAlertRuleAction(args: GetAlertRuleActionArgs, opts?: pulumi.I if (!opts.version) { opts.version = utilities.getVersion(); } - return pulumi.runtime.invoke("azure-nextgen:securityinsights/v20190101preview:getAlertRuleAction", { + return pulumi.runtime.invoke("azure-nextgen:securityinsights/v20190101preview:getAction", { "actionId": args.actionId, "operationalInsightsResourceProvider": args.operationalInsightsResourceProvider, "resourceGroupName": args.resourceGroupName, @@ -22,7 +22,7 @@ export function getAlertRuleAction(args: GetAlertRuleActionArgs, opts?: pulumi.I }, opts); } -export interface GetAlertRuleActionArgs { +export interface GetActionArgs { /** * Action ID */ @@ -48,7 +48,7 @@ export interface GetAlertRuleActionArgs { /** * Action for alert rule. */ -export interface GetAlertRuleActionResult { +export interface GetActionResult { /** * Etag of the action. */ diff --git a/sdk/nodejs/securityinsights/v20190101preview/index.ts b/sdk/nodejs/securityinsights/v20190101preview/index.ts index f06fa5e6557c..bc3cc644c790 100644 --- a/sdk/nodejs/securityinsights/v20190101preview/index.ts +++ b/sdk/nodejs/securityinsights/v20190101preview/index.ts @@ -5,13 +5,13 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "../../utilities"; // Export members: +export * from "./action"; export * from "./alertRule"; -export * from "./alertRuleAction"; export * from "./bookmark"; export * from "./bookmarkRelation"; export * from "./dataConnector"; +export * from "./getAction"; export * from "./getAlertRule"; -export * from "./getAlertRuleAction"; export * from "./getBookmark"; export * from "./getBookmarkRelation"; export * from "./getDataConnector"; @@ -34,8 +34,8 @@ export * from "./watchlist"; export * from "../../types/enums/securityinsights/v20190101preview"; // Import resources to register: +import { Action } from "./action"; import { AlertRule } from "./alertRule"; -import { AlertRuleAction } from "./alertRuleAction"; import { Bookmark } from "./bookmark"; import { BookmarkRelation } from "./bookmarkRelation"; import { DataConnector } from "./dataConnector"; @@ -50,10 +50,10 @@ const _module = { version: utilities.getVersion(), construct: (name: string, type: string, urn: string): pulumi.Resource => { switch (type) { + case "azure-nextgen:securityinsights/v20190101preview:Action": + return new Action(name, undefined, { urn }) case "azure-nextgen:securityinsights/v20190101preview:AlertRule": return new AlertRule(name, undefined, { urn }) - case "azure-nextgen:securityinsights/v20190101preview:AlertRuleAction": - return new AlertRuleAction(name, undefined, { urn }) case "azure-nextgen:securityinsights/v20190101preview:Bookmark": return new Bookmark(name, undefined, { urn }) case "azure-nextgen:securityinsights/v20190101preview:BookmarkRelation": diff --git a/sdk/nodejs/tsconfig.json b/sdk/nodejs/tsconfig.json index 428c1caf2776..d5177aba8da0 100644 --- a/sdk/nodejs/tsconfig.json +++ b/sdk/nodejs/tsconfig.json @@ -4412,6 +4412,16 @@ "domainregistration/v20200901/index.ts", "domainregistration/v20200901/listDomainRecommendations.ts", "domainregistration/v20200901/listTopLevelDomainAgreements.ts", + "edgeorder/index.ts", + "edgeorder/v20201201preview/addressByName.ts", + "edgeorder/v20201201preview/getAddressByName.ts", + "edgeorder/v20201201preview/getOrderByName.ts", + "edgeorder/v20201201preview/getOrderCollectionByName.ts", + "edgeorder/v20201201preview/index.ts", + "edgeorder/v20201201preview/listConfigurations.ts", + "edgeorder/v20201201preview/listProductFamilies.ts", + "edgeorder/v20201201preview/orderByName.ts", + "edgeorder/v20201201preview/orderCollectionByName.ts", "engagementfabric/index.ts", "engagementfabric/v20180901preview/account.ts", "engagementfabric/v20180901preview/channel.ts", @@ -4716,6 +4726,11 @@ "healthcareapis/v20200330/index.ts", "healthcareapis/v20200330/privateEndpointConnection.ts", "healthcareapis/v20200330/service.ts", + "healthcareapis/v20210111/getPrivateEndpointConnection.ts", + "healthcareapis/v20210111/getService.ts", + "healthcareapis/v20210111/index.ts", + "healthcareapis/v20210111/privateEndpointConnection.ts", + "healthcareapis/v20210111/service.ts", "hybridcompute/index.ts", "hybridcompute/latest/getGuestConfigurationHCRPAssignment.ts", "hybridcompute/latest/getMachine.ts", @@ -6005,9 +6020,12 @@ "migrate/v20191001preview/moveCollection.ts", "migrate/v20191001preview/moveResource.ts", "mixedreality/index.ts", + "mixedreality/latest/getRemoteRenderingAccount.ts", "mixedreality/latest/getSpatialAnchorsAccount.ts", "mixedreality/latest/index.ts", + "mixedreality/latest/listRemoteRenderingAccountKeys.ts", "mixedreality/latest/listSpatialAnchorsAccountKeys.ts", + "mixedreality/latest/remoteRenderingAccount.ts", "mixedreality/latest/spatialAnchorsAccount.ts", "mixedreality/v20190228preview/getSpatialAnchorsAccount.ts", "mixedreality/v20190228preview/index.ts", @@ -6025,6 +6043,13 @@ "mixedreality/v20200501/index.ts", "mixedreality/v20200501/listSpatialAnchorsAccountKeys.ts", "mixedreality/v20200501/spatialAnchorsAccount.ts", + "mixedreality/v20210101/getRemoteRenderingAccount.ts", + "mixedreality/v20210101/getSpatialAnchorsAccount.ts", + "mixedreality/v20210101/index.ts", + "mixedreality/v20210101/listRemoteRenderingAccountKeys.ts", + "mixedreality/v20210101/listSpatialAnchorsAccountKeys.ts", + "mixedreality/v20210101/remoteRenderingAccount.ts", + "mixedreality/v20210101/spatialAnchorsAccount.ts", "netapp/index.ts", "netapp/latest/account.ts", "netapp/latest/backup.ts", @@ -9616,15 +9641,15 @@ "offazure/v20200707/masterSite.ts", "offazure/v20200707/site.ts", "operationalinsights/index.ts", + "operationalinsights/latest/action.ts", "operationalinsights/latest/alertRule.ts", - "operationalinsights/latest/alertRuleAction.ts", "operationalinsights/latest/bookmark.ts", "operationalinsights/latest/cluster.ts", "operationalinsights/latest/dataConnector.ts", "operationalinsights/latest/dataExport.ts", "operationalinsights/latest/dataSource.ts", + "operationalinsights/latest/getAction.ts", "operationalinsights/latest/getAlertRule.ts", - "operationalinsights/latest/getAlertRuleAction.ts", "operationalinsights/latest/getBookmark.ts", "operationalinsights/latest/getCluster.ts", "operationalinsights/latest/getDataConnector.ts", @@ -9671,12 +9696,12 @@ "operationalinsights/v20190901preview/index.ts", "operationalinsights/v20190901preview/query.ts", "operationalinsights/v20190901preview/queryPack.ts", + "operationalinsights/v20200101/action.ts", "operationalinsights/v20200101/alertRule.ts", - "operationalinsights/v20200101/alertRuleAction.ts", "operationalinsights/v20200101/bookmark.ts", "operationalinsights/v20200101/dataConnector.ts", + "operationalinsights/v20200101/getAction.ts", "operationalinsights/v20200101/getAlertRule.ts", - "operationalinsights/v20200101/getAlertRuleAction.ts", "operationalinsights/v20200101/getBookmark.ts", "operationalinsights/v20200101/getDataConnector.ts", "operationalinsights/v20200101/getIncident.ts", @@ -10487,13 +10512,13 @@ "security/v20200806preview/iotSite.ts", "security/v20200806preview/onPremiseIotSensor.ts", "securityinsights/index.ts", + "securityinsights/v20190101preview/action.ts", "securityinsights/v20190101preview/alertRule.ts", - "securityinsights/v20190101preview/alertRuleAction.ts", "securityinsights/v20190101preview/bookmark.ts", "securityinsights/v20190101preview/bookmarkRelation.ts", "securityinsights/v20190101preview/dataConnector.ts", + "securityinsights/v20190101preview/getAction.ts", "securityinsights/v20190101preview/getAlertRule.ts", - "securityinsights/v20190101preview/getAlertRuleAction.ts", "securityinsights/v20190101preview/getBookmark.ts", "securityinsights/v20190101preview/getBookmarkRelation.ts", "securityinsights/v20190101preview/getDataConnector.ts", @@ -12070,6 +12095,8 @@ "types/enums/domainregistration/v20190801/index.ts", "types/enums/domainregistration/v20200601/index.ts", "types/enums/domainregistration/v20200901/index.ts", + "types/enums/edgeorder/index.ts", + "types/enums/edgeorder/v20201201preview/index.ts", "types/enums/enterpriseknowledgegraph/index.ts", "types/enums/enterpriseknowledgegraph/latest/index.ts", "types/enums/enterpriseknowledgegraph/v20181203/index.ts", @@ -12109,6 +12136,7 @@ "types/enums/healthcareapis/v20190916/index.ts", "types/enums/healthcareapis/v20200315/index.ts", "types/enums/healthcareapis/v20200330/index.ts", + "types/enums/healthcareapis/v20210111/index.ts", "types/enums/hybridcompute/index.ts", "types/enums/hybridcompute/latest/index.ts", "types/enums/hybridcompute/v20181120/index.ts", @@ -12258,6 +12286,7 @@ "types/enums/mixedreality/v20191202preview/index.ts", "types/enums/mixedreality/v20200406preview/index.ts", "types/enums/mixedreality/v20200501/index.ts", + "types/enums/mixedreality/v20210101/index.ts", "types/enums/netapp/index.ts", "types/enums/netapp/latest/index.ts", "types/enums/netapp/v20170815/index.ts", diff --git a/sdk/nodejs/types/enums/edgeorder/index.ts b/sdk/nodejs/types/enums/edgeorder/index.ts new file mode 100644 index 000000000000..bb9ef9750d3d --- /dev/null +++ b/sdk/nodejs/types/enums/edgeorder/index.ts @@ -0,0 +1,9 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +// Export sub-modules: +import * as v20201201preview from "./v20201201preview"; + +export { + v20201201preview, +}; diff --git a/sdk/nodejs/types/enums/edgeorder/v20201201preview/index.ts b/sdk/nodejs/types/enums/edgeorder/v20201201preview/index.ts new file mode 100644 index 000000000000..c3eff45fcaae --- /dev/null +++ b/sdk/nodejs/types/enums/edgeorder/v20201201preview/index.ts @@ -0,0 +1,99 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + + +export const AddressType = { + /** + * Address type not known. + */ + None: "None", + /** + * Residential Address. + */ + Residential: "Residential", + /** + * Commercial Address. + */ + Commercial: "Commercial", +} as const; + +/** + * Type of address. + */ +export type AddressType = (typeof AddressType)[keyof typeof AddressType]; + +export const NotificationStageName = { + /** + * Notification at device prepared stage. + */ + DevicePrepared: "DevicePrepared", + /** + * Notification at device dispatched stage. + */ + Dispatched: "Dispatched", + /** + * Notification at device delivered stage. + */ + Delivered: "Delivered", + /** + * Notification at device picked up from user stage. + */ + PickedUp: "PickedUp", + /** + * Notification at device received at Azure datacenter stage. + */ + AtAzureDC: "AtAzureDC", + /** + * Notification at data copy started stage. + */ + DataCopy: "DataCopy", +} as const; + +/** + * Name of the stage. + */ +export type NotificationStageName = (typeof NotificationStageName)[keyof typeof NotificationStageName]; + +export const OrderType = { + /** + * Purchase Order. + */ + Purchase: "Purchase", + /** + * Rental Order. + */ + Rental: "Rental", +} as const; + +/** + * Order type. + */ +export type OrderType = (typeof OrderType)[keyof typeof OrderType]; + +export const SupportedFilterTypes = { + /** + * Ship to country + */ + ShipToCountries: "ShipToCountries", +} as const; + +/** + * Type of product filter. + */ +export type SupportedFilterTypes = (typeof SupportedFilterTypes)[keyof typeof SupportedFilterTypes]; + +export const TransportShipmentTypes = { + /** + * Shipment Logistics is handled by the customer. + */ + CustomerManaged: "CustomerManaged", + /** + * Shipment Logistics is handled by Microsoft. + */ + MicrosoftManaged: "MicrosoftManaged", +} as const; + +/** + * Indicates Shipment Logistics type that the customer preferred. + */ +export type TransportShipmentTypes = (typeof TransportShipmentTypes)[keyof typeof TransportShipmentTypes]; diff --git a/sdk/nodejs/types/enums/healthcareapis/index.ts b/sdk/nodejs/types/enums/healthcareapis/index.ts index 011059dde0ad..9a0eb3db3950 100644 --- a/sdk/nodejs/types/enums/healthcareapis/index.ts +++ b/sdk/nodejs/types/enums/healthcareapis/index.ts @@ -7,6 +7,7 @@ import * as v20180820preview from "./v20180820preview"; import * as v20190916 from "./v20190916"; import * as v20200315 from "./v20200315"; import * as v20200330 from "./v20200330"; +import * as v20210111 from "./v20210111"; export { latest, @@ -14,4 +15,5 @@ export { v20190916, v20200315, v20200330, + v20210111, }; diff --git a/sdk/nodejs/types/enums/healthcareapis/v20210111/index.ts b/sdk/nodejs/types/enums/healthcareapis/v20210111/index.ts new file mode 100644 index 000000000000..2c172de2d785 --- /dev/null +++ b/sdk/nodejs/types/enums/healthcareapis/v20210111/index.ts @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + + +export const Kind = { + Fhir: "fhir", + Fhir_Stu3: "fhir-Stu3", + Fhir_R4: "fhir-R4", +} as const; + +/** + * The kind of the service. + */ +export type Kind = (typeof Kind)[keyof typeof Kind]; + +export const ManagedServiceIdentityType = { + SystemAssigned: "SystemAssigned", + None: "None", +} as const; + +/** + * Type of identity being specified, currently SystemAssigned and None are allowed. + */ +export type ManagedServiceIdentityType = (typeof ManagedServiceIdentityType)[keyof typeof ManagedServiceIdentityType]; + +export const PrivateEndpointServiceConnectionStatus = { + Pending: "Pending", + Approved: "Approved", + Rejected: "Rejected", +} as const; + +/** + * Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. + */ +export type PrivateEndpointServiceConnectionStatus = (typeof PrivateEndpointServiceConnectionStatus)[keyof typeof PrivateEndpointServiceConnectionStatus]; + +export const PublicNetworkAccess = { + Enabled: "Enabled", + Disabled: "Disabled", +} as const; + +/** + * Control permission for data plane traffic coming from public networks while private endpoint is enabled. + */ +export type PublicNetworkAccess = (typeof PublicNetworkAccess)[keyof typeof PublicNetworkAccess]; diff --git a/sdk/nodejs/types/enums/index.ts b/sdk/nodejs/types/enums/index.ts index 5d7b46e82f39..d5baee7777ed 100644 --- a/sdk/nodejs/types/enums/index.ts +++ b/sdk/nodejs/types/enums/index.ts @@ -60,6 +60,7 @@ import * as devtestlab from "./devtestlab"; import * as digitaltwins from "./digitaltwins"; import * as documentdb from "./documentdb"; import * as domainregistration from "./domainregistration"; +import * as edgeorder from "./edgeorder"; import * as enterpriseknowledgegraph from "./enterpriseknowledgegraph"; import * as eventgrid from "./eventgrid"; import * as eventhub from "./eventhub"; @@ -193,6 +194,7 @@ export { digitaltwins, documentdb, domainregistration, + edgeorder, enterpriseknowledgegraph, eventgrid, eventhub, diff --git a/sdk/nodejs/types/enums/mixedreality/index.ts b/sdk/nodejs/types/enums/mixedreality/index.ts index 50efea64cfd7..61bfc8f3c48d 100644 --- a/sdk/nodejs/types/enums/mixedreality/index.ts +++ b/sdk/nodejs/types/enums/mixedreality/index.ts @@ -7,6 +7,7 @@ import * as v20190228preview from "./v20190228preview"; import * as v20191202preview from "./v20191202preview"; import * as v20200406preview from "./v20200406preview"; import * as v20200501 from "./v20200501"; +import * as v20210101 from "./v20210101"; export { latest, @@ -14,4 +15,5 @@ export { v20191202preview, v20200406preview, v20200501, + v20210101, }; diff --git a/sdk/nodejs/types/enums/mixedreality/latest/index.ts b/sdk/nodejs/types/enums/mixedreality/latest/index.ts index 3df3244efabe..6f3f4c3c4e30 100644 --- a/sdk/nodejs/types/enums/mixedreality/latest/index.ts +++ b/sdk/nodejs/types/enums/mixedreality/latest/index.ts @@ -10,3 +10,15 @@ export const ResourceIdentityType = { * The identity type. */ export type ResourceIdentityType = (typeof ResourceIdentityType)[keyof typeof ResourceIdentityType]; + +export const SkuTier = { + Free: "Free", + Basic: "Basic", + Standard: "Standard", + Premium: "Premium", +} as const; + +/** + * This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. + */ +export type SkuTier = (typeof SkuTier)[keyof typeof SkuTier]; diff --git a/sdk/nodejs/types/enums/mixedreality/v20210101/index.ts b/sdk/nodejs/types/enums/mixedreality/v20210101/index.ts new file mode 100644 index 000000000000..6f3f4c3c4e30 --- /dev/null +++ b/sdk/nodejs/types/enums/mixedreality/v20210101/index.ts @@ -0,0 +1,24 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + + +export const ResourceIdentityType = { + SystemAssigned: "SystemAssigned", +} as const; + +/** + * The identity type. + */ +export type ResourceIdentityType = (typeof ResourceIdentityType)[keyof typeof ResourceIdentityType]; + +export const SkuTier = { + Free: "Free", + Basic: "Basic", + Standard: "Standard", + Premium: "Premium", +} as const; + +/** + * This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. + */ +export type SkuTier = (typeof SkuTier)[keyof typeof SkuTier]; diff --git a/sdk/nodejs/types/enums/network/latest/index.ts b/sdk/nodejs/types/enums/network/latest/index.ts index c8e097cc2de3..d010d321800a 100644 --- a/sdk/nodejs/types/enums/network/latest/index.ts +++ b/sdk/nodejs/types/enums/network/latest/index.ts @@ -971,6 +971,7 @@ export const ManagedRuleExclusionMatchVariable = { RequestCookieNames: "RequestCookieNames", QueryStringArgNames: "QueryStringArgNames", RequestBodyPostArgNames: "RequestBodyPostArgNames", + RequestBodyJsonArgNames: "RequestBodyJsonArgNames", } as const; /** diff --git a/sdk/nodejs/types/enums/network/v20201101/index.ts b/sdk/nodejs/types/enums/network/v20201101/index.ts index 469bfd37c45e..c13a3c9e673c 100644 --- a/sdk/nodejs/types/enums/network/v20201101/index.ts +++ b/sdk/nodejs/types/enums/network/v20201101/index.ts @@ -39,6 +39,7 @@ export const ManagedRuleExclusionMatchVariable = { RequestCookieNames: "RequestCookieNames", QueryStringArgNames: "QueryStringArgNames", RequestBodyPostArgNames: "RequestBodyPostArgNames", + RequestBodyJsonArgNames: "RequestBodyJsonArgNames", } as const; /** diff --git a/sdk/nodejs/types/enums/securityinsights/v20190101preview/index.ts b/sdk/nodejs/types/enums/securityinsights/v20190101preview/index.ts index 334db58d259c..41caaa0589fb 100644 --- a/sdk/nodejs/types/enums/securityinsights/v20190101preview/index.ts +++ b/sdk/nodejs/types/enums/securityinsights/v20190101preview/index.ts @@ -8,6 +8,7 @@ export const AlertRuleKind = { Fusion: "Fusion", MLBehaviorAnalytics: "MLBehaviorAnalytics", ThreatIntelligence: "ThreatIntelligence", + Anomaly: "Anomaly", } as const; /** diff --git a/sdk/nodejs/types/input.ts b/sdk/nodejs/types/input.ts index 28f3a9704efe..2e90ea5f9a4f 100644 --- a/sdk/nodejs/types/input.ts +++ b/sdk/nodejs/types/input.ts @@ -132158,10 +132158,6 @@ export namespace desktopvirtualization { * Notification message for users during ramp down period. */ rampDownNotificationMessage?: pulumi.Input; - /** - * Number of minutes to wait to stop hosts during ramp down period. - */ - rampDownNotificationMinutes?: pulumi.Input; /** * Starting time for ramp down period. */ @@ -132171,17 +132167,21 @@ export namespace desktopvirtualization { */ rampDownStopHostsWhen?: pulumi.Input; /** - * Load balancing algorithm for ramp up period. + * Number of minutes to wait to stop hosts during ramp down period. */ - rampUpAlgorithm?: pulumi.Input; + rampDownWaitTimeMinutes?: pulumi.Input; /** * Capacity threshold for ramp up period. */ rampUpCapacityThresholdPct?: pulumi.Input; + /** + * Load balancing algorithm for ramp up period. + */ + rampUpLoadBalancingAlgorithm?: pulumi.Input; /** * Minimum host percentage for ramp up period. */ - rampUpMinimumHostPct?: pulumi.Input; + rampUpMinimumHostsPct?: pulumi.Input; /** * Starting time for ramp up period. */ @@ -151610,6 +151610,253 @@ export namespace domainregistration { } } +export namespace edgeorder { + export namespace v20201201preview { + /** + * Address details for an order. + */ + export interface AddressDetails { + /** + * Customer address and contact details. It should be address resource + */ + shippingAddress: pulumi.Input; + } + + /** + * Address Properties + */ + export interface AddressProperties { + /** + * Contact details for the address + */ + contactDetails: pulumi.Input; + /** + * Shipping details for the address + */ + shippingAddress?: pulumi.Input; + } + + /** + * Configuration filters + */ + export interface ConfigurationFilters { + /** + * Filters specific to product + */ + filterableProperty?: inputs.edgeorder.v20201201preview.FilterableProperty; + /** + * Product hierarchy information + */ + hierarchyInformation?: inputs.edgeorder.v20201201preview.HierarchyInformation; + } + + /** + * Contact Details. + */ + export interface ContactDetails { + /** + * Contact name of the person. + */ + contactName: pulumi.Input; + /** + * Mobile number of the contact person. + */ + mobile?: pulumi.Input; + /** + * Phone number of the contact person. + */ + phone: pulumi.Input; + /** + * Phone extension number of the contact person. + */ + phoneExtension?: pulumi.Input; + } + + export interface CustomerSubscriptionDetails { + /** + * Location placement Id of a subscription + */ + locationPlacementId?: string; + /** + * Quota ID of a subscription + */ + quotaId: string; + /** + * List of registered feature flags for subscription + */ + registeredFeatures?: inputs.edgeorder.v20201201preview.CustomerSubscriptionRegisteredFeatures[]; + } + + export interface CustomerSubscriptionRegisteredFeatures { + /** + * Name of subscription registered feature + */ + name?: string; + /** + * State of subscription registered feature + */ + state?: string; + } + + /** + * Class defining the list of filter values on a filter type as part of configuration request. + */ + export interface FilterableProperty { + /** + * Values to be filtered. + */ + supportedValues?: string[]; + /** + * Type of product filter. + */ + type: string | enums.edgeorder.v20201201preview.SupportedFilterTypes; + } + + /** + * Holds details about product hierarchy information + */ + export interface HierarchyInformation { + /** + * Represents configuration name that uniquely identifies configuration + */ + configurationName?: pulumi.Input; + /** + * Represents product family name that uniquely identifies product family + */ + productFamilyName?: pulumi.Input; + /** + * Represents product line name that uniquely identifies product line + */ + productLineName?: pulumi.Input; + /** + * Represents product name that uniquely identifies product + */ + productName?: pulumi.Input; + } + + /** + * Notification preference for a job stage. + */ + export interface NotificationPreference { + /** + * Notification is required or not. + */ + sendNotification: pulumi.Input; + /** + * Name of the stage. + */ + stageName: pulumi.Input; + } + + /** + * Order details + */ + export interface OrderDetails { + /** + * Package Shipping details + */ + notificationEmailList?: pulumi.Input[]>; + /** + * Order type. + */ + orderType: pulumi.Input; + /** + * Customer notification Preferences + */ + preferences?: pulumi.Input; + /** + * Unique identifier for configuration. + */ + productDetails: pulumi.Input; + } + + /** + * Preferences related to the order + */ + export interface Preferences { + /** + * Notification preferences. + */ + notificationPreferences?: pulumi.Input[]>; + /** + * Preferences related to the shipment logistics of the order. + */ + transportPreferences?: pulumi.Input; + } + + /** + * Represents product details + */ + export interface ProductDetails { + /** + * Quantity of the product + */ + count?: pulumi.Input; + /** + * Hierarchy of the product which uniquely identifies the product + */ + hierarchyInformation: pulumi.Input; + } + + /** + * Shipping address where customer wishes to receive the device. + */ + export interface ShippingAddress { + /** + * Type of address. + */ + addressType?: pulumi.Input; + /** + * Name of the City. + */ + city?: pulumi.Input; + /** + * Name of the company. + */ + companyName?: pulumi.Input; + /** + * Name of the Country. + */ + country: pulumi.Input; + /** + * Postal code. + */ + postalCode?: pulumi.Input; + /** + * Name of the State or Province. + */ + stateOrProvince?: pulumi.Input; + /** + * Street Address line 1. + */ + streetAddress1: pulumi.Input; + /** + * Street Address line 2. + */ + streetAddress2?: pulumi.Input; + /** + * Street Address line 3. + */ + streetAddress3?: pulumi.Input; + /** + * Extended Zip Code. + */ + zipExtendedCode?: pulumi.Input; + } + + /** + * Preferences related to the shipment logistics of the sku + */ + export interface TransportPreferences { + /** + * Indicates Shipment Logistics type that the customer preferred. + */ + preferredShipmentType: pulumi.Input; + } + + } +} + export namespace engagementfabric { export namespace v20180901preview { /** @@ -156821,6 +157068,10 @@ export namespace hdinsight { * The location of the endpoint. */ location?: pulumi.Input; + /** + * The private ip address of the endpoint. + */ + privateIPAddress?: pulumi.Input; /** * The public port to connect to. */ @@ -157594,6 +157845,16 @@ export namespace healthcareapis { objectId: pulumi.Input; } + /** + * Azure container registry configuration information + */ + export interface ServiceAcrConfigurationInfo { + /** + * The list of the ACR login servers. + */ + loginServers?: pulumi.Input[]>; + } + /** * Authentication configuration information */ @@ -157670,6 +157931,10 @@ export namespace healthcareapis { * The access policies of the service instance. */ accessPolicies?: pulumi.Input[]>; + /** + * The azure container registry settings used for convert data operation of the service instance. + */ + acrConfiguration?: pulumi.Input; /** * The authentication configuration for the service instance. */ @@ -158179,6 +158444,173 @@ export namespace healthcareapis { } } + + export namespace v20210111 { + /** + * The Private Endpoint Connection resource. + */ + export interface PrivateEndpointConnection { + /** + * A collection of information about the state of the connection between service consumer and provider. + */ + privateLinkServiceConnectionState: pulumi.Input; + } + + /** + * A collection of information about the state of the connection between service consumer and provider. + */ + export interface PrivateLinkServiceConnectionState { + /** + * A message indicating if changes on the service provider require any updates on the consumer. + */ + actionsRequired?: pulumi.Input; + /** + * The reason for approval/rejection of the connection. + */ + description?: pulumi.Input; + /** + * Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. + */ + status?: pulumi.Input; + } + + /** + * An access policy entry. + */ + export interface ServiceAccessPolicyEntry { + /** + * An Azure AD object ID (User or Apps) that is allowed access to the FHIR service. + */ + objectId: pulumi.Input; + } + + /** + * Azure container registry configuration information + */ + export interface ServiceAcrConfigurationInfo { + /** + * The list of the ACR login servers. + */ + loginServers?: pulumi.Input[]>; + } + + /** + * Authentication configuration information + */ + export interface ServiceAuthenticationConfigurationInfo { + /** + * The audience url for the service + */ + audience?: pulumi.Input; + /** + * The authority url for the service + */ + authority?: pulumi.Input; + /** + * If the SMART on FHIR proxy is enabled + */ + smartProxyEnabled?: pulumi.Input; + } + + /** + * The settings for the CORS configuration of the service instance. + */ + export interface ServiceCorsConfigurationInfo { + /** + * If credentials are allowed via CORS. + */ + allowCredentials?: pulumi.Input; + /** + * The headers to be allowed via CORS. + */ + headers?: pulumi.Input[]>; + /** + * The max age to be allowed via CORS. + */ + maxAge?: pulumi.Input; + /** + * The methods to be allowed via CORS. + */ + methods?: pulumi.Input[]>; + /** + * The origins to be allowed via CORS. + */ + origins?: pulumi.Input[]>; + } + + /** + * The settings for the Cosmos DB database backing the service. + */ + export interface ServiceCosmosDbConfigurationInfo { + /** + * The URI of the customer-managed key for the backing database. + */ + keyVaultKeyUri?: pulumi.Input; + /** + * The provisioned throughput for the backing database. + */ + offerThroughput?: pulumi.Input; + } + + /** + * Export operation configuration information + */ + export interface ServiceExportConfigurationInfo { + /** + * The name of the default export storage account. + */ + storageAccountName?: pulumi.Input; + } + + /** + * The properties of a service instance. + */ + export interface ServicesProperties { + /** + * The access policies of the service instance. + */ + accessPolicies?: pulumi.Input[]>; + /** + * The azure container registry settings used for convert data operation of the service instance. + */ + acrConfiguration?: pulumi.Input; + /** + * The authentication configuration for the service instance. + */ + authenticationConfiguration?: pulumi.Input; + /** + * The settings for the CORS configuration of the service instance. + */ + corsConfiguration?: pulumi.Input; + /** + * The settings for the Cosmos DB database backing the service. + */ + cosmosDbConfiguration?: pulumi.Input; + /** + * The settings for the export operation of the service instance. + */ + exportConfiguration?: pulumi.Input; + /** + * The list of private endpoint connections that are set up for this resource. + */ + privateEndpointConnections?: pulumi.Input[]>; + /** + * Control permission for data plane traffic coming from public networks while private endpoint is enabled. + */ + publicNetworkAccess?: pulumi.Input; + } + + /** + * Setting indicating whether the service has a managed identity associated with it. + */ + export interface ServicesResourceIdentity { + /** + * Type of identity being specified, currently SystemAssigned and None are allowed. + */ + type?: pulumi.Input; + } + + } } export namespace hybridcompute { @@ -198637,6 +199069,32 @@ export namespace mixedreality { type?: pulumi.Input; } + /** + * The resource model definition representing SKU + */ + export interface Sku { + /** + * If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. + */ + capacity?: pulumi.Input; + /** + * If the service has different generations of hardware, for the same SKU, then that can be captured here. + */ + family?: pulumi.Input; + /** + * The name of the SKU. Ex - P3. It is typically a letter+number code + */ + name: pulumi.Input; + /** + * The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. + */ + size?: pulumi.Input; + /** + * This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. + */ + tier?: pulumi.Input; + } + } export namespace v20190228preview { @@ -198687,6 +199145,45 @@ export namespace mixedreality { } } + + export namespace v20210101 { + /** + * Identity for the resource. + */ + export interface Identity { + /** + * The identity type. + */ + type?: pulumi.Input; + } + + /** + * The resource model definition representing SKU + */ + export interface Sku { + /** + * If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. + */ + capacity?: pulumi.Input; + /** + * If the service has different generations of hardware, for the same SKU, then that can be captured here. + */ + family?: pulumi.Input; + /** + * The name of the SKU. Ex - P3. It is typically a letter+number code + */ + name: pulumi.Input; + /** + * The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. + */ + size?: pulumi.Input; + /** + * This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. + */ + tier?: pulumi.Input; + } + + } } export namespace netapp { diff --git a/sdk/nodejs/types/output.ts b/sdk/nodejs/types/output.ts index 3c814ffd9a37..4fbb2254bfc0 100644 --- a/sdk/nodejs/types/output.ts +++ b/sdk/nodejs/types/output.ts @@ -166966,10 +166966,6 @@ export namespace desktopvirtualization { * Notification message for users during ramp down period. */ rampDownNotificationMessage?: string; - /** - * Number of minutes to wait to stop hosts during ramp down period. - */ - rampDownNotificationMinutes?: number; /** * Starting time for ramp down period. */ @@ -166979,17 +166975,21 @@ export namespace desktopvirtualization { */ rampDownStopHostsWhen?: string; /** - * Load balancing algorithm for ramp up period. + * Number of minutes to wait to stop hosts during ramp down period. */ - rampUpAlgorithm?: string; + rampDownWaitTimeMinutes?: number; /** * Capacity threshold for ramp up period. */ rampUpCapacityThresholdPct?: number; + /** + * Load balancing algorithm for ramp up period. + */ + rampUpLoadBalancingAlgorithm?: string; /** * Minimum host percentage for ramp up period. */ - rampUpMinimumHostPct?: number; + rampUpMinimumHostsPct?: number; /** * Starting time for ramp up period. */ @@ -190325,6 +190325,641 @@ export namespace domainregistration { } } +export namespace edgeorder { + export namespace v20201201preview { + export interface AdditionalErrorInfoResponse { + info?: any; + type?: string; + } + + /** + * Address details for an order. + */ + export interface AddressDetailsResponse { + /** + * Return shipping address + */ + returnAddress: outputs.edgeorder.v20201201preview.AddressPropertiesResponse; + /** + * Customer address and contact details. It should be address resource + */ + shippingAddress: outputs.edgeorder.v20201201preview.AddressPropertiesResponse; + } + + /** + * Address Properties + */ + export interface AddressPropertiesResponse { + /** + * Contact details for the address + */ + contactDetails: outputs.edgeorder.v20201201preview.ContactDetailsResponse; + /** + * Shipping details for the address + */ + shippingAddress?: outputs.edgeorder.v20201201preview.ShippingAddressResponse; + } + + /** + * Availability information of a product system. + */ + export interface AvailabilityInformationResponse { + /** + * Current availability stage of the product. Availability stage + */ + availabilityStage: string; + /** + * Reason why the product is disabled. + */ + disabledReason: string; + /** + * Message for why the product is disabled. + */ + disabledReasonMessage: string; + } + + /** + * Model to represent the billing cycle + */ + export interface BillingModelResponse { + /** + * String to represent the billing model + */ + model: string; + } + + export interface CloudErrorResponse { + additionalInfo: outputs.edgeorder.v20201201preview.AdditionalErrorInfoResponse[]; + code?: string; + details: outputs.edgeorder.v20201201preview.CloudErrorResponse[]; + message?: string; + target?: string; + } + + /** + * Configuration object. + */ + export interface ConfigurationResponse { + /** + * Availability information of the product system. + */ + availabilityInformation: outputs.edgeorder.v20201201preview.AvailabilityInformationResponse; + /** + * Cost information for the product system. + */ + costInformation: outputs.edgeorder.v20201201preview.CostInformationResponse; + /** + * Description related to the product system. + */ + description: outputs.edgeorder.v20201201preview.DescriptionResponse; + /** + * Display Name for the product system. + */ + displayName: string; + /** + * list of filters supported for a product + */ + filterableProperties: outputs.edgeorder.v20201201preview.FilterablePropertyResponse[]; + /** + * Hierarchy information of the product system. + */ + hierarchyInformation: outputs.edgeorder.v20201201preview.HierarchyInformationResponse; + /** + * Image information for the product system. + */ + imageInformation: outputs.edgeorder.v20201201preview.ImageInformationResponse[]; + /** + * Specifications of the configuration + */ + specifications: outputs.edgeorder.v20201201preview.SpecificationResponse[]; + } + + /** + * Contact Details. + */ + export interface ContactDetailsResponse { + /** + * Contact name of the person. + */ + contactName: string; + /** + * Mobile number of the contact person. + */ + mobile?: string; + /** + * Phone number of the contact person. + */ + phone: string; + /** + * Phone extension number of the contact person. + */ + phoneExtension?: string; + } + + /** + * Cost information for the product system + */ + export interface CostInformationResponse { + /** + * Details on the various billing aspects for the product system. + */ + meterDetails: outputs.edgeorder.v20201201preview.MeterDetailsResponse[]; + /** + * Primary meter i.e. basic billing type for the product system. + */ + primaryMeterType: string; + } + + /** + * Description related properties of a product system. + */ + export interface DescriptionResponse { + /** + * Attributes for the product system. + */ + attributes: string[]; + /** + * Type of description. + */ + descriptionType: string; + /** + * Keywords for the product system. + */ + keywords: string[]; + /** + * Links for the product system. + */ + links: outputs.edgeorder.v20201201preview.LinkResponse[]; + /** + * Long description of the product system. + */ + longDescription: string; + /** + * Short description of the product system. + */ + shortDescription: string; + } + + /** + * Device details. + */ + export interface DeviceDetailsResponse { + /** + * Package Shipping details + */ + deviceHistory: string[]; + /** + * device serial number + */ + serialNumber: string; + } + + /** + * Class defining the list of filter values on a filter type as part of configuration request. + */ + export interface FilterablePropertyResponse { + /** + * Values to be filtered. + */ + supportedValues?: string[]; + /** + * Type of product filter. + */ + type: string; + } + + /** + * Holds details about product hierarchy information + */ + export interface HierarchyInformationResponse { + /** + * Represents configuration name that uniquely identifies configuration + */ + configurationName?: string; + /** + * Represents product family name that uniquely identifies product family + */ + productFamilyName?: string; + /** + * Represents product line name that uniquely identifies product line + */ + productLineName?: string; + /** + * Represents product name that uniquely identifies product + */ + productName?: string; + } + + /** + * Image for the product + */ + export interface ImageInformationResponse { + /** + * Type of the image + */ + imageType: string; + /** + * Url of the image + */ + imageUrl: string; + } + + /** + * Returns link related to the product + */ + export interface LinkResponse { + /** + * Type of link + */ + linkType: string; + /** + * Url of the link + */ + linkUrl: string; + } + + /** + * Billing details for each meter. + */ + export interface MeterDetailsResponse { + /** + * Billing model to represent billing cycle, i.e. Monthly, biweekly, daily, hourly etc. + */ + billingModel: outputs.edgeorder.v20201201preview.BillingModelResponse; + /** + * MeterId/ Billing Guid against which the product system will be charged + */ + meterId: string; + /** + * Category of the billing meter. + */ + meterType: string; + } + + /** + * Notification preference for a job stage. + */ + export interface NotificationPreferenceResponse { + /** + * Notification is required or not. + */ + sendNotification: boolean; + /** + * Name of the stage. + */ + stageName: string; + } + + /** + * Order details + */ + export interface OrderDetailsResponse { + /** + * Cancellation reason. + */ + cancellationReason: string; + /** + * Describes whether the order is cancellable or not. + */ + cancellationStatus: string; + /** + * Current Order Status + */ + currentStatus: outputs.edgeorder.v20201201preview.OrderStatusDetailsResponse; + /** + * Describes whether the order is deletable or not. + */ + deletionStatus: string; + /** + * Top level error for the job. + */ + error: outputs.edgeorder.v20201201preview.CloudErrorResponse; + /** + * Forward Package Shipping details + */ + forwardShippingDetails: outputs.edgeorder.v20201201preview.ShippingDetailsResponse; + /** + * parent RP details + */ + managementRpDetails: any; + /** + * Package Shipping details + */ + notificationEmailList?: string[]; + /** + * Order history + */ + orderStatusHistory: outputs.edgeorder.v20201201preview.OrderStatusDetailsResponse[]; + /** + * Order type. + */ + orderType: string; + /** + * Customer notification Preferences + */ + preferences?: outputs.edgeorder.v20201201preview.PreferencesResponse; + /** + * Unique identifier for configuration. + */ + productDetails: outputs.edgeorder.v20201201preview.ProductDetailsResponse; + /** + * Return reason. + */ + returnReason: string; + /** + * Describes whether the order is returnable or not. + */ + returnStatus: string; + /** + * Reverse Package Shipping details + */ + reverseShippingDetails: outputs.edgeorder.v20201201preview.ShippingDetailsResponse; + } + + /** + * Order status CurrentStatus + */ + export interface OrderStatusDetailsResponse { + /** + * last time order was updated + */ + lastUpdatedTime?: string; + /** + * Order status + */ + orderStatus: string; + } + + /** + * Preferences related to the order + */ + export interface PreferencesResponse { + /** + * Notification preferences. + */ + notificationPreferences?: outputs.edgeorder.v20201201preview.NotificationPreferenceResponse[]; + /** + * Preferences related to the shipment logistics of the order. + */ + transportPreferences?: outputs.edgeorder.v20201201preview.TransportPreferencesResponse; + } + + /** + * Represents product details + */ + export interface ProductDetailsResponse { + /** + * Quantity of the product + */ + count?: number; + /** + * list of device details + */ + deviceDetails: outputs.edgeorder.v20201201preview.DeviceDetailsResponse[]; + /** + * Hierarchy of the product which uniquely identifies the product + */ + hierarchyInformation: outputs.edgeorder.v20201201preview.HierarchyInformationResponse; + } + + /** + * Product Family + */ + export interface ProductFamilyResponse { + /** + * Availability information of the product system. + */ + availabilityInformation: outputs.edgeorder.v20201201preview.AvailabilityInformationResponse; + /** + * Cost information for the product system. + */ + costInformation: outputs.edgeorder.v20201201preview.CostInformationResponse; + /** + * Description related to the product system. + */ + description: outputs.edgeorder.v20201201preview.DescriptionResponse; + /** + * Display Name for the product system. + */ + displayName: string; + /** + * list of filters supported for a product + */ + filterableProperties: outputs.edgeorder.v20201201preview.FilterablePropertyResponse[]; + /** + * Hierarchy information of the product system. + */ + hierarchyInformation: outputs.edgeorder.v20201201preview.HierarchyInformationResponse; + /** + * Image information for the product system. + */ + imageInformation: outputs.edgeorder.v20201201preview.ImageInformationResponse[]; + /** + * List of product lines supported in the product family + */ + productLines: outputs.edgeorder.v20201201preview.ProductLineResponse[]; + } + + /** + * Product line + */ + export interface ProductLineResponse { + /** + * Availability information of the product system. + */ + availabilityInformation: outputs.edgeorder.v20201201preview.AvailabilityInformationResponse; + /** + * Cost information for the product system. + */ + costInformation: outputs.edgeorder.v20201201preview.CostInformationResponse; + /** + * Description related to the product system. + */ + description: outputs.edgeorder.v20201201preview.DescriptionResponse; + /** + * Display Name for the product system. + */ + displayName: string; + /** + * list of filters supported for a product + */ + filterableProperties: outputs.edgeorder.v20201201preview.FilterablePropertyResponse[]; + /** + * Hierarchy information of the product system. + */ + hierarchyInformation: outputs.edgeorder.v20201201preview.HierarchyInformationResponse; + /** + * Image information for the product system. + */ + imageInformation: outputs.edgeorder.v20201201preview.ImageInformationResponse[]; + /** + * List of products in the product line + */ + products: outputs.edgeorder.v20201201preview.ProductResponse[]; + } + + /** + * List of Products + */ + export interface ProductResponse { + /** + * Availability information of the product system. + */ + availabilityInformation: outputs.edgeorder.v20201201preview.AvailabilityInformationResponse; + /** + * List of configurations for the product + */ + configurations: outputs.edgeorder.v20201201preview.ConfigurationResponse[]; + /** + * Cost information for the product system. + */ + costInformation: outputs.edgeorder.v20201201preview.CostInformationResponse; + /** + * Description related to the product system. + */ + description: outputs.edgeorder.v20201201preview.DescriptionResponse; + /** + * Display Name for the product system. + */ + displayName: string; + /** + * list of filters supported for a product + */ + filterableProperties: outputs.edgeorder.v20201201preview.FilterablePropertyResponse[]; + /** + * Hierarchy information of the product system. + */ + hierarchyInformation: outputs.edgeorder.v20201201preview.HierarchyInformationResponse; + /** + * Image information for the product system. + */ + imageInformation: outputs.edgeorder.v20201201preview.ImageInformationResponse[]; + } + + /** + * Shipping address where customer wishes to receive the device. + */ + export interface ShippingAddressResponse { + /** + * Type of address. + */ + addressType?: string; + /** + * Name of the City. + */ + city?: string; + /** + * Name of the company. + */ + companyName?: string; + /** + * Name of the Country. + */ + country: string; + /** + * Postal code. + */ + postalCode?: string; + /** + * Name of the State or Province. + */ + stateOrProvince?: string; + /** + * Street Address line 1. + */ + streetAddress1: string; + /** + * Street Address line 2. + */ + streetAddress2?: string; + /** + * Street Address line 3. + */ + streetAddress3?: string; + /** + * Extended Zip Code. + */ + zipExtendedCode?: string; + } + + /** + * Package shipping details + */ + export interface ShippingDetailsResponse { + /** + * Carrier Name for display purpose. Not to be used for any processing. + */ + carrierDisplayName: string; + /** + * Name of the carrier. + */ + carrierName: string; + /** + * TrackingId of the package + */ + trackingId: string; + /** + * TrackingUrl of the package. + */ + trackingUrl: string; + } + + /** + * Specifications of the configurations + */ + export interface SpecificationResponse { + /** + * Name of the specification + */ + name: string; + /** + * Value of the specification + */ + value: 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 type of identity that last modified the resource. + */ + lastModifiedAt?: string; + /** + * The identity that last modified the resource. + */ + lastModifiedBy?: string; + /** + * The type of identity that last modified the resource. + */ + lastModifiedByType?: string; + } + + /** + * Preferences related to the shipment logistics of the sku + */ + export interface TransportPreferencesResponse { + /** + * Indicates Shipment Logistics type that the customer preferred. + */ + preferredShipmentType: string; + } + } +} + export namespace engagementfabric { export namespace v20180901preview { /** @@ -195700,6 +196335,10 @@ export namespace hdinsight { * The location of the endpoint. */ location?: string; + /** + * The private ip address of the endpoint. + */ + privateIPAddress?: string; /** * The public port to connect to. */ @@ -196067,6 +196706,10 @@ export namespace hdinsight { * The port to connect to. */ port?: number; + /** + * The private ip address of the endpoint. + */ + privateIPAddress?: string; /** * The protocol of the endpoint. */ @@ -196843,6 +197486,16 @@ export namespace healthcareapis { objectId: string; } + /** + * Azure container registry configuration information + */ + export interface ServiceAcrConfigurationInfoResponse { + /** + * The list of the ACR login servers. + */ + loginServers?: string[]; + } + /** * Authentication configuration information */ @@ -196919,6 +197572,10 @@ export namespace healthcareapis { * The access policies of the service instance. */ accessPolicies?: outputs.healthcareapis.latest.ServiceAccessPolicyEntryResponse[]; + /** + * The azure container registry settings used for convert data operation of the service instance. + */ + acrConfiguration?: outputs.healthcareapis.latest.ServiceAcrConfigurationInfoResponse; /** * The authentication configuration for the service instance. */ @@ -196966,6 +197623,36 @@ export namespace healthcareapis { */ type?: 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 type of identity that last modified the resource. + */ + lastModifiedAt?: string; + /** + * The identity that last modified the resource. + */ + lastModifiedBy?: string; + /** + * The type of identity that last modified the resource. + */ + lastModifiedByType?: string; + } } export namespace v20180820preview { @@ -197160,23 +197847,151 @@ export namespace healthcareapis { /** * The access policies of the service instance. */ - accessPolicies?: outputs.healthcareapis.v20190916.ServiceAccessPolicyEntryResponse[]; + accessPolicies?: outputs.healthcareapis.v20190916.ServiceAccessPolicyEntryResponse[]; + /** + * The authentication configuration for the service instance. + */ + authenticationConfiguration?: outputs.healthcareapis.v20190916.ServiceAuthenticationConfigurationInfoResponse; + /** + * The settings for the CORS configuration of the service instance. + */ + corsConfiguration?: outputs.healthcareapis.v20190916.ServiceCorsConfigurationInfoResponse; + /** + * The settings for the Cosmos DB database backing the service. + */ + cosmosDbConfiguration?: outputs.healthcareapis.v20190916.ServiceCosmosDbConfigurationInfoResponse; + /** + * The settings for the export operation of the service instance. + */ + exportConfiguration?: outputs.healthcareapis.v20190916.ServiceExportConfigurationInfoResponse; + /** + * The provisioning state. + */ + provisioningState: string; + } + } + + export namespace v20200315 { + /** + * Setting indicating whether the service has a managed identity associated with it. + */ + export interface ResourceResponseIdentity { + /** + * The principal ID of the resource identity. + */ + principalId: string; + /** + * The tenant ID of the resource. + */ + tenantId: string; + /** + * Type of identity being specified, currently SystemAssigned and None are allowed. + */ + type?: string; + } + + /** + * An access policy entry. + */ + export interface ServiceAccessPolicyEntryResponse { + /** + * An Azure AD object ID (User or Apps) that is allowed access to the FHIR service. + */ + objectId: string; + } + + /** + * Authentication configuration information + */ + export interface ServiceAuthenticationConfigurationInfoResponse { + /** + * The audience url for the service + */ + audience?: string; + /** + * The authority url for the service + */ + authority?: string; + /** + * If the SMART on FHIR proxy is enabled + */ + smartProxyEnabled?: boolean; + } + + /** + * The settings for the CORS configuration of the service instance. + */ + export interface ServiceCorsConfigurationInfoResponse { + /** + * If credentials are allowed via CORS. + */ + allowCredentials?: boolean; + /** + * The headers to be allowed via CORS. + */ + headers?: string[]; + /** + * The max age to be allowed via CORS. + */ + maxAge?: number; + /** + * The methods to be allowed via CORS. + */ + methods?: string[]; + /** + * The origins to be allowed via CORS. + */ + origins?: string[]; + } + + /** + * The settings for the Cosmos DB database backing the service. + */ + export interface ServiceCosmosDbConfigurationInfoResponse { + /** + * The URI of the customer-managed key for the backing database. + */ + keyVaultKeyUri?: string; + /** + * The provisioned throughput for the backing database. + */ + offerThroughput?: number; + } + + /** + * Export operation configuration information + */ + export interface ServiceExportConfigurationInfoResponse { + /** + * The name of the default export storage account. + */ + storageAccountName?: string; + } + + /** + * The properties of a service instance. + */ + export interface ServicesPropertiesResponse { + /** + * The access policies of the service instance. + */ + accessPolicies?: outputs.healthcareapis.v20200315.ServiceAccessPolicyEntryResponse[]; /** * The authentication configuration for the service instance. */ - authenticationConfiguration?: outputs.healthcareapis.v20190916.ServiceAuthenticationConfigurationInfoResponse; + authenticationConfiguration?: outputs.healthcareapis.v20200315.ServiceAuthenticationConfigurationInfoResponse; /** * The settings for the CORS configuration of the service instance. */ - corsConfiguration?: outputs.healthcareapis.v20190916.ServiceCorsConfigurationInfoResponse; + corsConfiguration?: outputs.healthcareapis.v20200315.ServiceCorsConfigurationInfoResponse; /** * The settings for the Cosmos DB database backing the service. */ - cosmosDbConfiguration?: outputs.healthcareapis.v20190916.ServiceCosmosDbConfigurationInfoResponse; + cosmosDbConfiguration?: outputs.healthcareapis.v20200315.ServiceCosmosDbConfigurationInfoResponse; /** * The settings for the export operation of the service instance. */ - exportConfiguration?: outputs.healthcareapis.v20190916.ServiceExportConfigurationInfoResponse; + exportConfiguration?: outputs.healthcareapis.v20200315.ServiceExportConfigurationInfoResponse; /** * The provisioning state. */ @@ -197184,23 +197999,63 @@ export namespace healthcareapis { } } - export namespace v20200315 { + export namespace v20200330 { /** - * Setting indicating whether the service has a managed identity associated with it. + * The Private Endpoint Connection resource. */ - export interface ResourceResponseIdentity { + export interface PrivateEndpointConnectionResponse { /** - * The principal ID of the resource identity. + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */ - principalId: string; + id: string; /** - * The tenant ID of the resource. + * The name of the resource */ - tenantId: string; + name: string; /** - * Type of identity being specified, currently SystemAssigned and None are allowed. + * The resource of private end point. */ - type?: string; + privateEndpoint?: outputs.healthcareapis.v20200330.PrivateEndpointResponse; + /** + * A collection of information about the state of the connection between service consumer and provider. + */ + privateLinkServiceConnectionState: outputs.healthcareapis.v20200330.PrivateLinkServiceConnectionStateResponse; + /** + * The provisioning state of the private endpoint connection resource. + */ + provisioningState: string; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + type: string; + } + + /** + * The Private Endpoint resource. + */ + export interface PrivateEndpointResponse { + /** + * The ARM identifier for Private Endpoint + */ + id: string; + } + + /** + * A collection of information about the state of the connection between service consumer and provider. + */ + export interface PrivateLinkServiceConnectionStateResponse { + /** + * A message indicating if changes on the service provider require any updates on the consumer. + */ + actionsRequired?: string; + /** + * The reason for approval/rejection of the connection. + */ + description?: string; + /** + * Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. + */ + status?: string; } /** @@ -197288,31 +198143,57 @@ export namespace healthcareapis { /** * The access policies of the service instance. */ - accessPolicies?: outputs.healthcareapis.v20200315.ServiceAccessPolicyEntryResponse[]; + accessPolicies?: outputs.healthcareapis.v20200330.ServiceAccessPolicyEntryResponse[]; /** * The authentication configuration for the service instance. */ - authenticationConfiguration?: outputs.healthcareapis.v20200315.ServiceAuthenticationConfigurationInfoResponse; + authenticationConfiguration?: outputs.healthcareapis.v20200330.ServiceAuthenticationConfigurationInfoResponse; /** * The settings for the CORS configuration of the service instance. */ - corsConfiguration?: outputs.healthcareapis.v20200315.ServiceCorsConfigurationInfoResponse; + corsConfiguration?: outputs.healthcareapis.v20200330.ServiceCorsConfigurationInfoResponse; /** * The settings for the Cosmos DB database backing the service. */ - cosmosDbConfiguration?: outputs.healthcareapis.v20200315.ServiceCosmosDbConfigurationInfoResponse; + cosmosDbConfiguration?: outputs.healthcareapis.v20200330.ServiceCosmosDbConfigurationInfoResponse; /** * The settings for the export operation of the service instance. */ - exportConfiguration?: outputs.healthcareapis.v20200315.ServiceExportConfigurationInfoResponse; + exportConfiguration?: outputs.healthcareapis.v20200330.ServiceExportConfigurationInfoResponse; + /** + * The list of private endpoint connections that are set up for this resource. + */ + privateEndpointConnections?: outputs.healthcareapis.v20200330.PrivateEndpointConnectionResponse[]; /** * The provisioning state. */ provisioningState: string; + /** + * Control permission for data plane traffic coming from public networks while private endpoint is enabled. + */ + publicNetworkAccess?: string; + } + + /** + * Setting indicating whether the service has a managed identity associated with it. + */ + export interface ServicesResourceResponseIdentity { + /** + * The principal ID of the resource identity. + */ + principalId: string; + /** + * The tenant ID of the resource. + */ + tenantId: string; + /** + * Type of identity being specified, currently SystemAssigned and None are allowed. + */ + type?: string; } } - export namespace v20200330 { + export namespace v20210111 { /** * The Private Endpoint Connection resource. */ @@ -197328,11 +198209,11 @@ export namespace healthcareapis { /** * The resource of private end point. */ - privateEndpoint?: outputs.healthcareapis.v20200330.PrivateEndpointResponse; + privateEndpoint?: outputs.healthcareapis.v20210111.PrivateEndpointResponse; /** * A collection of information about the state of the connection between service consumer and provider. */ - privateLinkServiceConnectionState: outputs.healthcareapis.v20200330.PrivateLinkServiceConnectionStateResponse; + privateLinkServiceConnectionState: outputs.healthcareapis.v20210111.PrivateLinkServiceConnectionStateResponse; /** * The provisioning state of the private endpoint connection resource. */ @@ -197381,6 +198262,16 @@ export namespace healthcareapis { objectId: string; } + /** + * Azure container registry configuration information + */ + export interface ServiceAcrConfigurationInfoResponse { + /** + * The list of the ACR login servers. + */ + loginServers?: string[]; + } + /** * Authentication configuration information */ @@ -197456,27 +198347,31 @@ export namespace healthcareapis { /** * The access policies of the service instance. */ - accessPolicies?: outputs.healthcareapis.v20200330.ServiceAccessPolicyEntryResponse[]; + accessPolicies?: outputs.healthcareapis.v20210111.ServiceAccessPolicyEntryResponse[]; + /** + * The azure container registry settings used for convert data operation of the service instance. + */ + acrConfiguration?: outputs.healthcareapis.v20210111.ServiceAcrConfigurationInfoResponse; /** * The authentication configuration for the service instance. */ - authenticationConfiguration?: outputs.healthcareapis.v20200330.ServiceAuthenticationConfigurationInfoResponse; + authenticationConfiguration?: outputs.healthcareapis.v20210111.ServiceAuthenticationConfigurationInfoResponse; /** * The settings for the CORS configuration of the service instance. */ - corsConfiguration?: outputs.healthcareapis.v20200330.ServiceCorsConfigurationInfoResponse; + corsConfiguration?: outputs.healthcareapis.v20210111.ServiceCorsConfigurationInfoResponse; /** * The settings for the Cosmos DB database backing the service. */ - cosmosDbConfiguration?: outputs.healthcareapis.v20200330.ServiceCosmosDbConfigurationInfoResponse; + cosmosDbConfiguration?: outputs.healthcareapis.v20210111.ServiceCosmosDbConfigurationInfoResponse; /** * The settings for the export operation of the service instance. */ - exportConfiguration?: outputs.healthcareapis.v20200330.ServiceExportConfigurationInfoResponse; + exportConfiguration?: outputs.healthcareapis.v20210111.ServiceExportConfigurationInfoResponse; /** * The list of private endpoint connections that are set up for this resource. */ - privateEndpointConnections?: outputs.healthcareapis.v20200330.PrivateEndpointConnectionResponse[]; + privateEndpointConnections?: outputs.healthcareapis.v20210111.PrivateEndpointConnectionResponse[]; /** * The provisioning state. */ @@ -197504,6 +198399,36 @@ export namespace healthcareapis { */ type?: 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 type of identity that last modified the resource. + */ + lastModifiedAt?: string; + /** + * The identity that last modified the resource. + */ + lastModifiedBy?: string; + /** + * The type of identity that last modified the resource. + */ + lastModifiedByType?: string; + } } } @@ -254378,6 +255303,62 @@ export namespace mixedreality { */ type?: string; } + + /** + * The resource model definition representing SKU + */ + export interface SkuResponse { + /** + * If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. + */ + capacity?: number; + /** + * If the service has different generations of hardware, for the same SKU, then that can be captured here. + */ + family?: string; + /** + * The name of the SKU. Ex - P3. It is typically a letter+number code + */ + name: string; + /** + * The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. + */ + size?: string; + /** + * This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. + */ + tier?: 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 type of identity that last modified the resource. + */ + lastModifiedAt?: string; + /** + * The identity that last modified the resource. + */ + lastModifiedBy?: string; + /** + * The type of identity that last modified the resource. + */ + lastModifiedByType?: string; + } } export namespace v20190228preview { @@ -254456,6 +255437,82 @@ export namespace mixedreality { type?: string; } } + + export namespace v20210101 { + /** + * Identity for the resource. + */ + export interface IdentityResponse { + /** + * The principal ID of resource identity. + */ + principalId: string; + /** + * The tenant ID of resource. + */ + tenantId: string; + /** + * The identity type. + */ + type?: string; + } + + /** + * The resource model definition representing SKU + */ + export interface SkuResponse { + /** + * If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. + */ + capacity?: number; + /** + * If the service has different generations of hardware, for the same SKU, then that can be captured here. + */ + family?: string; + /** + * The name of the SKU. Ex - P3. It is typically a letter+number code + */ + name: string; + /** + * The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. + */ + size?: string; + /** + * This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. + */ + tier?: 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 type of identity that last modified the resource. + */ + lastModifiedAt?: string; + /** + * The identity that last modified the resource. + */ + lastModifiedBy?: string; + /** + * The type of identity that last modified the resource. + */ + lastModifiedByType?: string; + } + } } export namespace netapp { @@ -264606,6 +265663,16 @@ export namespace network { priority: number; } + /** + * Defines the Resource ID for a Security Policy. + */ + export interface SecurityPolicyLinkResponse { + /** + * Resource ID. + */ + id?: string; + } + /** * Network security rule. */ @@ -409809,6 +410876,16 @@ export namespace network { id?: string; } + /** + * Defines the Resource ID for a Security Policy. + */ + export interface SecurityPolicyLinkResponse { + /** + * Resource ID. + */ + id?: string; + } + /** * The pricing tier of the web application firewall policy. */ diff --git a/sdk/python/pulumi_azure_nextgen/__init__.py b/sdk/python/pulumi_azure_nextgen/__init__.py index db1dc4fadeea..cce9586e81c6 100644 --- a/sdk/python/pulumi_azure_nextgen/__init__.py +++ b/sdk/python/pulumi_azure_nextgen/__init__.py @@ -72,6 +72,7 @@ digitaltwins, documentdb, domainregistration, + edgeorder, engagementfabric, enterpriseknowledgegraph, eventgrid, diff --git a/sdk/python/pulumi_azure_nextgen/_tables.py b/sdk/python/pulumi_azure_nextgen/_tables.py index 85a026307bb9..2d4662416391 100644 --- a/sdk/python/pulumi_azure_nextgen/_tables.py +++ b/sdk/python/pulumi_azure_nextgen/_tables.py @@ -71,6 +71,7 @@ "acknowledgement_control_number_upper_bound": "acknowledgementControlNumberUpperBound", "acknowledgement_settings": "acknowledgementSettings", "acknowledgment_of_receipt_settings": "acknowledgmentOfReceiptSettings", + "acr_configuration": "acrConfiguration", "acr_use_managed_identity_creds": "acrUseManagedIdentityCreds", "acr_user_managed_identity_id": "acrUserManagedIdentityID", "acs_kube_config": "acsKubeConfig", @@ -143,10 +144,12 @@ "addon_name": "addonName", "addon_profiles": "addonProfiles", "addon_type": "addonType", + "address_details": "addressDetails", "address_line1": "addressLine1", "address_line2": "addressLine2", "address_line3": "addressLine3", "address_mailing": "addressMailing", + "address_name": "addressName", "address_prefix": "addressPrefix", "address_prefixes": "addressPrefixes", "address_range": "addressRange", @@ -566,9 +569,11 @@ "auxiliary_tenant_ids": "auxiliaryTenantIds", "availability_group_listener_name": "availabilityGroupListenerName", "availability_group_name": "availabilityGroupName", + "availability_information": "availabilityInformation", "availability_set": "availabilitySet", "availability_set_name": "availabilitySetName", "availability_sets": "availabilitySets", + "availability_stage": "availabilityStage", "availability_state": "availabilityState", "availability_zone": "availabilityZone", "availability_zone_id": "availabilityZoneId", @@ -902,6 +907,7 @@ "can_re_register": "canReRegister", "cancel_requested": "cancelRequested", "cancellation_reason": "cancellationReason", + "cancellation_status": "cancellationStatus", "canonical_name": "canonicalName", "canonical_profile_id": "canonicalProfileId", "capacity_allocated": "capacityAllocated", @@ -911,6 +917,7 @@ "capacity_reservation_properties": "capacityReservationProperties", "capture_description": "captureDescription", "carrier_account_number": "carrierAccountNumber", + "carrier_display_name": "carrierDisplayName", "carrier_name": "carrierName", "case_manipulation": "caseManipulation", "catalog_admin_password": "catalogAdminPassword", @@ -1372,6 +1379,7 @@ "cors_configuration": "corsConfiguration", "cors_rules": "corsRules", "cosmos_db_configuration": "cosmosDbConfiguration", + "cost_information": "costInformation", "count_details": "countDetails", "counter_sets": "counterSets", "counter_specifiers": "counterSpecifiers", @@ -1785,6 +1793,7 @@ "delete_retention_policy": "deleteRetentionPolicy", "delete_rule": "deleteRule", "deleted_time": "deletedTime", + "deletion_status": "deletionStatus", "delivery_info": "deliveryInfo", "delivery_package": "deliveryPackage", "delivery_policy": "deliveryPolicy", @@ -1821,6 +1830,7 @@ "derived_model_ids": "derivedModelIds", "description_for_admins": "descriptionForAdmins", "description_for_reviewers": "descriptionForReviewers", + "description_type": "descriptionType", "design_default_value": "designDefaultValue", "desired_replicas": "desiredReplicas", "destination_account": "destinationAccount", @@ -1863,7 +1873,9 @@ "developer_portal_url": "developerPortalUrl", "developer_token": "developerToken", "device_compliance": "deviceCompliance", + "device_details": "deviceDetails", "device_hcs_version": "deviceHcsVersion", + "device_history": "deviceHistory", "device_id": "deviceId", "device_local_capacity": "deviceLocalCapacity", "device_location": "deviceLocation", @@ -1913,6 +1925,8 @@ "disable_trace_route": "disableTraceRoute", "disable_vpn_encryption": "disableVpnEncryption", "disabled_data_sources": "disabledDataSources", + "disabled_reason": "disabledReason", + "disabled_reason_message": "disabledReasonMessage", "disabled_rule_groups": "disabledRuleGroups", "disabled_ssl_protocols": "disabledSslProtocols", "disallow_public_ip_address": "disallowPublicIpAddress", @@ -2621,6 +2635,8 @@ "filter_name": "filterName", "filter_operator": "filterOperator", "filter_type": "filterType", + "filterable_properties": "filterableProperties", + "filterable_property": "filterableProperty", "filtered_sync": "filteredSync", "filtering_messages_before_publishing": "filteringMessagesBeforePublishing", "fine_grain_timestamp": "fineGrainTimestamp", @@ -2675,6 +2691,7 @@ "formula_content": "formulaContent", "forward_dc_access_code": "forwardDcAccessCode", "forward_dead_lettered_messages_to": "forwardDeadLetteredMessagesTo", + "forward_shipping_details": "forwardShippingDetails", "forward_to": "forwardTo", "forwarding_protocol": "forwardingProtocol", "fqdn_tags": "fqdnTags", @@ -2904,6 +2921,7 @@ "hidden_paths_on_response": "hiddenPathsOnResponse", "hidden_property_paths": "hiddenPropertyPaths", "hide_key": "hideKey", + "hierarchy_information": "hierarchyInformation", "high_availability_replica_count": "highAvailabilityReplicaCount", "high_key": "highKey", "high_traffic": "highTraffic", @@ -3043,6 +3061,7 @@ "image_gc_high_threshold": "imageGcHighThreshold", "image_gc_low_threshold": "imageGcLowThreshold", "image_id": "imageId", + "image_information": "imageInformation", "image_name": "imageName", "image_names": "imageNames", "image_path": "imagePath", @@ -3053,7 +3072,9 @@ "image_registry_credentials": "imageRegistryCredentials", "image_source_registry": "imageSourceRegistry", "image_template_name": "imageTemplateName", + "image_type": "imageType", "image_update_trigger": "imageUpdateTrigger", + "image_url": "imageUrl", "image_version_id": "imageVersionId", "immediate_purge_data_on30_days": "immediatePurgeDataOn30Days", "immutability_period_since_creation_in_days": "immutabilityPeriodSinceCreationInDays", @@ -3746,6 +3767,7 @@ "link_speed_in_mbps": "linkSpeedInMbps", "link_to_default_domain": "linkToDefaultDomain", "link_type": "linkType", + "link_url": "linkUrl", "linked_access_check_on_target_resource": "linkedAccessCheckOnTargetResource", "linked_access_checks": "linkedAccessChecks", "linked_action": "linkedAction", @@ -3870,6 +3892,7 @@ "login_mode": "loginMode", "login_name": "loginName", "login_server": "loginServer", + "login_servers": "loginServers", "login_type": "loginType", "logo_uri": "logoUri", "logon_group": "logonGroup", @@ -3973,6 +3996,7 @@ "management_network": "managementNetwork", "management_policy": "managementPolicy", "management_policy_name": "managementPolicyName", + "management_rp_details": "managementRpDetails", "management_subnet_cidr": "managementSubnetCidr", "manager_name": "managerName", "mandatory_artifacts_resource_ids_linux": "mandatoryArtifactsResourceIdsLinux", @@ -4171,7 +4195,9 @@ "messaging_endpoints": "messagingEndpoints", "metadata_configuration_path": "metadataConfigurationPath", "metadata_endpoint": "metadataEndpoint", + "meter_details": "meterDetails", "meter_id": "meterId", + "meter_type": "meterType", "metric_column": "metricColumn", "metric_configurations": "metricConfigurations", "metric_id": "metricId", @@ -4507,6 +4533,7 @@ "notebook_workspace_name": "notebookWorkspaceName", "notification_date": "notificationDate", "notification_destination": "notificationDestination", + "notification_email_list": "notificationEmailList", "notification_endpoints": "notificationEndpoints", "notification_hub_id": "notificationHubId", "notification_hub_name": "notificationHubName", @@ -4515,6 +4542,7 @@ "notification_name": "notificationName", "notification_policy": "notificationPolicy", "notification_preference": "notificationPreference", + "notification_preferences": "notificationPreferences", "notification_queue_enabled": "notificationQueueEnabled", "notification_queue_uri": "notificationQueueUri", "notification_registration_name": "notificationRegistrationName", @@ -4640,7 +4668,15 @@ "orchestrator_type": "orchestratorType", "orchestrator_version": "orchestratorVersion", "order_by": "orderBy", + "order_collection_id": "orderCollectionId", + "order_collection_name": "orderCollectionName", + "order_details": "orderDetails", "order_history": "orderHistory", + "order_ids": "orderIds", + "order_name": "orderName", + "order_status": "orderStatus", + "order_status_history": "orderStatusHistory", + "order_type": "orderType", "organization_id": "organizationId", "organization_name": "organizationName", "organizational_unit": "organizationalUnit", @@ -5063,6 +5099,7 @@ "primary_key": "primaryKey", "primary_location": "primaryLocation", "primary_managed_instance_id": "primaryManagedInstanceId", + "primary_meter_type": "primaryMeterType", "primary_network_friendly_name": "primaryNetworkFriendlyName", "primary_network_id": "primaryNetworkId", "primary_nic_static_ip_address": "primaryNicStaticIPAddress", @@ -5155,7 +5192,11 @@ "processor_usage_percentage": "processorUsagePercentage", "prod_mode_write_protect": "prodModeWriteProtect", "produce_additional_types": "produceAdditionalTypes", + "product_details": "productDetails", + "product_family_name": "productFamilyName", "product_id": "productId", + "product_line_name": "productLineName", + "product_lines": "productLines", "product_name": "productName", "product_type": "productType", "profile_editing_policy_name": "profileEditingPolicyName", @@ -5392,12 +5433,12 @@ "ramp_down_load_balancing_algorithm": "rampDownLoadBalancingAlgorithm", "ramp_down_minimum_hosts_pct": "rampDownMinimumHostsPct", "ramp_down_notification_message": "rampDownNotificationMessage", - "ramp_down_notification_minutes": "rampDownNotificationMinutes", "ramp_down_start_time": "rampDownStartTime", "ramp_down_stop_hosts_when": "rampDownStopHostsWhen", - "ramp_up_algorithm": "rampUpAlgorithm", + "ramp_down_wait_time_minutes": "rampDownWaitTimeMinutes", "ramp_up_capacity_threshold_pct": "rampUpCapacityThresholdPct", - "ramp_up_minimum_host_pct": "rampUpMinimumHostPct", + "ramp_up_load_balancing_algorithm": "rampUpLoadBalancingAlgorithm", + "ramp_up_minimum_hosts_pct": "rampUpMinimumHostsPct", "ramp_up_rules": "rampUpRules", "ramp_up_start_time": "rampUpStartTime", "range_end": "rangeEnd", @@ -5876,7 +5917,9 @@ "retry_type": "retryType", "return_address": "returnAddress", "return_package": "returnPackage", + "return_reason": "returnReason", "return_shipping": "returnShipping", + "return_status": "returnStatus", "return_tracking_info": "returnTrackingInfo", "reuse_existing_nic": "reuseExistingNic", "reverse_chap_id": "reverseChapId", @@ -5886,6 +5929,7 @@ "reverse_proxy_certificate_common_names": "reverseProxyCertificateCommonNames", "reverse_proxy_endpoint_port": "reverseProxyEndpointPort", "reverse_shipment_label_sas_key": "reverseShipmentLabelSasKey", + "reverse_shipping_details": "reverseShippingDetails", "reviewers_type": "reviewersType", "rewrite_rule_set": "rewriteRuleSet", "rewrite_rule_sets": "rewriteRuleSets", @@ -6171,6 +6215,7 @@ "security_operators": "securityOperators", "security_partner_provider": "securityPartnerProvider", "security_partner_provider_name": "securityPartnerProviderName", + "security_policy_links": "securityPolicyLinks", "security_policy_name": "securityPolicyName", "security_profile": "securityProfile", "security_provider_name": "securityProviderName", @@ -6401,6 +6446,7 @@ "shipping_address": "shippingAddress", "shipping_information": "shippingInformation", "shm_size": "shmSize", + "short_description": "shortDescription", "show_in_portal": "showInPortal", "sign_mdn": "signMDN", "sign_message": "signMessage", @@ -6879,6 +6925,7 @@ "supported_policy": "supportedPolicy", "supported_protocols": "supportedProtocols", "supported_resource_types": "supportedResourceTypes", + "supported_values": "supportedValues", "supports_sharding": "supportsSharding", "suppression_alerts_scope": "suppressionAlertsScope", "suppression_config": "suppressionConfig", @@ -7933,6 +7980,7 @@ "acknowledgementControlNumberUpperBound": "acknowledgement_control_number_upper_bound", "acknowledgementSettings": "acknowledgement_settings", "acknowledgmentOfReceiptSettings": "acknowledgment_of_receipt_settings", + "acrConfiguration": "acr_configuration", "acrUseManagedIdentityCreds": "acr_use_managed_identity_creds", "acrUserManagedIdentityID": "acr_user_managed_identity_id", "acsKubeConfig": "acs_kube_config", @@ -8005,10 +8053,12 @@ "addonName": "addon_name", "addonProfiles": "addon_profiles", "addonType": "addon_type", + "addressDetails": "address_details", "addressLine1": "address_line1", "addressLine2": "address_line2", "addressLine3": "address_line3", "addressMailing": "address_mailing", + "addressName": "address_name", "addressPrefix": "address_prefix", "addressPrefixes": "address_prefixes", "addressRange": "address_range", @@ -8428,9 +8478,11 @@ "auxiliaryTenantIds": "auxiliary_tenant_ids", "availabilityGroupListenerName": "availability_group_listener_name", "availabilityGroupName": "availability_group_name", + "availabilityInformation": "availability_information", "availabilitySet": "availability_set", "availabilitySetName": "availability_set_name", "availabilitySets": "availability_sets", + "availabilityStage": "availability_stage", "availabilityState": "availability_state", "availabilityZone": "availability_zone", "availabilityZoneId": "availability_zone_id", @@ -8764,6 +8816,7 @@ "canReRegister": "can_re_register", "cancelRequested": "cancel_requested", "cancellationReason": "cancellation_reason", + "cancellationStatus": "cancellation_status", "canonicalName": "canonical_name", "canonicalProfileId": "canonical_profile_id", "capacityAllocated": "capacity_allocated", @@ -8773,6 +8826,7 @@ "capacityReservationProperties": "capacity_reservation_properties", "captureDescription": "capture_description", "carrierAccountNumber": "carrier_account_number", + "carrierDisplayName": "carrier_display_name", "carrierName": "carrier_name", "caseManipulation": "case_manipulation", "catalogAdminPassword": "catalog_admin_password", @@ -9234,6 +9288,7 @@ "corsConfiguration": "cors_configuration", "corsRules": "cors_rules", "cosmosDbConfiguration": "cosmos_db_configuration", + "costInformation": "cost_information", "countDetails": "count_details", "counterSets": "counter_sets", "counterSpecifiers": "counter_specifiers", @@ -9647,6 +9702,7 @@ "deleteRetentionPolicy": "delete_retention_policy", "deleteRule": "delete_rule", "deletedTime": "deleted_time", + "deletionStatus": "deletion_status", "deliveryInfo": "delivery_info", "deliveryPackage": "delivery_package", "deliveryPolicy": "delivery_policy", @@ -9683,6 +9739,7 @@ "derivedModelIds": "derived_model_ids", "descriptionForAdmins": "description_for_admins", "descriptionForReviewers": "description_for_reviewers", + "descriptionType": "description_type", "designDefaultValue": "design_default_value", "desiredReplicas": "desired_replicas", "destinationAccount": "destination_account", @@ -9725,7 +9782,9 @@ "developerPortalUrl": "developer_portal_url", "developerToken": "developer_token", "deviceCompliance": "device_compliance", + "deviceDetails": "device_details", "deviceHcsVersion": "device_hcs_version", + "deviceHistory": "device_history", "deviceId": "device_id", "deviceLocalCapacity": "device_local_capacity", "deviceLocation": "device_location", @@ -9775,6 +9834,8 @@ "disableTraceRoute": "disable_trace_route", "disableVpnEncryption": "disable_vpn_encryption", "disabledDataSources": "disabled_data_sources", + "disabledReason": "disabled_reason", + "disabledReasonMessage": "disabled_reason_message", "disabledRuleGroups": "disabled_rule_groups", "disabledSslProtocols": "disabled_ssl_protocols", "disallowPublicIpAddress": "disallow_public_ip_address", @@ -10483,6 +10544,8 @@ "filterName": "filter_name", "filterOperator": "filter_operator", "filterType": "filter_type", + "filterableProperties": "filterable_properties", + "filterableProperty": "filterable_property", "filteredSync": "filtered_sync", "filteringMessagesBeforePublishing": "filtering_messages_before_publishing", "fineGrainTimestamp": "fine_grain_timestamp", @@ -10537,6 +10600,7 @@ "formulaContent": "formula_content", "forwardDcAccessCode": "forward_dc_access_code", "forwardDeadLetteredMessagesTo": "forward_dead_lettered_messages_to", + "forwardShippingDetails": "forward_shipping_details", "forwardTo": "forward_to", "forwardingProtocol": "forwarding_protocol", "fqdnTags": "fqdn_tags", @@ -10766,6 +10830,7 @@ "hiddenPathsOnResponse": "hidden_paths_on_response", "hiddenPropertyPaths": "hidden_property_paths", "hideKey": "hide_key", + "hierarchyInformation": "hierarchy_information", "highAvailabilityReplicaCount": "high_availability_replica_count", "highKey": "high_key", "highTraffic": "high_traffic", @@ -10905,6 +10970,7 @@ "imageGcHighThreshold": "image_gc_high_threshold", "imageGcLowThreshold": "image_gc_low_threshold", "imageId": "image_id", + "imageInformation": "image_information", "imageName": "image_name", "imageNames": "image_names", "imagePath": "image_path", @@ -10915,7 +10981,9 @@ "imageRegistryCredentials": "image_registry_credentials", "imageSourceRegistry": "image_source_registry", "imageTemplateName": "image_template_name", + "imageType": "image_type", "imageUpdateTrigger": "image_update_trigger", + "imageUrl": "image_url", "imageVersionId": "image_version_id", "immediatePurgeDataOn30Days": "immediate_purge_data_on30_days", "immutabilityPeriodSinceCreationInDays": "immutability_period_since_creation_in_days", @@ -11608,6 +11676,7 @@ "linkSpeedInMbps": "link_speed_in_mbps", "linkToDefaultDomain": "link_to_default_domain", "linkType": "link_type", + "linkUrl": "link_url", "linkedAccessCheckOnTargetResource": "linked_access_check_on_target_resource", "linkedAccessChecks": "linked_access_checks", "linkedAction": "linked_action", @@ -11732,6 +11801,7 @@ "loginMode": "login_mode", "loginName": "login_name", "loginServer": "login_server", + "loginServers": "login_servers", "loginType": "login_type", "logoUri": "logo_uri", "logonGroup": "logon_group", @@ -11835,6 +11905,7 @@ "managementNetwork": "management_network", "managementPolicy": "management_policy", "managementPolicyName": "management_policy_name", + "managementRpDetails": "management_rp_details", "managementSubnetCidr": "management_subnet_cidr", "managerName": "manager_name", "mandatoryArtifactsResourceIdsLinux": "mandatory_artifacts_resource_ids_linux", @@ -12033,7 +12104,9 @@ "messagingEndpoints": "messaging_endpoints", "metadataConfigurationPath": "metadata_configuration_path", "metadataEndpoint": "metadata_endpoint", + "meterDetails": "meter_details", "meterId": "meter_id", + "meterType": "meter_type", "metricColumn": "metric_column", "metricConfigurations": "metric_configurations", "metricId": "metric_id", @@ -12369,6 +12442,7 @@ "notebookWorkspaceName": "notebook_workspace_name", "notificationDate": "notification_date", "notificationDestination": "notification_destination", + "notificationEmailList": "notification_email_list", "notificationEndpoints": "notification_endpoints", "notificationHubId": "notification_hub_id", "notificationHubName": "notification_hub_name", @@ -12377,6 +12451,7 @@ "notificationName": "notification_name", "notificationPolicy": "notification_policy", "notificationPreference": "notification_preference", + "notificationPreferences": "notification_preferences", "notificationQueueEnabled": "notification_queue_enabled", "notificationQueueUri": "notification_queue_uri", "notificationRegistrationName": "notification_registration_name", @@ -12502,7 +12577,15 @@ "orchestratorType": "orchestrator_type", "orchestratorVersion": "orchestrator_version", "orderBy": "order_by", + "orderCollectionId": "order_collection_id", + "orderCollectionName": "order_collection_name", + "orderDetails": "order_details", "orderHistory": "order_history", + "orderIds": "order_ids", + "orderName": "order_name", + "orderStatus": "order_status", + "orderStatusHistory": "order_status_history", + "orderType": "order_type", "organizationId": "organization_id", "organizationName": "organization_name", "organizationalUnit": "organizational_unit", @@ -12925,6 +13008,7 @@ "primaryKey": "primary_key", "primaryLocation": "primary_location", "primaryManagedInstanceId": "primary_managed_instance_id", + "primaryMeterType": "primary_meter_type", "primaryNetworkFriendlyName": "primary_network_friendly_name", "primaryNetworkId": "primary_network_id", "primaryNicStaticIPAddress": "primary_nic_static_ip_address", @@ -13017,7 +13101,11 @@ "processorUsagePercentage": "processor_usage_percentage", "prodModeWriteProtect": "prod_mode_write_protect", "produceAdditionalTypes": "produce_additional_types", + "productDetails": "product_details", + "productFamilyName": "product_family_name", "productId": "product_id", + "productLineName": "product_line_name", + "productLines": "product_lines", "productName": "product_name", "productType": "product_type", "profileEditingPolicyName": "profile_editing_policy_name", @@ -13254,12 +13342,12 @@ "rampDownLoadBalancingAlgorithm": "ramp_down_load_balancing_algorithm", "rampDownMinimumHostsPct": "ramp_down_minimum_hosts_pct", "rampDownNotificationMessage": "ramp_down_notification_message", - "rampDownNotificationMinutes": "ramp_down_notification_minutes", "rampDownStartTime": "ramp_down_start_time", "rampDownStopHostsWhen": "ramp_down_stop_hosts_when", - "rampUpAlgorithm": "ramp_up_algorithm", + "rampDownWaitTimeMinutes": "ramp_down_wait_time_minutes", "rampUpCapacityThresholdPct": "ramp_up_capacity_threshold_pct", - "rampUpMinimumHostPct": "ramp_up_minimum_host_pct", + "rampUpLoadBalancingAlgorithm": "ramp_up_load_balancing_algorithm", + "rampUpMinimumHostsPct": "ramp_up_minimum_hosts_pct", "rampUpRules": "ramp_up_rules", "rampUpStartTime": "ramp_up_start_time", "rangeEnd": "range_end", @@ -13738,7 +13826,9 @@ "retryType": "retry_type", "returnAddress": "return_address", "returnPackage": "return_package", + "returnReason": "return_reason", "returnShipping": "return_shipping", + "returnStatus": "return_status", "returnTrackingInfo": "return_tracking_info", "reuseExistingNic": "reuse_existing_nic", "reverseChapId": "reverse_chap_id", @@ -13748,6 +13838,7 @@ "reverseProxyCertificateCommonNames": "reverse_proxy_certificate_common_names", "reverseProxyEndpointPort": "reverse_proxy_endpoint_port", "reverseShipmentLabelSasKey": "reverse_shipment_label_sas_key", + "reverseShippingDetails": "reverse_shipping_details", "reviewersType": "reviewers_type", "rewriteRuleSet": "rewrite_rule_set", "rewriteRuleSets": "rewrite_rule_sets", @@ -14033,6 +14124,7 @@ "securityOperators": "security_operators", "securityPartnerProvider": "security_partner_provider", "securityPartnerProviderName": "security_partner_provider_name", + "securityPolicyLinks": "security_policy_links", "securityPolicyName": "security_policy_name", "securityProfile": "security_profile", "securityProviderName": "security_provider_name", @@ -14263,6 +14355,7 @@ "shippingAddress": "shipping_address", "shippingInformation": "shipping_information", "shmSize": "shm_size", + "shortDescription": "short_description", "showInPortal": "show_in_portal", "signMDN": "sign_mdn", "signMessage": "sign_message", @@ -14741,6 +14834,7 @@ "supportedPolicy": "supported_policy", "supportedProtocols": "supported_protocols", "supportedResourceTypes": "supported_resource_types", + "supportedValues": "supported_values", "supportsSharding": "supports_sharding", "suppressionAlertsScope": "suppression_alerts_scope", "suppressionConfig": "suppression_config", diff --git a/sdk/python/pulumi_azure_nextgen/desktopvirtualization/v20201110preview/_inputs.py b/sdk/python/pulumi_azure_nextgen/desktopvirtualization/v20201110preview/_inputs.py index 4a98c560eaa1..3574cac6de13 100644 --- a/sdk/python/pulumi_azure_nextgen/desktopvirtualization/v20201110preview/_inputs.py +++ b/sdk/python/pulumi_azure_nextgen/desktopvirtualization/v20201110preview/_inputs.py @@ -303,12 +303,12 @@ def __init__(__self__, *, ramp_down_load_balancing_algorithm: Optional[pulumi.Input[Union[str, 'SessionHostLoadBalancingAlgorithm']]] = None, ramp_down_minimum_hosts_pct: Optional[pulumi.Input[int]] = None, ramp_down_notification_message: Optional[pulumi.Input[str]] = None, - ramp_down_notification_minutes: Optional[pulumi.Input[int]] = None, ramp_down_start_time: Optional[pulumi.Input[str]] = None, ramp_down_stop_hosts_when: Optional[pulumi.Input[Union[str, 'StopHostsWhen']]] = None, - ramp_up_algorithm: Optional[pulumi.Input[Union[str, 'SessionHostLoadBalancingAlgorithm']]] = None, + ramp_down_wait_time_minutes: Optional[pulumi.Input[int]] = None, ramp_up_capacity_threshold_pct: Optional[pulumi.Input[int]] = None, - ramp_up_minimum_host_pct: Optional[pulumi.Input[int]] = None, + ramp_up_load_balancing_algorithm: Optional[pulumi.Input[Union[str, 'SessionHostLoadBalancingAlgorithm']]] = None, + ramp_up_minimum_hosts_pct: Optional[pulumi.Input[int]] = None, ramp_up_start_time: Optional[pulumi.Input[str]] = None): """ Scaling plan schedule. @@ -323,12 +323,12 @@ def __init__(__self__, *, :param pulumi.Input[Union[str, 'SessionHostLoadBalancingAlgorithm']] ramp_down_load_balancing_algorithm: Load balancing algorithm for ramp down period. :param pulumi.Input[int] ramp_down_minimum_hosts_pct: Minimum host percentage for ramp down period. :param pulumi.Input[str] ramp_down_notification_message: Notification message for users during ramp down period. - :param pulumi.Input[int] ramp_down_notification_minutes: Number of minutes to wait to stop hosts during ramp down period. :param pulumi.Input[str] ramp_down_start_time: Starting time for ramp down period. :param pulumi.Input[Union[str, 'StopHostsWhen']] ramp_down_stop_hosts_when: Specifies when to stop hosts during ramp down period. - :param pulumi.Input[Union[str, 'SessionHostLoadBalancingAlgorithm']] ramp_up_algorithm: Load balancing algorithm for ramp up period. + :param pulumi.Input[int] ramp_down_wait_time_minutes: Number of minutes to wait to stop hosts during ramp down period. :param pulumi.Input[int] ramp_up_capacity_threshold_pct: Capacity threshold for ramp up period. - :param pulumi.Input[int] ramp_up_minimum_host_pct: Minimum host percentage for ramp up period. + :param pulumi.Input[Union[str, 'SessionHostLoadBalancingAlgorithm']] ramp_up_load_balancing_algorithm: Load balancing algorithm for ramp up period. + :param pulumi.Input[int] ramp_up_minimum_hosts_pct: Minimum host percentage for ramp up period. :param pulumi.Input[str] ramp_up_start_time: Starting time for ramp up period. """ if days_of_week is not None: @@ -353,18 +353,18 @@ def __init__(__self__, *, pulumi.set(__self__, "ramp_down_minimum_hosts_pct", ramp_down_minimum_hosts_pct) if ramp_down_notification_message is not None: pulumi.set(__self__, "ramp_down_notification_message", ramp_down_notification_message) - if ramp_down_notification_minutes is not None: - pulumi.set(__self__, "ramp_down_notification_minutes", ramp_down_notification_minutes) if ramp_down_start_time is not None: pulumi.set(__self__, "ramp_down_start_time", ramp_down_start_time) if ramp_down_stop_hosts_when is not None: pulumi.set(__self__, "ramp_down_stop_hosts_when", ramp_down_stop_hosts_when) - if ramp_up_algorithm is not None: - pulumi.set(__self__, "ramp_up_algorithm", ramp_up_algorithm) + if ramp_down_wait_time_minutes is not None: + pulumi.set(__self__, "ramp_down_wait_time_minutes", ramp_down_wait_time_minutes) if ramp_up_capacity_threshold_pct is not None: pulumi.set(__self__, "ramp_up_capacity_threshold_pct", ramp_up_capacity_threshold_pct) - if ramp_up_minimum_host_pct is not None: - pulumi.set(__self__, "ramp_up_minimum_host_pct", ramp_up_minimum_host_pct) + if ramp_up_load_balancing_algorithm is not None: + pulumi.set(__self__, "ramp_up_load_balancing_algorithm", ramp_up_load_balancing_algorithm) + if ramp_up_minimum_hosts_pct is not None: + pulumi.set(__self__, "ramp_up_minimum_hosts_pct", ramp_up_minimum_hosts_pct) if ramp_up_start_time is not None: pulumi.set(__self__, "ramp_up_start_time", ramp_up_start_time) @@ -500,18 +500,6 @@ def ramp_down_notification_message(self) -> Optional[pulumi.Input[str]]: def ramp_down_notification_message(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "ramp_down_notification_message", value) - @property - @pulumi.getter(name="rampDownNotificationMinutes") - def ramp_down_notification_minutes(self) -> Optional[pulumi.Input[int]]: - """ - Number of minutes to wait to stop hosts during ramp down period. - """ - return pulumi.get(self, "ramp_down_notification_minutes") - - @ramp_down_notification_minutes.setter - def ramp_down_notification_minutes(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "ramp_down_notification_minutes", value) - @property @pulumi.getter(name="rampDownStartTime") def ramp_down_start_time(self) -> Optional[pulumi.Input[str]]: @@ -537,16 +525,16 @@ def ramp_down_stop_hosts_when(self, value: Optional[pulumi.Input[Union[str, 'Sto pulumi.set(self, "ramp_down_stop_hosts_when", value) @property - @pulumi.getter(name="rampUpAlgorithm") - def ramp_up_algorithm(self) -> Optional[pulumi.Input[Union[str, 'SessionHostLoadBalancingAlgorithm']]]: + @pulumi.getter(name="rampDownWaitTimeMinutes") + def ramp_down_wait_time_minutes(self) -> Optional[pulumi.Input[int]]: """ - Load balancing algorithm for ramp up period. + Number of minutes to wait to stop hosts during ramp down period. """ - return pulumi.get(self, "ramp_up_algorithm") + return pulumi.get(self, "ramp_down_wait_time_minutes") - @ramp_up_algorithm.setter - def ramp_up_algorithm(self, value: Optional[pulumi.Input[Union[str, 'SessionHostLoadBalancingAlgorithm']]]): - pulumi.set(self, "ramp_up_algorithm", value) + @ramp_down_wait_time_minutes.setter + def ramp_down_wait_time_minutes(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "ramp_down_wait_time_minutes", value) @property @pulumi.getter(name="rampUpCapacityThresholdPct") @@ -561,16 +549,28 @@ def ramp_up_capacity_threshold_pct(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "ramp_up_capacity_threshold_pct", value) @property - @pulumi.getter(name="rampUpMinimumHostPct") - def ramp_up_minimum_host_pct(self) -> Optional[pulumi.Input[int]]: + @pulumi.getter(name="rampUpLoadBalancingAlgorithm") + def ramp_up_load_balancing_algorithm(self) -> Optional[pulumi.Input[Union[str, 'SessionHostLoadBalancingAlgorithm']]]: + """ + Load balancing algorithm for ramp up period. + """ + return pulumi.get(self, "ramp_up_load_balancing_algorithm") + + @ramp_up_load_balancing_algorithm.setter + def ramp_up_load_balancing_algorithm(self, value: Optional[pulumi.Input[Union[str, 'SessionHostLoadBalancingAlgorithm']]]): + pulumi.set(self, "ramp_up_load_balancing_algorithm", value) + + @property + @pulumi.getter(name="rampUpMinimumHostsPct") + def ramp_up_minimum_hosts_pct(self) -> Optional[pulumi.Input[int]]: """ Minimum host percentage for ramp up period. """ - return pulumi.get(self, "ramp_up_minimum_host_pct") + return pulumi.get(self, "ramp_up_minimum_hosts_pct") - @ramp_up_minimum_host_pct.setter - def ramp_up_minimum_host_pct(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "ramp_up_minimum_host_pct", value) + @ramp_up_minimum_hosts_pct.setter + def ramp_up_minimum_hosts_pct(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "ramp_up_minimum_hosts_pct", value) @property @pulumi.getter(name="rampUpStartTime") diff --git a/sdk/python/pulumi_azure_nextgen/desktopvirtualization/v20201110preview/get_host_pool.py b/sdk/python/pulumi_azure_nextgen/desktopvirtualization/v20201110preview/get_host_pool.py index 07f3a116e317..de81cef668a8 100644 --- a/sdk/python/pulumi_azure_nextgen/desktopvirtualization/v20201110preview/get_host_pool.py +++ b/sdk/python/pulumi_azure_nextgen/desktopvirtualization/v20201110preview/get_host_pool.py @@ -20,7 +20,7 @@ class GetHostPoolResult: """ Represents a HostPool definition. """ - def __init__(__self__, application_group_references=None, custom_rdp_property=None, description=None, friendly_name=None, host_pool_type=None, id=None, load_balancer_type=None, location=None, max_session_limit=None, name=None, personal_desktop_assignment_type=None, preferred_app_group_type=None, registration_info=None, ring=None, sso_client_id=None, sso_client_secret_key_vault_path=None, sso_context=None, sso_secret_type=None, ssoadfs_authority=None, start_vm_on_connect=None, tags=None, type=None, validation_environment=None, vm_template=None): + def __init__(__self__, application_group_references=None, custom_rdp_property=None, description=None, friendly_name=None, host_pool_type=None, id=None, load_balancer_type=None, location=None, max_session_limit=None, name=None, personal_desktop_assignment_type=None, preferred_app_group_type=None, registration_info=None, ring=None, sso_client_id=None, sso_client_secret_key_vault_path=None, sso_secret_type=None, ssoadfs_authority=None, start_vm_on_connect=None, tags=None, type=None, validation_environment=None, vm_template=None): if application_group_references and not isinstance(application_group_references, list): raise TypeError("Expected argument 'application_group_references' to be a list") pulumi.set(__self__, "application_group_references", application_group_references) @@ -69,9 +69,6 @@ def __init__(__self__, application_group_references=None, custom_rdp_property=No if sso_client_secret_key_vault_path and not isinstance(sso_client_secret_key_vault_path, str): raise TypeError("Expected argument 'sso_client_secret_key_vault_path' to be a str") pulumi.set(__self__, "sso_client_secret_key_vault_path", sso_client_secret_key_vault_path) - if sso_context and not isinstance(sso_context, str): - raise TypeError("Expected argument 'sso_context' to be a str") - pulumi.set(__self__, "sso_context", sso_context) if sso_secret_type and not isinstance(sso_secret_type, str): raise TypeError("Expected argument 'sso_secret_type' to be a str") pulumi.set(__self__, "sso_secret_type", sso_secret_type) @@ -222,14 +219,6 @@ def sso_client_secret_key_vault_path(self) -> Optional[str]: """ return pulumi.get(self, "sso_client_secret_key_vault_path") - @property - @pulumi.getter(name="ssoContext") - def sso_context(self) -> Optional[str]: - """ - Path to keyvault containing ssoContext secret. - """ - return pulumi.get(self, "sso_context") - @property @pulumi.getter(name="ssoSecretType") def sso_secret_type(self) -> Optional[str]: @@ -309,7 +298,6 @@ def __await__(self): ring=self.ring, sso_client_id=self.sso_client_id, sso_client_secret_key_vault_path=self.sso_client_secret_key_vault_path, - sso_context=self.sso_context, sso_secret_type=self.sso_secret_type, ssoadfs_authority=self.ssoadfs_authority, start_vm_on_connect=self.start_vm_on_connect, @@ -354,7 +342,6 @@ def get_host_pool(host_pool_name: Optional[str] = None, ring=__ret__.ring, sso_client_id=__ret__.sso_client_id, sso_client_secret_key_vault_path=__ret__.sso_client_secret_key_vault_path, - sso_context=__ret__.sso_context, sso_secret_type=__ret__.sso_secret_type, ssoadfs_authority=__ret__.ssoadfs_authority, start_vm_on_connect=__ret__.start_vm_on_connect, diff --git a/sdk/python/pulumi_azure_nextgen/desktopvirtualization/v20201110preview/host_pool.py b/sdk/python/pulumi_azure_nextgen/desktopvirtualization/v20201110preview/host_pool.py index 3f69a8be4c5c..0b5d658a8a92 100644 --- a/sdk/python/pulumi_azure_nextgen/desktopvirtualization/v20201110preview/host_pool.py +++ b/sdk/python/pulumi_azure_nextgen/desktopvirtualization/v20201110preview/host_pool.py @@ -33,7 +33,6 @@ def __init__(__self__, ring: Optional[pulumi.Input[int]] = None, sso_client_id: Optional[pulumi.Input[str]] = None, sso_client_secret_key_vault_path: Optional[pulumi.Input[str]] = None, - sso_context: Optional[pulumi.Input[str]] = None, sso_secret_type: Optional[pulumi.Input[Union[str, 'SSOSecretType']]] = None, ssoadfs_authority: Optional[pulumi.Input[str]] = None, start_vm_on_connect: Optional[pulumi.Input[bool]] = None, @@ -63,7 +62,6 @@ def __init__(__self__, :param pulumi.Input[int] ring: The ring number of HostPool. :param pulumi.Input[str] sso_client_id: ClientId for the registered Relying Party used to issue WVD SSO certificates. :param pulumi.Input[str] sso_client_secret_key_vault_path: Path to Azure KeyVault storing the secret used for communication to ADFS. - :param pulumi.Input[str] sso_context: Path to keyvault containing ssoContext secret. :param pulumi.Input[Union[str, 'SSOSecretType']] sso_secret_type: The type of single sign on Secret Type. :param pulumi.Input[str] ssoadfs_authority: URL to customer ADFS server for signing WVD SSO certificates. :param pulumi.Input[bool] start_vm_on_connect: The flag to turn on/off StartVMOnConnect feature. @@ -115,7 +113,6 @@ def __init__(__self__, __props__['ring'] = ring __props__['sso_client_id'] = sso_client_id __props__['sso_client_secret_key_vault_path'] = sso_client_secret_key_vault_path - __props__['sso_context'] = sso_context __props__['sso_secret_type'] = sso_secret_type __props__['ssoadfs_authority'] = ssoadfs_authority __props__['start_vm_on_connect'] = start_vm_on_connect @@ -271,14 +268,6 @@ def sso_client_secret_key_vault_path(self) -> pulumi.Output[Optional[str]]: """ return pulumi.get(self, "sso_client_secret_key_vault_path") - @property - @pulumi.getter(name="ssoContext") - def sso_context(self) -> pulumi.Output[Optional[str]]: - """ - Path to keyvault containing ssoContext secret. - """ - return pulumi.get(self, "sso_context") - @property @pulumi.getter(name="ssoSecretType") def sso_secret_type(self) -> pulumi.Output[Optional[str]]: diff --git a/sdk/python/pulumi_azure_nextgen/desktopvirtualization/v20201110preview/outputs.py b/sdk/python/pulumi_azure_nextgen/desktopvirtualization/v20201110preview/outputs.py index 7dc97b48b82a..781374c5219a 100644 --- a/sdk/python/pulumi_azure_nextgen/desktopvirtualization/v20201110preview/outputs.py +++ b/sdk/python/pulumi_azure_nextgen/desktopvirtualization/v20201110preview/outputs.py @@ -270,12 +270,12 @@ def __init__(__self__, *, ramp_down_load_balancing_algorithm: Optional[str] = None, ramp_down_minimum_hosts_pct: Optional[int] = None, ramp_down_notification_message: Optional[str] = None, - ramp_down_notification_minutes: Optional[int] = None, ramp_down_start_time: Optional[str] = None, ramp_down_stop_hosts_when: Optional[str] = None, - ramp_up_algorithm: Optional[str] = None, + ramp_down_wait_time_minutes: Optional[int] = None, ramp_up_capacity_threshold_pct: Optional[int] = None, - ramp_up_minimum_host_pct: Optional[int] = None, + ramp_up_load_balancing_algorithm: Optional[str] = None, + ramp_up_minimum_hosts_pct: Optional[int] = None, ramp_up_start_time: Optional[str] = None): """ Scaling plan schedule. @@ -290,12 +290,12 @@ def __init__(__self__, *, :param str ramp_down_load_balancing_algorithm: Load balancing algorithm for ramp down period. :param int ramp_down_minimum_hosts_pct: Minimum host percentage for ramp down period. :param str ramp_down_notification_message: Notification message for users during ramp down period. - :param int ramp_down_notification_minutes: Number of minutes to wait to stop hosts during ramp down period. :param str ramp_down_start_time: Starting time for ramp down period. :param str ramp_down_stop_hosts_when: Specifies when to stop hosts during ramp down period. - :param str ramp_up_algorithm: Load balancing algorithm for ramp up period. + :param int ramp_down_wait_time_minutes: Number of minutes to wait to stop hosts during ramp down period. :param int ramp_up_capacity_threshold_pct: Capacity threshold for ramp up period. - :param int ramp_up_minimum_host_pct: Minimum host percentage for ramp up period. + :param str ramp_up_load_balancing_algorithm: Load balancing algorithm for ramp up period. + :param int ramp_up_minimum_hosts_pct: Minimum host percentage for ramp up period. :param str ramp_up_start_time: Starting time for ramp up period. """ if days_of_week is not None: @@ -320,18 +320,18 @@ def __init__(__self__, *, pulumi.set(__self__, "ramp_down_minimum_hosts_pct", ramp_down_minimum_hosts_pct) if ramp_down_notification_message is not None: pulumi.set(__self__, "ramp_down_notification_message", ramp_down_notification_message) - if ramp_down_notification_minutes is not None: - pulumi.set(__self__, "ramp_down_notification_minutes", ramp_down_notification_minutes) if ramp_down_start_time is not None: pulumi.set(__self__, "ramp_down_start_time", ramp_down_start_time) if ramp_down_stop_hosts_when is not None: pulumi.set(__self__, "ramp_down_stop_hosts_when", ramp_down_stop_hosts_when) - if ramp_up_algorithm is not None: - pulumi.set(__self__, "ramp_up_algorithm", ramp_up_algorithm) + if ramp_down_wait_time_minutes is not None: + pulumi.set(__self__, "ramp_down_wait_time_minutes", ramp_down_wait_time_minutes) if ramp_up_capacity_threshold_pct is not None: pulumi.set(__self__, "ramp_up_capacity_threshold_pct", ramp_up_capacity_threshold_pct) - if ramp_up_minimum_host_pct is not None: - pulumi.set(__self__, "ramp_up_minimum_host_pct", ramp_up_minimum_host_pct) + if ramp_up_load_balancing_algorithm is not None: + pulumi.set(__self__, "ramp_up_load_balancing_algorithm", ramp_up_load_balancing_algorithm) + if ramp_up_minimum_hosts_pct is not None: + pulumi.set(__self__, "ramp_up_minimum_hosts_pct", ramp_up_minimum_hosts_pct) if ramp_up_start_time is not None: pulumi.set(__self__, "ramp_up_start_time", ramp_up_start_time) @@ -423,14 +423,6 @@ def ramp_down_notification_message(self) -> Optional[str]: """ return pulumi.get(self, "ramp_down_notification_message") - @property - @pulumi.getter(name="rampDownNotificationMinutes") - def ramp_down_notification_minutes(self) -> Optional[int]: - """ - Number of minutes to wait to stop hosts during ramp down period. - """ - return pulumi.get(self, "ramp_down_notification_minutes") - @property @pulumi.getter(name="rampDownStartTime") def ramp_down_start_time(self) -> Optional[str]: @@ -448,12 +440,12 @@ def ramp_down_stop_hosts_when(self) -> Optional[str]: return pulumi.get(self, "ramp_down_stop_hosts_when") @property - @pulumi.getter(name="rampUpAlgorithm") - def ramp_up_algorithm(self) -> Optional[str]: + @pulumi.getter(name="rampDownWaitTimeMinutes") + def ramp_down_wait_time_minutes(self) -> Optional[int]: """ - Load balancing algorithm for ramp up period. + Number of minutes to wait to stop hosts during ramp down period. """ - return pulumi.get(self, "ramp_up_algorithm") + return pulumi.get(self, "ramp_down_wait_time_minutes") @property @pulumi.getter(name="rampUpCapacityThresholdPct") @@ -464,12 +456,20 @@ def ramp_up_capacity_threshold_pct(self) -> Optional[int]: return pulumi.get(self, "ramp_up_capacity_threshold_pct") @property - @pulumi.getter(name="rampUpMinimumHostPct") - def ramp_up_minimum_host_pct(self) -> Optional[int]: + @pulumi.getter(name="rampUpLoadBalancingAlgorithm") + def ramp_up_load_balancing_algorithm(self) -> Optional[str]: + """ + Load balancing algorithm for ramp up period. + """ + return pulumi.get(self, "ramp_up_load_balancing_algorithm") + + @property + @pulumi.getter(name="rampUpMinimumHostsPct") + def ramp_up_minimum_hosts_pct(self) -> Optional[int]: """ Minimum host percentage for ramp up period. """ - return pulumi.get(self, "ramp_up_minimum_host_pct") + return pulumi.get(self, "ramp_up_minimum_hosts_pct") @property @pulumi.getter(name="rampUpStartTime") diff --git a/sdk/python/pulumi_azure_nextgen/edgeorder/__init__.py b/sdk/python/pulumi_azure_nextgen/edgeorder/__init__.py new file mode 100644 index 000000000000..74f417255e1e --- /dev/null +++ b/sdk/python/pulumi_azure_nextgen/edgeorder/__init__.py @@ -0,0 +1,9 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi SDK Generator. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + + +# Make subpackages available: +from . import ( + v20201201preview, +) diff --git a/sdk/python/pulumi_azure_nextgen/edgeorder/v20201201preview/__init__.py b/sdk/python/pulumi_azure_nextgen/edgeorder/v20201201preview/__init__.py new file mode 100644 index 000000000000..ea8ce4ee03ee --- /dev/null +++ b/sdk/python/pulumi_azure_nextgen/edgeorder/v20201201preview/__init__.py @@ -0,0 +1,43 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi SDK Generator. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +# Export this package's modules as members: +from ._enums import * +from .address_by_name import * +from .get_address_by_name import * +from .get_order_by_name import * +from .get_order_collection_by_name import * +from .list_configurations import * +from .list_product_families import * +from .order_by_name import * +from .order_collection_by_name import * +from ._inputs import * +from . import outputs + +def _register_module(): + import pulumi + from ... import _utilities + + + class Module(pulumi.runtime.ResourceModule): + _version = _utilities.get_semver_version() + + def version(self): + return Module._version + + def construct(self, name: str, typ: str, urn: str) -> pulumi.Resource: + if typ == "azure-nextgen:edgeorder/v20201201preview:AddressByName": + return AddressByName(name, pulumi.ResourceOptions(urn=urn)) + elif typ == "azure-nextgen:edgeorder/v20201201preview:OrderByName": + return OrderByName(name, pulumi.ResourceOptions(urn=urn)) + elif typ == "azure-nextgen:edgeorder/v20201201preview:OrderCollectionByName": + return OrderCollectionByName(name, pulumi.ResourceOptions(urn=urn)) + else: + raise Exception(f"unknown resource type {typ}") + + + _module_instance = Module() + pulumi.runtime.register_resource_module("azure-nextgen", "edgeorder/v20201201preview", _module_instance) + +_register_module() diff --git a/sdk/python/pulumi_azure_nextgen/edgeorder/v20201201preview/_enums.py b/sdk/python/pulumi_azure_nextgen/edgeorder/v20201201preview/_enums.py new file mode 100644 index 000000000000..5f0d3e0ea35b --- /dev/null +++ b/sdk/python/pulumi_azure_nextgen/edgeorder/v20201201preview/_enums.py @@ -0,0 +1,57 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi SDK Generator. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +from enum import Enum + +__all__ = [ + 'AddressType', + 'NotificationStageName', + 'OrderType', + 'SupportedFilterTypes', + 'TransportShipmentTypes', +] + + +class AddressType(str, Enum): + """ + Type of address. + """ + NONE = "None" + RESIDENTIAL = "Residential" + COMMERCIAL = "Commercial" + + +class NotificationStageName(str, Enum): + """ + Name of the stage. + """ + DEVICE_PREPARED = "DevicePrepared" + DISPATCHED = "Dispatched" + DELIVERED = "Delivered" + PICKED_UP = "PickedUp" + AT_AZURE_DC = "AtAzureDC" + DATA_COPY = "DataCopy" + + +class OrderType(str, Enum): + """ + Order type. + """ + PURCHASE = "Purchase" + RENTAL = "Rental" + + +class SupportedFilterTypes(str, Enum): + """ + Type of product filter. + """ + SHIP_TO_COUNTRIES = "ShipToCountries" + + +class TransportShipmentTypes(str, Enum): + """ + Indicates Shipment Logistics type that the customer preferred. + """ + CUSTOMER_MANAGED = "CustomerManaged" + MICROSOFT_MANAGED = "MicrosoftManaged" diff --git a/sdk/python/pulumi_azure_nextgen/edgeorder/v20201201preview/_inputs.py b/sdk/python/pulumi_azure_nextgen/edgeorder/v20201201preview/_inputs.py new file mode 100644 index 000000000000..fad4e1b40eb3 --- /dev/null +++ b/sdk/python/pulumi_azure_nextgen/edgeorder/v20201201preview/_inputs.py @@ -0,0 +1,780 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi SDK Generator. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union +from ... import _utilities, _tables +from ._enums import * + +__all__ = [ + 'AddressDetailsArgs', + 'AddressPropertiesArgs', + 'ConfigurationFiltersArgs', + 'ContactDetailsArgs', + 'CustomerSubscriptionDetailsArgs', + 'CustomerSubscriptionRegisteredFeaturesArgs', + 'FilterablePropertyArgs', + 'HierarchyInformationArgs', + 'NotificationPreferenceArgs', + 'OrderDetailsArgs', + 'PreferencesArgs', + 'ProductDetailsArgs', + 'ShippingAddressArgs', + 'TransportPreferencesArgs', +] + +@pulumi.input_type +class AddressDetailsArgs: + def __init__(__self__, *, + shipping_address: pulumi.Input['AddressPropertiesArgs']): + """ + Address details for an order. + :param pulumi.Input['AddressPropertiesArgs'] shipping_address: Customer address and contact details. It should be address resource + """ + pulumi.set(__self__, "shipping_address", shipping_address) + + @property + @pulumi.getter(name="shippingAddress") + def shipping_address(self) -> pulumi.Input['AddressPropertiesArgs']: + """ + Customer address and contact details. It should be address resource + """ + return pulumi.get(self, "shipping_address") + + @shipping_address.setter + def shipping_address(self, value: pulumi.Input['AddressPropertiesArgs']): + pulumi.set(self, "shipping_address", value) + + +@pulumi.input_type +class AddressPropertiesArgs: + def __init__(__self__, *, + contact_details: pulumi.Input['ContactDetailsArgs'], + shipping_address: Optional[pulumi.Input['ShippingAddressArgs']] = None): + """ + Address Properties + :param pulumi.Input['ContactDetailsArgs'] contact_details: Contact details for the address + :param pulumi.Input['ShippingAddressArgs'] shipping_address: Shipping details for the address + """ + pulumi.set(__self__, "contact_details", contact_details) + if shipping_address is not None: + pulumi.set(__self__, "shipping_address", shipping_address) + + @property + @pulumi.getter(name="contactDetails") + def contact_details(self) -> pulumi.Input['ContactDetailsArgs']: + """ + Contact details for the address + """ + return pulumi.get(self, "contact_details") + + @contact_details.setter + def contact_details(self, value: pulumi.Input['ContactDetailsArgs']): + pulumi.set(self, "contact_details", value) + + @property + @pulumi.getter(name="shippingAddress") + def shipping_address(self) -> Optional[pulumi.Input['ShippingAddressArgs']]: + """ + Shipping details for the address + """ + return pulumi.get(self, "shipping_address") + + @shipping_address.setter + def shipping_address(self, value: Optional[pulumi.Input['ShippingAddressArgs']]): + pulumi.set(self, "shipping_address", value) + + +@pulumi.input_type +class ConfigurationFiltersArgs: + def __init__(__self__, *, + filterable_property: Optional['FilterablePropertyArgs'] = None, + hierarchy_information: Optional['HierarchyInformationArgs'] = None): + """ + Configuration filters + :param 'FilterablePropertyArgs' filterable_property: Filters specific to product + :param 'HierarchyInformationArgs' hierarchy_information: Product hierarchy information + """ + if filterable_property is not None: + pulumi.set(__self__, "filterable_property", filterable_property) + if hierarchy_information is not None: + pulumi.set(__self__, "hierarchy_information", hierarchy_information) + + @property + @pulumi.getter(name="filterableProperty") + def filterable_property(self) -> Optional['FilterablePropertyArgs']: + """ + Filters specific to product + """ + return pulumi.get(self, "filterable_property") + + @filterable_property.setter + def filterable_property(self, value: Optional['FilterablePropertyArgs']): + pulumi.set(self, "filterable_property", value) + + @property + @pulumi.getter(name="hierarchyInformation") + def hierarchy_information(self) -> Optional['HierarchyInformationArgs']: + """ + Product hierarchy information + """ + return pulumi.get(self, "hierarchy_information") + + @hierarchy_information.setter + def hierarchy_information(self, value: Optional['HierarchyInformationArgs']): + pulumi.set(self, "hierarchy_information", value) + + +@pulumi.input_type +class ContactDetailsArgs: + def __init__(__self__, *, + contact_name: pulumi.Input[str], + phone: pulumi.Input[str], + mobile: Optional[pulumi.Input[str]] = None, + phone_extension: Optional[pulumi.Input[str]] = None): + """ + Contact Details. + :param pulumi.Input[str] contact_name: Contact name of the person. + :param pulumi.Input[str] phone: Phone number of the contact person. + :param pulumi.Input[str] mobile: Mobile number of the contact person. + :param pulumi.Input[str] phone_extension: Phone extension number of the contact person. + """ + pulumi.set(__self__, "contact_name", contact_name) + pulumi.set(__self__, "phone", phone) + if mobile is not None: + pulumi.set(__self__, "mobile", mobile) + if phone_extension is not None: + pulumi.set(__self__, "phone_extension", phone_extension) + + @property + @pulumi.getter(name="contactName") + def contact_name(self) -> pulumi.Input[str]: + """ + Contact name of the person. + """ + return pulumi.get(self, "contact_name") + + @contact_name.setter + def contact_name(self, value: pulumi.Input[str]): + pulumi.set(self, "contact_name", value) + + @property + @pulumi.getter + def phone(self) -> pulumi.Input[str]: + """ + Phone number of the contact person. + """ + return pulumi.get(self, "phone") + + @phone.setter + def phone(self, value: pulumi.Input[str]): + pulumi.set(self, "phone", value) + + @property + @pulumi.getter + def mobile(self) -> Optional[pulumi.Input[str]]: + """ + Mobile number of the contact person. + """ + return pulumi.get(self, "mobile") + + @mobile.setter + def mobile(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "mobile", value) + + @property + @pulumi.getter(name="phoneExtension") + def phone_extension(self) -> Optional[pulumi.Input[str]]: + """ + Phone extension number of the contact person. + """ + return pulumi.get(self, "phone_extension") + + @phone_extension.setter + def phone_extension(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "phone_extension", value) + + +@pulumi.input_type +class CustomerSubscriptionDetailsArgs: + def __init__(__self__, *, + quota_id: str, + location_placement_id: Optional[str] = None, + registered_features: Optional[Sequence['CustomerSubscriptionRegisteredFeaturesArgs']] = None): + """ + :param str quota_id: Quota ID of a subscription + :param str location_placement_id: Location placement Id of a subscription + :param Sequence['CustomerSubscriptionRegisteredFeaturesArgs'] registered_features: List of registered feature flags for subscription + """ + pulumi.set(__self__, "quota_id", quota_id) + if location_placement_id is not None: + pulumi.set(__self__, "location_placement_id", location_placement_id) + if registered_features is not None: + pulumi.set(__self__, "registered_features", registered_features) + + @property + @pulumi.getter(name="quotaId") + def quota_id(self) -> str: + """ + Quota ID of a subscription + """ + return pulumi.get(self, "quota_id") + + @quota_id.setter + def quota_id(self, value: str): + pulumi.set(self, "quota_id", value) + + @property + @pulumi.getter(name="locationPlacementId") + def location_placement_id(self) -> Optional[str]: + """ + Location placement Id of a subscription + """ + return pulumi.get(self, "location_placement_id") + + @location_placement_id.setter + def location_placement_id(self, value: Optional[str]): + pulumi.set(self, "location_placement_id", value) + + @property + @pulumi.getter(name="registeredFeatures") + def registered_features(self) -> Optional[Sequence['CustomerSubscriptionRegisteredFeaturesArgs']]: + """ + List of registered feature flags for subscription + """ + return pulumi.get(self, "registered_features") + + @registered_features.setter + def registered_features(self, value: Optional[Sequence['CustomerSubscriptionRegisteredFeaturesArgs']]): + pulumi.set(self, "registered_features", value) + + +@pulumi.input_type +class CustomerSubscriptionRegisteredFeaturesArgs: + def __init__(__self__, *, + name: Optional[str] = None, + state: Optional[str] = None): + """ + :param str name: Name of subscription registered feature + :param str state: State of subscription registered feature + """ + if name is not None: + pulumi.set(__self__, "name", name) + if state is not None: + pulumi.set(__self__, "state", state) + + @property + @pulumi.getter + def name(self) -> Optional[str]: + """ + Name of subscription registered feature + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def state(self) -> Optional[str]: + """ + State of subscription registered feature + """ + return pulumi.get(self, "state") + + @state.setter + def state(self, value: Optional[str]): + pulumi.set(self, "state", value) + + +@pulumi.input_type +class FilterablePropertyArgs: + def __init__(__self__, *, + type: Union[str, 'SupportedFilterTypes'], + supported_values: Optional[Sequence[str]] = None): + """ + Class defining the list of filter values on a filter type as part of configuration request. + :param Union[str, 'SupportedFilterTypes'] type: Type of product filter. + :param Sequence[str] supported_values: Values to be filtered. + """ + pulumi.set(__self__, "type", type) + if supported_values is not None: + pulumi.set(__self__, "supported_values", supported_values) + + @property + @pulumi.getter + def type(self) -> Union[str, 'SupportedFilterTypes']: + """ + Type of product filter. + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: Union[str, 'SupportedFilterTypes']): + pulumi.set(self, "type", value) + + @property + @pulumi.getter(name="supportedValues") + def supported_values(self) -> Optional[Sequence[str]]: + """ + Values to be filtered. + """ + return pulumi.get(self, "supported_values") + + @supported_values.setter + def supported_values(self, value: Optional[Sequence[str]]): + pulumi.set(self, "supported_values", value) + + +@pulumi.input_type +class HierarchyInformationArgs: + def __init__(__self__, *, + configuration_name: Optional[pulumi.Input[str]] = None, + product_family_name: Optional[pulumi.Input[str]] = None, + product_line_name: Optional[pulumi.Input[str]] = None, + product_name: Optional[pulumi.Input[str]] = None): + """ + Holds details about product hierarchy information + :param pulumi.Input[str] configuration_name: Represents configuration name that uniquely identifies configuration + :param pulumi.Input[str] product_family_name: Represents product family name that uniquely identifies product family + :param pulumi.Input[str] product_line_name: Represents product line name that uniquely identifies product line + :param pulumi.Input[str] product_name: Represents product name that uniquely identifies product + """ + if configuration_name is not None: + pulumi.set(__self__, "configuration_name", configuration_name) + if product_family_name is not None: + pulumi.set(__self__, "product_family_name", product_family_name) + if product_line_name is not None: + pulumi.set(__self__, "product_line_name", product_line_name) + if product_name is not None: + pulumi.set(__self__, "product_name", product_name) + + @property + @pulumi.getter(name="configurationName") + def configuration_name(self) -> Optional[pulumi.Input[str]]: + """ + Represents configuration name that uniquely identifies configuration + """ + return pulumi.get(self, "configuration_name") + + @configuration_name.setter + def configuration_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "configuration_name", value) + + @property + @pulumi.getter(name="productFamilyName") + def product_family_name(self) -> Optional[pulumi.Input[str]]: + """ + Represents product family name that uniquely identifies product family + """ + return pulumi.get(self, "product_family_name") + + @product_family_name.setter + def product_family_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "product_family_name", value) + + @property + @pulumi.getter(name="productLineName") + def product_line_name(self) -> Optional[pulumi.Input[str]]: + """ + Represents product line name that uniquely identifies product line + """ + return pulumi.get(self, "product_line_name") + + @product_line_name.setter + def product_line_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "product_line_name", value) + + @property + @pulumi.getter(name="productName") + def product_name(self) -> Optional[pulumi.Input[str]]: + """ + Represents product name that uniquely identifies product + """ + return pulumi.get(self, "product_name") + + @product_name.setter + def product_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "product_name", value) + + +@pulumi.input_type +class NotificationPreferenceArgs: + def __init__(__self__, *, + send_notification: pulumi.Input[bool], + stage_name: pulumi.Input[Union[str, 'NotificationStageName']]): + """ + Notification preference for a job stage. + :param pulumi.Input[bool] send_notification: Notification is required or not. + :param pulumi.Input[Union[str, 'NotificationStageName']] stage_name: Name of the stage. + """ + pulumi.set(__self__, "send_notification", send_notification) + pulumi.set(__self__, "stage_name", stage_name) + + @property + @pulumi.getter(name="sendNotification") + def send_notification(self) -> pulumi.Input[bool]: + """ + Notification is required or not. + """ + return pulumi.get(self, "send_notification") + + @send_notification.setter + def send_notification(self, value: pulumi.Input[bool]): + pulumi.set(self, "send_notification", value) + + @property + @pulumi.getter(name="stageName") + def stage_name(self) -> pulumi.Input[Union[str, 'NotificationStageName']]: + """ + Name of the stage. + """ + return pulumi.get(self, "stage_name") + + @stage_name.setter + def stage_name(self, value: pulumi.Input[Union[str, 'NotificationStageName']]): + pulumi.set(self, "stage_name", value) + + +@pulumi.input_type +class OrderDetailsArgs: + def __init__(__self__, *, + order_type: pulumi.Input[Union[str, 'OrderType']], + product_details: pulumi.Input['ProductDetailsArgs'], + notification_email_list: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + preferences: Optional[pulumi.Input['PreferencesArgs']] = None): + """ + Order details + :param pulumi.Input[Union[str, 'OrderType']] order_type: Order type. + :param pulumi.Input['ProductDetailsArgs'] product_details: Unique identifier for configuration. + :param pulumi.Input[Sequence[pulumi.Input[str]]] notification_email_list: Package Shipping details + :param pulumi.Input['PreferencesArgs'] preferences: Customer notification Preferences + """ + pulumi.set(__self__, "order_type", order_type) + pulumi.set(__self__, "product_details", product_details) + if notification_email_list is not None: + pulumi.set(__self__, "notification_email_list", notification_email_list) + if preferences is not None: + pulumi.set(__self__, "preferences", preferences) + + @property + @pulumi.getter(name="orderType") + def order_type(self) -> pulumi.Input[Union[str, 'OrderType']]: + """ + Order type. + """ + return pulumi.get(self, "order_type") + + @order_type.setter + def order_type(self, value: pulumi.Input[Union[str, 'OrderType']]): + pulumi.set(self, "order_type", value) + + @property + @pulumi.getter(name="productDetails") + def product_details(self) -> pulumi.Input['ProductDetailsArgs']: + """ + Unique identifier for configuration. + """ + return pulumi.get(self, "product_details") + + @product_details.setter + def product_details(self, value: pulumi.Input['ProductDetailsArgs']): + pulumi.set(self, "product_details", value) + + @property + @pulumi.getter(name="notificationEmailList") + def notification_email_list(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + Package Shipping details + """ + return pulumi.get(self, "notification_email_list") + + @notification_email_list.setter + def notification_email_list(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "notification_email_list", value) + + @property + @pulumi.getter + def preferences(self) -> Optional[pulumi.Input['PreferencesArgs']]: + """ + Customer notification Preferences + """ + return pulumi.get(self, "preferences") + + @preferences.setter + def preferences(self, value: Optional[pulumi.Input['PreferencesArgs']]): + pulumi.set(self, "preferences", value) + + +@pulumi.input_type +class PreferencesArgs: + def __init__(__self__, *, + notification_preferences: Optional[pulumi.Input[Sequence[pulumi.Input['NotificationPreferenceArgs']]]] = None, + transport_preferences: Optional[pulumi.Input['TransportPreferencesArgs']] = None): + """ + Preferences related to the order + :param pulumi.Input[Sequence[pulumi.Input['NotificationPreferenceArgs']]] notification_preferences: Notification preferences. + :param pulumi.Input['TransportPreferencesArgs'] transport_preferences: Preferences related to the shipment logistics of the order. + """ + if notification_preferences is not None: + pulumi.set(__self__, "notification_preferences", notification_preferences) + if transport_preferences is not None: + pulumi.set(__self__, "transport_preferences", transport_preferences) + + @property + @pulumi.getter(name="notificationPreferences") + def notification_preferences(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['NotificationPreferenceArgs']]]]: + """ + Notification preferences. + """ + return pulumi.get(self, "notification_preferences") + + @notification_preferences.setter + def notification_preferences(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['NotificationPreferenceArgs']]]]): + pulumi.set(self, "notification_preferences", value) + + @property + @pulumi.getter(name="transportPreferences") + def transport_preferences(self) -> Optional[pulumi.Input['TransportPreferencesArgs']]: + """ + Preferences related to the shipment logistics of the order. + """ + return pulumi.get(self, "transport_preferences") + + @transport_preferences.setter + def transport_preferences(self, value: Optional[pulumi.Input['TransportPreferencesArgs']]): + pulumi.set(self, "transport_preferences", value) + + +@pulumi.input_type +class ProductDetailsArgs: + def __init__(__self__, *, + hierarchy_information: pulumi.Input['HierarchyInformationArgs'], + count: Optional[pulumi.Input[int]] = None): + """ + Represents product details + :param pulumi.Input['HierarchyInformationArgs'] hierarchy_information: Hierarchy of the product which uniquely identifies the product + :param pulumi.Input[int] count: Quantity of the product + """ + pulumi.set(__self__, "hierarchy_information", hierarchy_information) + if count is not None: + pulumi.set(__self__, "count", count) + + @property + @pulumi.getter(name="hierarchyInformation") + def hierarchy_information(self) -> pulumi.Input['HierarchyInformationArgs']: + """ + Hierarchy of the product which uniquely identifies the product + """ + return pulumi.get(self, "hierarchy_information") + + @hierarchy_information.setter + def hierarchy_information(self, value: pulumi.Input['HierarchyInformationArgs']): + pulumi.set(self, "hierarchy_information", value) + + @property + @pulumi.getter + def count(self) -> Optional[pulumi.Input[int]]: + """ + Quantity of the product + """ + return pulumi.get(self, "count") + + @count.setter + def count(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "count", value) + + +@pulumi.input_type +class ShippingAddressArgs: + def __init__(__self__, *, + country: pulumi.Input[str], + street_address1: pulumi.Input[str], + address_type: Optional[pulumi.Input[Union[str, 'AddressType']]] = None, + city: Optional[pulumi.Input[str]] = None, + company_name: Optional[pulumi.Input[str]] = None, + postal_code: Optional[pulumi.Input[str]] = None, + state_or_province: Optional[pulumi.Input[str]] = None, + street_address2: Optional[pulumi.Input[str]] = None, + street_address3: Optional[pulumi.Input[str]] = None, + zip_extended_code: Optional[pulumi.Input[str]] = None): + """ + Shipping address where customer wishes to receive the device. + :param pulumi.Input[str] country: Name of the Country. + :param pulumi.Input[str] street_address1: Street Address line 1. + :param pulumi.Input[Union[str, 'AddressType']] address_type: Type of address. + :param pulumi.Input[str] city: Name of the City. + :param pulumi.Input[str] company_name: Name of the company. + :param pulumi.Input[str] postal_code: Postal code. + :param pulumi.Input[str] state_or_province: Name of the State or Province. + :param pulumi.Input[str] street_address2: Street Address line 2. + :param pulumi.Input[str] street_address3: Street Address line 3. + :param pulumi.Input[str] zip_extended_code: Extended Zip Code. + """ + pulumi.set(__self__, "country", country) + pulumi.set(__self__, "street_address1", street_address1) + if address_type is not None: + pulumi.set(__self__, "address_type", address_type) + if city is not None: + pulumi.set(__self__, "city", city) + if company_name is not None: + pulumi.set(__self__, "company_name", company_name) + if postal_code is not None: + pulumi.set(__self__, "postal_code", postal_code) + if state_or_province is not None: + pulumi.set(__self__, "state_or_province", state_or_province) + if street_address2 is not None: + pulumi.set(__self__, "street_address2", street_address2) + if street_address3 is not None: + pulumi.set(__self__, "street_address3", street_address3) + if zip_extended_code is not None: + pulumi.set(__self__, "zip_extended_code", zip_extended_code) + + @property + @pulumi.getter + def country(self) -> pulumi.Input[str]: + """ + Name of the Country. + """ + return pulumi.get(self, "country") + + @country.setter + def country(self, value: pulumi.Input[str]): + pulumi.set(self, "country", value) + + @property + @pulumi.getter(name="streetAddress1") + def street_address1(self) -> pulumi.Input[str]: + """ + Street Address line 1. + """ + return pulumi.get(self, "street_address1") + + @street_address1.setter + def street_address1(self, value: pulumi.Input[str]): + pulumi.set(self, "street_address1", value) + + @property + @pulumi.getter(name="addressType") + def address_type(self) -> Optional[pulumi.Input[Union[str, 'AddressType']]]: + """ + Type of address. + """ + return pulumi.get(self, "address_type") + + @address_type.setter + def address_type(self, value: Optional[pulumi.Input[Union[str, 'AddressType']]]): + pulumi.set(self, "address_type", value) + + @property + @pulumi.getter + def city(self) -> Optional[pulumi.Input[str]]: + """ + Name of the City. + """ + return pulumi.get(self, "city") + + @city.setter + def city(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "city", value) + + @property + @pulumi.getter(name="companyName") + def company_name(self) -> Optional[pulumi.Input[str]]: + """ + Name of the company. + """ + return pulumi.get(self, "company_name") + + @company_name.setter + def company_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "company_name", value) + + @property + @pulumi.getter(name="postalCode") + def postal_code(self) -> Optional[pulumi.Input[str]]: + """ + Postal code. + """ + return pulumi.get(self, "postal_code") + + @postal_code.setter + def postal_code(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "postal_code", value) + + @property + @pulumi.getter(name="stateOrProvince") + def state_or_province(self) -> Optional[pulumi.Input[str]]: + """ + Name of the State or Province. + """ + return pulumi.get(self, "state_or_province") + + @state_or_province.setter + def state_or_province(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "state_or_province", value) + + @property + @pulumi.getter(name="streetAddress2") + def street_address2(self) -> Optional[pulumi.Input[str]]: + """ + Street Address line 2. + """ + return pulumi.get(self, "street_address2") + + @street_address2.setter + def street_address2(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "street_address2", value) + + @property + @pulumi.getter(name="streetAddress3") + def street_address3(self) -> Optional[pulumi.Input[str]]: + """ + Street Address line 3. + """ + return pulumi.get(self, "street_address3") + + @street_address3.setter + def street_address3(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "street_address3", value) + + @property + @pulumi.getter(name="zipExtendedCode") + def zip_extended_code(self) -> Optional[pulumi.Input[str]]: + """ + Extended Zip Code. + """ + return pulumi.get(self, "zip_extended_code") + + @zip_extended_code.setter + def zip_extended_code(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "zip_extended_code", value) + + +@pulumi.input_type +class TransportPreferencesArgs: + def __init__(__self__, *, + preferred_shipment_type: pulumi.Input[Union[str, 'TransportShipmentTypes']]): + """ + Preferences related to the shipment logistics of the sku + :param pulumi.Input[Union[str, 'TransportShipmentTypes']] preferred_shipment_type: Indicates Shipment Logistics type that the customer preferred. + """ + pulumi.set(__self__, "preferred_shipment_type", preferred_shipment_type) + + @property + @pulumi.getter(name="preferredShipmentType") + def preferred_shipment_type(self) -> pulumi.Input[Union[str, 'TransportShipmentTypes']]: + """ + Indicates Shipment Logistics type that the customer preferred. + """ + return pulumi.get(self, "preferred_shipment_type") + + @preferred_shipment_type.setter + def preferred_shipment_type(self, value: pulumi.Input[Union[str, 'TransportShipmentTypes']]): + pulumi.set(self, "preferred_shipment_type", value) + + diff --git a/sdk/python/pulumi_azure_nextgen/edgeorder/v20201201preview/address_by_name.py b/sdk/python/pulumi_azure_nextgen/edgeorder/v20201201preview/address_by_name.py new file mode 100644 index 000000000000..b46c82845759 --- /dev/null +++ b/sdk/python/pulumi_azure_nextgen/edgeorder/v20201201preview/address_by_name.py @@ -0,0 +1,161 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi SDK Generator. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union +from ... import _utilities, _tables +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['AddressByName'] + + +class AddressByName(pulumi.CustomResource): + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + address_name: Optional[pulumi.Input[str]] = None, + contact_details: Optional[pulumi.Input[pulumi.InputType['ContactDetailsArgs']]] = None, + location: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + shipping_address: Optional[pulumi.Input[pulumi.InputType['ShippingAddressArgs']]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + __props__=None, + __name__=None, + __opts__=None): + """ + Address Resource. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] address_name: The name of the address Resource within the specified resource group. address names must be between 3 and 24 characters in length and use any alphanumeric and underscore only + :param pulumi.Input[pulumi.InputType['ContactDetailsArgs']] contact_details: Contact details for the address + :param pulumi.Input[str] location: The geo-location where the resource lives + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[pulumi.InputType['ShippingAddressArgs']] shipping_address: Shipping details for the address + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. + """ + if __name__ is not None: + warnings.warn("explicit use of __name__ is deprecated", DeprecationWarning) + resource_name = __name__ + if __opts__ is not None: + warnings.warn("explicit use of __opts__ is deprecated, use 'opts' instead", DeprecationWarning) + opts = __opts__ + if opts is None: + opts = pulumi.ResourceOptions() + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.version is None: + opts.version = _utilities.get_version() + 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__ = dict() + + if address_name is None and not opts.urn: + raise TypeError("Missing required property 'address_name'") + __props__['address_name'] = address_name + if contact_details is None and not opts.urn: + raise TypeError("Missing required property 'contact_details'") + __props__['contact_details'] = contact_details + if location is None and not opts.urn: + raise TypeError("Missing required property 'location'") + __props__['location'] = location + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__['resource_group_name'] = resource_group_name + __props__['shipping_address'] = shipping_address + __props__['tags'] = tags + __props__['name'] = None + __props__['system_data'] = None + __props__['type'] = None + super(AddressByName, __self__).__init__( + 'azure-nextgen:edgeorder/v20201201preview:AddressByName', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'AddressByName': + """ + Get an existing AddressByName 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__ = dict() + + return AddressByName(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="contactDetails") + def contact_details(self) -> pulumi.Output['outputs.ContactDetailsResponse']: + """ + Contact details for the address + """ + return pulumi.get(self, "contact_details") + + @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="shippingAddress") + def shipping_address(self) -> pulumi.Output[Optional['outputs.ShippingAddressResponse']]: + """ + Shipping details for the address + """ + return pulumi.get(self, "shipping_address") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Represents resource creation and update time + """ + 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") + + def translate_output_property(self, prop): + return _tables.CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop + + def translate_input_property(self, prop): + return _tables.SNAKE_TO_CAMEL_CASE_TABLE.get(prop) or prop + diff --git a/sdk/python/pulumi_azure_nextgen/edgeorder/v20201201preview/get_address_by_name.py b/sdk/python/pulumi_azure_nextgen/edgeorder/v20201201preview/get_address_by_name.py new file mode 100644 index 000000000000..abec868ea54d --- /dev/null +++ b/sdk/python/pulumi_azure_nextgen/edgeorder/v20201201preview/get_address_by_name.py @@ -0,0 +1,156 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi SDK Generator. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union +from ... import _utilities, _tables +from . import outputs + +__all__ = [ + 'GetAddressByNameResult', + 'AwaitableGetAddressByNameResult', + 'get_address_by_name', +] + +@pulumi.output_type +class GetAddressByNameResult: + """ + Address Resource. + """ + def __init__(__self__, contact_details=None, id=None, location=None, name=None, shipping_address=None, system_data=None, tags=None, type=None): + if contact_details and not isinstance(contact_details, dict): + raise TypeError("Expected argument 'contact_details' to be a dict") + pulumi.set(__self__, "contact_details", contact_details) + 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 shipping_address and not isinstance(shipping_address, dict): + raise TypeError("Expected argument 'shipping_address' to be a dict") + pulumi.set(__self__, "shipping_address", shipping_address) + 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="contactDetails") + def contact_details(self) -> 'outputs.ContactDetailsResponse': + """ + Contact details for the address + """ + return pulumi.get(self, "contact_details") + + @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 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="shippingAddress") + def shipping_address(self) -> Optional['outputs.ShippingAddressResponse']: + """ + Shipping details for the address + """ + return pulumi.get(self, "shipping_address") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Represents resource creation and update time + """ + 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 AwaitableGetAddressByNameResult(GetAddressByNameResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetAddressByNameResult( + contact_details=self.contact_details, + id=self.id, + location=self.location, + name=self.name, + shipping_address=self.shipping_address, + system_data=self.system_data, + tags=self.tags, + type=self.type) + + +def get_address_by_name(address_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAddressByNameResult: + """ + Use this data source to access information about an existing resource. + + :param str address_name: The name of the address Resource within the specified resource group. address names must be between 3 and 24 characters in length and use any alphanumeric and underscore only + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['addressName'] = address_name + __args__['resourceGroupName'] = resource_group_name + if opts is None: + opts = pulumi.InvokeOptions() + if opts.version is None: + opts.version = _utilities.get_version() + __ret__ = pulumi.runtime.invoke('azure-nextgen:edgeorder/v20201201preview:getAddressByName', __args__, opts=opts, typ=GetAddressByNameResult).value + + return AwaitableGetAddressByNameResult( + contact_details=__ret__.contact_details, + id=__ret__.id, + location=__ret__.location, + name=__ret__.name, + shipping_address=__ret__.shipping_address, + system_data=__ret__.system_data, + tags=__ret__.tags, + type=__ret__.type) diff --git a/sdk/python/pulumi_azure_nextgen/edgeorder/v20201201preview/get_order_by_name.py b/sdk/python/pulumi_azure_nextgen/edgeorder/v20201201preview/get_order_by_name.py new file mode 100644 index 000000000000..28a31c746491 --- /dev/null +++ b/sdk/python/pulumi_azure_nextgen/edgeorder/v20201201preview/get_order_by_name.py @@ -0,0 +1,182 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi SDK Generator. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union +from ... import _utilities, _tables +from . import outputs + +__all__ = [ + 'GetOrderByNameResult', + 'AwaitableGetOrderByNameResult', + 'get_order_by_name', +] + +@pulumi.output_type +class GetOrderByNameResult: + """ + Represents order contract + """ + def __init__(__self__, address_details=None, id=None, location=None, name=None, order_collection_id=None, order_details=None, start_time=None, system_data=None, tags=None, type=None): + if address_details and not isinstance(address_details, dict): + raise TypeError("Expected argument 'address_details' to be a dict") + pulumi.set(__self__, "address_details", address_details) + 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 order_collection_id and not isinstance(order_collection_id, str): + raise TypeError("Expected argument 'order_collection_id' to be a str") + pulumi.set(__self__, "order_collection_id", order_collection_id) + if order_details and not isinstance(order_details, dict): + raise TypeError("Expected argument 'order_details' to be a dict") + pulumi.set(__self__, "order_details", order_details) + if start_time and not isinstance(start_time, str): + raise TypeError("Expected argument 'start_time' to be a str") + pulumi.set(__self__, "start_time", start_time) + 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="addressDetails") + def address_details(self) -> 'outputs.AddressDetailsResponse': + """ + Represents shipping and return address for order + """ + return pulumi.get(self, "address_details") + + @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 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="orderCollectionId") + def order_collection_id(self) -> str: + """ + Id of the order collection to which order belongs to + """ + return pulumi.get(self, "order_collection_id") + + @property + @pulumi.getter(name="orderDetails") + def order_details(self) -> 'outputs.OrderDetailsResponse': + """ + Represents order details. + """ + return pulumi.get(self, "order_details") + + @property + @pulumi.getter(name="startTime") + def start_time(self) -> str: + """ + Start time of order + """ + return pulumi.get(self, "start_time") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Represents resource creation and update time + """ + 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 AwaitableGetOrderByNameResult(GetOrderByNameResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetOrderByNameResult( + address_details=self.address_details, + id=self.id, + location=self.location, + name=self.name, + order_collection_id=self.order_collection_id, + order_details=self.order_details, + start_time=self.start_time, + system_data=self.system_data, + tags=self.tags, + type=self.type) + + +def get_order_by_name(order_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetOrderByNameResult: + """ + Use this data source to access information about an existing resource. + + :param str order_name: The name of the order + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['orderName'] = order_name + __args__['resourceGroupName'] = resource_group_name + if opts is None: + opts = pulumi.InvokeOptions() + if opts.version is None: + opts.version = _utilities.get_version() + __ret__ = pulumi.runtime.invoke('azure-nextgen:edgeorder/v20201201preview:getOrderByName', __args__, opts=opts, typ=GetOrderByNameResult).value + + return AwaitableGetOrderByNameResult( + address_details=__ret__.address_details, + id=__ret__.id, + location=__ret__.location, + name=__ret__.name, + order_collection_id=__ret__.order_collection_id, + order_details=__ret__.order_details, + start_time=__ret__.start_time, + system_data=__ret__.system_data, + tags=__ret__.tags, + type=__ret__.type) diff --git a/sdk/python/pulumi_azure_nextgen/edgeorder/v20201201preview/get_order_collection_by_name.py b/sdk/python/pulumi_azure_nextgen/edgeorder/v20201201preview/get_order_collection_by_name.py new file mode 100644 index 000000000000..4c63ed14878a --- /dev/null +++ b/sdk/python/pulumi_azure_nextgen/edgeorder/v20201201preview/get_order_collection_by_name.py @@ -0,0 +1,143 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi SDK Generator. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union +from ... import _utilities, _tables +from . import outputs + +__all__ = [ + 'GetOrderCollectionByNameResult', + 'AwaitableGetOrderCollectionByNameResult', + 'get_order_collection_by_name', +] + +@pulumi.output_type +class GetOrderCollectionByNameResult: + """ + Specifies the properties or parameters for an order collection. Order collection is a grouping of one or more orders. + """ + def __init__(__self__, id=None, location=None, name=None, order_ids=None, system_data=None, tags=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 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 order_ids and not isinstance(order_ids, list): + raise TypeError("Expected argument 'order_ids' to be a list") + pulumi.set(__self__, "order_ids", order_ids) + 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 + 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 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="orderIds") + def order_ids(self) -> Sequence[str]: + """ + List of order ARM Ids which are part of an order collection. + """ + return pulumi.get(self, "order_ids") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Represents resource creation and update time + """ + 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 AwaitableGetOrderCollectionByNameResult(GetOrderCollectionByNameResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetOrderCollectionByNameResult( + id=self.id, + location=self.location, + name=self.name, + order_ids=self.order_ids, + system_data=self.system_data, + tags=self.tags, + type=self.type) + + +def get_order_collection_by_name(order_collection_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetOrderCollectionByNameResult: + """ + Use this data source to access information about an existing resource. + + :param str order_collection_name: The name of the order collection + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['orderCollectionName'] = order_collection_name + __args__['resourceGroupName'] = resource_group_name + if opts is None: + opts = pulumi.InvokeOptions() + if opts.version is None: + opts.version = _utilities.get_version() + __ret__ = pulumi.runtime.invoke('azure-nextgen:edgeorder/v20201201preview:getOrderCollectionByName', __args__, opts=opts, typ=GetOrderCollectionByNameResult).value + + return AwaitableGetOrderCollectionByNameResult( + id=__ret__.id, + location=__ret__.location, + name=__ret__.name, + order_ids=__ret__.order_ids, + system_data=__ret__.system_data, + tags=__ret__.tags, + type=__ret__.type) diff --git a/sdk/python/pulumi_azure_nextgen/edgeorder/v20201201preview/list_configurations.py b/sdk/python/pulumi_azure_nextgen/edgeorder/v20201201preview/list_configurations.py new file mode 100644 index 000000000000..6c8d2d45bd78 --- /dev/null +++ b/sdk/python/pulumi_azure_nextgen/edgeorder/v20201201preview/list_configurations.py @@ -0,0 +1,83 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi SDK Generator. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union +from ... import _utilities, _tables +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = [ + 'ListConfigurationsResult', + 'AwaitableListConfigurationsResult', + 'list_configurations', +] + +@pulumi.output_type +class ListConfigurationsResult: + """ + The list of configurations. + """ + 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) -> Optional[str]: + """ + Link for the next set of configurations. + """ + return pulumi.get(self, "next_link") + + @property + @pulumi.getter + def value(self) -> Sequence['outputs.ConfigurationResponseResult']: + """ + List of configurations. + """ + return pulumi.get(self, "value") + + +class AwaitableListConfigurationsResult(ListConfigurationsResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return ListConfigurationsResult( + next_link=self.next_link, + value=self.value) + + +def list_configurations(configuration_filters: Optional[Sequence[pulumi.InputType['ConfigurationFiltersArgs']]] = None, + customer_subscription_details: Optional[pulumi.InputType['CustomerSubscriptionDetailsArgs']] = None, + skip_token: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableListConfigurationsResult: + """ + Use this data source to access information about an existing resource. + + :param Sequence[pulumi.InputType['ConfigurationFiltersArgs']] configuration_filters: Holds details about product hierarchy information and filterable property. + :param pulumi.InputType['CustomerSubscriptionDetailsArgs'] customer_subscription_details: Customer subscription properties. Clients can display available products to unregistered customers by explicitly passing subscription details + :param str skip_token: $skipToken is supported on list of configurations, which provides the next page in the list of configurations. + """ + __args__ = dict() + __args__['configurationFilters'] = configuration_filters + __args__['customerSubscriptionDetails'] = customer_subscription_details + __args__['skipToken'] = skip_token + if opts is None: + opts = pulumi.InvokeOptions() + if opts.version is None: + opts.version = _utilities.get_version() + __ret__ = pulumi.runtime.invoke('azure-nextgen:edgeorder/v20201201preview:listConfigurations', __args__, opts=opts, typ=ListConfigurationsResult).value + + return AwaitableListConfigurationsResult( + next_link=__ret__.next_link, + value=__ret__.value) diff --git a/sdk/python/pulumi_azure_nextgen/edgeorder/v20201201preview/list_product_families.py b/sdk/python/pulumi_azure_nextgen/edgeorder/v20201201preview/list_product_families.py new file mode 100644 index 000000000000..24e0486cd77b --- /dev/null +++ b/sdk/python/pulumi_azure_nextgen/edgeorder/v20201201preview/list_product_families.py @@ -0,0 +1,86 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi SDK Generator. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union +from ... import _utilities, _tables +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = [ + 'ListProductFamiliesResult', + 'AwaitableListProductFamiliesResult', + 'list_product_families', +] + +@pulumi.output_type +class ListProductFamiliesResult: + """ + The list of product families. + """ + 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) -> Optional[str]: + """ + Link for the next set of product families. + """ + return pulumi.get(self, "next_link") + + @property + @pulumi.getter + def value(self) -> Sequence['outputs.ProductFamilyResponseResult']: + """ + List of product families. + """ + return pulumi.get(self, "value") + + +class AwaitableListProductFamiliesResult(ListProductFamiliesResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return ListProductFamiliesResult( + next_link=self.next_link, + value=self.value) + + +def list_product_families(customer_subscription_details: Optional[pulumi.InputType['CustomerSubscriptionDetailsArgs']] = None, + expand: Optional[str] = None, + filterable_properties: Optional[Mapping[str, pulumi.InputType['FilterablePropertyArgs']]] = None, + skip_token: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableListProductFamiliesResult: + """ + Use this data source to access information about an existing resource. + + :param pulumi.InputType['CustomerSubscriptionDetailsArgs'] customer_subscription_details: Customer subscription properties. Clients can display available products to unregistered customers by explicitly passing subscription details + :param str expand: $expand is supported on configurations parameter for product, which provides details on the configurations for the product. + :param Mapping[str, pulumi.InputType['FilterablePropertyArgs']] filterable_properties: Dictionary of filterable properties on product family. + :param str skip_token: $skipToken is supported on list of product families, which provides the next page in the list of product families. + """ + __args__ = dict() + __args__['customerSubscriptionDetails'] = customer_subscription_details + __args__['expand'] = expand + __args__['filterableProperties'] = filterable_properties + __args__['skipToken'] = skip_token + if opts is None: + opts = pulumi.InvokeOptions() + if opts.version is None: + opts.version = _utilities.get_version() + __ret__ = pulumi.runtime.invoke('azure-nextgen:edgeorder/v20201201preview:listProductFamilies', __args__, opts=opts, typ=ListProductFamiliesResult).value + + return AwaitableListProductFamiliesResult( + next_link=__ret__.next_link, + value=__ret__.value) diff --git a/sdk/python/pulumi_azure_nextgen/edgeorder/v20201201preview/order_by_name.py b/sdk/python/pulumi_azure_nextgen/edgeorder/v20201201preview/order_by_name.py new file mode 100644 index 000000000000..a3f65750caa5 --- /dev/null +++ b/sdk/python/pulumi_azure_nextgen/edgeorder/v20201201preview/order_by_name.py @@ -0,0 +1,181 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi SDK Generator. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union +from ... import _utilities, _tables +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['OrderByName'] + + +class OrderByName(pulumi.CustomResource): + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + address_details: Optional[pulumi.Input[pulumi.InputType['AddressDetailsArgs']]] = None, + location: Optional[pulumi.Input[str]] = None, + order_details: Optional[pulumi.Input[pulumi.InputType['OrderDetailsArgs']]] = None, + order_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, + __name__=None, + __opts__=None): + """ + Represents order contract + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[pulumi.InputType['AddressDetailsArgs']] address_details: Represents shipping and return address for order + :param pulumi.Input[str] location: The geo-location where the resource lives + :param pulumi.Input[pulumi.InputType['OrderDetailsArgs']] order_details: Represents order details. + :param pulumi.Input[str] order_name: The name of the order + :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. + """ + if __name__ is not None: + warnings.warn("explicit use of __name__ is deprecated", DeprecationWarning) + resource_name = __name__ + if __opts__ is not None: + warnings.warn("explicit use of __opts__ is deprecated, use 'opts' instead", DeprecationWarning) + opts = __opts__ + if opts is None: + opts = pulumi.ResourceOptions() + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.version is None: + opts.version = _utilities.get_version() + 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__ = dict() + + if address_details is None and not opts.urn: + raise TypeError("Missing required property 'address_details'") + __props__['address_details'] = address_details + if location is None and not opts.urn: + raise TypeError("Missing required property 'location'") + __props__['location'] = location + if order_details is None and not opts.urn: + raise TypeError("Missing required property 'order_details'") + __props__['order_details'] = order_details + if order_name is None and not opts.urn: + raise TypeError("Missing required property 'order_name'") + __props__['order_name'] = order_name + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__['resource_group_name'] = resource_group_name + __props__['tags'] = tags + __props__['name'] = None + __props__['order_collection_id'] = None + __props__['start_time'] = None + __props__['system_data'] = None + __props__['type'] = None + super(OrderByName, __self__).__init__( + 'azure-nextgen:edgeorder/v20201201preview:OrderByName', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'OrderByName': + """ + Get an existing OrderByName 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__ = dict() + + return OrderByName(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="addressDetails") + def address_details(self) -> pulumi.Output['outputs.AddressDetailsResponse']: + """ + Represents shipping and return address for order + """ + return pulumi.get(self, "address_details") + + @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="orderCollectionId") + def order_collection_id(self) -> pulumi.Output[str]: + """ + Id of the order collection to which order belongs to + """ + return pulumi.get(self, "order_collection_id") + + @property + @pulumi.getter(name="orderDetails") + def order_details(self) -> pulumi.Output['outputs.OrderDetailsResponse']: + """ + Represents order details. + """ + return pulumi.get(self, "order_details") + + @property + @pulumi.getter(name="startTime") + def start_time(self) -> pulumi.Output[str]: + """ + Start time of order + """ + return pulumi.get(self, "start_time") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Represents resource creation and update time + """ + 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") + + def translate_output_property(self, prop): + return _tables.CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop + + def translate_input_property(self, prop): + return _tables.SNAKE_TO_CAMEL_CASE_TABLE.get(prop) or prop + diff --git a/sdk/python/pulumi_azure_nextgen/edgeorder/v20201201preview/order_collection_by_name.py b/sdk/python/pulumi_azure_nextgen/edgeorder/v20201201preview/order_collection_by_name.py new file mode 100644 index 000000000000..4747a338c5f9 --- /dev/null +++ b/sdk/python/pulumi_azure_nextgen/edgeorder/v20201201preview/order_collection_by_name.py @@ -0,0 +1,148 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi SDK Generator. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union +from ... import _utilities, _tables +from . import outputs + +__all__ = ['OrderCollectionByName'] + + +class OrderCollectionByName(pulumi.CustomResource): + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + location: Optional[pulumi.Input[str]] = None, + order_collection_name: Optional[pulumi.Input[str]] = None, + order_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + __props__=None, + __name__=None, + __opts__=None): + """ + Specifies the properties or parameters for an order collection. Order collection is a grouping of one or more orders. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] location: The geo-location where the resource lives + :param pulumi.Input[str] order_collection_name: The name of the order collection + :param pulumi.Input[Sequence[pulumi.Input[str]]] order_ids: List of order ARM Ids which are part of an order collection. + :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. + """ + if __name__ is not None: + warnings.warn("explicit use of __name__ is deprecated", DeprecationWarning) + resource_name = __name__ + if __opts__ is not None: + warnings.warn("explicit use of __opts__ is deprecated, use 'opts' instead", DeprecationWarning) + opts = __opts__ + if opts is None: + opts = pulumi.ResourceOptions() + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.version is None: + opts.version = _utilities.get_version() + 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__ = dict() + + if location is None and not opts.urn: + raise TypeError("Missing required property 'location'") + __props__['location'] = location + if order_collection_name is None and not opts.urn: + raise TypeError("Missing required property 'order_collection_name'") + __props__['order_collection_name'] = order_collection_name + if order_ids is None and not opts.urn: + raise TypeError("Missing required property 'order_ids'") + __props__['order_ids'] = order_ids + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__['resource_group_name'] = resource_group_name + __props__['tags'] = tags + __props__['name'] = None + __props__['system_data'] = None + __props__['type'] = None + super(OrderCollectionByName, __self__).__init__( + 'azure-nextgen:edgeorder/v20201201preview:OrderCollectionByName', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'OrderCollectionByName': + """ + Get an existing OrderCollectionByName 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__ = dict() + + return OrderCollectionByName(resource_name, opts=opts, __props__=__props__) + + @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="orderIds") + def order_ids(self) -> pulumi.Output[Sequence[str]]: + """ + List of order ARM Ids which are part of an order collection. + """ + return pulumi.get(self, "order_ids") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Represents resource creation and update time + """ + 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") + + def translate_output_property(self, prop): + return _tables.CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop + + def translate_input_property(self, prop): + return _tables.SNAKE_TO_CAMEL_CASE_TABLE.get(prop) or prop + diff --git a/sdk/python/pulumi_azure_nextgen/edgeorder/v20201201preview/outputs.py b/sdk/python/pulumi_azure_nextgen/edgeorder/v20201201preview/outputs.py new file mode 100644 index 000000000000..0999d50b419b --- /dev/null +++ b/sdk/python/pulumi_azure_nextgen/edgeorder/v20201201preview/outputs.py @@ -0,0 +1,1735 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi SDK Generator. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union +from ... import _utilities, _tables +from . import outputs +from ._enums import * + +__all__ = [ + 'AdditionalErrorInfoResponse', + 'AddressDetailsResponse', + 'AddressPropertiesResponse', + 'AvailabilityInformationResponseResult', + 'BillingModelResponseResult', + 'CloudErrorResponse', + 'ConfigurationResponseResult', + 'ContactDetailsResponse', + 'CostInformationResponseResult', + 'DescriptionResponseResult', + 'DeviceDetailsResponse', + 'FilterablePropertyResponseResult', + 'HierarchyInformationResponse', + 'ImageInformationResponseResult', + 'LinkResponseResult', + 'MeterDetailsResponseResult', + 'NotificationPreferenceResponse', + 'OrderDetailsResponse', + 'OrderStatusDetailsResponse', + 'PreferencesResponse', + 'ProductDetailsResponse', + 'ProductFamilyResponseResult', + 'ProductLineResponseResult', + 'ProductResponseResult', + 'ShippingAddressResponse', + 'ShippingDetailsResponse', + 'SpecificationResponseResult', + 'SystemDataResponse', + 'TransportPreferencesResponse', +] + +@pulumi.output_type +class AdditionalErrorInfoResponse(dict): + def __init__(__self__, *, + info: Optional[Any] = None, + type: Optional[str] = None): + if info is not None: + pulumi.set(__self__, "info", info) + if type is not None: + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def info(self) -> Optional[Any]: + return pulumi.get(self, "info") + + @property + @pulumi.getter + def type(self) -> Optional[str]: + return pulumi.get(self, "type") + + def _translate_property(self, prop): + return _tables.CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop + + +@pulumi.output_type +class AddressDetailsResponse(dict): + """ + Address details for an order. + """ + def __init__(__self__, *, + return_address: 'outputs.AddressPropertiesResponse', + shipping_address: 'outputs.AddressPropertiesResponse'): + """ + Address details for an order. + :param 'AddressPropertiesResponseArgs' return_address: Return shipping address + :param 'AddressPropertiesResponseArgs' shipping_address: Customer address and contact details. It should be address resource + """ + pulumi.set(__self__, "return_address", return_address) + pulumi.set(__self__, "shipping_address", shipping_address) + + @property + @pulumi.getter(name="returnAddress") + def return_address(self) -> 'outputs.AddressPropertiesResponse': + """ + Return shipping address + """ + return pulumi.get(self, "return_address") + + @property + @pulumi.getter(name="shippingAddress") + def shipping_address(self) -> 'outputs.AddressPropertiesResponse': + """ + Customer address and contact details. It should be address resource + """ + return pulumi.get(self, "shipping_address") + + def _translate_property(self, prop): + return _tables.CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop + + +@pulumi.output_type +class AddressPropertiesResponse(dict): + """ + Address Properties + """ + def __init__(__self__, *, + contact_details: 'outputs.ContactDetailsResponse', + shipping_address: Optional['outputs.ShippingAddressResponse'] = None): + """ + Address Properties + :param 'ContactDetailsResponseArgs' contact_details: Contact details for the address + :param 'ShippingAddressResponseArgs' shipping_address: Shipping details for the address + """ + pulumi.set(__self__, "contact_details", contact_details) + if shipping_address is not None: + pulumi.set(__self__, "shipping_address", shipping_address) + + @property + @pulumi.getter(name="contactDetails") + def contact_details(self) -> 'outputs.ContactDetailsResponse': + """ + Contact details for the address + """ + return pulumi.get(self, "contact_details") + + @property + @pulumi.getter(name="shippingAddress") + def shipping_address(self) -> Optional['outputs.ShippingAddressResponse']: + """ + Shipping details for the address + """ + return pulumi.get(self, "shipping_address") + + def _translate_property(self, prop): + return _tables.CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop + + +@pulumi.output_type +class AvailabilityInformationResponseResult(dict): + """ + Availability information of a product system. + """ + def __init__(__self__, *, + availability_stage: str, + disabled_reason: str, + disabled_reason_message: str): + """ + Availability information of a product system. + :param str availability_stage: Current availability stage of the product. Availability stage + :param str disabled_reason: Reason why the product is disabled. + :param str disabled_reason_message: Message for why the product is disabled. + """ + pulumi.set(__self__, "availability_stage", availability_stage) + pulumi.set(__self__, "disabled_reason", disabled_reason) + pulumi.set(__self__, "disabled_reason_message", disabled_reason_message) + + @property + @pulumi.getter(name="availabilityStage") + def availability_stage(self) -> str: + """ + Current availability stage of the product. Availability stage + """ + return pulumi.get(self, "availability_stage") + + @property + @pulumi.getter(name="disabledReason") + def disabled_reason(self) -> str: + """ + Reason why the product is disabled. + """ + return pulumi.get(self, "disabled_reason") + + @property + @pulumi.getter(name="disabledReasonMessage") + def disabled_reason_message(self) -> str: + """ + Message for why the product is disabled. + """ + return pulumi.get(self, "disabled_reason_message") + + +@pulumi.output_type +class BillingModelResponseResult(dict): + """ + Model to represent the billing cycle + """ + def __init__(__self__, *, + model: str): + """ + Model to represent the billing cycle + :param str model: String to represent the billing model + """ + pulumi.set(__self__, "model", model) + + @property + @pulumi.getter + def model(self) -> str: + """ + String to represent the billing model + """ + return pulumi.get(self, "model") + + +@pulumi.output_type +class CloudErrorResponse(dict): + def __init__(__self__, *, + additional_info: Sequence['outputs.AdditionalErrorInfoResponse'], + details: Sequence['outputs.CloudErrorResponse'], + code: Optional[str] = None, + message: Optional[str] = None, + target: Optional[str] = None): + pulumi.set(__self__, "additional_info", additional_info) + pulumi.set(__self__, "details", details) + if code is not None: + pulumi.set(__self__, "code", code) + if message is not None: + pulumi.set(__self__, "message", message) + if target is not None: + pulumi.set(__self__, "target", target) + + @property + @pulumi.getter(name="additionalInfo") + def additional_info(self) -> Sequence['outputs.AdditionalErrorInfoResponse']: + return pulumi.get(self, "additional_info") + + @property + @pulumi.getter + def details(self) -> Sequence['outputs.CloudErrorResponse']: + return pulumi.get(self, "details") + + @property + @pulumi.getter + def code(self) -> Optional[str]: + return pulumi.get(self, "code") + + @property + @pulumi.getter + def message(self) -> Optional[str]: + return pulumi.get(self, "message") + + @property + @pulumi.getter + def target(self) -> Optional[str]: + return pulumi.get(self, "target") + + def _translate_property(self, prop): + return _tables.CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop + + +@pulumi.output_type +class ConfigurationResponseResult(dict): + """ + Configuration object. + """ + def __init__(__self__, *, + availability_information: 'outputs.AvailabilityInformationResponseResult', + cost_information: 'outputs.CostInformationResponseResult', + description: 'outputs.DescriptionResponseResult', + display_name: str, + filterable_properties: Sequence['outputs.FilterablePropertyResponseResult'], + hierarchy_information: 'outputs.HierarchyInformationResponse', + image_information: Sequence['outputs.ImageInformationResponseResult'], + specifications: Sequence['outputs.SpecificationResponseResult']): + """ + Configuration object. + :param 'AvailabilityInformationResponseArgs' availability_information: Availability information of the product system. + :param 'CostInformationResponseArgs' cost_information: Cost information for the product system. + :param 'DescriptionResponseArgs' description: Description related to the product system. + :param str display_name: Display Name for the product system. + :param Sequence['FilterablePropertyResponseArgs'] filterable_properties: list of filters supported for a product + :param 'HierarchyInformationResponseArgs' hierarchy_information: Hierarchy information of the product system. + :param Sequence['ImageInformationResponseArgs'] image_information: Image information for the product system. + :param Sequence['SpecificationResponseArgs'] specifications: Specifications of the configuration + """ + pulumi.set(__self__, "availability_information", availability_information) + pulumi.set(__self__, "cost_information", cost_information) + pulumi.set(__self__, "description", description) + pulumi.set(__self__, "display_name", display_name) + pulumi.set(__self__, "filterable_properties", filterable_properties) + pulumi.set(__self__, "hierarchy_information", hierarchy_information) + pulumi.set(__self__, "image_information", image_information) + pulumi.set(__self__, "specifications", specifications) + + @property + @pulumi.getter(name="availabilityInformation") + def availability_information(self) -> 'outputs.AvailabilityInformationResponseResult': + """ + Availability information of the product system. + """ + return pulumi.get(self, "availability_information") + + @property + @pulumi.getter(name="costInformation") + def cost_information(self) -> 'outputs.CostInformationResponseResult': + """ + Cost information for the product system. + """ + return pulumi.get(self, "cost_information") + + @property + @pulumi.getter + def description(self) -> 'outputs.DescriptionResponseResult': + """ + Description related to the product system. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> str: + """ + Display Name for the product system. + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter(name="filterableProperties") + def filterable_properties(self) -> Sequence['outputs.FilterablePropertyResponseResult']: + """ + list of filters supported for a product + """ + return pulumi.get(self, "filterable_properties") + + @property + @pulumi.getter(name="hierarchyInformation") + def hierarchy_information(self) -> 'outputs.HierarchyInformationResponse': + """ + Hierarchy information of the product system. + """ + return pulumi.get(self, "hierarchy_information") + + @property + @pulumi.getter(name="imageInformation") + def image_information(self) -> Sequence['outputs.ImageInformationResponseResult']: + """ + Image information for the product system. + """ + return pulumi.get(self, "image_information") + + @property + @pulumi.getter + def specifications(self) -> Sequence['outputs.SpecificationResponseResult']: + """ + Specifications of the configuration + """ + return pulumi.get(self, "specifications") + + +@pulumi.output_type +class ContactDetailsResponse(dict): + """ + Contact Details. + """ + def __init__(__self__, *, + contact_name: str, + phone: str, + mobile: Optional[str] = None, + phone_extension: Optional[str] = None): + """ + Contact Details. + :param str contact_name: Contact name of the person. + :param str phone: Phone number of the contact person. + :param str mobile: Mobile number of the contact person. + :param str phone_extension: Phone extension number of the contact person. + """ + pulumi.set(__self__, "contact_name", contact_name) + pulumi.set(__self__, "phone", phone) + if mobile is not None: + pulumi.set(__self__, "mobile", mobile) + if phone_extension is not None: + pulumi.set(__self__, "phone_extension", phone_extension) + + @property + @pulumi.getter(name="contactName") + def contact_name(self) -> str: + """ + Contact name of the person. + """ + return pulumi.get(self, "contact_name") + + @property + @pulumi.getter + def phone(self) -> str: + """ + Phone number of the contact person. + """ + return pulumi.get(self, "phone") + + @property + @pulumi.getter + def mobile(self) -> Optional[str]: + """ + Mobile number of the contact person. + """ + return pulumi.get(self, "mobile") + + @property + @pulumi.getter(name="phoneExtension") + def phone_extension(self) -> Optional[str]: + """ + Phone extension number of the contact person. + """ + return pulumi.get(self, "phone_extension") + + def _translate_property(self, prop): + return _tables.CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop + + +@pulumi.output_type +class CostInformationResponseResult(dict): + """ + Cost information for the product system + """ + def __init__(__self__, *, + meter_details: Sequence['outputs.MeterDetailsResponseResult'], + primary_meter_type: str): + """ + Cost information for the product system + :param Sequence['MeterDetailsResponseArgs'] meter_details: Details on the various billing aspects for the product system. + :param str primary_meter_type: Primary meter i.e. basic billing type for the product system. + """ + pulumi.set(__self__, "meter_details", meter_details) + pulumi.set(__self__, "primary_meter_type", primary_meter_type) + + @property + @pulumi.getter(name="meterDetails") + def meter_details(self) -> Sequence['outputs.MeterDetailsResponseResult']: + """ + Details on the various billing aspects for the product system. + """ + return pulumi.get(self, "meter_details") + + @property + @pulumi.getter(name="primaryMeterType") + def primary_meter_type(self) -> str: + """ + Primary meter i.e. basic billing type for the product system. + """ + return pulumi.get(self, "primary_meter_type") + + +@pulumi.output_type +class DescriptionResponseResult(dict): + """ + Description related properties of a product system. + """ + def __init__(__self__, *, + attributes: Sequence[str], + description_type: str, + keywords: Sequence[str], + links: Sequence['outputs.LinkResponseResult'], + long_description: str, + short_description: str): + """ + Description related properties of a product system. + :param Sequence[str] attributes: Attributes for the product system. + :param str description_type: Type of description. + :param Sequence[str] keywords: Keywords for the product system. + :param Sequence['LinkResponseArgs'] links: Links for the product system. + :param str long_description: Long description of the product system. + :param str short_description: Short description of the product system. + """ + pulumi.set(__self__, "attributes", attributes) + pulumi.set(__self__, "description_type", description_type) + pulumi.set(__self__, "keywords", keywords) + pulumi.set(__self__, "links", links) + pulumi.set(__self__, "long_description", long_description) + pulumi.set(__self__, "short_description", short_description) + + @property + @pulumi.getter + def attributes(self) -> Sequence[str]: + """ + Attributes for the product system. + """ + return pulumi.get(self, "attributes") + + @property + @pulumi.getter(name="descriptionType") + def description_type(self) -> str: + """ + Type of description. + """ + return pulumi.get(self, "description_type") + + @property + @pulumi.getter + def keywords(self) -> Sequence[str]: + """ + Keywords for the product system. + """ + return pulumi.get(self, "keywords") + + @property + @pulumi.getter + def links(self) -> Sequence['outputs.LinkResponseResult']: + """ + Links for the product system. + """ + return pulumi.get(self, "links") + + @property + @pulumi.getter(name="longDescription") + def long_description(self) -> str: + """ + Long description of the product system. + """ + return pulumi.get(self, "long_description") + + @property + @pulumi.getter(name="shortDescription") + def short_description(self) -> str: + """ + Short description of the product system. + """ + return pulumi.get(self, "short_description") + + +@pulumi.output_type +class DeviceDetailsResponse(dict): + """ + Device details. + """ + def __init__(__self__, *, + device_history: Sequence[str], + serial_number: str): + """ + Device details. + :param Sequence[str] device_history: Package Shipping details + :param str serial_number: device serial number + """ + pulumi.set(__self__, "device_history", device_history) + pulumi.set(__self__, "serial_number", serial_number) + + @property + @pulumi.getter(name="deviceHistory") + def device_history(self) -> Sequence[str]: + """ + Package Shipping details + """ + return pulumi.get(self, "device_history") + + @property + @pulumi.getter(name="serialNumber") + def serial_number(self) -> str: + """ + device serial number + """ + return pulumi.get(self, "serial_number") + + def _translate_property(self, prop): + return _tables.CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop + + +@pulumi.output_type +class FilterablePropertyResponseResult(dict): + """ + Class defining the list of filter values on a filter type as part of configuration request. + """ + def __init__(__self__, *, + type: str, + supported_values: Optional[Sequence[str]] = None): + """ + Class defining the list of filter values on a filter type as part of configuration request. + :param str type: Type of product filter. + :param Sequence[str] supported_values: Values to be filtered. + """ + pulumi.set(__self__, "type", type) + if supported_values is not None: + pulumi.set(__self__, "supported_values", supported_values) + + @property + @pulumi.getter + def type(self) -> str: + """ + Type of product filter. + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="supportedValues") + def supported_values(self) -> Optional[Sequence[str]]: + """ + Values to be filtered. + """ + return pulumi.get(self, "supported_values") + + +@pulumi.output_type +class HierarchyInformationResponse(dict): + """ + Holds details about product hierarchy information + """ + def __init__(__self__, *, + configuration_name: Optional[str] = None, + product_family_name: Optional[str] = None, + product_line_name: Optional[str] = None, + product_name: Optional[str] = None): + """ + Holds details about product hierarchy information + :param str configuration_name: Represents configuration name that uniquely identifies configuration + :param str product_family_name: Represents product family name that uniquely identifies product family + :param str product_line_name: Represents product line name that uniquely identifies product line + :param str product_name: Represents product name that uniquely identifies product + """ + if configuration_name is not None: + pulumi.set(__self__, "configuration_name", configuration_name) + if product_family_name is not None: + pulumi.set(__self__, "product_family_name", product_family_name) + if product_line_name is not None: + pulumi.set(__self__, "product_line_name", product_line_name) + if product_name is not None: + pulumi.set(__self__, "product_name", product_name) + + @property + @pulumi.getter(name="configurationName") + def configuration_name(self) -> Optional[str]: + """ + Represents configuration name that uniquely identifies configuration + """ + return pulumi.get(self, "configuration_name") + + @property + @pulumi.getter(name="productFamilyName") + def product_family_name(self) -> Optional[str]: + """ + Represents product family name that uniquely identifies product family + """ + return pulumi.get(self, "product_family_name") + + @property + @pulumi.getter(name="productLineName") + def product_line_name(self) -> Optional[str]: + """ + Represents product line name that uniquely identifies product line + """ + return pulumi.get(self, "product_line_name") + + @property + @pulumi.getter(name="productName") + def product_name(self) -> Optional[str]: + """ + Represents product name that uniquely identifies product + """ + return pulumi.get(self, "product_name") + + def _translate_property(self, prop): + return _tables.CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop + + +@pulumi.output_type +class ImageInformationResponseResult(dict): + """ + Image for the product + """ + def __init__(__self__, *, + image_type: str, + image_url: str): + """ + Image for the product + :param str image_type: Type of the image + :param str image_url: Url of the image + """ + pulumi.set(__self__, "image_type", image_type) + pulumi.set(__self__, "image_url", image_url) + + @property + @pulumi.getter(name="imageType") + def image_type(self) -> str: + """ + Type of the image + """ + return pulumi.get(self, "image_type") + + @property + @pulumi.getter(name="imageUrl") + def image_url(self) -> str: + """ + Url of the image + """ + return pulumi.get(self, "image_url") + + +@pulumi.output_type +class LinkResponseResult(dict): + """ + Returns link related to the product + """ + def __init__(__self__, *, + link_type: str, + link_url: str): + """ + Returns link related to the product + :param str link_type: Type of link + :param str link_url: Url of the link + """ + pulumi.set(__self__, "link_type", link_type) + pulumi.set(__self__, "link_url", link_url) + + @property + @pulumi.getter(name="linkType") + def link_type(self) -> str: + """ + Type of link + """ + return pulumi.get(self, "link_type") + + @property + @pulumi.getter(name="linkUrl") + def link_url(self) -> str: + """ + Url of the link + """ + return pulumi.get(self, "link_url") + + +@pulumi.output_type +class MeterDetailsResponseResult(dict): + """ + Billing details for each meter. + """ + def __init__(__self__, *, + billing_model: 'outputs.BillingModelResponseResult', + meter_id: str, + meter_type: str): + """ + Billing details for each meter. + :param 'BillingModelResponseArgs' billing_model: Billing model to represent billing cycle, i.e. Monthly, biweekly, daily, hourly etc. + :param str meter_id: MeterId/ Billing Guid against which the product system will be charged + :param str meter_type: Category of the billing meter. + """ + pulumi.set(__self__, "billing_model", billing_model) + pulumi.set(__self__, "meter_id", meter_id) + pulumi.set(__self__, "meter_type", meter_type) + + @property + @pulumi.getter(name="billingModel") + def billing_model(self) -> 'outputs.BillingModelResponseResult': + """ + Billing model to represent billing cycle, i.e. Monthly, biweekly, daily, hourly etc. + """ + return pulumi.get(self, "billing_model") + + @property + @pulumi.getter(name="meterId") + def meter_id(self) -> str: + """ + MeterId/ Billing Guid against which the product system will be charged + """ + return pulumi.get(self, "meter_id") + + @property + @pulumi.getter(name="meterType") + def meter_type(self) -> str: + """ + Category of the billing meter. + """ + return pulumi.get(self, "meter_type") + + +@pulumi.output_type +class NotificationPreferenceResponse(dict): + """ + Notification preference for a job stage. + """ + def __init__(__self__, *, + send_notification: bool, + stage_name: str): + """ + Notification preference for a job stage. + :param bool send_notification: Notification is required or not. + :param str stage_name: Name of the stage. + """ + pulumi.set(__self__, "send_notification", send_notification) + pulumi.set(__self__, "stage_name", stage_name) + + @property + @pulumi.getter(name="sendNotification") + def send_notification(self) -> bool: + """ + Notification is required or not. + """ + return pulumi.get(self, "send_notification") + + @property + @pulumi.getter(name="stageName") + def stage_name(self) -> str: + """ + Name of the stage. + """ + return pulumi.get(self, "stage_name") + + def _translate_property(self, prop): + return _tables.CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop + + +@pulumi.output_type +class OrderDetailsResponse(dict): + """ + Order details + """ + def __init__(__self__, *, + cancellation_reason: str, + cancellation_status: str, + current_status: 'outputs.OrderStatusDetailsResponse', + deletion_status: str, + error: 'outputs.CloudErrorResponse', + forward_shipping_details: 'outputs.ShippingDetailsResponse', + management_rp_details: Any, + order_status_history: Sequence['outputs.OrderStatusDetailsResponse'], + order_type: str, + product_details: 'outputs.ProductDetailsResponse', + return_reason: str, + return_status: str, + reverse_shipping_details: 'outputs.ShippingDetailsResponse', + notification_email_list: Optional[Sequence[str]] = None, + preferences: Optional['outputs.PreferencesResponse'] = None): + """ + Order details + :param str cancellation_reason: Cancellation reason. + :param str cancellation_status: Describes whether the order is cancellable or not. + :param 'OrderStatusDetailsResponseArgs' current_status: Current Order Status + :param str deletion_status: Describes whether the order is deletable or not. + :param 'CloudErrorResponseArgs' error: Top level error for the job. + :param 'ShippingDetailsResponseArgs' forward_shipping_details: Forward Package Shipping details + :param Any management_rp_details: parent RP details + :param Sequence['OrderStatusDetailsResponseArgs'] order_status_history: Order history + :param str order_type: Order type. + :param 'ProductDetailsResponseArgs' product_details: Unique identifier for configuration. + :param str return_reason: Return reason. + :param str return_status: Describes whether the order is returnable or not. + :param 'ShippingDetailsResponseArgs' reverse_shipping_details: Reverse Package Shipping details + :param Sequence[str] notification_email_list: Package Shipping details + :param 'PreferencesResponseArgs' preferences: Customer notification Preferences + """ + pulumi.set(__self__, "cancellation_reason", cancellation_reason) + pulumi.set(__self__, "cancellation_status", cancellation_status) + pulumi.set(__self__, "current_status", current_status) + pulumi.set(__self__, "deletion_status", deletion_status) + pulumi.set(__self__, "error", error) + pulumi.set(__self__, "forward_shipping_details", forward_shipping_details) + pulumi.set(__self__, "management_rp_details", management_rp_details) + pulumi.set(__self__, "order_status_history", order_status_history) + pulumi.set(__self__, "order_type", order_type) + pulumi.set(__self__, "product_details", product_details) + pulumi.set(__self__, "return_reason", return_reason) + pulumi.set(__self__, "return_status", return_status) + pulumi.set(__self__, "reverse_shipping_details", reverse_shipping_details) + if notification_email_list is not None: + pulumi.set(__self__, "notification_email_list", notification_email_list) + if preferences is not None: + pulumi.set(__self__, "preferences", preferences) + + @property + @pulumi.getter(name="cancellationReason") + def cancellation_reason(self) -> str: + """ + Cancellation reason. + """ + return pulumi.get(self, "cancellation_reason") + + @property + @pulumi.getter(name="cancellationStatus") + def cancellation_status(self) -> str: + """ + Describes whether the order is cancellable or not. + """ + return pulumi.get(self, "cancellation_status") + + @property + @pulumi.getter(name="currentStatus") + def current_status(self) -> 'outputs.OrderStatusDetailsResponse': + """ + Current Order Status + """ + return pulumi.get(self, "current_status") + + @property + @pulumi.getter(name="deletionStatus") + def deletion_status(self) -> str: + """ + Describes whether the order is deletable or not. + """ + return pulumi.get(self, "deletion_status") + + @property + @pulumi.getter + def error(self) -> 'outputs.CloudErrorResponse': + """ + Top level error for the job. + """ + return pulumi.get(self, "error") + + @property + @pulumi.getter(name="forwardShippingDetails") + def forward_shipping_details(self) -> 'outputs.ShippingDetailsResponse': + """ + Forward Package Shipping details + """ + return pulumi.get(self, "forward_shipping_details") + + @property + @pulumi.getter(name="managementRpDetails") + def management_rp_details(self) -> Any: + """ + parent RP details + """ + return pulumi.get(self, "management_rp_details") + + @property + @pulumi.getter(name="orderStatusHistory") + def order_status_history(self) -> Sequence['outputs.OrderStatusDetailsResponse']: + """ + Order history + """ + return pulumi.get(self, "order_status_history") + + @property + @pulumi.getter(name="orderType") + def order_type(self) -> str: + """ + Order type. + """ + return pulumi.get(self, "order_type") + + @property + @pulumi.getter(name="productDetails") + def product_details(self) -> 'outputs.ProductDetailsResponse': + """ + Unique identifier for configuration. + """ + return pulumi.get(self, "product_details") + + @property + @pulumi.getter(name="returnReason") + def return_reason(self) -> str: + """ + Return reason. + """ + return pulumi.get(self, "return_reason") + + @property + @pulumi.getter(name="returnStatus") + def return_status(self) -> str: + """ + Describes whether the order is returnable or not. + """ + return pulumi.get(self, "return_status") + + @property + @pulumi.getter(name="reverseShippingDetails") + def reverse_shipping_details(self) -> 'outputs.ShippingDetailsResponse': + """ + Reverse Package Shipping details + """ + return pulumi.get(self, "reverse_shipping_details") + + @property + @pulumi.getter(name="notificationEmailList") + def notification_email_list(self) -> Optional[Sequence[str]]: + """ + Package Shipping details + """ + return pulumi.get(self, "notification_email_list") + + @property + @pulumi.getter + def preferences(self) -> Optional['outputs.PreferencesResponse']: + """ + Customer notification Preferences + """ + return pulumi.get(self, "preferences") + + def _translate_property(self, prop): + return _tables.CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop + + +@pulumi.output_type +class OrderStatusDetailsResponse(dict): + """ + Order status CurrentStatus + """ + def __init__(__self__, *, + order_status: str, + last_updated_time: Optional[str] = None): + """ + Order status CurrentStatus + :param str order_status: Order status + :param str last_updated_time: last time order was updated + """ + pulumi.set(__self__, "order_status", order_status) + if last_updated_time is not None: + pulumi.set(__self__, "last_updated_time", last_updated_time) + + @property + @pulumi.getter(name="orderStatus") + def order_status(self) -> str: + """ + Order status + """ + return pulumi.get(self, "order_status") + + @property + @pulumi.getter(name="lastUpdatedTime") + def last_updated_time(self) -> Optional[str]: + """ + last time order was updated + """ + return pulumi.get(self, "last_updated_time") + + def _translate_property(self, prop): + return _tables.CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop + + +@pulumi.output_type +class PreferencesResponse(dict): + """ + Preferences related to the order + """ + def __init__(__self__, *, + notification_preferences: Optional[Sequence['outputs.NotificationPreferenceResponse']] = None, + transport_preferences: Optional['outputs.TransportPreferencesResponse'] = None): + """ + Preferences related to the order + :param Sequence['NotificationPreferenceResponseArgs'] notification_preferences: Notification preferences. + :param 'TransportPreferencesResponseArgs' transport_preferences: Preferences related to the shipment logistics of the order. + """ + if notification_preferences is not None: + pulumi.set(__self__, "notification_preferences", notification_preferences) + if transport_preferences is not None: + pulumi.set(__self__, "transport_preferences", transport_preferences) + + @property + @pulumi.getter(name="notificationPreferences") + def notification_preferences(self) -> Optional[Sequence['outputs.NotificationPreferenceResponse']]: + """ + Notification preferences. + """ + return pulumi.get(self, "notification_preferences") + + @property + @pulumi.getter(name="transportPreferences") + def transport_preferences(self) -> Optional['outputs.TransportPreferencesResponse']: + """ + Preferences related to the shipment logistics of the order. + """ + return pulumi.get(self, "transport_preferences") + + def _translate_property(self, prop): + return _tables.CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop + + +@pulumi.output_type +class ProductDetailsResponse(dict): + """ + Represents product details + """ + def __init__(__self__, *, + device_details: Sequence['outputs.DeviceDetailsResponse'], + hierarchy_information: 'outputs.HierarchyInformationResponse', + count: Optional[int] = None): + """ + Represents product details + :param Sequence['DeviceDetailsResponseArgs'] device_details: list of device details + :param 'HierarchyInformationResponseArgs' hierarchy_information: Hierarchy of the product which uniquely identifies the product + :param int count: Quantity of the product + """ + pulumi.set(__self__, "device_details", device_details) + pulumi.set(__self__, "hierarchy_information", hierarchy_information) + if count is not None: + pulumi.set(__self__, "count", count) + + @property + @pulumi.getter(name="deviceDetails") + def device_details(self) -> Sequence['outputs.DeviceDetailsResponse']: + """ + list of device details + """ + return pulumi.get(self, "device_details") + + @property + @pulumi.getter(name="hierarchyInformation") + def hierarchy_information(self) -> 'outputs.HierarchyInformationResponse': + """ + Hierarchy of the product which uniquely identifies the product + """ + return pulumi.get(self, "hierarchy_information") + + @property + @pulumi.getter + def count(self) -> Optional[int]: + """ + Quantity of the product + """ + return pulumi.get(self, "count") + + def _translate_property(self, prop): + return _tables.CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop + + +@pulumi.output_type +class ProductFamilyResponseResult(dict): + """ + Product Family + """ + def __init__(__self__, *, + availability_information: 'outputs.AvailabilityInformationResponseResult', + cost_information: 'outputs.CostInformationResponseResult', + description: 'outputs.DescriptionResponseResult', + display_name: str, + filterable_properties: Sequence['outputs.FilterablePropertyResponseResult'], + hierarchy_information: 'outputs.HierarchyInformationResponse', + image_information: Sequence['outputs.ImageInformationResponseResult'], + product_lines: Sequence['outputs.ProductLineResponseResult']): + """ + Product Family + :param 'AvailabilityInformationResponseArgs' availability_information: Availability information of the product system. + :param 'CostInformationResponseArgs' cost_information: Cost information for the product system. + :param 'DescriptionResponseArgs' description: Description related to the product system. + :param str display_name: Display Name for the product system. + :param Sequence['FilterablePropertyResponseArgs'] filterable_properties: list of filters supported for a product + :param 'HierarchyInformationResponseArgs' hierarchy_information: Hierarchy information of the product system. + :param Sequence['ImageInformationResponseArgs'] image_information: Image information for the product system. + :param Sequence['ProductLineResponseArgs'] product_lines: List of product lines supported in the product family + """ + pulumi.set(__self__, "availability_information", availability_information) + pulumi.set(__self__, "cost_information", cost_information) + pulumi.set(__self__, "description", description) + pulumi.set(__self__, "display_name", display_name) + pulumi.set(__self__, "filterable_properties", filterable_properties) + pulumi.set(__self__, "hierarchy_information", hierarchy_information) + pulumi.set(__self__, "image_information", image_information) + pulumi.set(__self__, "product_lines", product_lines) + + @property + @pulumi.getter(name="availabilityInformation") + def availability_information(self) -> 'outputs.AvailabilityInformationResponseResult': + """ + Availability information of the product system. + """ + return pulumi.get(self, "availability_information") + + @property + @pulumi.getter(name="costInformation") + def cost_information(self) -> 'outputs.CostInformationResponseResult': + """ + Cost information for the product system. + """ + return pulumi.get(self, "cost_information") + + @property + @pulumi.getter + def description(self) -> 'outputs.DescriptionResponseResult': + """ + Description related to the product system. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> str: + """ + Display Name for the product system. + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter(name="filterableProperties") + def filterable_properties(self) -> Sequence['outputs.FilterablePropertyResponseResult']: + """ + list of filters supported for a product + """ + return pulumi.get(self, "filterable_properties") + + @property + @pulumi.getter(name="hierarchyInformation") + def hierarchy_information(self) -> 'outputs.HierarchyInformationResponse': + """ + Hierarchy information of the product system. + """ + return pulumi.get(self, "hierarchy_information") + + @property + @pulumi.getter(name="imageInformation") + def image_information(self) -> Sequence['outputs.ImageInformationResponseResult']: + """ + Image information for the product system. + """ + return pulumi.get(self, "image_information") + + @property + @pulumi.getter(name="productLines") + def product_lines(self) -> Sequence['outputs.ProductLineResponseResult']: + """ + List of product lines supported in the product family + """ + return pulumi.get(self, "product_lines") + + +@pulumi.output_type +class ProductLineResponseResult(dict): + """ + Product line + """ + def __init__(__self__, *, + availability_information: 'outputs.AvailabilityInformationResponseResult', + cost_information: 'outputs.CostInformationResponseResult', + description: 'outputs.DescriptionResponseResult', + display_name: str, + filterable_properties: Sequence['outputs.FilterablePropertyResponseResult'], + hierarchy_information: 'outputs.HierarchyInformationResponse', + image_information: Sequence['outputs.ImageInformationResponseResult'], + products: Sequence['outputs.ProductResponseResult']): + """ + Product line + :param 'AvailabilityInformationResponseArgs' availability_information: Availability information of the product system. + :param 'CostInformationResponseArgs' cost_information: Cost information for the product system. + :param 'DescriptionResponseArgs' description: Description related to the product system. + :param str display_name: Display Name for the product system. + :param Sequence['FilterablePropertyResponseArgs'] filterable_properties: list of filters supported for a product + :param 'HierarchyInformationResponseArgs' hierarchy_information: Hierarchy information of the product system. + :param Sequence['ImageInformationResponseArgs'] image_information: Image information for the product system. + :param Sequence['ProductResponseArgs'] products: List of products in the product line + """ + pulumi.set(__self__, "availability_information", availability_information) + pulumi.set(__self__, "cost_information", cost_information) + pulumi.set(__self__, "description", description) + pulumi.set(__self__, "display_name", display_name) + pulumi.set(__self__, "filterable_properties", filterable_properties) + pulumi.set(__self__, "hierarchy_information", hierarchy_information) + pulumi.set(__self__, "image_information", image_information) + pulumi.set(__self__, "products", products) + + @property + @pulumi.getter(name="availabilityInformation") + def availability_information(self) -> 'outputs.AvailabilityInformationResponseResult': + """ + Availability information of the product system. + """ + return pulumi.get(self, "availability_information") + + @property + @pulumi.getter(name="costInformation") + def cost_information(self) -> 'outputs.CostInformationResponseResult': + """ + Cost information for the product system. + """ + return pulumi.get(self, "cost_information") + + @property + @pulumi.getter + def description(self) -> 'outputs.DescriptionResponseResult': + """ + Description related to the product system. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> str: + """ + Display Name for the product system. + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter(name="filterableProperties") + def filterable_properties(self) -> Sequence['outputs.FilterablePropertyResponseResult']: + """ + list of filters supported for a product + """ + return pulumi.get(self, "filterable_properties") + + @property + @pulumi.getter(name="hierarchyInformation") + def hierarchy_information(self) -> 'outputs.HierarchyInformationResponse': + """ + Hierarchy information of the product system. + """ + return pulumi.get(self, "hierarchy_information") + + @property + @pulumi.getter(name="imageInformation") + def image_information(self) -> Sequence['outputs.ImageInformationResponseResult']: + """ + Image information for the product system. + """ + return pulumi.get(self, "image_information") + + @property + @pulumi.getter + def products(self) -> Sequence['outputs.ProductResponseResult']: + """ + List of products in the product line + """ + return pulumi.get(self, "products") + + +@pulumi.output_type +class ProductResponseResult(dict): + """ + List of Products + """ + def __init__(__self__, *, + availability_information: 'outputs.AvailabilityInformationResponseResult', + configurations: Sequence['outputs.ConfigurationResponseResult'], + cost_information: 'outputs.CostInformationResponseResult', + description: 'outputs.DescriptionResponseResult', + display_name: str, + filterable_properties: Sequence['outputs.FilterablePropertyResponseResult'], + hierarchy_information: 'outputs.HierarchyInformationResponse', + image_information: Sequence['outputs.ImageInformationResponseResult']): + """ + List of Products + :param 'AvailabilityInformationResponseArgs' availability_information: Availability information of the product system. + :param Sequence['ConfigurationResponseArgs'] configurations: List of configurations for the product + :param 'CostInformationResponseArgs' cost_information: Cost information for the product system. + :param 'DescriptionResponseArgs' description: Description related to the product system. + :param str display_name: Display Name for the product system. + :param Sequence['FilterablePropertyResponseArgs'] filterable_properties: list of filters supported for a product + :param 'HierarchyInformationResponseArgs' hierarchy_information: Hierarchy information of the product system. + :param Sequence['ImageInformationResponseArgs'] image_information: Image information for the product system. + """ + pulumi.set(__self__, "availability_information", availability_information) + pulumi.set(__self__, "configurations", configurations) + pulumi.set(__self__, "cost_information", cost_information) + pulumi.set(__self__, "description", description) + pulumi.set(__self__, "display_name", display_name) + pulumi.set(__self__, "filterable_properties", filterable_properties) + pulumi.set(__self__, "hierarchy_information", hierarchy_information) + pulumi.set(__self__, "image_information", image_information) + + @property + @pulumi.getter(name="availabilityInformation") + def availability_information(self) -> 'outputs.AvailabilityInformationResponseResult': + """ + Availability information of the product system. + """ + return pulumi.get(self, "availability_information") + + @property + @pulumi.getter + def configurations(self) -> Sequence['outputs.ConfigurationResponseResult']: + """ + List of configurations for the product + """ + return pulumi.get(self, "configurations") + + @property + @pulumi.getter(name="costInformation") + def cost_information(self) -> 'outputs.CostInformationResponseResult': + """ + Cost information for the product system. + """ + return pulumi.get(self, "cost_information") + + @property + @pulumi.getter + def description(self) -> 'outputs.DescriptionResponseResult': + """ + Description related to the product system. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> str: + """ + Display Name for the product system. + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter(name="filterableProperties") + def filterable_properties(self) -> Sequence['outputs.FilterablePropertyResponseResult']: + """ + list of filters supported for a product + """ + return pulumi.get(self, "filterable_properties") + + @property + @pulumi.getter(name="hierarchyInformation") + def hierarchy_information(self) -> 'outputs.HierarchyInformationResponse': + """ + Hierarchy information of the product system. + """ + return pulumi.get(self, "hierarchy_information") + + @property + @pulumi.getter(name="imageInformation") + def image_information(self) -> Sequence['outputs.ImageInformationResponseResult']: + """ + Image information for the product system. + """ + return pulumi.get(self, "image_information") + + +@pulumi.output_type +class ShippingAddressResponse(dict): + """ + Shipping address where customer wishes to receive the device. + """ + def __init__(__self__, *, + country: str, + street_address1: str, + address_type: Optional[str] = None, + city: Optional[str] = None, + company_name: Optional[str] = None, + postal_code: Optional[str] = None, + state_or_province: Optional[str] = None, + street_address2: Optional[str] = None, + street_address3: Optional[str] = None, + zip_extended_code: Optional[str] = None): + """ + Shipping address where customer wishes to receive the device. + :param str country: Name of the Country. + :param str street_address1: Street Address line 1. + :param str address_type: Type of address. + :param str city: Name of the City. + :param str company_name: Name of the company. + :param str postal_code: Postal code. + :param str state_or_province: Name of the State or Province. + :param str street_address2: Street Address line 2. + :param str street_address3: Street Address line 3. + :param str zip_extended_code: Extended Zip Code. + """ + pulumi.set(__self__, "country", country) + pulumi.set(__self__, "street_address1", street_address1) + if address_type is not None: + pulumi.set(__self__, "address_type", address_type) + if city is not None: + pulumi.set(__self__, "city", city) + if company_name is not None: + pulumi.set(__self__, "company_name", company_name) + if postal_code is not None: + pulumi.set(__self__, "postal_code", postal_code) + if state_or_province is not None: + pulumi.set(__self__, "state_or_province", state_or_province) + if street_address2 is not None: + pulumi.set(__self__, "street_address2", street_address2) + if street_address3 is not None: + pulumi.set(__self__, "street_address3", street_address3) + if zip_extended_code is not None: + pulumi.set(__self__, "zip_extended_code", zip_extended_code) + + @property + @pulumi.getter + def country(self) -> str: + """ + Name of the Country. + """ + return pulumi.get(self, "country") + + @property + @pulumi.getter(name="streetAddress1") + def street_address1(self) -> str: + """ + Street Address line 1. + """ + return pulumi.get(self, "street_address1") + + @property + @pulumi.getter(name="addressType") + def address_type(self) -> Optional[str]: + """ + Type of address. + """ + return pulumi.get(self, "address_type") + + @property + @pulumi.getter + def city(self) -> Optional[str]: + """ + Name of the City. + """ + return pulumi.get(self, "city") + + @property + @pulumi.getter(name="companyName") + def company_name(self) -> Optional[str]: + """ + Name of the company. + """ + return pulumi.get(self, "company_name") + + @property + @pulumi.getter(name="postalCode") + def postal_code(self) -> Optional[str]: + """ + Postal code. + """ + return pulumi.get(self, "postal_code") + + @property + @pulumi.getter(name="stateOrProvince") + def state_or_province(self) -> Optional[str]: + """ + Name of the State or Province. + """ + return pulumi.get(self, "state_or_province") + + @property + @pulumi.getter(name="streetAddress2") + def street_address2(self) -> Optional[str]: + """ + Street Address line 2. + """ + return pulumi.get(self, "street_address2") + + @property + @pulumi.getter(name="streetAddress3") + def street_address3(self) -> Optional[str]: + """ + Street Address line 3. + """ + return pulumi.get(self, "street_address3") + + @property + @pulumi.getter(name="zipExtendedCode") + def zip_extended_code(self) -> Optional[str]: + """ + Extended Zip Code. + """ + return pulumi.get(self, "zip_extended_code") + + def _translate_property(self, prop): + return _tables.CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop + + +@pulumi.output_type +class ShippingDetailsResponse(dict): + """ + Package shipping details + """ + def __init__(__self__, *, + carrier_display_name: str, + carrier_name: str, + tracking_id: str, + tracking_url: str): + """ + Package shipping details + :param str carrier_display_name: Carrier Name for display purpose. Not to be used for any processing. + :param str carrier_name: Name of the carrier. + :param str tracking_id: TrackingId of the package + :param str tracking_url: TrackingUrl of the package. + """ + pulumi.set(__self__, "carrier_display_name", carrier_display_name) + pulumi.set(__self__, "carrier_name", carrier_name) + pulumi.set(__self__, "tracking_id", tracking_id) + pulumi.set(__self__, "tracking_url", tracking_url) + + @property + @pulumi.getter(name="carrierDisplayName") + def carrier_display_name(self) -> str: + """ + Carrier Name for display purpose. Not to be used for any processing. + """ + return pulumi.get(self, "carrier_display_name") + + @property + @pulumi.getter(name="carrierName") + def carrier_name(self) -> str: + """ + Name of the carrier. + """ + return pulumi.get(self, "carrier_name") + + @property + @pulumi.getter(name="trackingId") + def tracking_id(self) -> str: + """ + TrackingId of the package + """ + return pulumi.get(self, "tracking_id") + + @property + @pulumi.getter(name="trackingUrl") + def tracking_url(self) -> str: + """ + TrackingUrl of the package. + """ + return pulumi.get(self, "tracking_url") + + def _translate_property(self, prop): + return _tables.CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop + + +@pulumi.output_type +class SpecificationResponseResult(dict): + """ + Specifications of the configurations + """ + def __init__(__self__, *, + name: str, + value: str): + """ + Specifications of the configurations + :param str name: Name of the specification + :param str value: Value of the specification + """ + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def name(self) -> str: + """ + Name of the specification + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def value(self) -> str: + """ + Value of the specification + """ + return pulumi.get(self, "value") + + +@pulumi.output_type +class SystemDataResponse(dict): + """ + Metadata pertaining to creation and last modification of the resource. + """ + 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 type of identity that last modified the resource. + :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 type of identity that last modified the resource. + """ + 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") + + def _translate_property(self, prop): + return _tables.CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop + + +@pulumi.output_type +class TransportPreferencesResponse(dict): + """ + Preferences related to the shipment logistics of the sku + """ + def __init__(__self__, *, + preferred_shipment_type: str): + """ + Preferences related to the shipment logistics of the sku + :param str preferred_shipment_type: Indicates Shipment Logistics type that the customer preferred. + """ + pulumi.set(__self__, "preferred_shipment_type", preferred_shipment_type) + + @property + @pulumi.getter(name="preferredShipmentType") + def preferred_shipment_type(self) -> str: + """ + Indicates Shipment Logistics type that the customer preferred. + """ + return pulumi.get(self, "preferred_shipment_type") + + def _translate_property(self, prop): + return _tables.CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop + + diff --git a/sdk/python/pulumi_azure_nextgen/hdinsight/v20180601preview/_inputs.py b/sdk/python/pulumi_azure_nextgen/hdinsight/v20180601preview/_inputs.py index 0dcf8cfb7c2b..7a7724084a2d 100644 --- a/sdk/python/pulumi_azure_nextgen/hdinsight/v20180601preview/_inputs.py +++ b/sdk/python/pulumi_azure_nextgen/hdinsight/v20180601preview/_inputs.py @@ -50,17 +50,21 @@ class ApplicationGetEndpointArgs: def __init__(__self__, *, destination_port: Optional[pulumi.Input[int]] = None, location: Optional[pulumi.Input[str]] = None, + private_ip_address: Optional[pulumi.Input[str]] = None, public_port: Optional[pulumi.Input[int]] = None): """ Gets the application SSH endpoint :param pulumi.Input[int] destination_port: The destination port to connect to. :param pulumi.Input[str] location: The location of the endpoint. + :param pulumi.Input[str] private_ip_address: The private ip address of the endpoint. :param pulumi.Input[int] public_port: The public port to connect to. """ if destination_port is not None: pulumi.set(__self__, "destination_port", destination_port) if location is not None: pulumi.set(__self__, "location", location) + if private_ip_address is not None: + pulumi.set(__self__, "private_ip_address", private_ip_address) if public_port is not None: pulumi.set(__self__, "public_port", public_port) @@ -88,6 +92,18 @@ def location(self) -> Optional[pulumi.Input[str]]: def location(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "location", value) + @property + @pulumi.getter(name="privateIPAddress") + def private_ip_address(self) -> Optional[pulumi.Input[str]]: + """ + The private ip address of the endpoint. + """ + 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(name="publicPort") def public_port(self) -> Optional[pulumi.Input[int]]: diff --git a/sdk/python/pulumi_azure_nextgen/hdinsight/v20180601preview/outputs.py b/sdk/python/pulumi_azure_nextgen/hdinsight/v20180601preview/outputs.py index bcb9cfe09ed7..d8ec863d2ce4 100644 --- a/sdk/python/pulumi_azure_nextgen/hdinsight/v20180601preview/outputs.py +++ b/sdk/python/pulumi_azure_nextgen/hdinsight/v20180601preview/outputs.py @@ -57,17 +57,21 @@ class ApplicationGetEndpointResponse(dict): def __init__(__self__, *, destination_port: Optional[int] = None, location: Optional[str] = None, + private_ip_address: Optional[str] = None, public_port: Optional[int] = None): """ Gets the application SSH endpoint :param int destination_port: The destination port to connect to. :param str location: The location of the endpoint. + :param str private_ip_address: The private ip address of the endpoint. :param int public_port: The public port to connect to. """ if destination_port is not None: pulumi.set(__self__, "destination_port", destination_port) if location is not None: pulumi.set(__self__, "location", location) + if private_ip_address is not None: + pulumi.set(__self__, "private_ip_address", private_ip_address) if public_port is not None: pulumi.set(__self__, "public_port", public_port) @@ -87,6 +91,14 @@ def location(self) -> Optional[str]: """ return pulumi.get(self, "location") + @property + @pulumi.getter(name="privateIPAddress") + def private_ip_address(self) -> Optional[str]: + """ + The private ip address of the endpoint. + """ + return pulumi.get(self, "private_ip_address") + @property @pulumi.getter(name="publicPort") def public_port(self) -> Optional[int]: @@ -1083,12 +1095,14 @@ def __init__(__self__, *, location: Optional[str] = None, name: Optional[str] = None, port: Optional[int] = None, + private_ip_address: Optional[str] = None, protocol: Optional[str] = None): """ The connectivity properties :param str location: The location of the endpoint. :param str name: The name of the endpoint. :param int port: The port to connect to. + :param str private_ip_address: The private ip address of the endpoint. :param str protocol: The protocol of the endpoint. """ if location is not None: @@ -1097,6 +1111,8 @@ def __init__(__self__, *, pulumi.set(__self__, "name", name) if port is not None: pulumi.set(__self__, "port", port) + if private_ip_address is not None: + pulumi.set(__self__, "private_ip_address", private_ip_address) if protocol is not None: pulumi.set(__self__, "protocol", protocol) @@ -1124,6 +1140,14 @@ def port(self) -> Optional[int]: """ return pulumi.get(self, "port") + @property + @pulumi.getter(name="privateIPAddress") + def private_ip_address(self) -> Optional[str]: + """ + The private ip address of the endpoint. + """ + return pulumi.get(self, "private_ip_address") + @property @pulumi.getter def protocol(self) -> Optional[str]: diff --git a/sdk/python/pulumi_azure_nextgen/healthcareapis/__init__.py b/sdk/python/pulumi_azure_nextgen/healthcareapis/__init__.py index 74ff8d3c663b..6fa053ec7661 100644 --- a/sdk/python/pulumi_azure_nextgen/healthcareapis/__init__.py +++ b/sdk/python/pulumi_azure_nextgen/healthcareapis/__init__.py @@ -10,4 +10,5 @@ v20190916, v20200315, v20200330, + v20210111, ) diff --git a/sdk/python/pulumi_azure_nextgen/healthcareapis/latest/_inputs.py b/sdk/python/pulumi_azure_nextgen/healthcareapis/latest/_inputs.py index ff3175fd6f1b..aa94fd4fa0a5 100644 --- a/sdk/python/pulumi_azure_nextgen/healthcareapis/latest/_inputs.py +++ b/sdk/python/pulumi_azure_nextgen/healthcareapis/latest/_inputs.py @@ -13,6 +13,7 @@ 'PrivateEndpointConnectionArgs', 'PrivateLinkServiceConnectionStateArgs', 'ServiceAccessPolicyEntryArgs', + 'ServiceAcrConfigurationInfoArgs', 'ServiceAuthenticationConfigurationInfoArgs', 'ServiceCorsConfigurationInfoArgs', 'ServiceCosmosDbConfigurationInfoArgs', @@ -123,6 +124,30 @@ def object_id(self, value: pulumi.Input[str]): pulumi.set(self, "object_id", value) +@pulumi.input_type +class ServiceAcrConfigurationInfoArgs: + def __init__(__self__, *, + login_servers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + """ + Azure container registry configuration information + :param pulumi.Input[Sequence[pulumi.Input[str]]] login_servers: The list of the ACR login servers. + """ + if login_servers is not None: + pulumi.set(__self__, "login_servers", login_servers) + + @property + @pulumi.getter(name="loginServers") + def login_servers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + The list of the ACR login servers. + """ + return pulumi.get(self, "login_servers") + + @login_servers.setter + def login_servers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "login_servers", value) + + @pulumi.input_type class ServiceAuthenticationConfigurationInfoArgs: def __init__(__self__, *, @@ -335,6 +360,7 @@ def storage_account_name(self, value: Optional[pulumi.Input[str]]): class ServicesPropertiesArgs: def __init__(__self__, *, access_policies: Optional[pulumi.Input[Sequence[pulumi.Input['ServiceAccessPolicyEntryArgs']]]] = None, + acr_configuration: Optional[pulumi.Input['ServiceAcrConfigurationInfoArgs']] = None, authentication_configuration: Optional[pulumi.Input['ServiceAuthenticationConfigurationInfoArgs']] = None, cors_configuration: Optional[pulumi.Input['ServiceCorsConfigurationInfoArgs']] = None, cosmos_db_configuration: Optional[pulumi.Input['ServiceCosmosDbConfigurationInfoArgs']] = None, @@ -344,6 +370,7 @@ def __init__(__self__, *, """ The properties of a service instance. :param pulumi.Input[Sequence[pulumi.Input['ServiceAccessPolicyEntryArgs']]] access_policies: The access policies of the service instance. + :param pulumi.Input['ServiceAcrConfigurationInfoArgs'] acr_configuration: The azure container registry settings used for convert data operation of the service instance. :param pulumi.Input['ServiceAuthenticationConfigurationInfoArgs'] authentication_configuration: The authentication configuration for the service instance. :param pulumi.Input['ServiceCorsConfigurationInfoArgs'] cors_configuration: The settings for the CORS configuration of the service instance. :param pulumi.Input['ServiceCosmosDbConfigurationInfoArgs'] cosmos_db_configuration: The settings for the Cosmos DB database backing the service. @@ -353,6 +380,8 @@ def __init__(__self__, *, """ if access_policies is not None: pulumi.set(__self__, "access_policies", access_policies) + if acr_configuration is not None: + pulumi.set(__self__, "acr_configuration", acr_configuration) if authentication_configuration is not None: pulumi.set(__self__, "authentication_configuration", authentication_configuration) if cors_configuration is not None: @@ -378,6 +407,18 @@ def access_policies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['Servic def access_policies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ServiceAccessPolicyEntryArgs']]]]): pulumi.set(self, "access_policies", value) + @property + @pulumi.getter(name="acrConfiguration") + def acr_configuration(self) -> Optional[pulumi.Input['ServiceAcrConfigurationInfoArgs']]: + """ + The azure container registry settings used for convert data operation of the service instance. + """ + return pulumi.get(self, "acr_configuration") + + @acr_configuration.setter + def acr_configuration(self, value: Optional[pulumi.Input['ServiceAcrConfigurationInfoArgs']]): + pulumi.set(self, "acr_configuration", value) + @property @pulumi.getter(name="authenticationConfiguration") def authentication_configuration(self) -> Optional[pulumi.Input['ServiceAuthenticationConfigurationInfoArgs']]: diff --git a/sdk/python/pulumi_azure_nextgen/healthcareapis/latest/get_private_endpoint_connection.py b/sdk/python/pulumi_azure_nextgen/healthcareapis/latest/get_private_endpoint_connection.py index 4fd606a43452..d6a49a7901da 100644 --- a/sdk/python/pulumi_azure_nextgen/healthcareapis/latest/get_private_endpoint_connection.py +++ b/sdk/python/pulumi_azure_nextgen/healthcareapis/latest/get_private_endpoint_connection.py @@ -20,7 +20,7 @@ class GetPrivateEndpointConnectionResult: """ The Private Endpoint Connection resource. """ - def __init__(__self__, id=None, name=None, private_endpoint=None, private_link_service_connection_state=None, provisioning_state=None, type=None): + def __init__(__self__, id=None, name=None, private_endpoint=None, private_link_service_connection_state=None, provisioning_state=None, system_data=None, type=None): if id and not isinstance(id, str): raise TypeError("Expected argument 'id' to be a str") pulumi.set(__self__, "id", id) @@ -36,6 +36,9 @@ def __init__(__self__, id=None, name=None, private_endpoint=None, private_link_s 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 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) @@ -80,6 +83,14 @@ def provisioning_state(self) -> str: """ return pulumi.get(self, "provisioning_state") + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + System metadata for this resource. + """ + return pulumi.get(self, "system_data") + @property @pulumi.getter def type(self) -> str: @@ -100,6 +111,7 @@ def __await__(self): private_endpoint=self.private_endpoint, private_link_service_connection_state=self.private_link_service_connection_state, provisioning_state=self.provisioning_state, + system_data=self.system_data, type=self.type) @@ -130,4 +142,5 @@ def get_private_endpoint_connection(private_endpoint_connection_name: Optional[s private_endpoint=__ret__.private_endpoint, private_link_service_connection_state=__ret__.private_link_service_connection_state, provisioning_state=__ret__.provisioning_state, + system_data=__ret__.system_data, type=__ret__.type) diff --git a/sdk/python/pulumi_azure_nextgen/healthcareapis/latest/get_service.py b/sdk/python/pulumi_azure_nextgen/healthcareapis/latest/get_service.py index cceb7905842f..71b80ca8076e 100644 --- a/sdk/python/pulumi_azure_nextgen/healthcareapis/latest/get_service.py +++ b/sdk/python/pulumi_azure_nextgen/healthcareapis/latest/get_service.py @@ -20,7 +20,7 @@ class GetServiceResult: """ The description of the service. """ - def __init__(__self__, etag=None, id=None, identity=None, kind=None, location=None, name=None, properties=None, tags=None, type=None): + def __init__(__self__, etag=None, id=None, identity=None, kind=None, location=None, name=None, properties=None, system_data=None, tags=None, type=None): if etag and not isinstance(etag, str): raise TypeError("Expected argument 'etag' to be a str") pulumi.set(__self__, "etag", etag) @@ -42,6 +42,9 @@ def __init__(__self__, etag=None, id=None, identity=None, kind=None, location=No if properties and not isinstance(properties, dict): raise TypeError("Expected argument 'properties' to be a dict") pulumi.set(__self__, "properties", properties) + 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) @@ -105,6 +108,14 @@ def properties(self) -> 'outputs.ServicesPropertiesResponse': """ return pulumi.get(self, "properties") + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Metadata pertaining to creation and last modification of the resource. + """ + return pulumi.get(self, "system_data") + @property @pulumi.getter def tags(self) -> Optional[Mapping[str, str]]: @@ -135,6 +146,7 @@ def __await__(self): location=self.location, name=self.name, properties=self.properties, + system_data=self.system_data, tags=self.tags, type=self.type) @@ -165,5 +177,6 @@ def get_service(resource_group_name: Optional[str] = None, location=__ret__.location, name=__ret__.name, properties=__ret__.properties, + system_data=__ret__.system_data, tags=__ret__.tags, type=__ret__.type) diff --git a/sdk/python/pulumi_azure_nextgen/healthcareapis/latest/outputs.py b/sdk/python/pulumi_azure_nextgen/healthcareapis/latest/outputs.py index 800f4fd6123a..4c8cf745a737 100644 --- a/sdk/python/pulumi_azure_nextgen/healthcareapis/latest/outputs.py +++ b/sdk/python/pulumi_azure_nextgen/healthcareapis/latest/outputs.py @@ -15,12 +15,14 @@ 'PrivateEndpointResponse', 'PrivateLinkServiceConnectionStateResponse', 'ServiceAccessPolicyEntryResponse', + 'ServiceAcrConfigurationInfoResponse', 'ServiceAuthenticationConfigurationInfoResponse', 'ServiceCorsConfigurationInfoResponse', 'ServiceCosmosDbConfigurationInfoResponse', 'ServiceExportConfigurationInfoResponse', 'ServicesPropertiesResponse', 'ServicesResourceResponseIdentity', + 'SystemDataResponse', ] @pulumi.output_type @@ -204,6 +206,32 @@ def _translate_property(self, prop): return _tables.CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop +@pulumi.output_type +class ServiceAcrConfigurationInfoResponse(dict): + """ + Azure container registry configuration information + """ + def __init__(__self__, *, + login_servers: Optional[Sequence[str]] = None): + """ + Azure container registry configuration information + :param Sequence[str] login_servers: The list of the ACR login servers. + """ + if login_servers is not None: + pulumi.set(__self__, "login_servers", login_servers) + + @property + @pulumi.getter(name="loginServers") + def login_servers(self) -> Optional[Sequence[str]]: + """ + The list of the ACR login servers. + """ + return pulumi.get(self, "login_servers") + + def _translate_property(self, prop): + return _tables.CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop + + @pulumi.output_type class ServiceAuthenticationConfigurationInfoResponse(dict): """ @@ -400,6 +428,7 @@ class ServicesPropertiesResponse(dict): def __init__(__self__, *, provisioning_state: str, access_policies: Optional[Sequence['outputs.ServiceAccessPolicyEntryResponse']] = None, + acr_configuration: Optional['outputs.ServiceAcrConfigurationInfoResponse'] = None, authentication_configuration: Optional['outputs.ServiceAuthenticationConfigurationInfoResponse'] = None, cors_configuration: Optional['outputs.ServiceCorsConfigurationInfoResponse'] = None, cosmos_db_configuration: Optional['outputs.ServiceCosmosDbConfigurationInfoResponse'] = None, @@ -410,6 +439,7 @@ def __init__(__self__, *, The properties of a service instance. :param str provisioning_state: The provisioning state. :param Sequence['ServiceAccessPolicyEntryResponseArgs'] access_policies: The access policies of the service instance. + :param 'ServiceAcrConfigurationInfoResponseArgs' acr_configuration: The azure container registry settings used for convert data operation of the service instance. :param 'ServiceAuthenticationConfigurationInfoResponseArgs' authentication_configuration: The authentication configuration for the service instance. :param 'ServiceCorsConfigurationInfoResponseArgs' cors_configuration: The settings for the CORS configuration of the service instance. :param 'ServiceCosmosDbConfigurationInfoResponseArgs' cosmos_db_configuration: The settings for the Cosmos DB database backing the service. @@ -420,6 +450,8 @@ def __init__(__self__, *, pulumi.set(__self__, "provisioning_state", provisioning_state) if access_policies is not None: pulumi.set(__self__, "access_policies", access_policies) + if acr_configuration is not None: + pulumi.set(__self__, "acr_configuration", acr_configuration) if authentication_configuration is not None: pulumi.set(__self__, "authentication_configuration", authentication_configuration) if cors_configuration is not None: @@ -449,6 +481,14 @@ def access_policies(self) -> Optional[Sequence['outputs.ServiceAccessPolicyEntry """ return pulumi.get(self, "access_policies") + @property + @pulumi.getter(name="acrConfiguration") + def acr_configuration(self) -> Optional['outputs.ServiceAcrConfigurationInfoResponse']: + """ + The azure container registry settings used for convert data operation of the service instance. + """ + return pulumi.get(self, "acr_configuration") + @property @pulumi.getter(name="authenticationConfiguration") def authentication_configuration(self) -> Optional['outputs.ServiceAuthenticationConfigurationInfoResponse']: @@ -549,3 +589,89 @@ def _translate_property(self, prop): return _tables.CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop +@pulumi.output_type +class SystemDataResponse(dict): + """ + Metadata pertaining to creation and last modification of the resource. + """ + 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 type of identity that last modified the resource. + :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 type of identity that last modified the resource. + """ + 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") + + def _translate_property(self, prop): + return _tables.CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop + + diff --git a/sdk/python/pulumi_azure_nextgen/healthcareapis/latest/private_endpoint_connection.py b/sdk/python/pulumi_azure_nextgen/healthcareapis/latest/private_endpoint_connection.py index c3fccb75236f..3601a7443d56 100644 --- a/sdk/python/pulumi_azure_nextgen/healthcareapis/latest/private_endpoint_connection.py +++ b/sdk/python/pulumi_azure_nextgen/healthcareapis/latest/private_endpoint_connection.py @@ -27,7 +27,7 @@ def __init__(__self__, __opts__=None): """ The Private Endpoint Connection resource. - Latest API Version: 2020-03-30. + Latest API Version: 2021-01-11. :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. @@ -68,8 +68,9 @@ def __init__(__self__, __props__['name'] = None __props__['private_endpoint'] = None __props__['provisioning_state'] = None + __props__['system_data'] = None __props__['type'] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-nextgen:healthcareapis/v20200330:PrivateEndpointConnection")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-nextgen:healthcareapis/v20200330:PrivateEndpointConnection"), pulumi.Alias(type_="azure-nextgen:healthcareapis/v20210111:PrivateEndpointConnection")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(PrivateEndpointConnection, __self__).__init__( 'azure-nextgen:healthcareapis/latest:PrivateEndpointConnection', @@ -127,6 +128,14 @@ def provisioning_state(self) -> pulumi.Output[str]: """ return pulumi.get(self, "provisioning_state") + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + System metadata for this resource. + """ + return pulumi.get(self, "system_data") + @property @pulumi.getter def type(self) -> pulumi.Output[str]: diff --git a/sdk/python/pulumi_azure_nextgen/healthcareapis/latest/service.py b/sdk/python/pulumi_azure_nextgen/healthcareapis/latest/service.py index 0bbf1f22c506..2b6eeac414ad 100644 --- a/sdk/python/pulumi_azure_nextgen/healthcareapis/latest/service.py +++ b/sdk/python/pulumi_azure_nextgen/healthcareapis/latest/service.py @@ -31,7 +31,7 @@ def __init__(__self__, __opts__=None): """ The description of the service. - Latest API Version: 2020-03-30. + Latest API Version: 2021-01-11. :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. @@ -78,8 +78,9 @@ def __init__(__self__, __props__['resource_name'] = resource_name_ __props__['tags'] = tags __props__['name'] = None + __props__['system_data'] = None __props__['type'] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-nextgen:healthcareapis/v20180820preview:Service"), pulumi.Alias(type_="azure-nextgen:healthcareapis/v20190916:Service"), pulumi.Alias(type_="azure-nextgen:healthcareapis/v20200315:Service"), pulumi.Alias(type_="azure-nextgen:healthcareapis/v20200330:Service")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-nextgen:healthcareapis/v20180820preview:Service"), pulumi.Alias(type_="azure-nextgen:healthcareapis/v20190916:Service"), pulumi.Alias(type_="azure-nextgen:healthcareapis/v20200315:Service"), pulumi.Alias(type_="azure-nextgen:healthcareapis/v20200330:Service"), pulumi.Alias(type_="azure-nextgen:healthcareapis/v20210111:Service")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Service, __self__).__init__( 'azure-nextgen:healthcareapis/latest:Service', @@ -153,6 +154,14 @@ def properties(self) -> pulumi.Output['outputs.ServicesPropertiesResponse']: """ return pulumi.get(self, "properties") + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Metadata pertaining to creation and last modification of the resource. + """ + return pulumi.get(self, "system_data") + @property @pulumi.getter def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: diff --git a/sdk/python/pulumi_azure_nextgen/healthcareapis/v20180820preview/service.py b/sdk/python/pulumi_azure_nextgen/healthcareapis/v20180820preview/service.py index 6014297ce89d..0fcdbdf984b6 100644 --- a/sdk/python/pulumi_azure_nextgen/healthcareapis/v20180820preview/service.py +++ b/sdk/python/pulumi_azure_nextgen/healthcareapis/v20180820preview/service.py @@ -75,7 +75,7 @@ def __init__(__self__, __props__['tags'] = tags __props__['name'] = None __props__['type'] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-nextgen:healthcareapis/latest:Service"), pulumi.Alias(type_="azure-nextgen:healthcareapis/v20190916:Service"), pulumi.Alias(type_="azure-nextgen:healthcareapis/v20200315:Service"), pulumi.Alias(type_="azure-nextgen:healthcareapis/v20200330:Service")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-nextgen:healthcareapis/latest:Service"), pulumi.Alias(type_="azure-nextgen:healthcareapis/v20190916:Service"), pulumi.Alias(type_="azure-nextgen:healthcareapis/v20200315:Service"), pulumi.Alias(type_="azure-nextgen:healthcareapis/v20200330:Service"), pulumi.Alias(type_="azure-nextgen:healthcareapis/v20210111:Service")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Service, __self__).__init__( 'azure-nextgen:healthcareapis/v20180820preview:Service', diff --git a/sdk/python/pulumi_azure_nextgen/healthcareapis/v20190916/service.py b/sdk/python/pulumi_azure_nextgen/healthcareapis/v20190916/service.py index 5b4ac247b0ba..3646bb167a97 100644 --- a/sdk/python/pulumi_azure_nextgen/healthcareapis/v20190916/service.py +++ b/sdk/python/pulumi_azure_nextgen/healthcareapis/v20190916/service.py @@ -78,7 +78,7 @@ def __init__(__self__, __props__['tags'] = tags __props__['name'] = None __props__['type'] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-nextgen:healthcareapis/latest:Service"), pulumi.Alias(type_="azure-nextgen:healthcareapis/v20180820preview:Service"), pulumi.Alias(type_="azure-nextgen:healthcareapis/v20200315:Service"), pulumi.Alias(type_="azure-nextgen:healthcareapis/v20200330:Service")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-nextgen:healthcareapis/latest:Service"), pulumi.Alias(type_="azure-nextgen:healthcareapis/v20180820preview:Service"), pulumi.Alias(type_="azure-nextgen:healthcareapis/v20200315:Service"), pulumi.Alias(type_="azure-nextgen:healthcareapis/v20200330:Service"), pulumi.Alias(type_="azure-nextgen:healthcareapis/v20210111:Service")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Service, __self__).__init__( 'azure-nextgen:healthcareapis/v20190916:Service', diff --git a/sdk/python/pulumi_azure_nextgen/healthcareapis/v20200315/service.py b/sdk/python/pulumi_azure_nextgen/healthcareapis/v20200315/service.py index ea635943dfbf..ae5224a90d90 100644 --- a/sdk/python/pulumi_azure_nextgen/healthcareapis/v20200315/service.py +++ b/sdk/python/pulumi_azure_nextgen/healthcareapis/v20200315/service.py @@ -78,7 +78,7 @@ def __init__(__self__, __props__['tags'] = tags __props__['name'] = None __props__['type'] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-nextgen:healthcareapis/latest:Service"), pulumi.Alias(type_="azure-nextgen:healthcareapis/v20180820preview:Service"), pulumi.Alias(type_="azure-nextgen:healthcareapis/v20190916:Service"), pulumi.Alias(type_="azure-nextgen:healthcareapis/v20200330:Service")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-nextgen:healthcareapis/latest:Service"), pulumi.Alias(type_="azure-nextgen:healthcareapis/v20180820preview:Service"), pulumi.Alias(type_="azure-nextgen:healthcareapis/v20190916:Service"), pulumi.Alias(type_="azure-nextgen:healthcareapis/v20200330:Service"), pulumi.Alias(type_="azure-nextgen:healthcareapis/v20210111:Service")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Service, __self__).__init__( 'azure-nextgen:healthcareapis/v20200315:Service', diff --git a/sdk/python/pulumi_azure_nextgen/healthcareapis/v20200330/private_endpoint_connection.py b/sdk/python/pulumi_azure_nextgen/healthcareapis/v20200330/private_endpoint_connection.py index 79669e3c66a9..2f3736d9a538 100644 --- a/sdk/python/pulumi_azure_nextgen/healthcareapis/v20200330/private_endpoint_connection.py +++ b/sdk/python/pulumi_azure_nextgen/healthcareapis/v20200330/private_endpoint_connection.py @@ -68,7 +68,7 @@ def __init__(__self__, __props__['private_endpoint'] = None __props__['provisioning_state'] = None __props__['type'] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-nextgen:healthcareapis/latest:PrivateEndpointConnection")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-nextgen:healthcareapis/latest:PrivateEndpointConnection"), pulumi.Alias(type_="azure-nextgen:healthcareapis/v20210111:PrivateEndpointConnection")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(PrivateEndpointConnection, __self__).__init__( 'azure-nextgen:healthcareapis/v20200330:PrivateEndpointConnection', diff --git a/sdk/python/pulumi_azure_nextgen/healthcareapis/v20200330/service.py b/sdk/python/pulumi_azure_nextgen/healthcareapis/v20200330/service.py index fe24c4ea99d9..a3ce42750dd6 100644 --- a/sdk/python/pulumi_azure_nextgen/healthcareapis/v20200330/service.py +++ b/sdk/python/pulumi_azure_nextgen/healthcareapis/v20200330/service.py @@ -78,7 +78,7 @@ def __init__(__self__, __props__['tags'] = tags __props__['name'] = None __props__['type'] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-nextgen:healthcareapis/latest:Service"), pulumi.Alias(type_="azure-nextgen:healthcareapis/v20180820preview:Service"), pulumi.Alias(type_="azure-nextgen:healthcareapis/v20190916:Service"), pulumi.Alias(type_="azure-nextgen:healthcareapis/v20200315:Service")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-nextgen:healthcareapis/latest:Service"), pulumi.Alias(type_="azure-nextgen:healthcareapis/v20180820preview:Service"), pulumi.Alias(type_="azure-nextgen:healthcareapis/v20190916:Service"), pulumi.Alias(type_="azure-nextgen:healthcareapis/v20200315:Service"), pulumi.Alias(type_="azure-nextgen:healthcareapis/v20210111:Service")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Service, __self__).__init__( 'azure-nextgen:healthcareapis/v20200330:Service', diff --git a/sdk/python/pulumi_azure_nextgen/healthcareapis/v20210111/__init__.py b/sdk/python/pulumi_azure_nextgen/healthcareapis/v20210111/__init__.py new file mode 100644 index 000000000000..f808a69b8647 --- /dev/null +++ b/sdk/python/pulumi_azure_nextgen/healthcareapis/v20210111/__init__.py @@ -0,0 +1,37 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi SDK Generator. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +# Export this package's modules as members: +from ._enums import * +from .get_private_endpoint_connection import * +from .get_service import * +from .private_endpoint_connection import * +from .service import * +from ._inputs import * +from . import outputs + +def _register_module(): + import pulumi + from ... import _utilities + + + class Module(pulumi.runtime.ResourceModule): + _version = _utilities.get_semver_version() + + def version(self): + return Module._version + + def construct(self, name: str, typ: str, urn: str) -> pulumi.Resource: + if typ == "azure-nextgen:healthcareapis/v20210111:PrivateEndpointConnection": + return PrivateEndpointConnection(name, pulumi.ResourceOptions(urn=urn)) + elif typ == "azure-nextgen:healthcareapis/v20210111:Service": + return Service(name, pulumi.ResourceOptions(urn=urn)) + else: + raise Exception(f"unknown resource type {typ}") + + + _module_instance = Module() + pulumi.runtime.register_resource_module("azure-nextgen", "healthcareapis/v20210111", _module_instance) + +_register_module() diff --git a/sdk/python/pulumi_azure_nextgen/healthcareapis/v20210111/_enums.py b/sdk/python/pulumi_azure_nextgen/healthcareapis/v20210111/_enums.py new file mode 100644 index 000000000000..d66133add19e --- /dev/null +++ b/sdk/python/pulumi_azure_nextgen/healthcareapis/v20210111/_enums.py @@ -0,0 +1,46 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi SDK Generator. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +from enum import Enum + +__all__ = [ + 'Kind', + 'ManagedServiceIdentityType', + 'PrivateEndpointServiceConnectionStatus', + 'PublicNetworkAccess', +] + + +class Kind(str, Enum): + """ + The kind of the service. + """ + FHIR = "fhir" + FHIR_STU3 = "fhir-Stu3" + FHIR_R4 = "fhir-R4" + + +class ManagedServiceIdentityType(str, Enum): + """ + Type of identity being specified, currently SystemAssigned and None are allowed. + """ + SYSTEM_ASSIGNED = "SystemAssigned" + NONE = "None" + + +class PrivateEndpointServiceConnectionStatus(str, Enum): + """ + Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. + """ + PENDING = "Pending" + APPROVED = "Approved" + REJECTED = "Rejected" + + +class PublicNetworkAccess(str, Enum): + """ + Control permission for data plane traffic coming from public networks while private endpoint is enabled. + """ + ENABLED = "Enabled" + DISABLED = "Disabled" diff --git a/sdk/python/pulumi_azure_nextgen/healthcareapis/v20210111/_inputs.py b/sdk/python/pulumi_azure_nextgen/healthcareapis/v20210111/_inputs.py new file mode 100644 index 000000000000..aa94fd4fa0a5 --- /dev/null +++ b/sdk/python/pulumi_azure_nextgen/healthcareapis/v20210111/_inputs.py @@ -0,0 +1,518 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi SDK Generator. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union +from ... import _utilities, _tables +from ._enums import * + +__all__ = [ + 'PrivateEndpointConnectionArgs', + 'PrivateLinkServiceConnectionStateArgs', + 'ServiceAccessPolicyEntryArgs', + 'ServiceAcrConfigurationInfoArgs', + 'ServiceAuthenticationConfigurationInfoArgs', + 'ServiceCorsConfigurationInfoArgs', + 'ServiceCosmosDbConfigurationInfoArgs', + 'ServiceExportConfigurationInfoArgs', + 'ServicesPropertiesArgs', + 'ServicesResourceIdentityArgs', +] + +@pulumi.input_type +class PrivateEndpointConnectionArgs: + def __init__(__self__, *, + private_link_service_connection_state: pulumi.Input['PrivateLinkServiceConnectionStateArgs']): + """ + The Private Endpoint Connection resource. + :param pulumi.Input['PrivateLinkServiceConnectionStateArgs'] private_link_service_connection_state: A collection of information about the state of the connection between service consumer and provider. + """ + pulumi.set(__self__, "private_link_service_connection_state", private_link_service_connection_state) + + @property + @pulumi.getter(name="privateLinkServiceConnectionState") + def private_link_service_connection_state(self) -> pulumi.Input['PrivateLinkServiceConnectionStateArgs']: + """ + A collection of information about the state of the connection between service consumer and provider. + """ + return pulumi.get(self, "private_link_service_connection_state") + + @private_link_service_connection_state.setter + def private_link_service_connection_state(self, value: pulumi.Input['PrivateLinkServiceConnectionStateArgs']): + pulumi.set(self, "private_link_service_connection_state", value) + + +@pulumi.input_type +class PrivateLinkServiceConnectionStateArgs: + def __init__(__self__, *, + actions_required: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + status: Optional[pulumi.Input[Union[str, 'PrivateEndpointServiceConnectionStatus']]] = None): + """ + A collection of information about the state of the connection between service consumer and provider. + :param pulumi.Input[str] actions_required: A message indicating if changes on the service provider require any updates on the consumer. + :param pulumi.Input[str] description: The reason for approval/rejection of the connection. + :param pulumi.Input[Union[str, 'PrivateEndpointServiceConnectionStatus']] status: Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. + """ + 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 message indicating if changes on the service provider require any updates on the consumer. + """ + 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 reason for approval/rejection of the connection. + """ + 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[Union[str, 'PrivateEndpointServiceConnectionStatus']]]: + """ + Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. + """ + return pulumi.get(self, "status") + + @status.setter + def status(self, value: Optional[pulumi.Input[Union[str, 'PrivateEndpointServiceConnectionStatus']]]): + pulumi.set(self, "status", value) + + +@pulumi.input_type +class ServiceAccessPolicyEntryArgs: + def __init__(__self__, *, + object_id: pulumi.Input[str]): + """ + An access policy entry. + :param pulumi.Input[str] object_id: An Azure AD object ID (User or Apps) that is allowed access to the FHIR service. + """ + pulumi.set(__self__, "object_id", object_id) + + @property + @pulumi.getter(name="objectId") + def object_id(self) -> pulumi.Input[str]: + """ + An Azure AD object ID (User or Apps) that is allowed access to the FHIR service. + """ + return pulumi.get(self, "object_id") + + @object_id.setter + def object_id(self, value: pulumi.Input[str]): + pulumi.set(self, "object_id", value) + + +@pulumi.input_type +class ServiceAcrConfigurationInfoArgs: + def __init__(__self__, *, + login_servers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + """ + Azure container registry configuration information + :param pulumi.Input[Sequence[pulumi.Input[str]]] login_servers: The list of the ACR login servers. + """ + if login_servers is not None: + pulumi.set(__self__, "login_servers", login_servers) + + @property + @pulumi.getter(name="loginServers") + def login_servers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + The list of the ACR login servers. + """ + return pulumi.get(self, "login_servers") + + @login_servers.setter + def login_servers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "login_servers", value) + + +@pulumi.input_type +class ServiceAuthenticationConfigurationInfoArgs: + def __init__(__self__, *, + audience: Optional[pulumi.Input[str]] = None, + authority: Optional[pulumi.Input[str]] = None, + smart_proxy_enabled: Optional[pulumi.Input[bool]] = None): + """ + Authentication configuration information + :param pulumi.Input[str] audience: The audience url for the service + :param pulumi.Input[str] authority: The authority url for the service + :param pulumi.Input[bool] smart_proxy_enabled: If the SMART on FHIR proxy is enabled + """ + if audience is not None: + pulumi.set(__self__, "audience", audience) + if authority is not None: + pulumi.set(__self__, "authority", authority) + if smart_proxy_enabled is not None: + pulumi.set(__self__, "smart_proxy_enabled", smart_proxy_enabled) + + @property + @pulumi.getter + def audience(self) -> Optional[pulumi.Input[str]]: + """ + The audience url for the service + """ + return pulumi.get(self, "audience") + + @audience.setter + def audience(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "audience", value) + + @property + @pulumi.getter + def authority(self) -> Optional[pulumi.Input[str]]: + """ + The authority url for the service + """ + return pulumi.get(self, "authority") + + @authority.setter + def authority(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "authority", value) + + @property + @pulumi.getter(name="smartProxyEnabled") + def smart_proxy_enabled(self) -> Optional[pulumi.Input[bool]]: + """ + If the SMART on FHIR proxy is enabled + """ + return pulumi.get(self, "smart_proxy_enabled") + + @smart_proxy_enabled.setter + def smart_proxy_enabled(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "smart_proxy_enabled", value) + + +@pulumi.input_type +class ServiceCorsConfigurationInfoArgs: + def __init__(__self__, *, + allow_credentials: Optional[pulumi.Input[bool]] = None, + headers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + max_age: Optional[pulumi.Input[int]] = None, + methods: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + origins: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + """ + The settings for the CORS configuration of the service instance. + :param pulumi.Input[bool] allow_credentials: If credentials are allowed via CORS. + :param pulumi.Input[Sequence[pulumi.Input[str]]] headers: The headers to be allowed via CORS. + :param pulumi.Input[int] max_age: The max age to be allowed via CORS. + :param pulumi.Input[Sequence[pulumi.Input[str]]] methods: The methods to be allowed via CORS. + :param pulumi.Input[Sequence[pulumi.Input[str]]] origins: The origins to be allowed via CORS. + """ + if allow_credentials is not None: + pulumi.set(__self__, "allow_credentials", allow_credentials) + if headers is not None: + pulumi.set(__self__, "headers", headers) + if max_age is not None: + pulumi.set(__self__, "max_age", max_age) + if methods is not None: + pulumi.set(__self__, "methods", methods) + if origins is not None: + pulumi.set(__self__, "origins", origins) + + @property + @pulumi.getter(name="allowCredentials") + def allow_credentials(self) -> Optional[pulumi.Input[bool]]: + """ + If credentials are allowed via CORS. + """ + return pulumi.get(self, "allow_credentials") + + @allow_credentials.setter + def allow_credentials(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "allow_credentials", value) + + @property + @pulumi.getter + def headers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + The headers to be allowed via CORS. + """ + return pulumi.get(self, "headers") + + @headers.setter + def headers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "headers", value) + + @property + @pulumi.getter(name="maxAge") + def max_age(self) -> Optional[pulumi.Input[int]]: + """ + The max age to be allowed via CORS. + """ + return pulumi.get(self, "max_age") + + @max_age.setter + def max_age(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "max_age", value) + + @property + @pulumi.getter + def methods(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + The methods to be allowed via CORS. + """ + return pulumi.get(self, "methods") + + @methods.setter + def methods(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "methods", value) + + @property + @pulumi.getter + def origins(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + The origins to be allowed via CORS. + """ + return pulumi.get(self, "origins") + + @origins.setter + def origins(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "origins", value) + + +@pulumi.input_type +class ServiceCosmosDbConfigurationInfoArgs: + def __init__(__self__, *, + key_vault_key_uri: Optional[pulumi.Input[str]] = None, + offer_throughput: Optional[pulumi.Input[int]] = None): + """ + The settings for the Cosmos DB database backing the service. + :param pulumi.Input[str] key_vault_key_uri: The URI of the customer-managed key for the backing database. + :param pulumi.Input[int] offer_throughput: The provisioned throughput for the backing database. + """ + if key_vault_key_uri is not None: + pulumi.set(__self__, "key_vault_key_uri", key_vault_key_uri) + if offer_throughput is not None: + pulumi.set(__self__, "offer_throughput", offer_throughput) + + @property + @pulumi.getter(name="keyVaultKeyUri") + def key_vault_key_uri(self) -> Optional[pulumi.Input[str]]: + """ + The URI of the customer-managed key for the backing database. + """ + return pulumi.get(self, "key_vault_key_uri") + + @key_vault_key_uri.setter + def key_vault_key_uri(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "key_vault_key_uri", value) + + @property + @pulumi.getter(name="offerThroughput") + def offer_throughput(self) -> Optional[pulumi.Input[int]]: + """ + The provisioned throughput for the backing database. + """ + return pulumi.get(self, "offer_throughput") + + @offer_throughput.setter + def offer_throughput(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "offer_throughput", value) + + +@pulumi.input_type +class ServiceExportConfigurationInfoArgs: + def __init__(__self__, *, + storage_account_name: Optional[pulumi.Input[str]] = None): + """ + Export operation configuration information + :param pulumi.Input[str] storage_account_name: The name of the default export storage account. + """ + if storage_account_name is not None: + pulumi.set(__self__, "storage_account_name", storage_account_name) + + @property + @pulumi.getter(name="storageAccountName") + def storage_account_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the default export storage account. + """ + return pulumi.get(self, "storage_account_name") + + @storage_account_name.setter + def storage_account_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "storage_account_name", value) + + +@pulumi.input_type +class ServicesPropertiesArgs: + def __init__(__self__, *, + access_policies: Optional[pulumi.Input[Sequence[pulumi.Input['ServiceAccessPolicyEntryArgs']]]] = None, + acr_configuration: Optional[pulumi.Input['ServiceAcrConfigurationInfoArgs']] = None, + authentication_configuration: Optional[pulumi.Input['ServiceAuthenticationConfigurationInfoArgs']] = None, + cors_configuration: Optional[pulumi.Input['ServiceCorsConfigurationInfoArgs']] = None, + cosmos_db_configuration: Optional[pulumi.Input['ServiceCosmosDbConfigurationInfoArgs']] = None, + export_configuration: Optional[pulumi.Input['ServiceExportConfigurationInfoArgs']] = None, + private_endpoint_connections: Optional[pulumi.Input[Sequence[pulumi.Input['PrivateEndpointConnectionArgs']]]] = None, + public_network_access: Optional[pulumi.Input[Union[str, 'PublicNetworkAccess']]] = None): + """ + The properties of a service instance. + :param pulumi.Input[Sequence[pulumi.Input['ServiceAccessPolicyEntryArgs']]] access_policies: The access policies of the service instance. + :param pulumi.Input['ServiceAcrConfigurationInfoArgs'] acr_configuration: The azure container registry settings used for convert data operation of the service instance. + :param pulumi.Input['ServiceAuthenticationConfigurationInfoArgs'] authentication_configuration: The authentication configuration for the service instance. + :param pulumi.Input['ServiceCorsConfigurationInfoArgs'] cors_configuration: The settings for the CORS configuration of the service instance. + :param pulumi.Input['ServiceCosmosDbConfigurationInfoArgs'] cosmos_db_configuration: The settings for the Cosmos DB database backing the service. + :param pulumi.Input['ServiceExportConfigurationInfoArgs'] export_configuration: The settings for the export operation of the service instance. + :param pulumi.Input[Sequence[pulumi.Input['PrivateEndpointConnectionArgs']]] private_endpoint_connections: The list of private endpoint connections that are set up for this resource. + :param pulumi.Input[Union[str, 'PublicNetworkAccess']] public_network_access: Control permission for data plane traffic coming from public networks while private endpoint is enabled. + """ + if access_policies is not None: + pulumi.set(__self__, "access_policies", access_policies) + if acr_configuration is not None: + pulumi.set(__self__, "acr_configuration", acr_configuration) + if authentication_configuration is not None: + pulumi.set(__self__, "authentication_configuration", authentication_configuration) + if cors_configuration is not None: + pulumi.set(__self__, "cors_configuration", cors_configuration) + if cosmos_db_configuration is not None: + pulumi.set(__self__, "cosmos_db_configuration", cosmos_db_configuration) + if export_configuration is not None: + pulumi.set(__self__, "export_configuration", export_configuration) + if private_endpoint_connections is not None: + pulumi.set(__self__, "private_endpoint_connections", private_endpoint_connections) + if public_network_access is not None: + pulumi.set(__self__, "public_network_access", public_network_access) + + @property + @pulumi.getter(name="accessPolicies") + def access_policies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ServiceAccessPolicyEntryArgs']]]]: + """ + The access policies of the service instance. + """ + return pulumi.get(self, "access_policies") + + @access_policies.setter + def access_policies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ServiceAccessPolicyEntryArgs']]]]): + pulumi.set(self, "access_policies", value) + + @property + @pulumi.getter(name="acrConfiguration") + def acr_configuration(self) -> Optional[pulumi.Input['ServiceAcrConfigurationInfoArgs']]: + """ + The azure container registry settings used for convert data operation of the service instance. + """ + return pulumi.get(self, "acr_configuration") + + @acr_configuration.setter + def acr_configuration(self, value: Optional[pulumi.Input['ServiceAcrConfigurationInfoArgs']]): + pulumi.set(self, "acr_configuration", value) + + @property + @pulumi.getter(name="authenticationConfiguration") + def authentication_configuration(self) -> Optional[pulumi.Input['ServiceAuthenticationConfigurationInfoArgs']]: + """ + The authentication configuration for the service instance. + """ + return pulumi.get(self, "authentication_configuration") + + @authentication_configuration.setter + def authentication_configuration(self, value: Optional[pulumi.Input['ServiceAuthenticationConfigurationInfoArgs']]): + pulumi.set(self, "authentication_configuration", value) + + @property + @pulumi.getter(name="corsConfiguration") + def cors_configuration(self) -> Optional[pulumi.Input['ServiceCorsConfigurationInfoArgs']]: + """ + The settings for the CORS configuration of the service instance. + """ + return pulumi.get(self, "cors_configuration") + + @cors_configuration.setter + def cors_configuration(self, value: Optional[pulumi.Input['ServiceCorsConfigurationInfoArgs']]): + pulumi.set(self, "cors_configuration", value) + + @property + @pulumi.getter(name="cosmosDbConfiguration") + def cosmos_db_configuration(self) -> Optional[pulumi.Input['ServiceCosmosDbConfigurationInfoArgs']]: + """ + The settings for the Cosmos DB database backing the service. + """ + return pulumi.get(self, "cosmos_db_configuration") + + @cosmos_db_configuration.setter + def cosmos_db_configuration(self, value: Optional[pulumi.Input['ServiceCosmosDbConfigurationInfoArgs']]): + pulumi.set(self, "cosmos_db_configuration", value) + + @property + @pulumi.getter(name="exportConfiguration") + def export_configuration(self) -> Optional[pulumi.Input['ServiceExportConfigurationInfoArgs']]: + """ + The settings for the export operation of the service instance. + """ + return pulumi.get(self, "export_configuration") + + @export_configuration.setter + def export_configuration(self, value: Optional[pulumi.Input['ServiceExportConfigurationInfoArgs']]): + pulumi.set(self, "export_configuration", value) + + @property + @pulumi.getter(name="privateEndpointConnections") + def private_endpoint_connections(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['PrivateEndpointConnectionArgs']]]]: + """ + The list of private endpoint connections that are set up for this resource. + """ + return pulumi.get(self, "private_endpoint_connections") + + @private_endpoint_connections.setter + def private_endpoint_connections(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['PrivateEndpointConnectionArgs']]]]): + pulumi.set(self, "private_endpoint_connections", value) + + @property + @pulumi.getter(name="publicNetworkAccess") + def public_network_access(self) -> Optional[pulumi.Input[Union[str, 'PublicNetworkAccess']]]: + """ + Control permission for data plane traffic coming from public networks while private endpoint is enabled. + """ + 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) + + +@pulumi.input_type +class ServicesResourceIdentityArgs: + def __init__(__self__, *, + type: Optional[pulumi.Input[Union[str, 'ManagedServiceIdentityType']]] = None): + """ + Setting indicating whether the service has a managed identity associated with it. + :param pulumi.Input[Union[str, 'ManagedServiceIdentityType']] type: Type of identity being specified, currently SystemAssigned and None are allowed. + """ + if type is not None: + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def type(self) -> Optional[pulumi.Input[Union[str, 'ManagedServiceIdentityType']]]: + """ + Type of identity being specified, currently SystemAssigned and None are allowed. + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: Optional[pulumi.Input[Union[str, 'ManagedServiceIdentityType']]]): + pulumi.set(self, "type", value) + + diff --git a/sdk/python/pulumi_azure_nextgen/healthcareapis/v20210111/get_private_endpoint_connection.py b/sdk/python/pulumi_azure_nextgen/healthcareapis/v20210111/get_private_endpoint_connection.py new file mode 100644 index 000000000000..6be5d410c68b --- /dev/null +++ b/sdk/python/pulumi_azure_nextgen/healthcareapis/v20210111/get_private_endpoint_connection.py @@ -0,0 +1,146 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi SDK Generator. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union +from ... import _utilities, _tables +from . import outputs + +__all__ = [ + 'GetPrivateEndpointConnectionResult', + 'AwaitableGetPrivateEndpointConnectionResult', + 'get_private_endpoint_connection', +] + +@pulumi.output_type +class GetPrivateEndpointConnectionResult: + """ + The Private Endpoint Connection resource. + """ + def __init__(__self__, id=None, name=None, private_endpoint=None, private_link_service_connection_state=None, provisioning_state=None, system_data=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 private_endpoint and not isinstance(private_endpoint, dict): + raise TypeError("Expected argument 'private_endpoint' to be a dict") + pulumi.set(__self__, "private_endpoint", private_endpoint) + if private_link_service_connection_state and not isinstance(private_link_service_connection_state, dict): + raise TypeError("Expected argument 'private_link_service_connection_state' to be a dict") + pulumi.set(__self__, "private_link_service_connection_state", private_link_service_connection_state) + 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 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 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(name="privateEndpoint") + def private_endpoint(self) -> Optional['outputs.PrivateEndpointResponse']: + """ + The resource of private end point. + """ + return pulumi.get(self, "private_endpoint") + + @property + @pulumi.getter(name="privateLinkServiceConnectionState") + def private_link_service_connection_state(self) -> 'outputs.PrivateLinkServiceConnectionStateResponse': + """ + A collection of information about the state of the connection between service consumer and provider. + """ + return pulumi.get(self, "private_link_service_connection_state") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + The provisioning state of the private endpoint connection resource. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + System metadata for this resource. + """ + 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 AwaitableGetPrivateEndpointConnectionResult(GetPrivateEndpointConnectionResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetPrivateEndpointConnectionResult( + id=self.id, + name=self.name, + private_endpoint=self.private_endpoint, + private_link_service_connection_state=self.private_link_service_connection_state, + provisioning_state=self.provisioning_state, + system_data=self.system_data, + type=self.type) + + +def get_private_endpoint_connection(private_endpoint_connection_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + resource_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPrivateEndpointConnectionResult: + """ + Use this data source to access information about an existing resource. + + :param str private_endpoint_connection_name: The name of the private endpoint connection associated with the Azure resource + :param str resource_group_name: The name of the resource group that contains the service instance. + :param str resource_name: The name of the service instance. + """ + __args__ = dict() + __args__['privateEndpointConnectionName'] = private_endpoint_connection_name + __args__['resourceGroupName'] = resource_group_name + __args__['resourceName'] = resource_name + if opts is None: + opts = pulumi.InvokeOptions() + if opts.version is None: + opts.version = _utilities.get_version() + __ret__ = pulumi.runtime.invoke('azure-nextgen:healthcareapis/v20210111:getPrivateEndpointConnection', __args__, opts=opts, typ=GetPrivateEndpointConnectionResult).value + + return AwaitableGetPrivateEndpointConnectionResult( + id=__ret__.id, + name=__ret__.name, + private_endpoint=__ret__.private_endpoint, + private_link_service_connection_state=__ret__.private_link_service_connection_state, + provisioning_state=__ret__.provisioning_state, + system_data=__ret__.system_data, + type=__ret__.type) diff --git a/sdk/python/pulumi_azure_nextgen/healthcareapis/v20210111/get_service.py b/sdk/python/pulumi_azure_nextgen/healthcareapis/v20210111/get_service.py new file mode 100644 index 000000000000..3d962d03d14c --- /dev/null +++ b/sdk/python/pulumi_azure_nextgen/healthcareapis/v20210111/get_service.py @@ -0,0 +1,182 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi SDK Generator. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union +from ... import _utilities, _tables +from . import outputs + +__all__ = [ + 'GetServiceResult', + 'AwaitableGetServiceResult', + 'get_service', +] + +@pulumi.output_type +class GetServiceResult: + """ + The description of the service. + """ + def __init__(__self__, etag=None, id=None, identity=None, kind=None, location=None, name=None, properties=None, system_data=None, tags=None, type=None): + if etag and not isinstance(etag, str): + raise TypeError("Expected argument 'etag' to be a str") + pulumi.set(__self__, "etag", etag) + 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 kind and not isinstance(kind, str): + raise TypeError("Expected argument 'kind' to be a str") + pulumi.set(__self__, "kind", kind) + 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 properties and not isinstance(properties, dict): + raise TypeError("Expected argument 'properties' to be a dict") + pulumi.set(__self__, "properties", properties) + 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 + def etag(self) -> Optional[str]: + """ + An etag associated with the resource, used for optimistic concurrency when editing it. + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def id(self) -> str: + """ + The resource identifier. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def identity(self) -> Optional['outputs.ServicesResourceResponseIdentity']: + """ + Setting indicating whether the service has a managed identity associated with it. + """ + return pulumi.get(self, "identity") + + @property + @pulumi.getter + def kind(self) -> str: + """ + The kind of the service. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def location(self) -> str: + """ + The resource location. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> str: + """ + The resource name. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> 'outputs.ServicesPropertiesResponse': + """ + The common properties of a service. + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Metadata pertaining to creation and last modification of the resource. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> Optional[Mapping[str, str]]: + """ + The resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> str: + """ + The resource type. + """ + return pulumi.get(self, "type") + + +class AwaitableGetServiceResult(GetServiceResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetServiceResult( + etag=self.etag, + id=self.id, + identity=self.identity, + kind=self.kind, + location=self.location, + name=self.name, + properties=self.properties, + system_data=self.system_data, + tags=self.tags, + type=self.type) + + +def get_service(resource_group_name: Optional[str] = None, + resource_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetServiceResult: + """ + Use this data source to access information about an existing resource. + + :param str resource_group_name: The name of the resource group that contains the service instance. + :param str resource_name: The name of the service instance. + """ + __args__ = dict() + __args__['resourceGroupName'] = resource_group_name + __args__['resourceName'] = resource_name + if opts is None: + opts = pulumi.InvokeOptions() + if opts.version is None: + opts.version = _utilities.get_version() + __ret__ = pulumi.runtime.invoke('azure-nextgen:healthcareapis/v20210111:getService', __args__, opts=opts, typ=GetServiceResult).value + + return AwaitableGetServiceResult( + etag=__ret__.etag, + id=__ret__.id, + identity=__ret__.identity, + kind=__ret__.kind, + location=__ret__.location, + name=__ret__.name, + properties=__ret__.properties, + system_data=__ret__.system_data, + tags=__ret__.tags, + type=__ret__.type) diff --git a/sdk/python/pulumi_azure_nextgen/healthcareapis/v20210111/outputs.py b/sdk/python/pulumi_azure_nextgen/healthcareapis/v20210111/outputs.py new file mode 100644 index 000000000000..4c8cf745a737 --- /dev/null +++ b/sdk/python/pulumi_azure_nextgen/healthcareapis/v20210111/outputs.py @@ -0,0 +1,677 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi SDK Generator. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union +from ... import _utilities, _tables +from . import outputs +from ._enums import * + +__all__ = [ + 'PrivateEndpointConnectionResponse', + 'PrivateEndpointResponse', + 'PrivateLinkServiceConnectionStateResponse', + 'ServiceAccessPolicyEntryResponse', + 'ServiceAcrConfigurationInfoResponse', + 'ServiceAuthenticationConfigurationInfoResponse', + 'ServiceCorsConfigurationInfoResponse', + 'ServiceCosmosDbConfigurationInfoResponse', + 'ServiceExportConfigurationInfoResponse', + 'ServicesPropertiesResponse', + 'ServicesResourceResponseIdentity', + 'SystemDataResponse', +] + +@pulumi.output_type +class PrivateEndpointConnectionResponse(dict): + """ + The Private Endpoint Connection resource. + """ + def __init__(__self__, *, + id: str, + name: str, + private_link_service_connection_state: 'outputs.PrivateLinkServiceConnectionStateResponse', + provisioning_state: str, + type: str, + private_endpoint: Optional['outputs.PrivateEndpointResponse'] = None): + """ + The Private Endpoint Connection resource. + :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 'PrivateLinkServiceConnectionStateResponseArgs' private_link_service_connection_state: A collection of information about the state of the connection between service consumer and provider. + :param str provisioning_state: The provisioning state of the private endpoint connection resource. + :param str type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + :param 'PrivateEndpointResponseArgs' private_endpoint: The resource of private end point. + """ + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "private_link_service_connection_state", private_link_service_connection_state) + pulumi.set(__self__, "provisioning_state", provisioning_state) + pulumi.set(__self__, "type", type) + if private_endpoint is not None: + pulumi.set(__self__, "private_endpoint", private_endpoint) + + @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(name="privateLinkServiceConnectionState") + def private_link_service_connection_state(self) -> 'outputs.PrivateLinkServiceConnectionStateResponse': + """ + A collection of information about the state of the connection between service consumer and provider. + """ + return pulumi.get(self, "private_link_service_connection_state") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + The provisioning state of the private endpoint connection resource. + """ + return pulumi.get(self, "provisioning_state") + + @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="privateEndpoint") + def private_endpoint(self) -> Optional['outputs.PrivateEndpointResponse']: + """ + The resource of private end point. + """ + return pulumi.get(self, "private_endpoint") + + def _translate_property(self, prop): + return _tables.CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop + + +@pulumi.output_type +class PrivateEndpointResponse(dict): + """ + The Private Endpoint resource. + """ + def __init__(__self__, *, + id: str): + """ + The Private Endpoint resource. + :param str id: The ARM identifier for Private Endpoint + """ + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter + def id(self) -> str: + """ + The ARM identifier for Private Endpoint + """ + return pulumi.get(self, "id") + + def _translate_property(self, prop): + return _tables.CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop + + +@pulumi.output_type +class PrivateLinkServiceConnectionStateResponse(dict): + """ + A collection of information about the state of the connection between service consumer and provider. + """ + def __init__(__self__, *, + actions_required: Optional[str] = None, + description: Optional[str] = None, + status: Optional[str] = None): + """ + A collection of information about the state of the connection between service consumer and provider. + :param str actions_required: A message indicating if changes on the service provider require any updates on the consumer. + :param str description: The reason for approval/rejection of the connection. + :param str status: Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. + """ + 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 message indicating if changes on the service provider require any updates on the consumer. + """ + return pulumi.get(self, "actions_required") + + @property + @pulumi.getter + def description(self) -> Optional[str]: + """ + The reason for approval/rejection of the connection. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter + def status(self) -> Optional[str]: + """ + Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. + """ + return pulumi.get(self, "status") + + def _translate_property(self, prop): + return _tables.CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop + + +@pulumi.output_type +class ServiceAccessPolicyEntryResponse(dict): + """ + An access policy entry. + """ + def __init__(__self__, *, + object_id: str): + """ + An access policy entry. + :param str object_id: An Azure AD object ID (User or Apps) that is allowed access to the FHIR service. + """ + pulumi.set(__self__, "object_id", object_id) + + @property + @pulumi.getter(name="objectId") + def object_id(self) -> str: + """ + An Azure AD object ID (User or Apps) that is allowed access to the FHIR service. + """ + return pulumi.get(self, "object_id") + + def _translate_property(self, prop): + return _tables.CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop + + +@pulumi.output_type +class ServiceAcrConfigurationInfoResponse(dict): + """ + Azure container registry configuration information + """ + def __init__(__self__, *, + login_servers: Optional[Sequence[str]] = None): + """ + Azure container registry configuration information + :param Sequence[str] login_servers: The list of the ACR login servers. + """ + if login_servers is not None: + pulumi.set(__self__, "login_servers", login_servers) + + @property + @pulumi.getter(name="loginServers") + def login_servers(self) -> Optional[Sequence[str]]: + """ + The list of the ACR login servers. + """ + return pulumi.get(self, "login_servers") + + def _translate_property(self, prop): + return _tables.CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop + + +@pulumi.output_type +class ServiceAuthenticationConfigurationInfoResponse(dict): + """ + Authentication configuration information + """ + def __init__(__self__, *, + audience: Optional[str] = None, + authority: Optional[str] = None, + smart_proxy_enabled: Optional[bool] = None): + """ + Authentication configuration information + :param str audience: The audience url for the service + :param str authority: The authority url for the service + :param bool smart_proxy_enabled: If the SMART on FHIR proxy is enabled + """ + if audience is not None: + pulumi.set(__self__, "audience", audience) + if authority is not None: + pulumi.set(__self__, "authority", authority) + if smart_proxy_enabled is not None: + pulumi.set(__self__, "smart_proxy_enabled", smart_proxy_enabled) + + @property + @pulumi.getter + def audience(self) -> Optional[str]: + """ + The audience url for the service + """ + return pulumi.get(self, "audience") + + @property + @pulumi.getter + def authority(self) -> Optional[str]: + """ + The authority url for the service + """ + return pulumi.get(self, "authority") + + @property + @pulumi.getter(name="smartProxyEnabled") + def smart_proxy_enabled(self) -> Optional[bool]: + """ + If the SMART on FHIR proxy is enabled + """ + return pulumi.get(self, "smart_proxy_enabled") + + def _translate_property(self, prop): + return _tables.CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop + + +@pulumi.output_type +class ServiceCorsConfigurationInfoResponse(dict): + """ + The settings for the CORS configuration of the service instance. + """ + def __init__(__self__, *, + allow_credentials: Optional[bool] = None, + headers: Optional[Sequence[str]] = None, + max_age: Optional[int] = None, + methods: Optional[Sequence[str]] = None, + origins: Optional[Sequence[str]] = None): + """ + The settings for the CORS configuration of the service instance. + :param bool allow_credentials: If credentials are allowed via CORS. + :param Sequence[str] headers: The headers to be allowed via CORS. + :param int max_age: The max age to be allowed via CORS. + :param Sequence[str] methods: The methods to be allowed via CORS. + :param Sequence[str] origins: The origins to be allowed via CORS. + """ + if allow_credentials is not None: + pulumi.set(__self__, "allow_credentials", allow_credentials) + if headers is not None: + pulumi.set(__self__, "headers", headers) + if max_age is not None: + pulumi.set(__self__, "max_age", max_age) + if methods is not None: + pulumi.set(__self__, "methods", methods) + if origins is not None: + pulumi.set(__self__, "origins", origins) + + @property + @pulumi.getter(name="allowCredentials") + def allow_credentials(self) -> Optional[bool]: + """ + If credentials are allowed via CORS. + """ + return pulumi.get(self, "allow_credentials") + + @property + @pulumi.getter + def headers(self) -> Optional[Sequence[str]]: + """ + The headers to be allowed via CORS. + """ + return pulumi.get(self, "headers") + + @property + @pulumi.getter(name="maxAge") + def max_age(self) -> Optional[int]: + """ + The max age to be allowed via CORS. + """ + return pulumi.get(self, "max_age") + + @property + @pulumi.getter + def methods(self) -> Optional[Sequence[str]]: + """ + The methods to be allowed via CORS. + """ + return pulumi.get(self, "methods") + + @property + @pulumi.getter + def origins(self) -> Optional[Sequence[str]]: + """ + The origins to be allowed via CORS. + """ + return pulumi.get(self, "origins") + + def _translate_property(self, prop): + return _tables.CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop + + +@pulumi.output_type +class ServiceCosmosDbConfigurationInfoResponse(dict): + """ + The settings for the Cosmos DB database backing the service. + """ + def __init__(__self__, *, + key_vault_key_uri: Optional[str] = None, + offer_throughput: Optional[int] = None): + """ + The settings for the Cosmos DB database backing the service. + :param str key_vault_key_uri: The URI of the customer-managed key for the backing database. + :param int offer_throughput: The provisioned throughput for the backing database. + """ + if key_vault_key_uri is not None: + pulumi.set(__self__, "key_vault_key_uri", key_vault_key_uri) + if offer_throughput is not None: + pulumi.set(__self__, "offer_throughput", offer_throughput) + + @property + @pulumi.getter(name="keyVaultKeyUri") + def key_vault_key_uri(self) -> Optional[str]: + """ + The URI of the customer-managed key for the backing database. + """ + return pulumi.get(self, "key_vault_key_uri") + + @property + @pulumi.getter(name="offerThroughput") + def offer_throughput(self) -> Optional[int]: + """ + The provisioned throughput for the backing database. + """ + return pulumi.get(self, "offer_throughput") + + def _translate_property(self, prop): + return _tables.CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop + + +@pulumi.output_type +class ServiceExportConfigurationInfoResponse(dict): + """ + Export operation configuration information + """ + def __init__(__self__, *, + storage_account_name: Optional[str] = None): + """ + Export operation configuration information + :param str storage_account_name: The name of the default export storage account. + """ + if storage_account_name is not None: + pulumi.set(__self__, "storage_account_name", storage_account_name) + + @property + @pulumi.getter(name="storageAccountName") + def storage_account_name(self) -> Optional[str]: + """ + The name of the default export storage account. + """ + return pulumi.get(self, "storage_account_name") + + def _translate_property(self, prop): + return _tables.CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop + + +@pulumi.output_type +class ServicesPropertiesResponse(dict): + """ + The properties of a service instance. + """ + def __init__(__self__, *, + provisioning_state: str, + access_policies: Optional[Sequence['outputs.ServiceAccessPolicyEntryResponse']] = None, + acr_configuration: Optional['outputs.ServiceAcrConfigurationInfoResponse'] = None, + authentication_configuration: Optional['outputs.ServiceAuthenticationConfigurationInfoResponse'] = None, + cors_configuration: Optional['outputs.ServiceCorsConfigurationInfoResponse'] = None, + cosmos_db_configuration: Optional['outputs.ServiceCosmosDbConfigurationInfoResponse'] = None, + export_configuration: Optional['outputs.ServiceExportConfigurationInfoResponse'] = None, + private_endpoint_connections: Optional[Sequence['outputs.PrivateEndpointConnectionResponse']] = None, + public_network_access: Optional[str] = None): + """ + The properties of a service instance. + :param str provisioning_state: The provisioning state. + :param Sequence['ServiceAccessPolicyEntryResponseArgs'] access_policies: The access policies of the service instance. + :param 'ServiceAcrConfigurationInfoResponseArgs' acr_configuration: The azure container registry settings used for convert data operation of the service instance. + :param 'ServiceAuthenticationConfigurationInfoResponseArgs' authentication_configuration: The authentication configuration for the service instance. + :param 'ServiceCorsConfigurationInfoResponseArgs' cors_configuration: The settings for the CORS configuration of the service instance. + :param 'ServiceCosmosDbConfigurationInfoResponseArgs' cosmos_db_configuration: The settings for the Cosmos DB database backing the service. + :param 'ServiceExportConfigurationInfoResponseArgs' export_configuration: The settings for the export operation of the service instance. + :param Sequence['PrivateEndpointConnectionResponseArgs'] private_endpoint_connections: The list of private endpoint connections that are set up for this resource. + :param str public_network_access: Control permission for data plane traffic coming from public networks while private endpoint is enabled. + """ + pulumi.set(__self__, "provisioning_state", provisioning_state) + if access_policies is not None: + pulumi.set(__self__, "access_policies", access_policies) + if acr_configuration is not None: + pulumi.set(__self__, "acr_configuration", acr_configuration) + if authentication_configuration is not None: + pulumi.set(__self__, "authentication_configuration", authentication_configuration) + if cors_configuration is not None: + pulumi.set(__self__, "cors_configuration", cors_configuration) + if cosmos_db_configuration is not None: + pulumi.set(__self__, "cosmos_db_configuration", cosmos_db_configuration) + if export_configuration is not None: + pulumi.set(__self__, "export_configuration", export_configuration) + if private_endpoint_connections is not None: + pulumi.set(__self__, "private_endpoint_connections", private_endpoint_connections) + if public_network_access is not None: + pulumi.set(__self__, "public_network_access", public_network_access) + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + The provisioning state. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="accessPolicies") + def access_policies(self) -> Optional[Sequence['outputs.ServiceAccessPolicyEntryResponse']]: + """ + The access policies of the service instance. + """ + return pulumi.get(self, "access_policies") + + @property + @pulumi.getter(name="acrConfiguration") + def acr_configuration(self) -> Optional['outputs.ServiceAcrConfigurationInfoResponse']: + """ + The azure container registry settings used for convert data operation of the service instance. + """ + return pulumi.get(self, "acr_configuration") + + @property + @pulumi.getter(name="authenticationConfiguration") + def authentication_configuration(self) -> Optional['outputs.ServiceAuthenticationConfigurationInfoResponse']: + """ + The authentication configuration for the service instance. + """ + return pulumi.get(self, "authentication_configuration") + + @property + @pulumi.getter(name="corsConfiguration") + def cors_configuration(self) -> Optional['outputs.ServiceCorsConfigurationInfoResponse']: + """ + The settings for the CORS configuration of the service instance. + """ + return pulumi.get(self, "cors_configuration") + + @property + @pulumi.getter(name="cosmosDbConfiguration") + def cosmos_db_configuration(self) -> Optional['outputs.ServiceCosmosDbConfigurationInfoResponse']: + """ + The settings for the Cosmos DB database backing the service. + """ + return pulumi.get(self, "cosmos_db_configuration") + + @property + @pulumi.getter(name="exportConfiguration") + def export_configuration(self) -> Optional['outputs.ServiceExportConfigurationInfoResponse']: + """ + The settings for the export operation of the service instance. + """ + return pulumi.get(self, "export_configuration") + + @property + @pulumi.getter(name="privateEndpointConnections") + def private_endpoint_connections(self) -> Optional[Sequence['outputs.PrivateEndpointConnectionResponse']]: + """ + The list of private endpoint connections that are set up for this resource. + """ + return pulumi.get(self, "private_endpoint_connections") + + @property + @pulumi.getter(name="publicNetworkAccess") + def public_network_access(self) -> Optional[str]: + """ + Control permission for data plane traffic coming from public networks while private endpoint is enabled. + """ + return pulumi.get(self, "public_network_access") + + def _translate_property(self, prop): + return _tables.CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop + + +@pulumi.output_type +class ServicesResourceResponseIdentity(dict): + """ + Setting indicating whether the service has a managed identity associated with it. + """ + def __init__(__self__, *, + principal_id: str, + tenant_id: str, + type: Optional[str] = None): + """ + Setting indicating whether the service has a managed identity associated with it. + :param str principal_id: The principal ID of the resource identity. + :param str tenant_id: The tenant ID of the resource. + :param str type: Type of identity being specified, currently SystemAssigned and None are allowed. + """ + pulumi.set(__self__, "principal_id", principal_id) + pulumi.set(__self__, "tenant_id", tenant_id) + if type is not None: + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="principalId") + def principal_id(self) -> str: + """ + The principal ID of the resource identity. + """ + return pulumi.get(self, "principal_id") + + @property + @pulumi.getter(name="tenantId") + def tenant_id(self) -> str: + """ + The tenant ID of the resource. + """ + return pulumi.get(self, "tenant_id") + + @property + @pulumi.getter + def type(self) -> Optional[str]: + """ + Type of identity being specified, currently SystemAssigned and None are allowed. + """ + return pulumi.get(self, "type") + + def _translate_property(self, prop): + return _tables.CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop + + +@pulumi.output_type +class SystemDataResponse(dict): + """ + Metadata pertaining to creation and last modification of the resource. + """ + 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 type of identity that last modified the resource. + :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 type of identity that last modified the resource. + """ + 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") + + def _translate_property(self, prop): + return _tables.CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop + + diff --git a/sdk/python/pulumi_azure_nextgen/healthcareapis/v20210111/private_endpoint_connection.py b/sdk/python/pulumi_azure_nextgen/healthcareapis/v20210111/private_endpoint_connection.py new file mode 100644 index 000000000000..656960af7e30 --- /dev/null +++ b/sdk/python/pulumi_azure_nextgen/healthcareapis/v20210111/private_endpoint_connection.py @@ -0,0 +1,151 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi SDK Generator. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union +from ... import _utilities, _tables +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['PrivateEndpointConnection'] + + +class PrivateEndpointConnection(pulumi.CustomResource): + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + private_endpoint_connection_name: Optional[pulumi.Input[str]] = None, + private_link_service_connection_state: Optional[pulumi.Input[pulumi.InputType['PrivateLinkServiceConnectionStateArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + resource_name_: Optional[pulumi.Input[str]] = None, + __props__=None, + __name__=None, + __opts__=None): + """ + The Private Endpoint Connection resource. + + :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 associated with the Azure resource + :param pulumi.Input[pulumi.InputType['PrivateLinkServiceConnectionStateArgs']] private_link_service_connection_state: A collection of information about the state of the connection between service consumer and provider. + :param pulumi.Input[str] resource_group_name: The name of the resource group that contains the service instance. + :param pulumi.Input[str] resource_name_: The name of the service instance. + """ + if __name__ is not None: + warnings.warn("explicit use of __name__ is deprecated", DeprecationWarning) + resource_name = __name__ + if __opts__ is not None: + warnings.warn("explicit use of __opts__ is deprecated, use 'opts' instead", DeprecationWarning) + opts = __opts__ + if opts is None: + opts = pulumi.ResourceOptions() + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.version is None: + opts.version = _utilities.get_version() + 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__ = dict() + + if private_endpoint_connection_name is None and not opts.urn: + raise TypeError("Missing required property 'private_endpoint_connection_name'") + __props__['private_endpoint_connection_name'] = private_endpoint_connection_name + if private_link_service_connection_state is None and not opts.urn: + raise TypeError("Missing required property 'private_link_service_connection_state'") + __props__['private_link_service_connection_state'] = private_link_service_connection_state + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__['resource_group_name'] = resource_group_name + if resource_name_ is None and not opts.urn: + raise TypeError("Missing required property 'resource_name_'") + __props__['resource_name'] = resource_name_ + __props__['name'] = None + __props__['private_endpoint'] = None + __props__['provisioning_state'] = None + __props__['system_data'] = None + __props__['type'] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-nextgen:healthcareapis/latest:PrivateEndpointConnection"), pulumi.Alias(type_="azure-nextgen:healthcareapis/v20200330:PrivateEndpointConnection")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(PrivateEndpointConnection, __self__).__init__( + 'azure-nextgen:healthcareapis/v20210111: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__ = dict() + + 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(name="privateEndpoint") + def private_endpoint(self) -> pulumi.Output[Optional['outputs.PrivateEndpointResponse']]: + """ + The resource of private end point. + """ + return pulumi.get(self, "private_endpoint") + + @property + @pulumi.getter(name="privateLinkServiceConnectionState") + def private_link_service_connection_state(self) -> pulumi.Output['outputs.PrivateLinkServiceConnectionStateResponse']: + """ + A collection of information about the state of the connection between service consumer and provider. + """ + return pulumi.get(self, "private_link_service_connection_state") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> pulumi.Output[str]: + """ + The provisioning state of the private endpoint connection resource. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + System metadata for this resource. + """ + 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") + + def translate_output_property(self, prop): + return _tables.CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop + + def translate_input_property(self, prop): + return _tables.SNAKE_TO_CAMEL_CASE_TABLE.get(prop) or prop + diff --git a/sdk/python/pulumi_azure_nextgen/healthcareapis/v20210111/service.py b/sdk/python/pulumi_azure_nextgen/healthcareapis/v20210111/service.py new file mode 100644 index 000000000000..2b482174bec2 --- /dev/null +++ b/sdk/python/pulumi_azure_nextgen/healthcareapis/v20210111/service.py @@ -0,0 +1,185 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi SDK Generator. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union +from ... import _utilities, _tables +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['Service'] + + +class Service(pulumi.CustomResource): + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + etag: Optional[pulumi.Input[str]] = None, + identity: Optional[pulumi.Input[pulumi.InputType['ServicesResourceIdentityArgs']]] = None, + kind: Optional[pulumi.Input['Kind']] = None, + location: Optional[pulumi.Input[str]] = None, + properties: Optional[pulumi.Input[pulumi.InputType['ServicesPropertiesArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + resource_name_: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + __props__=None, + __name__=None, + __opts__=None): + """ + The description of the service. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] etag: An etag associated with the resource, used for optimistic concurrency when editing it. + :param pulumi.Input[pulumi.InputType['ServicesResourceIdentityArgs']] identity: Setting indicating whether the service has a managed identity associated with it. + :param pulumi.Input['Kind'] kind: The kind of the service. + :param pulumi.Input[str] location: The resource location. + :param pulumi.Input[pulumi.InputType['ServicesPropertiesArgs']] properties: The common properties of a service. + :param pulumi.Input[str] resource_group_name: The name of the resource group that contains the service instance. + :param pulumi.Input[str] resource_name_: The name of the service instance. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The resource tags. + """ + if __name__ is not None: + warnings.warn("explicit use of __name__ is deprecated", DeprecationWarning) + resource_name = __name__ + if __opts__ is not None: + warnings.warn("explicit use of __opts__ is deprecated, use 'opts' instead", DeprecationWarning) + opts = __opts__ + if opts is None: + opts = pulumi.ResourceOptions() + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.version is None: + opts.version = _utilities.get_version() + 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__ = dict() + + __props__['etag'] = etag + __props__['identity'] = identity + if kind is None and not opts.urn: + raise TypeError("Missing required property 'kind'") + __props__['kind'] = kind + if location is None and not opts.urn: + raise TypeError("Missing required property 'location'") + __props__['location'] = location + __props__['properties'] = properties + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__['resource_group_name'] = resource_group_name + if resource_name_ is None and not opts.urn: + raise TypeError("Missing required property 'resource_name_'") + __props__['resource_name'] = resource_name_ + __props__['tags'] = tags + __props__['name'] = None + __props__['system_data'] = None + __props__['type'] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-nextgen:healthcareapis/latest:Service"), pulumi.Alias(type_="azure-nextgen:healthcareapis/v20180820preview:Service"), pulumi.Alias(type_="azure-nextgen:healthcareapis/v20190916:Service"), pulumi.Alias(type_="azure-nextgen:healthcareapis/v20200315:Service"), pulumi.Alias(type_="azure-nextgen:healthcareapis/v20200330:Service")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(Service, __self__).__init__( + 'azure-nextgen:healthcareapis/v20210111: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__ = dict() + + return Service(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def etag(self) -> pulumi.Output[Optional[str]]: + """ + An etag associated with the resource, used for optimistic concurrency when editing it. + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def identity(self) -> pulumi.Output[Optional['outputs.ServicesResourceResponseIdentity']]: + """ + Setting indicating whether the service has a managed identity associated with it. + """ + return pulumi.get(self, "identity") + + @property + @pulumi.getter + def kind(self) -> pulumi.Output[str]: + """ + The kind of the service. + """ + return pulumi.get(self, "kind") + + @property + @pulumi.getter + def location(self) -> pulumi.Output[str]: + """ + The resource location. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The resource name. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> pulumi.Output['outputs.ServicesPropertiesResponse']: + """ + The common properties of a service. + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Metadata pertaining to creation and last modification of the resource. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + """ + The resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The resource type. + """ + return pulumi.get(self, "type") + + def translate_output_property(self, prop): + return _tables.CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop + + def translate_input_property(self, prop): + return _tables.SNAKE_TO_CAMEL_CASE_TABLE.get(prop) or prop + diff --git a/sdk/python/pulumi_azure_nextgen/mixedreality/__init__.py b/sdk/python/pulumi_azure_nextgen/mixedreality/__init__.py index 9fbade595f8b..03e627e060e4 100644 --- a/sdk/python/pulumi_azure_nextgen/mixedreality/__init__.py +++ b/sdk/python/pulumi_azure_nextgen/mixedreality/__init__.py @@ -10,4 +10,5 @@ v20191202preview, v20200406preview, v20200501, + v20210101, ) diff --git a/sdk/python/pulumi_azure_nextgen/mixedreality/latest/__init__.py b/sdk/python/pulumi_azure_nextgen/mixedreality/latest/__init__.py index 6596032ea6f4..62e98886fe1f 100644 --- a/sdk/python/pulumi_azure_nextgen/mixedreality/latest/__init__.py +++ b/sdk/python/pulumi_azure_nextgen/mixedreality/latest/__init__.py @@ -4,8 +4,11 @@ # Export this package's modules as members: from ._enums import * +from .get_remote_rendering_account import * from .get_spatial_anchors_account import * +from .list_remote_rendering_account_keys import * from .list_spatial_anchors_account_keys import * +from .remote_rendering_account import * from .spatial_anchors_account import * from ._inputs import * from . import outputs @@ -22,7 +25,9 @@ def version(self): return Module._version def construct(self, name: str, typ: str, urn: str) -> pulumi.Resource: - if typ == "azure-nextgen:mixedreality/latest:SpatialAnchorsAccount": + if typ == "azure-nextgen:mixedreality/latest:RemoteRenderingAccount": + return RemoteRenderingAccount(name, pulumi.ResourceOptions(urn=urn)) + elif typ == "azure-nextgen:mixedreality/latest:SpatialAnchorsAccount": return SpatialAnchorsAccount(name, pulumi.ResourceOptions(urn=urn)) else: raise Exception(f"unknown resource type {typ}") diff --git a/sdk/python/pulumi_azure_nextgen/mixedreality/latest/_enums.py b/sdk/python/pulumi_azure_nextgen/mixedreality/latest/_enums.py index e3f7a30e5582..c0c62258877e 100644 --- a/sdk/python/pulumi_azure_nextgen/mixedreality/latest/_enums.py +++ b/sdk/python/pulumi_azure_nextgen/mixedreality/latest/_enums.py @@ -6,6 +6,7 @@ __all__ = [ 'ResourceIdentityType', + 'SkuTier', ] @@ -14,3 +15,13 @@ class ResourceIdentityType(str, Enum): The identity type. """ SYSTEM_ASSIGNED = "SystemAssigned" + + +class SkuTier(str, Enum): + """ + This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. + """ + FREE = "Free" + BASIC = "Basic" + STANDARD = "Standard" + PREMIUM = "Premium" diff --git a/sdk/python/pulumi_azure_nextgen/mixedreality/latest/_inputs.py b/sdk/python/pulumi_azure_nextgen/mixedreality/latest/_inputs.py index a5601a5553b2..67d47b638dcd 100644 --- a/sdk/python/pulumi_azure_nextgen/mixedreality/latest/_inputs.py +++ b/sdk/python/pulumi_azure_nextgen/mixedreality/latest/_inputs.py @@ -11,6 +11,7 @@ __all__ = [ 'IdentityArgs', + 'SkuArgs', ] @pulumi.input_type @@ -37,3 +38,90 @@ def type(self, value: Optional[pulumi.Input['ResourceIdentityType']]): pulumi.set(self, "type", value) +@pulumi.input_type +class SkuArgs: + def __init__(__self__, *, + name: pulumi.Input[str], + capacity: Optional[pulumi.Input[int]] = None, + family: Optional[pulumi.Input[str]] = None, + size: Optional[pulumi.Input[str]] = None, + tier: Optional[pulumi.Input['SkuTier']] = None): + """ + The resource model definition representing SKU + :param pulumi.Input[str] name: The name of the SKU. Ex - P3. It is typically a letter+number code + :param pulumi.Input[int] capacity: If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. + :param pulumi.Input[str] family: If the service has different generations of hardware, for the same SKU, then that can be captured here. + :param pulumi.Input[str] size: The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. + :param pulumi.Input['SkuTier'] tier: This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. + """ + pulumi.set(__self__, "name", name) + if capacity is not None: + pulumi.set(__self__, "capacity", capacity) + if family is not None: + pulumi.set(__self__, "family", family) + if size is not None: + pulumi.set(__self__, "size", size) + if tier is not None: + pulumi.set(__self__, "tier", tier) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + """ + The name of the SKU. Ex - P3. It is typically a letter+number code + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def capacity(self) -> Optional[pulumi.Input[int]]: + """ + If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. + """ + return pulumi.get(self, "capacity") + + @capacity.setter + def capacity(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "capacity", value) + + @property + @pulumi.getter + def family(self) -> Optional[pulumi.Input[str]]: + """ + If the service has different generations of hardware, for the same SKU, then that can be captured here. + """ + return pulumi.get(self, "family") + + @family.setter + def family(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "family", value) + + @property + @pulumi.getter + def size(self) -> Optional[pulumi.Input[str]]: + """ + The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. + """ + return pulumi.get(self, "size") + + @size.setter + def size(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "size", value) + + @property + @pulumi.getter + def tier(self) -> Optional[pulumi.Input['SkuTier']]: + """ + This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. + """ + return pulumi.get(self, "tier") + + @tier.setter + def tier(self, value: Optional[pulumi.Input['SkuTier']]): + pulumi.set(self, "tier", value) + + diff --git a/sdk/python/pulumi_azure_nextgen/mixedreality/latest/get_remote_rendering_account.py b/sdk/python/pulumi_azure_nextgen/mixedreality/latest/get_remote_rendering_account.py new file mode 100644 index 000000000000..bd1d94354eda --- /dev/null +++ b/sdk/python/pulumi_azure_nextgen/mixedreality/latest/get_remote_rendering_account.py @@ -0,0 +1,208 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi SDK Generator. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union +from ... import _utilities, _tables +from . import outputs + +__all__ = [ + 'GetRemoteRenderingAccountResult', + 'AwaitableGetRemoteRenderingAccountResult', + 'get_remote_rendering_account', +] + +@pulumi.output_type +class GetRemoteRenderingAccountResult: + """ + RemoteRenderingAccount Response. + """ + def __init__(__self__, account_domain=None, account_id=None, id=None, identity=None, kind=None, location=None, name=None, plan=None, sku=None, system_data=None, tags=None, type=None): + if account_domain and not isinstance(account_domain, str): + raise TypeError("Expected argument 'account_domain' to be a str") + pulumi.set(__self__, "account_domain", account_domain) + if account_id and not isinstance(account_id, str): + raise TypeError("Expected argument 'account_id' to be a str") + pulumi.set(__self__, "account_id", account_id) + 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 kind and not isinstance(kind, dict): + raise TypeError("Expected argument 'kind' to be a dict") + pulumi.set(__self__, "kind", kind) + 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 plan and not isinstance(plan, dict): + raise TypeError("Expected argument 'plan' to be a dict") + pulumi.set(__self__, "plan", plan) + if sku and not isinstance(sku, dict): + raise TypeError("Expected argument 'sku' to be a dict") + pulumi.set(__self__, "sku", sku) + 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="accountDomain") + def account_domain(self) -> str: + """ + Correspond domain name of certain Spatial Anchors Account + """ + return pulumi.get(self, "account_domain") + + @property + @pulumi.getter(name="accountId") + def account_id(self) -> str: + """ + unique id of certain account. + """ + return pulumi.get(self, "account_id") + + @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 associated with this account + """ + return pulumi.get(self, "identity") + + @property + @pulumi.getter + def kind(self) -> Optional['outputs.SkuResponse']: + """ + The kind of account, if supported + """ + return pulumi.get(self, "kind") + + @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 plan(self) -> Optional['outputs.IdentityResponse']: + """ + The plan associated with this account + """ + return pulumi.get(self, "plan") + + @property + @pulumi.getter + def sku(self) -> Optional['outputs.SkuResponse']: + """ + The sku associated with this account + """ + return pulumi.get(self, "sku") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + System metadata for this account + """ + 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 AwaitableGetRemoteRenderingAccountResult(GetRemoteRenderingAccountResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetRemoteRenderingAccountResult( + account_domain=self.account_domain, + account_id=self.account_id, + id=self.id, + identity=self.identity, + kind=self.kind, + location=self.location, + name=self.name, + plan=self.plan, + sku=self.sku, + system_data=self.system_data, + tags=self.tags, + type=self.type) + + +def get_remote_rendering_account(account_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetRemoteRenderingAccountResult: + """ + Use this data source to access information about an existing resource. + + :param str account_name: Name of an Mixed Reality Account. + :param str resource_group_name: Name of an Azure resource group. + """ + __args__ = dict() + __args__['accountName'] = account_name + __args__['resourceGroupName'] = resource_group_name + if opts is None: + opts = pulumi.InvokeOptions() + if opts.version is None: + opts.version = _utilities.get_version() + __ret__ = pulumi.runtime.invoke('azure-nextgen:mixedreality/latest:getRemoteRenderingAccount', __args__, opts=opts, typ=GetRemoteRenderingAccountResult).value + + return AwaitableGetRemoteRenderingAccountResult( + account_domain=__ret__.account_domain, + account_id=__ret__.account_id, + id=__ret__.id, + identity=__ret__.identity, + kind=__ret__.kind, + location=__ret__.location, + name=__ret__.name, + plan=__ret__.plan, + sku=__ret__.sku, + system_data=__ret__.system_data, + tags=__ret__.tags, + type=__ret__.type) diff --git a/sdk/python/pulumi_azure_nextgen/mixedreality/latest/get_spatial_anchors_account.py b/sdk/python/pulumi_azure_nextgen/mixedreality/latest/get_spatial_anchors_account.py index 96c97593bd32..10f37742c548 100644 --- a/sdk/python/pulumi_azure_nextgen/mixedreality/latest/get_spatial_anchors_account.py +++ b/sdk/python/pulumi_azure_nextgen/mixedreality/latest/get_spatial_anchors_account.py @@ -20,7 +20,7 @@ class GetSpatialAnchorsAccountResult: """ SpatialAnchorsAccount Response. """ - def __init__(__self__, account_domain=None, account_id=None, id=None, identity=None, location=None, name=None, tags=None, type=None): + def __init__(__self__, account_domain=None, account_id=None, id=None, identity=None, kind=None, location=None, name=None, plan=None, sku=None, system_data=None, tags=None, type=None): if account_domain and not isinstance(account_domain, str): raise TypeError("Expected argument 'account_domain' to be a str") pulumi.set(__self__, "account_domain", account_domain) @@ -33,12 +33,24 @@ def __init__(__self__, account_domain=None, account_id=None, id=None, identity=N if identity and not isinstance(identity, dict): raise TypeError("Expected argument 'identity' to be a dict") pulumi.set(__self__, "identity", identity) + if kind and not isinstance(kind, dict): + raise TypeError("Expected argument 'kind' to be a dict") + pulumi.set(__self__, "kind", kind) 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 plan and not isinstance(plan, dict): + raise TypeError("Expected argument 'plan' to be a dict") + pulumi.set(__self__, "plan", plan) + if sku and not isinstance(sku, dict): + raise TypeError("Expected argument 'sku' to be a dict") + pulumi.set(__self__, "sku", sku) + 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) @@ -78,6 +90,14 @@ def identity(self) -> Optional['outputs.IdentityResponse']: """ return pulumi.get(self, "identity") + @property + @pulumi.getter + def kind(self) -> Optional['outputs.SkuResponse']: + """ + The kind of account, if supported + """ + return pulumi.get(self, "kind") + @property @pulumi.getter def location(self) -> str: @@ -94,6 +114,30 @@ def name(self) -> str: """ return pulumi.get(self, "name") + @property + @pulumi.getter + def plan(self) -> Optional['outputs.IdentityResponse']: + """ + The plan associated with this account + """ + return pulumi.get(self, "plan") + + @property + @pulumi.getter + def sku(self) -> Optional['outputs.SkuResponse']: + """ + The sku associated with this account + """ + return pulumi.get(self, "sku") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + System metadata for this account + """ + return pulumi.get(self, "system_data") + @property @pulumi.getter def tags(self) -> Optional[Mapping[str, str]]: @@ -121,8 +165,12 @@ def __await__(self): account_id=self.account_id, id=self.id, identity=self.identity, + kind=self.kind, location=self.location, name=self.name, + plan=self.plan, + sku=self.sku, + system_data=self.system_data, tags=self.tags, type=self.type) @@ -150,7 +198,11 @@ def get_spatial_anchors_account(account_name: Optional[str] = None, account_id=__ret__.account_id, id=__ret__.id, identity=__ret__.identity, + kind=__ret__.kind, location=__ret__.location, name=__ret__.name, + plan=__ret__.plan, + sku=__ret__.sku, + system_data=__ret__.system_data, tags=__ret__.tags, type=__ret__.type) diff --git a/sdk/python/pulumi_azure_nextgen/mixedreality/latest/list_remote_rendering_account_keys.py b/sdk/python/pulumi_azure_nextgen/mixedreality/latest/list_remote_rendering_account_keys.py new file mode 100644 index 000000000000..02f663c16732 --- /dev/null +++ b/sdk/python/pulumi_azure_nextgen/mixedreality/latest/list_remote_rendering_account_keys.py @@ -0,0 +1,77 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi SDK Generator. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union +from ... import _utilities, _tables + +__all__ = [ + 'ListRemoteRenderingAccountKeysResult', + 'AwaitableListRemoteRenderingAccountKeysResult', + 'list_remote_rendering_account_keys', +] + +@pulumi.output_type +class ListRemoteRenderingAccountKeysResult: + """ + Developer Keys of account + """ + 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: + """ + value of primary key. + """ + return pulumi.get(self, "primary_key") + + @property + @pulumi.getter(name="secondaryKey") + def secondary_key(self) -> str: + """ + value of secondary key. + """ + return pulumi.get(self, "secondary_key") + + +class AwaitableListRemoteRenderingAccountKeysResult(ListRemoteRenderingAccountKeysResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return ListRemoteRenderingAccountKeysResult( + primary_key=self.primary_key, + secondary_key=self.secondary_key) + + +def list_remote_rendering_account_keys(account_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableListRemoteRenderingAccountKeysResult: + """ + Use this data source to access information about an existing resource. + + :param str account_name: Name of an Mixed Reality Account. + :param str resource_group_name: Name of an Azure resource group. + """ + __args__ = dict() + __args__['accountName'] = account_name + __args__['resourceGroupName'] = resource_group_name + if opts is None: + opts = pulumi.InvokeOptions() + if opts.version is None: + opts.version = _utilities.get_version() + __ret__ = pulumi.runtime.invoke('azure-nextgen:mixedreality/latest:listRemoteRenderingAccountKeys', __args__, opts=opts, typ=ListRemoteRenderingAccountKeysResult).value + + return AwaitableListRemoteRenderingAccountKeysResult( + primary_key=__ret__.primary_key, + secondary_key=__ret__.secondary_key) diff --git a/sdk/python/pulumi_azure_nextgen/mixedreality/latest/outputs.py b/sdk/python/pulumi_azure_nextgen/mixedreality/latest/outputs.py index c9d72cd2c927..d00055e503fa 100644 --- a/sdk/python/pulumi_azure_nextgen/mixedreality/latest/outputs.py +++ b/sdk/python/pulumi_azure_nextgen/mixedreality/latest/outputs.py @@ -11,6 +11,8 @@ __all__ = [ 'IdentityResponse', + 'SkuResponse', + 'SystemDataResponse', ] @pulumi.output_type @@ -61,3 +63,162 @@ def _translate_property(self, prop): return _tables.CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop +@pulumi.output_type +class SkuResponse(dict): + """ + The resource model definition representing SKU + """ + def __init__(__self__, *, + name: str, + capacity: Optional[int] = None, + family: Optional[str] = None, + size: Optional[str] = None, + tier: Optional[str] = None): + """ + The resource model definition representing SKU + :param str name: The name of the SKU. Ex - P3. It is typically a letter+number code + :param int capacity: If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. + :param str family: If the service has different generations of hardware, for the same SKU, then that can be captured here. + :param str size: The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. + :param str tier: This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. + """ + pulumi.set(__self__, "name", name) + if capacity is not None: + pulumi.set(__self__, "capacity", capacity) + if family is not None: + pulumi.set(__self__, "family", family) + if size is not None: + pulumi.set(__self__, "size", size) + if tier is not None: + pulumi.set(__self__, "tier", tier) + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the SKU. Ex - P3. It is typically a letter+number code + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def capacity(self) -> Optional[int]: + """ + If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. + """ + return pulumi.get(self, "capacity") + + @property + @pulumi.getter + def family(self) -> Optional[str]: + """ + If the service has different generations of hardware, for the same SKU, then that can be captured here. + """ + return pulumi.get(self, "family") + + @property + @pulumi.getter + def size(self) -> Optional[str]: + """ + The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. + """ + return pulumi.get(self, "size") + + @property + @pulumi.getter + def tier(self) -> Optional[str]: + """ + This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. + """ + return pulumi.get(self, "tier") + + def _translate_property(self, prop): + return _tables.CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop + + +@pulumi.output_type +class SystemDataResponse(dict): + """ + Metadata pertaining to creation and last modification of the resource. + """ + 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 type of identity that last modified the resource. + :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 type of identity that last modified the resource. + """ + 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") + + def _translate_property(self, prop): + return _tables.CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop + + diff --git a/sdk/python/pulumi_azure_nextgen/mixedreality/latest/remote_rendering_account.py b/sdk/python/pulumi_azure_nextgen/mixedreality/latest/remote_rendering_account.py new file mode 100644 index 000000000000..456a1cc3fa28 --- /dev/null +++ b/sdk/python/pulumi_azure_nextgen/mixedreality/latest/remote_rendering_account.py @@ -0,0 +1,202 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi SDK Generator. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union +from ... import _utilities, _tables +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['RemoteRenderingAccount'] + + +class RemoteRenderingAccount(pulumi.CustomResource): + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + account_name: Optional[pulumi.Input[str]] = None, + identity: Optional[pulumi.Input[pulumi.InputType['IdentityArgs']]] = None, + kind: Optional[pulumi.Input[pulumi.InputType['SkuArgs']]] = None, + location: Optional[pulumi.Input[str]] = None, + plan: Optional[pulumi.Input[pulumi.InputType['IdentityArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + sku: Optional[pulumi.Input[pulumi.InputType['SkuArgs']]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + __props__=None, + __name__=None, + __opts__=None): + """ + RemoteRenderingAccount Response. + Latest API Version: 2021-01-01. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] account_name: Name of an Mixed Reality Account. + :param pulumi.Input[pulumi.InputType['IdentityArgs']] identity: The identity associated with this account + :param pulumi.Input[pulumi.InputType['SkuArgs']] kind: The kind of account, if supported + :param pulumi.Input[str] location: The geo-location where the resource lives + :param pulumi.Input[pulumi.InputType['IdentityArgs']] plan: The plan associated with this account + :param pulumi.Input[str] resource_group_name: Name of an Azure resource group. + :param pulumi.Input[pulumi.InputType['SkuArgs']] sku: The sku associated with this account + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. + """ + if __name__ is not None: + warnings.warn("explicit use of __name__ is deprecated", DeprecationWarning) + resource_name = __name__ + if __opts__ is not None: + warnings.warn("explicit use of __opts__ is deprecated, use 'opts' instead", DeprecationWarning) + opts = __opts__ + if opts is None: + opts = pulumi.ResourceOptions() + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.version is None: + opts.version = _utilities.get_version() + 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__ = dict() + + if account_name is None and not opts.urn: + raise TypeError("Missing required property 'account_name'") + __props__['account_name'] = account_name + __props__['identity'] = identity + __props__['kind'] = kind + if location is None and not opts.urn: + raise TypeError("Missing required property 'location'") + __props__['location'] = location + __props__['plan'] = plan + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__['resource_group_name'] = resource_group_name + __props__['sku'] = sku + __props__['tags'] = tags + __props__['account_domain'] = None + __props__['account_id'] = None + __props__['name'] = None + __props__['system_data'] = None + __props__['type'] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-nextgen:mixedreality/v20191202preview:RemoteRenderingAccount"), pulumi.Alias(type_="azure-nextgen:mixedreality/v20200406preview:RemoteRenderingAccount"), pulumi.Alias(type_="azure-nextgen:mixedreality/v20210101:RemoteRenderingAccount")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(RemoteRenderingAccount, __self__).__init__( + 'azure-nextgen:mixedreality/latest:RemoteRenderingAccount', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'RemoteRenderingAccount': + """ + Get an existing RemoteRenderingAccount 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__ = dict() + + return RemoteRenderingAccount(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="accountDomain") + def account_domain(self) -> pulumi.Output[str]: + """ + Correspond domain name of certain Spatial Anchors Account + """ + return pulumi.get(self, "account_domain") + + @property + @pulumi.getter(name="accountId") + def account_id(self) -> pulumi.Output[str]: + """ + unique id of certain account. + """ + return pulumi.get(self, "account_id") + + @property + @pulumi.getter + def identity(self) -> pulumi.Output[Optional['outputs.IdentityResponse']]: + """ + The identity associated with this account + """ + return pulumi.get(self, "identity") + + @property + @pulumi.getter + def kind(self) -> pulumi.Output[Optional['outputs.SkuResponse']]: + """ + The kind of account, if supported + """ + return pulumi.get(self, "kind") + + @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 plan(self) -> pulumi.Output[Optional['outputs.IdentityResponse']]: + """ + The plan associated with this account + """ + return pulumi.get(self, "plan") + + @property + @pulumi.getter + def sku(self) -> pulumi.Output[Optional['outputs.SkuResponse']]: + """ + The sku associated with this account + """ + return pulumi.get(self, "sku") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + System metadata for this account + """ + 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") + + def translate_output_property(self, prop): + return _tables.CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop + + def translate_input_property(self, prop): + return _tables.SNAKE_TO_CAMEL_CASE_TABLE.get(prop) or prop + diff --git a/sdk/python/pulumi_azure_nextgen/mixedreality/latest/spatial_anchors_account.py b/sdk/python/pulumi_azure_nextgen/mixedreality/latest/spatial_anchors_account.py index d8d3d0390344..4963e9be9ee0 100644 --- a/sdk/python/pulumi_azure_nextgen/mixedreality/latest/spatial_anchors_account.py +++ b/sdk/python/pulumi_azure_nextgen/mixedreality/latest/spatial_anchors_account.py @@ -20,22 +20,28 @@ def __init__(__self__, opts: Optional[pulumi.ResourceOptions] = None, account_name: Optional[pulumi.Input[str]] = None, identity: Optional[pulumi.Input[pulumi.InputType['IdentityArgs']]] = None, + kind: Optional[pulumi.Input[pulumi.InputType['SkuArgs']]] = None, location: Optional[pulumi.Input[str]] = None, + plan: Optional[pulumi.Input[pulumi.InputType['IdentityArgs']]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, + sku: Optional[pulumi.Input[pulumi.InputType['SkuArgs']]] = None, tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, __props__=None, __name__=None, __opts__=None): """ SpatialAnchorsAccount Response. - Latest API Version: 2020-05-01. + Latest API Version: 2021-01-01. :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] account_name: Name of an Mixed Reality Account. :param pulumi.Input[pulumi.InputType['IdentityArgs']] identity: The identity associated with this account + :param pulumi.Input[pulumi.InputType['SkuArgs']] kind: The kind of account, if supported :param pulumi.Input[str] location: The geo-location where the resource lives + :param pulumi.Input[pulumi.InputType['IdentityArgs']] plan: The plan associated with this account :param pulumi.Input[str] resource_group_name: Name of an Azure resource group. + :param pulumi.Input[pulumi.InputType['SkuArgs']] sku: The sku associated with this account :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. """ if __name__ is not None: @@ -59,18 +65,22 @@ def __init__(__self__, raise TypeError("Missing required property 'account_name'") __props__['account_name'] = account_name __props__['identity'] = identity + __props__['kind'] = kind if location is None and not opts.urn: raise TypeError("Missing required property 'location'") __props__['location'] = location + __props__['plan'] = plan if resource_group_name is None and not opts.urn: raise TypeError("Missing required property 'resource_group_name'") __props__['resource_group_name'] = resource_group_name + __props__['sku'] = sku __props__['tags'] = tags __props__['account_domain'] = None __props__['account_id'] = None __props__['name'] = None + __props__['system_data'] = None __props__['type'] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-nextgen:mixedreality/v20190228preview:SpatialAnchorsAccount"), pulumi.Alias(type_="azure-nextgen:mixedreality/v20191202preview:SpatialAnchorsAccount"), pulumi.Alias(type_="azure-nextgen:mixedreality/v20200501:SpatialAnchorsAccount")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-nextgen:mixedreality/v20190228preview:SpatialAnchorsAccount"), pulumi.Alias(type_="azure-nextgen:mixedreality/v20191202preview:SpatialAnchorsAccount"), pulumi.Alias(type_="azure-nextgen:mixedreality/v20200501:SpatialAnchorsAccount"), pulumi.Alias(type_="azure-nextgen:mixedreality/v20210101:SpatialAnchorsAccount")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(SpatialAnchorsAccount, __self__).__init__( 'azure-nextgen:mixedreality/latest:SpatialAnchorsAccount', @@ -120,6 +130,14 @@ def identity(self) -> pulumi.Output[Optional['outputs.IdentityResponse']]: """ return pulumi.get(self, "identity") + @property + @pulumi.getter + def kind(self) -> pulumi.Output[Optional['outputs.SkuResponse']]: + """ + The kind of account, if supported + """ + return pulumi.get(self, "kind") + @property @pulumi.getter def location(self) -> pulumi.Output[str]: @@ -136,6 +154,30 @@ def name(self) -> pulumi.Output[str]: """ return pulumi.get(self, "name") + @property + @pulumi.getter + def plan(self) -> pulumi.Output[Optional['outputs.IdentityResponse']]: + """ + The plan associated with this account + """ + return pulumi.get(self, "plan") + + @property + @pulumi.getter + def sku(self) -> pulumi.Output[Optional['outputs.SkuResponse']]: + """ + The sku associated with this account + """ + return pulumi.get(self, "sku") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + System metadata for this account + """ + return pulumi.get(self, "system_data") + @property @pulumi.getter def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: diff --git a/sdk/python/pulumi_azure_nextgen/mixedreality/v20190228preview/spatial_anchors_account.py b/sdk/python/pulumi_azure_nextgen/mixedreality/v20190228preview/spatial_anchors_account.py index 886ce63268da..2ae1e063b457 100644 --- a/sdk/python/pulumi_azure_nextgen/mixedreality/v20190228preview/spatial_anchors_account.py +++ b/sdk/python/pulumi_azure_nextgen/mixedreality/v20190228preview/spatial_anchors_account.py @@ -69,7 +69,7 @@ def __init__(__self__, __props__['account_id'] = None __props__['name'] = None __props__['type'] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-nextgen:mixedreality/latest:SpatialAnchorsAccount"), pulumi.Alias(type_="azure-nextgen:mixedreality/v20191202preview:SpatialAnchorsAccount"), pulumi.Alias(type_="azure-nextgen:mixedreality/v20200501:SpatialAnchorsAccount")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-nextgen:mixedreality/latest:SpatialAnchorsAccount"), pulumi.Alias(type_="azure-nextgen:mixedreality/v20191202preview:SpatialAnchorsAccount"), pulumi.Alias(type_="azure-nextgen:mixedreality/v20200501:SpatialAnchorsAccount"), pulumi.Alias(type_="azure-nextgen:mixedreality/v20210101:SpatialAnchorsAccount")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(SpatialAnchorsAccount, __self__).__init__( 'azure-nextgen:mixedreality/v20190228preview:SpatialAnchorsAccount', diff --git a/sdk/python/pulumi_azure_nextgen/mixedreality/v20191202preview/remote_rendering_account.py b/sdk/python/pulumi_azure_nextgen/mixedreality/v20191202preview/remote_rendering_account.py index bbb679e494f5..9e6839c2ffdd 100644 --- a/sdk/python/pulumi_azure_nextgen/mixedreality/v20191202preview/remote_rendering_account.py +++ b/sdk/python/pulumi_azure_nextgen/mixedreality/v20191202preview/remote_rendering_account.py @@ -69,7 +69,7 @@ def __init__(__self__, __props__['account_id'] = None __props__['name'] = None __props__['type'] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-nextgen:mixedreality/v20200406preview:RemoteRenderingAccount")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-nextgen:mixedreality/latest:RemoteRenderingAccount"), pulumi.Alias(type_="azure-nextgen:mixedreality/v20200406preview:RemoteRenderingAccount"), pulumi.Alias(type_="azure-nextgen:mixedreality/v20210101:RemoteRenderingAccount")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(RemoteRenderingAccount, __self__).__init__( 'azure-nextgen:mixedreality/v20191202preview:RemoteRenderingAccount', diff --git a/sdk/python/pulumi_azure_nextgen/mixedreality/v20191202preview/spatial_anchors_account.py b/sdk/python/pulumi_azure_nextgen/mixedreality/v20191202preview/spatial_anchors_account.py index a8e7b36b48f1..0710a3ed5987 100644 --- a/sdk/python/pulumi_azure_nextgen/mixedreality/v20191202preview/spatial_anchors_account.py +++ b/sdk/python/pulumi_azure_nextgen/mixedreality/v20191202preview/spatial_anchors_account.py @@ -69,7 +69,7 @@ def __init__(__self__, __props__['account_id'] = None __props__['name'] = None __props__['type'] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-nextgen:mixedreality/latest:SpatialAnchorsAccount"), pulumi.Alias(type_="azure-nextgen:mixedreality/v20190228preview:SpatialAnchorsAccount"), pulumi.Alias(type_="azure-nextgen:mixedreality/v20200501:SpatialAnchorsAccount")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-nextgen:mixedreality/latest:SpatialAnchorsAccount"), pulumi.Alias(type_="azure-nextgen:mixedreality/v20190228preview:SpatialAnchorsAccount"), pulumi.Alias(type_="azure-nextgen:mixedreality/v20200501:SpatialAnchorsAccount"), pulumi.Alias(type_="azure-nextgen:mixedreality/v20210101:SpatialAnchorsAccount")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(SpatialAnchorsAccount, __self__).__init__( 'azure-nextgen:mixedreality/v20191202preview:SpatialAnchorsAccount', diff --git a/sdk/python/pulumi_azure_nextgen/mixedreality/v20200406preview/remote_rendering_account.py b/sdk/python/pulumi_azure_nextgen/mixedreality/v20200406preview/remote_rendering_account.py index 7002473841d8..2d7aa7138c9f 100644 --- a/sdk/python/pulumi_azure_nextgen/mixedreality/v20200406preview/remote_rendering_account.py +++ b/sdk/python/pulumi_azure_nextgen/mixedreality/v20200406preview/remote_rendering_account.py @@ -68,7 +68,7 @@ def __init__(__self__, __props__['account_id'] = None __props__['name'] = None __props__['type'] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-nextgen:mixedreality/v20191202preview:RemoteRenderingAccount")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-nextgen:mixedreality/latest:RemoteRenderingAccount"), pulumi.Alias(type_="azure-nextgen:mixedreality/v20191202preview:RemoteRenderingAccount"), pulumi.Alias(type_="azure-nextgen:mixedreality/v20210101:RemoteRenderingAccount")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(RemoteRenderingAccount, __self__).__init__( 'azure-nextgen:mixedreality/v20200406preview:RemoteRenderingAccount', diff --git a/sdk/python/pulumi_azure_nextgen/mixedreality/v20200501/spatial_anchors_account.py b/sdk/python/pulumi_azure_nextgen/mixedreality/v20200501/spatial_anchors_account.py index 6c9a4a78d243..41057904c0cb 100644 --- a/sdk/python/pulumi_azure_nextgen/mixedreality/v20200501/spatial_anchors_account.py +++ b/sdk/python/pulumi_azure_nextgen/mixedreality/v20200501/spatial_anchors_account.py @@ -69,7 +69,7 @@ def __init__(__self__, __props__['account_id'] = None __props__['name'] = None __props__['type'] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-nextgen:mixedreality/latest:SpatialAnchorsAccount"), pulumi.Alias(type_="azure-nextgen:mixedreality/v20190228preview:SpatialAnchorsAccount"), pulumi.Alias(type_="azure-nextgen:mixedreality/v20191202preview:SpatialAnchorsAccount")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-nextgen:mixedreality/latest:SpatialAnchorsAccount"), pulumi.Alias(type_="azure-nextgen:mixedreality/v20190228preview:SpatialAnchorsAccount"), pulumi.Alias(type_="azure-nextgen:mixedreality/v20191202preview:SpatialAnchorsAccount"), pulumi.Alias(type_="azure-nextgen:mixedreality/v20210101:SpatialAnchorsAccount")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(SpatialAnchorsAccount, __self__).__init__( 'azure-nextgen:mixedreality/v20200501:SpatialAnchorsAccount', diff --git a/sdk/python/pulumi_azure_nextgen/mixedreality/v20210101/__init__.py b/sdk/python/pulumi_azure_nextgen/mixedreality/v20210101/__init__.py new file mode 100644 index 000000000000..a64182c48dfc --- /dev/null +++ b/sdk/python/pulumi_azure_nextgen/mixedreality/v20210101/__init__.py @@ -0,0 +1,39 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi SDK Generator. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +# Export this package's modules as members: +from ._enums import * +from .get_remote_rendering_account import * +from .get_spatial_anchors_account import * +from .list_remote_rendering_account_keys import * +from .list_spatial_anchors_account_keys import * +from .remote_rendering_account import * +from .spatial_anchors_account import * +from ._inputs import * +from . import outputs + +def _register_module(): + import pulumi + from ... import _utilities + + + class Module(pulumi.runtime.ResourceModule): + _version = _utilities.get_semver_version() + + def version(self): + return Module._version + + def construct(self, name: str, typ: str, urn: str) -> pulumi.Resource: + if typ == "azure-nextgen:mixedreality/v20210101:RemoteRenderingAccount": + return RemoteRenderingAccount(name, pulumi.ResourceOptions(urn=urn)) + elif typ == "azure-nextgen:mixedreality/v20210101:SpatialAnchorsAccount": + return SpatialAnchorsAccount(name, pulumi.ResourceOptions(urn=urn)) + else: + raise Exception(f"unknown resource type {typ}") + + + _module_instance = Module() + pulumi.runtime.register_resource_module("azure-nextgen", "mixedreality/v20210101", _module_instance) + +_register_module() diff --git a/sdk/python/pulumi_azure_nextgen/mixedreality/v20210101/_enums.py b/sdk/python/pulumi_azure_nextgen/mixedreality/v20210101/_enums.py new file mode 100644 index 000000000000..c0c62258877e --- /dev/null +++ b/sdk/python/pulumi_azure_nextgen/mixedreality/v20210101/_enums.py @@ -0,0 +1,27 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi SDK Generator. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +from enum import Enum + +__all__ = [ + 'ResourceIdentityType', + 'SkuTier', +] + + +class ResourceIdentityType(str, Enum): + """ + The identity type. + """ + SYSTEM_ASSIGNED = "SystemAssigned" + + +class SkuTier(str, Enum): + """ + This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. + """ + FREE = "Free" + BASIC = "Basic" + STANDARD = "Standard" + PREMIUM = "Premium" diff --git a/sdk/python/pulumi_azure_nextgen/mixedreality/v20210101/_inputs.py b/sdk/python/pulumi_azure_nextgen/mixedreality/v20210101/_inputs.py new file mode 100644 index 000000000000..67d47b638dcd --- /dev/null +++ b/sdk/python/pulumi_azure_nextgen/mixedreality/v20210101/_inputs.py @@ -0,0 +1,127 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi SDK Generator. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union +from ... import _utilities, _tables +from ._enums import * + +__all__ = [ + 'IdentityArgs', + 'SkuArgs', +] + +@pulumi.input_type +class IdentityArgs: + def __init__(__self__, *, + type: Optional[pulumi.Input['ResourceIdentityType']] = None): + """ + Identity for the resource. + :param pulumi.Input['ResourceIdentityType'] type: The identity type. + """ + if type is not None: + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def type(self) -> Optional[pulumi.Input['ResourceIdentityType']]: + """ + The identity type. + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: Optional[pulumi.Input['ResourceIdentityType']]): + pulumi.set(self, "type", value) + + +@pulumi.input_type +class SkuArgs: + def __init__(__self__, *, + name: pulumi.Input[str], + capacity: Optional[pulumi.Input[int]] = None, + family: Optional[pulumi.Input[str]] = None, + size: Optional[pulumi.Input[str]] = None, + tier: Optional[pulumi.Input['SkuTier']] = None): + """ + The resource model definition representing SKU + :param pulumi.Input[str] name: The name of the SKU. Ex - P3. It is typically a letter+number code + :param pulumi.Input[int] capacity: If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. + :param pulumi.Input[str] family: If the service has different generations of hardware, for the same SKU, then that can be captured here. + :param pulumi.Input[str] size: The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. + :param pulumi.Input['SkuTier'] tier: This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. + """ + pulumi.set(__self__, "name", name) + if capacity is not None: + pulumi.set(__self__, "capacity", capacity) + if family is not None: + pulumi.set(__self__, "family", family) + if size is not None: + pulumi.set(__self__, "size", size) + if tier is not None: + pulumi.set(__self__, "tier", tier) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + """ + The name of the SKU. Ex - P3. It is typically a letter+number code + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def capacity(self) -> Optional[pulumi.Input[int]]: + """ + If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. + """ + return pulumi.get(self, "capacity") + + @capacity.setter + def capacity(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "capacity", value) + + @property + @pulumi.getter + def family(self) -> Optional[pulumi.Input[str]]: + """ + If the service has different generations of hardware, for the same SKU, then that can be captured here. + """ + return pulumi.get(self, "family") + + @family.setter + def family(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "family", value) + + @property + @pulumi.getter + def size(self) -> Optional[pulumi.Input[str]]: + """ + The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. + """ + return pulumi.get(self, "size") + + @size.setter + def size(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "size", value) + + @property + @pulumi.getter + def tier(self) -> Optional[pulumi.Input['SkuTier']]: + """ + This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. + """ + return pulumi.get(self, "tier") + + @tier.setter + def tier(self, value: Optional[pulumi.Input['SkuTier']]): + pulumi.set(self, "tier", value) + + diff --git a/sdk/python/pulumi_azure_nextgen/mixedreality/v20210101/get_remote_rendering_account.py b/sdk/python/pulumi_azure_nextgen/mixedreality/v20210101/get_remote_rendering_account.py new file mode 100644 index 000000000000..19ac9ae73c48 --- /dev/null +++ b/sdk/python/pulumi_azure_nextgen/mixedreality/v20210101/get_remote_rendering_account.py @@ -0,0 +1,208 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi SDK Generator. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union +from ... import _utilities, _tables +from . import outputs + +__all__ = [ + 'GetRemoteRenderingAccountResult', + 'AwaitableGetRemoteRenderingAccountResult', + 'get_remote_rendering_account', +] + +@pulumi.output_type +class GetRemoteRenderingAccountResult: + """ + RemoteRenderingAccount Response. + """ + def __init__(__self__, account_domain=None, account_id=None, id=None, identity=None, kind=None, location=None, name=None, plan=None, sku=None, system_data=None, tags=None, type=None): + if account_domain and not isinstance(account_domain, str): + raise TypeError("Expected argument 'account_domain' to be a str") + pulumi.set(__self__, "account_domain", account_domain) + if account_id and not isinstance(account_id, str): + raise TypeError("Expected argument 'account_id' to be a str") + pulumi.set(__self__, "account_id", account_id) + 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 kind and not isinstance(kind, dict): + raise TypeError("Expected argument 'kind' to be a dict") + pulumi.set(__self__, "kind", kind) + 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 plan and not isinstance(plan, dict): + raise TypeError("Expected argument 'plan' to be a dict") + pulumi.set(__self__, "plan", plan) + if sku and not isinstance(sku, dict): + raise TypeError("Expected argument 'sku' to be a dict") + pulumi.set(__self__, "sku", sku) + 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="accountDomain") + def account_domain(self) -> str: + """ + Correspond domain name of certain Spatial Anchors Account + """ + return pulumi.get(self, "account_domain") + + @property + @pulumi.getter(name="accountId") + def account_id(self) -> str: + """ + unique id of certain account. + """ + return pulumi.get(self, "account_id") + + @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 associated with this account + """ + return pulumi.get(self, "identity") + + @property + @pulumi.getter + def kind(self) -> Optional['outputs.SkuResponse']: + """ + The kind of account, if supported + """ + return pulumi.get(self, "kind") + + @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 plan(self) -> Optional['outputs.IdentityResponse']: + """ + The plan associated with this account + """ + return pulumi.get(self, "plan") + + @property + @pulumi.getter + def sku(self) -> Optional['outputs.SkuResponse']: + """ + The sku associated with this account + """ + return pulumi.get(self, "sku") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + System metadata for this account + """ + 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 AwaitableGetRemoteRenderingAccountResult(GetRemoteRenderingAccountResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetRemoteRenderingAccountResult( + account_domain=self.account_domain, + account_id=self.account_id, + id=self.id, + identity=self.identity, + kind=self.kind, + location=self.location, + name=self.name, + plan=self.plan, + sku=self.sku, + system_data=self.system_data, + tags=self.tags, + type=self.type) + + +def get_remote_rendering_account(account_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetRemoteRenderingAccountResult: + """ + Use this data source to access information about an existing resource. + + :param str account_name: Name of an Mixed Reality Account. + :param str resource_group_name: Name of an Azure resource group. + """ + __args__ = dict() + __args__['accountName'] = account_name + __args__['resourceGroupName'] = resource_group_name + if opts is None: + opts = pulumi.InvokeOptions() + if opts.version is None: + opts.version = _utilities.get_version() + __ret__ = pulumi.runtime.invoke('azure-nextgen:mixedreality/v20210101:getRemoteRenderingAccount', __args__, opts=opts, typ=GetRemoteRenderingAccountResult).value + + return AwaitableGetRemoteRenderingAccountResult( + account_domain=__ret__.account_domain, + account_id=__ret__.account_id, + id=__ret__.id, + identity=__ret__.identity, + kind=__ret__.kind, + location=__ret__.location, + name=__ret__.name, + plan=__ret__.plan, + sku=__ret__.sku, + system_data=__ret__.system_data, + tags=__ret__.tags, + type=__ret__.type) diff --git a/sdk/python/pulumi_azure_nextgen/mixedreality/v20210101/get_spatial_anchors_account.py b/sdk/python/pulumi_azure_nextgen/mixedreality/v20210101/get_spatial_anchors_account.py new file mode 100644 index 000000000000..6fac7a6be23d --- /dev/null +++ b/sdk/python/pulumi_azure_nextgen/mixedreality/v20210101/get_spatial_anchors_account.py @@ -0,0 +1,208 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi SDK Generator. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union +from ... import _utilities, _tables +from . import outputs + +__all__ = [ + 'GetSpatialAnchorsAccountResult', + 'AwaitableGetSpatialAnchorsAccountResult', + 'get_spatial_anchors_account', +] + +@pulumi.output_type +class GetSpatialAnchorsAccountResult: + """ + SpatialAnchorsAccount Response. + """ + def __init__(__self__, account_domain=None, account_id=None, id=None, identity=None, kind=None, location=None, name=None, plan=None, sku=None, system_data=None, tags=None, type=None): + if account_domain and not isinstance(account_domain, str): + raise TypeError("Expected argument 'account_domain' to be a str") + pulumi.set(__self__, "account_domain", account_domain) + if account_id and not isinstance(account_id, str): + raise TypeError("Expected argument 'account_id' to be a str") + pulumi.set(__self__, "account_id", account_id) + 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 kind and not isinstance(kind, dict): + raise TypeError("Expected argument 'kind' to be a dict") + pulumi.set(__self__, "kind", kind) + 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 plan and not isinstance(plan, dict): + raise TypeError("Expected argument 'plan' to be a dict") + pulumi.set(__self__, "plan", plan) + if sku and not isinstance(sku, dict): + raise TypeError("Expected argument 'sku' to be a dict") + pulumi.set(__self__, "sku", sku) + 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="accountDomain") + def account_domain(self) -> str: + """ + Correspond domain name of certain Spatial Anchors Account + """ + return pulumi.get(self, "account_domain") + + @property + @pulumi.getter(name="accountId") + def account_id(self) -> str: + """ + unique id of certain account. + """ + return pulumi.get(self, "account_id") + + @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 associated with this account + """ + return pulumi.get(self, "identity") + + @property + @pulumi.getter + def kind(self) -> Optional['outputs.SkuResponse']: + """ + The kind of account, if supported + """ + return pulumi.get(self, "kind") + + @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 plan(self) -> Optional['outputs.IdentityResponse']: + """ + The plan associated with this account + """ + return pulumi.get(self, "plan") + + @property + @pulumi.getter + def sku(self) -> Optional['outputs.SkuResponse']: + """ + The sku associated with this account + """ + return pulumi.get(self, "sku") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + System metadata for this account + """ + 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 AwaitableGetSpatialAnchorsAccountResult(GetSpatialAnchorsAccountResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetSpatialAnchorsAccountResult( + account_domain=self.account_domain, + account_id=self.account_id, + id=self.id, + identity=self.identity, + kind=self.kind, + location=self.location, + name=self.name, + plan=self.plan, + sku=self.sku, + system_data=self.system_data, + tags=self.tags, + type=self.type) + + +def get_spatial_anchors_account(account_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSpatialAnchorsAccountResult: + """ + Use this data source to access information about an existing resource. + + :param str account_name: Name of an Mixed Reality Account. + :param str resource_group_name: Name of an Azure resource group. + """ + __args__ = dict() + __args__['accountName'] = account_name + __args__['resourceGroupName'] = resource_group_name + if opts is None: + opts = pulumi.InvokeOptions() + if opts.version is None: + opts.version = _utilities.get_version() + __ret__ = pulumi.runtime.invoke('azure-nextgen:mixedreality/v20210101:getSpatialAnchorsAccount', __args__, opts=opts, typ=GetSpatialAnchorsAccountResult).value + + return AwaitableGetSpatialAnchorsAccountResult( + account_domain=__ret__.account_domain, + account_id=__ret__.account_id, + id=__ret__.id, + identity=__ret__.identity, + kind=__ret__.kind, + location=__ret__.location, + name=__ret__.name, + plan=__ret__.plan, + sku=__ret__.sku, + system_data=__ret__.system_data, + tags=__ret__.tags, + type=__ret__.type) diff --git a/sdk/python/pulumi_azure_nextgen/mixedreality/v20210101/list_remote_rendering_account_keys.py b/sdk/python/pulumi_azure_nextgen/mixedreality/v20210101/list_remote_rendering_account_keys.py new file mode 100644 index 000000000000..4ce34cad8739 --- /dev/null +++ b/sdk/python/pulumi_azure_nextgen/mixedreality/v20210101/list_remote_rendering_account_keys.py @@ -0,0 +1,77 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi SDK Generator. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union +from ... import _utilities, _tables + +__all__ = [ + 'ListRemoteRenderingAccountKeysResult', + 'AwaitableListRemoteRenderingAccountKeysResult', + 'list_remote_rendering_account_keys', +] + +@pulumi.output_type +class ListRemoteRenderingAccountKeysResult: + """ + Developer Keys of account + """ + 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: + """ + value of primary key. + """ + return pulumi.get(self, "primary_key") + + @property + @pulumi.getter(name="secondaryKey") + def secondary_key(self) -> str: + """ + value of secondary key. + """ + return pulumi.get(self, "secondary_key") + + +class AwaitableListRemoteRenderingAccountKeysResult(ListRemoteRenderingAccountKeysResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return ListRemoteRenderingAccountKeysResult( + primary_key=self.primary_key, + secondary_key=self.secondary_key) + + +def list_remote_rendering_account_keys(account_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableListRemoteRenderingAccountKeysResult: + """ + Use this data source to access information about an existing resource. + + :param str account_name: Name of an Mixed Reality Account. + :param str resource_group_name: Name of an Azure resource group. + """ + __args__ = dict() + __args__['accountName'] = account_name + __args__['resourceGroupName'] = resource_group_name + if opts is None: + opts = pulumi.InvokeOptions() + if opts.version is None: + opts.version = _utilities.get_version() + __ret__ = pulumi.runtime.invoke('azure-nextgen:mixedreality/v20210101:listRemoteRenderingAccountKeys', __args__, opts=opts, typ=ListRemoteRenderingAccountKeysResult).value + + return AwaitableListRemoteRenderingAccountKeysResult( + primary_key=__ret__.primary_key, + secondary_key=__ret__.secondary_key) diff --git a/sdk/python/pulumi_azure_nextgen/mixedreality/v20210101/list_spatial_anchors_account_keys.py b/sdk/python/pulumi_azure_nextgen/mixedreality/v20210101/list_spatial_anchors_account_keys.py new file mode 100644 index 000000000000..85f63d25ca99 --- /dev/null +++ b/sdk/python/pulumi_azure_nextgen/mixedreality/v20210101/list_spatial_anchors_account_keys.py @@ -0,0 +1,77 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi SDK Generator. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union +from ... import _utilities, _tables + +__all__ = [ + 'ListSpatialAnchorsAccountKeysResult', + 'AwaitableListSpatialAnchorsAccountKeysResult', + 'list_spatial_anchors_account_keys', +] + +@pulumi.output_type +class ListSpatialAnchorsAccountKeysResult: + """ + Developer Keys of account + """ + 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: + """ + value of primary key. + """ + return pulumi.get(self, "primary_key") + + @property + @pulumi.getter(name="secondaryKey") + def secondary_key(self) -> str: + """ + value of secondary key. + """ + return pulumi.get(self, "secondary_key") + + +class AwaitableListSpatialAnchorsAccountKeysResult(ListSpatialAnchorsAccountKeysResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return ListSpatialAnchorsAccountKeysResult( + primary_key=self.primary_key, + secondary_key=self.secondary_key) + + +def list_spatial_anchors_account_keys(account_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableListSpatialAnchorsAccountKeysResult: + """ + Use this data source to access information about an existing resource. + + :param str account_name: Name of an Mixed Reality Account. + :param str resource_group_name: Name of an Azure resource group. + """ + __args__ = dict() + __args__['accountName'] = account_name + __args__['resourceGroupName'] = resource_group_name + if opts is None: + opts = pulumi.InvokeOptions() + if opts.version is None: + opts.version = _utilities.get_version() + __ret__ = pulumi.runtime.invoke('azure-nextgen:mixedreality/v20210101:listSpatialAnchorsAccountKeys', __args__, opts=opts, typ=ListSpatialAnchorsAccountKeysResult).value + + return AwaitableListSpatialAnchorsAccountKeysResult( + primary_key=__ret__.primary_key, + secondary_key=__ret__.secondary_key) diff --git a/sdk/python/pulumi_azure_nextgen/mixedreality/v20210101/outputs.py b/sdk/python/pulumi_azure_nextgen/mixedreality/v20210101/outputs.py new file mode 100644 index 000000000000..d00055e503fa --- /dev/null +++ b/sdk/python/pulumi_azure_nextgen/mixedreality/v20210101/outputs.py @@ -0,0 +1,224 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi SDK Generator. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union +from ... import _utilities, _tables +from ._enums import * + +__all__ = [ + 'IdentityResponse', + 'SkuResponse', + 'SystemDataResponse', +] + +@pulumi.output_type +class IdentityResponse(dict): + """ + Identity for the resource. + """ + def __init__(__self__, *, + principal_id: str, + tenant_id: str, + type: Optional[str] = None): + """ + Identity for the resource. + :param str principal_id: The principal ID of resource identity. + :param str tenant_id: The tenant ID of resource. + :param str type: The identity type. + """ + pulumi.set(__self__, "principal_id", principal_id) + pulumi.set(__self__, "tenant_id", tenant_id) + if type is not None: + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="principalId") + def principal_id(self) -> str: + """ + The principal ID of resource identity. + """ + return pulumi.get(self, "principal_id") + + @property + @pulumi.getter(name="tenantId") + def tenant_id(self) -> str: + """ + The tenant ID of resource. + """ + return pulumi.get(self, "tenant_id") + + @property + @pulumi.getter + def type(self) -> Optional[str]: + """ + The identity type. + """ + return pulumi.get(self, "type") + + def _translate_property(self, prop): + return _tables.CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop + + +@pulumi.output_type +class SkuResponse(dict): + """ + The resource model definition representing SKU + """ + def __init__(__self__, *, + name: str, + capacity: Optional[int] = None, + family: Optional[str] = None, + size: Optional[str] = None, + tier: Optional[str] = None): + """ + The resource model definition representing SKU + :param str name: The name of the SKU. Ex - P3. It is typically a letter+number code + :param int capacity: If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. + :param str family: If the service has different generations of hardware, for the same SKU, then that can be captured here. + :param str size: The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. + :param str tier: This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. + """ + pulumi.set(__self__, "name", name) + if capacity is not None: + pulumi.set(__self__, "capacity", capacity) + if family is not None: + pulumi.set(__self__, "family", family) + if size is not None: + pulumi.set(__self__, "size", size) + if tier is not None: + pulumi.set(__self__, "tier", tier) + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the SKU. Ex - P3. It is typically a letter+number code + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def capacity(self) -> Optional[int]: + """ + If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. + """ + return pulumi.get(self, "capacity") + + @property + @pulumi.getter + def family(self) -> Optional[str]: + """ + If the service has different generations of hardware, for the same SKU, then that can be captured here. + """ + return pulumi.get(self, "family") + + @property + @pulumi.getter + def size(self) -> Optional[str]: + """ + The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. + """ + return pulumi.get(self, "size") + + @property + @pulumi.getter + def tier(self) -> Optional[str]: + """ + This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. + """ + return pulumi.get(self, "tier") + + def _translate_property(self, prop): + return _tables.CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop + + +@pulumi.output_type +class SystemDataResponse(dict): + """ + Metadata pertaining to creation and last modification of the resource. + """ + 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 type of identity that last modified the resource. + :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 type of identity that last modified the resource. + """ + 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") + + def _translate_property(self, prop): + return _tables.CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop + + diff --git a/sdk/python/pulumi_azure_nextgen/mixedreality/v20210101/remote_rendering_account.py b/sdk/python/pulumi_azure_nextgen/mixedreality/v20210101/remote_rendering_account.py new file mode 100644 index 000000000000..03e729cc36f1 --- /dev/null +++ b/sdk/python/pulumi_azure_nextgen/mixedreality/v20210101/remote_rendering_account.py @@ -0,0 +1,201 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi SDK Generator. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union +from ... import _utilities, _tables +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['RemoteRenderingAccount'] + + +class RemoteRenderingAccount(pulumi.CustomResource): + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + account_name: Optional[pulumi.Input[str]] = None, + identity: Optional[pulumi.Input[pulumi.InputType['IdentityArgs']]] = None, + kind: Optional[pulumi.Input[pulumi.InputType['SkuArgs']]] = None, + location: Optional[pulumi.Input[str]] = None, + plan: Optional[pulumi.Input[pulumi.InputType['IdentityArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + sku: Optional[pulumi.Input[pulumi.InputType['SkuArgs']]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + __props__=None, + __name__=None, + __opts__=None): + """ + RemoteRenderingAccount Response. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] account_name: Name of an Mixed Reality Account. + :param pulumi.Input[pulumi.InputType['IdentityArgs']] identity: The identity associated with this account + :param pulumi.Input[pulumi.InputType['SkuArgs']] kind: The kind of account, if supported + :param pulumi.Input[str] location: The geo-location where the resource lives + :param pulumi.Input[pulumi.InputType['IdentityArgs']] plan: The plan associated with this account + :param pulumi.Input[str] resource_group_name: Name of an Azure resource group. + :param pulumi.Input[pulumi.InputType['SkuArgs']] sku: The sku associated with this account + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. + """ + if __name__ is not None: + warnings.warn("explicit use of __name__ is deprecated", DeprecationWarning) + resource_name = __name__ + if __opts__ is not None: + warnings.warn("explicit use of __opts__ is deprecated, use 'opts' instead", DeprecationWarning) + opts = __opts__ + if opts is None: + opts = pulumi.ResourceOptions() + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.version is None: + opts.version = _utilities.get_version() + 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__ = dict() + + if account_name is None and not opts.urn: + raise TypeError("Missing required property 'account_name'") + __props__['account_name'] = account_name + __props__['identity'] = identity + __props__['kind'] = kind + if location is None and not opts.urn: + raise TypeError("Missing required property 'location'") + __props__['location'] = location + __props__['plan'] = plan + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__['resource_group_name'] = resource_group_name + __props__['sku'] = sku + __props__['tags'] = tags + __props__['account_domain'] = None + __props__['account_id'] = None + __props__['name'] = None + __props__['system_data'] = None + __props__['type'] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-nextgen:mixedreality/latest:RemoteRenderingAccount"), pulumi.Alias(type_="azure-nextgen:mixedreality/v20191202preview:RemoteRenderingAccount"), pulumi.Alias(type_="azure-nextgen:mixedreality/v20200406preview:RemoteRenderingAccount")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(RemoteRenderingAccount, __self__).__init__( + 'azure-nextgen:mixedreality/v20210101:RemoteRenderingAccount', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'RemoteRenderingAccount': + """ + Get an existing RemoteRenderingAccount 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__ = dict() + + return RemoteRenderingAccount(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="accountDomain") + def account_domain(self) -> pulumi.Output[str]: + """ + Correspond domain name of certain Spatial Anchors Account + """ + return pulumi.get(self, "account_domain") + + @property + @pulumi.getter(name="accountId") + def account_id(self) -> pulumi.Output[str]: + """ + unique id of certain account. + """ + return pulumi.get(self, "account_id") + + @property + @pulumi.getter + def identity(self) -> pulumi.Output[Optional['outputs.IdentityResponse']]: + """ + The identity associated with this account + """ + return pulumi.get(self, "identity") + + @property + @pulumi.getter + def kind(self) -> pulumi.Output[Optional['outputs.SkuResponse']]: + """ + The kind of account, if supported + """ + return pulumi.get(self, "kind") + + @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 plan(self) -> pulumi.Output[Optional['outputs.IdentityResponse']]: + """ + The plan associated with this account + """ + return pulumi.get(self, "plan") + + @property + @pulumi.getter + def sku(self) -> pulumi.Output[Optional['outputs.SkuResponse']]: + """ + The sku associated with this account + """ + return pulumi.get(self, "sku") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + System metadata for this account + """ + 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") + + def translate_output_property(self, prop): + return _tables.CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop + + def translate_input_property(self, prop): + return _tables.SNAKE_TO_CAMEL_CASE_TABLE.get(prop) or prop + diff --git a/sdk/python/pulumi_azure_nextgen/mixedreality/v20210101/spatial_anchors_account.py b/sdk/python/pulumi_azure_nextgen/mixedreality/v20210101/spatial_anchors_account.py new file mode 100644 index 000000000000..39345ffb74db --- /dev/null +++ b/sdk/python/pulumi_azure_nextgen/mixedreality/v20210101/spatial_anchors_account.py @@ -0,0 +1,201 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi SDK Generator. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union +from ... import _utilities, _tables +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['SpatialAnchorsAccount'] + + +class SpatialAnchorsAccount(pulumi.CustomResource): + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + account_name: Optional[pulumi.Input[str]] = None, + identity: Optional[pulumi.Input[pulumi.InputType['IdentityArgs']]] = None, + kind: Optional[pulumi.Input[pulumi.InputType['SkuArgs']]] = None, + location: Optional[pulumi.Input[str]] = None, + plan: Optional[pulumi.Input[pulumi.InputType['IdentityArgs']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + sku: Optional[pulumi.Input[pulumi.InputType['SkuArgs']]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + __props__=None, + __name__=None, + __opts__=None): + """ + SpatialAnchorsAccount Response. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] account_name: Name of an Mixed Reality Account. + :param pulumi.Input[pulumi.InputType['IdentityArgs']] identity: The identity associated with this account + :param pulumi.Input[pulumi.InputType['SkuArgs']] kind: The kind of account, if supported + :param pulumi.Input[str] location: The geo-location where the resource lives + :param pulumi.Input[pulumi.InputType['IdentityArgs']] plan: The plan associated with this account + :param pulumi.Input[str] resource_group_name: Name of an Azure resource group. + :param pulumi.Input[pulumi.InputType['SkuArgs']] sku: The sku associated with this account + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. + """ + if __name__ is not None: + warnings.warn("explicit use of __name__ is deprecated", DeprecationWarning) + resource_name = __name__ + if __opts__ is not None: + warnings.warn("explicit use of __opts__ is deprecated, use 'opts' instead", DeprecationWarning) + opts = __opts__ + if opts is None: + opts = pulumi.ResourceOptions() + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.version is None: + opts.version = _utilities.get_version() + 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__ = dict() + + if account_name is None and not opts.urn: + raise TypeError("Missing required property 'account_name'") + __props__['account_name'] = account_name + __props__['identity'] = identity + __props__['kind'] = kind + if location is None and not opts.urn: + raise TypeError("Missing required property 'location'") + __props__['location'] = location + __props__['plan'] = plan + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__['resource_group_name'] = resource_group_name + __props__['sku'] = sku + __props__['tags'] = tags + __props__['account_domain'] = None + __props__['account_id'] = None + __props__['name'] = None + __props__['system_data'] = None + __props__['type'] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-nextgen:mixedreality/latest:SpatialAnchorsAccount"), pulumi.Alias(type_="azure-nextgen:mixedreality/v20190228preview:SpatialAnchorsAccount"), pulumi.Alias(type_="azure-nextgen:mixedreality/v20191202preview:SpatialAnchorsAccount"), pulumi.Alias(type_="azure-nextgen:mixedreality/v20200501:SpatialAnchorsAccount")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(SpatialAnchorsAccount, __self__).__init__( + 'azure-nextgen:mixedreality/v20210101:SpatialAnchorsAccount', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'SpatialAnchorsAccount': + """ + Get an existing SpatialAnchorsAccount 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__ = dict() + + return SpatialAnchorsAccount(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="accountDomain") + def account_domain(self) -> pulumi.Output[str]: + """ + Correspond domain name of certain Spatial Anchors Account + """ + return pulumi.get(self, "account_domain") + + @property + @pulumi.getter(name="accountId") + def account_id(self) -> pulumi.Output[str]: + """ + unique id of certain account. + """ + return pulumi.get(self, "account_id") + + @property + @pulumi.getter + def identity(self) -> pulumi.Output[Optional['outputs.IdentityResponse']]: + """ + The identity associated with this account + """ + return pulumi.get(self, "identity") + + @property + @pulumi.getter + def kind(self) -> pulumi.Output[Optional['outputs.SkuResponse']]: + """ + The kind of account, if supported + """ + return pulumi.get(self, "kind") + + @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 plan(self) -> pulumi.Output[Optional['outputs.IdentityResponse']]: + """ + The plan associated with this account + """ + return pulumi.get(self, "plan") + + @property + @pulumi.getter + def sku(self) -> pulumi.Output[Optional['outputs.SkuResponse']]: + """ + The sku associated with this account + """ + return pulumi.get(self, "sku") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + System metadata for this account + """ + 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") + + def translate_output_property(self, prop): + return _tables.CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop + + def translate_input_property(self, prop): + return _tables.SNAKE_TO_CAMEL_CASE_TABLE.get(prop) or prop + diff --git a/sdk/python/pulumi_azure_nextgen/network/latest/_enums.py b/sdk/python/pulumi_azure_nextgen/network/latest/_enums.py index fbaa8e2197b7..e672dd0acba3 100644 --- a/sdk/python/pulumi_azure_nextgen/network/latest/_enums.py +++ b/sdk/python/pulumi_azure_nextgen/network/latest/_enums.py @@ -961,6 +961,7 @@ class ManagedRuleExclusionMatchVariable(str, Enum): REQUEST_COOKIE_NAMES = "RequestCookieNames" QUERY_STRING_ARG_NAMES = "QueryStringArgNames" REQUEST_BODY_POST_ARG_NAMES = "RequestBodyPostArgNames" + REQUEST_BODY_JSON_ARG_NAMES = "RequestBodyJsonArgNames" class ManagedRuleExclusionSelectorMatchOperator(str, Enum): diff --git a/sdk/python/pulumi_azure_nextgen/network/latest/get_policy.py b/sdk/python/pulumi_azure_nextgen/network/latest/get_policy.py index 35090d7bc6e5..c2bd59a1de1f 100644 --- a/sdk/python/pulumi_azure_nextgen/network/latest/get_policy.py +++ b/sdk/python/pulumi_azure_nextgen/network/latest/get_policy.py @@ -20,7 +20,7 @@ class GetPolicyResult: """ Defines web application firewall policy. """ - def __init__(__self__, custom_rules=None, etag=None, frontend_endpoint_links=None, id=None, location=None, managed_rules=None, name=None, policy_settings=None, provisioning_state=None, resource_state=None, routing_rule_links=None, sku=None, tags=None, type=None): + def __init__(__self__, custom_rules=None, etag=None, frontend_endpoint_links=None, id=None, location=None, managed_rules=None, name=None, policy_settings=None, provisioning_state=None, resource_state=None, routing_rule_links=None, security_policy_links=None, sku=None, tags=None, type=None): if custom_rules and not isinstance(custom_rules, dict): raise TypeError("Expected argument 'custom_rules' to be a dict") pulumi.set(__self__, "custom_rules", custom_rules) @@ -54,6 +54,9 @@ def __init__(__self__, custom_rules=None, etag=None, frontend_endpoint_links=Non if routing_rule_links and not isinstance(routing_rule_links, list): raise TypeError("Expected argument 'routing_rule_links' to be a list") pulumi.set(__self__, "routing_rule_links", routing_rule_links) + if security_policy_links and not isinstance(security_policy_links, list): + raise TypeError("Expected argument 'security_policy_links' to be a list") + pulumi.set(__self__, "security_policy_links", security_policy_links) if sku and not isinstance(sku, dict): raise TypeError("Expected argument 'sku' to be a dict") pulumi.set(__self__, "sku", sku) @@ -149,6 +152,14 @@ def routing_rule_links(self) -> Sequence['outputs.RoutingRuleLinkResponse']: """ return pulumi.get(self, "routing_rule_links") + @property + @pulumi.getter(name="securityPolicyLinks") + def security_policy_links(self) -> Sequence['outputs.SecurityPolicyLinkResponse']: + """ + Describes Security Policy associated with this Web Application Firewall policy. + """ + return pulumi.get(self, "security_policy_links") + @property @pulumi.getter def sku(self) -> Optional['outputs.SkuResponse']: @@ -191,6 +202,7 @@ def __await__(self): provisioning_state=self.provisioning_state, resource_state=self.resource_state, routing_rule_links=self.routing_rule_links, + security_policy_links=self.security_policy_links, sku=self.sku, tags=self.tags, type=self.type) @@ -226,6 +238,7 @@ def get_policy(policy_name: Optional[str] = None, provisioning_state=__ret__.provisioning_state, resource_state=__ret__.resource_state, routing_rule_links=__ret__.routing_rule_links, + security_policy_links=__ret__.security_policy_links, sku=__ret__.sku, tags=__ret__.tags, type=__ret__.type) diff --git a/sdk/python/pulumi_azure_nextgen/network/latest/outputs.py b/sdk/python/pulumi_azure_nextgen/network/latest/outputs.py index 1acad6e3d8cd..223631ba6868 100644 --- a/sdk/python/pulumi_azure_nextgen/network/latest/outputs.py +++ b/sdk/python/pulumi_azure_nextgen/network/latest/outputs.py @@ -252,6 +252,7 @@ 'RulesEngineMatchConditionResponse', 'RulesEngineResponse', 'RulesEngineRuleResponse', + 'SecurityPolicyLinkResponse', 'SecurityRuleResponse', 'ServiceAssociationLinkResponse', 'ServiceEndpointPolicyDefinitionResponse', @@ -19056,6 +19057,32 @@ def _translate_property(self, prop): return _tables.CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop +@pulumi.output_type +class SecurityPolicyLinkResponse(dict): + """ + Defines the Resource ID for a Security Policy. + """ + def __init__(__self__, *, + id: Optional[str] = None): + """ + Defines the Resource ID for a Security Policy. + :param str id: Resource ID. + """ + if id is not None: + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter + def id(self) -> Optional[str]: + """ + Resource ID. + """ + return pulumi.get(self, "id") + + def _translate_property(self, prop): + return _tables.CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop + + @pulumi.output_type class SecurityRuleResponse(dict): """ diff --git a/sdk/python/pulumi_azure_nextgen/network/latest/policy.py b/sdk/python/pulumi_azure_nextgen/network/latest/policy.py index f91c4a9b54bd..414966bfa17b 100644 --- a/sdk/python/pulumi_azure_nextgen/network/latest/policy.py +++ b/sdk/python/pulumi_azure_nextgen/network/latest/policy.py @@ -81,6 +81,7 @@ def __init__(__self__, __props__['provisioning_state'] = None __props__['resource_state'] = None __props__['routing_rule_links'] = None + __props__['security_policy_links'] = None __props__['type'] = None alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-nextgen:network/v20180801:Policy"), pulumi.Alias(type_="azure-nextgen:network/v20190301:Policy"), pulumi.Alias(type_="azure-nextgen:network/v20191001:Policy"), pulumi.Alias(type_="azure-nextgen:network/v20200401:Policy"), pulumi.Alias(type_="azure-nextgen:network/v20201101:Policy")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) @@ -185,6 +186,14 @@ def routing_rule_links(self) -> pulumi.Output[Sequence['outputs.RoutingRuleLinkR """ return pulumi.get(self, "routing_rule_links") + @property + @pulumi.getter(name="securityPolicyLinks") + def security_policy_links(self) -> pulumi.Output[Sequence['outputs.SecurityPolicyLinkResponse']]: + """ + Describes Security Policy associated with this Web Application Firewall policy. + """ + return pulumi.get(self, "security_policy_links") + @property @pulumi.getter def sku(self) -> pulumi.Output[Optional['outputs.SkuResponse']]: diff --git a/sdk/python/pulumi_azure_nextgen/network/v20201101/_enums.py b/sdk/python/pulumi_azure_nextgen/network/v20201101/_enums.py index 6f87725e28b3..28d8e6e793ae 100644 --- a/sdk/python/pulumi_azure_nextgen/network/v20201101/_enums.py +++ b/sdk/python/pulumi_azure_nextgen/network/v20201101/_enums.py @@ -56,6 +56,7 @@ class ManagedRuleExclusionMatchVariable(str, Enum): REQUEST_COOKIE_NAMES = "RequestCookieNames" QUERY_STRING_ARG_NAMES = "QueryStringArgNames" REQUEST_BODY_POST_ARG_NAMES = "RequestBodyPostArgNames" + REQUEST_BODY_JSON_ARG_NAMES = "RequestBodyJsonArgNames" class ManagedRuleExclusionSelectorMatchOperator(str, Enum): diff --git a/sdk/python/pulumi_azure_nextgen/network/v20201101/get_policy.py b/sdk/python/pulumi_azure_nextgen/network/v20201101/get_policy.py index 5efcc033ae5f..160398f0e6a2 100644 --- a/sdk/python/pulumi_azure_nextgen/network/v20201101/get_policy.py +++ b/sdk/python/pulumi_azure_nextgen/network/v20201101/get_policy.py @@ -20,7 +20,7 @@ class GetPolicyResult: """ Defines web application firewall policy. """ - def __init__(__self__, custom_rules=None, etag=None, frontend_endpoint_links=None, id=None, location=None, managed_rules=None, name=None, policy_settings=None, provisioning_state=None, resource_state=None, routing_rule_links=None, sku=None, tags=None, type=None): + def __init__(__self__, custom_rules=None, etag=None, frontend_endpoint_links=None, id=None, location=None, managed_rules=None, name=None, policy_settings=None, provisioning_state=None, resource_state=None, routing_rule_links=None, security_policy_links=None, sku=None, tags=None, type=None): if custom_rules and not isinstance(custom_rules, dict): raise TypeError("Expected argument 'custom_rules' to be a dict") pulumi.set(__self__, "custom_rules", custom_rules) @@ -54,6 +54,9 @@ def __init__(__self__, custom_rules=None, etag=None, frontend_endpoint_links=Non if routing_rule_links and not isinstance(routing_rule_links, list): raise TypeError("Expected argument 'routing_rule_links' to be a list") pulumi.set(__self__, "routing_rule_links", routing_rule_links) + if security_policy_links and not isinstance(security_policy_links, list): + raise TypeError("Expected argument 'security_policy_links' to be a list") + pulumi.set(__self__, "security_policy_links", security_policy_links) if sku and not isinstance(sku, dict): raise TypeError("Expected argument 'sku' to be a dict") pulumi.set(__self__, "sku", sku) @@ -149,6 +152,14 @@ def routing_rule_links(self) -> Sequence['outputs.RoutingRuleLinkResponse']: """ return pulumi.get(self, "routing_rule_links") + @property + @pulumi.getter(name="securityPolicyLinks") + def security_policy_links(self) -> Sequence['outputs.SecurityPolicyLinkResponse']: + """ + Describes Security Policy associated with this Web Application Firewall policy. + """ + return pulumi.get(self, "security_policy_links") + @property @pulumi.getter def sku(self) -> Optional['outputs.SkuResponse']: @@ -191,6 +202,7 @@ def __await__(self): provisioning_state=self.provisioning_state, resource_state=self.resource_state, routing_rule_links=self.routing_rule_links, + security_policy_links=self.security_policy_links, sku=self.sku, tags=self.tags, type=self.type) @@ -226,6 +238,7 @@ def get_policy(policy_name: Optional[str] = None, provisioning_state=__ret__.provisioning_state, resource_state=__ret__.resource_state, routing_rule_links=__ret__.routing_rule_links, + security_policy_links=__ret__.security_policy_links, sku=__ret__.sku, tags=__ret__.tags, type=__ret__.type) diff --git a/sdk/python/pulumi_azure_nextgen/network/v20201101/outputs.py b/sdk/python/pulumi_azure_nextgen/network/v20201101/outputs.py index ce65121b85a3..ae72285bf4f6 100644 --- a/sdk/python/pulumi_azure_nextgen/network/v20201101/outputs.py +++ b/sdk/python/pulumi_azure_nextgen/network/v20201101/outputs.py @@ -22,6 +22,7 @@ 'MatchConditionResponse', 'PolicySettingsResponse', 'RoutingRuleLinkResponse', + 'SecurityPolicyLinkResponse', 'SkuResponse', ] @@ -633,6 +634,32 @@ def _translate_property(self, prop): return _tables.CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop +@pulumi.output_type +class SecurityPolicyLinkResponse(dict): + """ + Defines the Resource ID for a Security Policy. + """ + def __init__(__self__, *, + id: Optional[str] = None): + """ + Defines the Resource ID for a Security Policy. + :param str id: Resource ID. + """ + if id is not None: + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter + def id(self) -> Optional[str]: + """ + Resource ID. + """ + return pulumi.get(self, "id") + + def _translate_property(self, prop): + return _tables.CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop + + @pulumi.output_type class SkuResponse(dict): """ diff --git a/sdk/python/pulumi_azure_nextgen/network/v20201101/policy.py b/sdk/python/pulumi_azure_nextgen/network/v20201101/policy.py index 0813cf50b858..e55ecc699e45 100644 --- a/sdk/python/pulumi_azure_nextgen/network/v20201101/policy.py +++ b/sdk/python/pulumi_azure_nextgen/network/v20201101/policy.py @@ -80,6 +80,7 @@ def __init__(__self__, __props__['provisioning_state'] = None __props__['resource_state'] = None __props__['routing_rule_links'] = None + __props__['security_policy_links'] = None __props__['type'] = None alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-nextgen:network/latest:Policy"), pulumi.Alias(type_="azure-nextgen:network/v20180801:Policy"), pulumi.Alias(type_="azure-nextgen:network/v20190301:Policy"), pulumi.Alias(type_="azure-nextgen:network/v20191001:Policy"), pulumi.Alias(type_="azure-nextgen:network/v20200401:Policy")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) @@ -184,6 +185,14 @@ def routing_rule_links(self) -> pulumi.Output[Sequence['outputs.RoutingRuleLinkR """ return pulumi.get(self, "routing_rule_links") + @property + @pulumi.getter(name="securityPolicyLinks") + def security_policy_links(self) -> pulumi.Output[Sequence['outputs.SecurityPolicyLinkResponse']]: + """ + Describes Security Policy associated with this Web Application Firewall policy. + """ + return pulumi.get(self, "security_policy_links") + @property @pulumi.getter def sku(self) -> pulumi.Output[Optional['outputs.SkuResponse']]: diff --git a/sdk/python/pulumi_azure_nextgen/operationalinsights/latest/__init__.py b/sdk/python/pulumi_azure_nextgen/operationalinsights/latest/__init__.py index 52cb4fd90223..03b90ec7682b 100644 --- a/sdk/python/pulumi_azure_nextgen/operationalinsights/latest/__init__.py +++ b/sdk/python/pulumi_azure_nextgen/operationalinsights/latest/__init__.py @@ -4,15 +4,15 @@ # Export this package's modules as members: from ._enums import * +from .action import * from .alert_rule import * -from .alert_rule_action import * from .bookmark import * from .cluster import * from .data_connector import * from .data_export import * from .data_source import * +from .get_action import * from .get_alert_rule import * -from .get_alert_rule_action import * from .get_bookmark import * from .get_cluster import * from .get_data_connector import * @@ -46,10 +46,10 @@ def version(self): return Module._version def construct(self, name: str, typ: str, urn: str) -> pulumi.Resource: - if typ == "azure-nextgen:operationalinsights/latest:AlertRule": + if typ == "azure-nextgen:operationalinsights/latest:Action": + return Action(name, pulumi.ResourceOptions(urn=urn)) + elif typ == "azure-nextgen:operationalinsights/latest:AlertRule": return AlertRule(name, pulumi.ResourceOptions(urn=urn)) - elif typ == "azure-nextgen:operationalinsights/latest:AlertRuleAction": - return AlertRuleAction(name, pulumi.ResourceOptions(urn=urn)) elif typ == "azure-nextgen:operationalinsights/latest:Bookmark": return Bookmark(name, pulumi.ResourceOptions(urn=urn)) elif typ == "azure-nextgen:operationalinsights/latest:Cluster": diff --git a/sdk/python/pulumi_azure_nextgen/operationalinsights/latest/alert_rule_action.py b/sdk/python/pulumi_azure_nextgen/operationalinsights/latest/action.py similarity index 92% rename from sdk/python/pulumi_azure_nextgen/operationalinsights/latest/alert_rule_action.py rename to sdk/python/pulumi_azure_nextgen/operationalinsights/latest/action.py index 5db5ac46f907..2b54d58cfd1a 100644 --- a/sdk/python/pulumi_azure_nextgen/operationalinsights/latest/alert_rule_action.py +++ b/sdk/python/pulumi_azure_nextgen/operationalinsights/latest/action.py @@ -8,10 +8,10 @@ from typing import Any, Mapping, Optional, Sequence, Union from ... import _utilities, _tables -__all__ = ['AlertRuleAction'] +__all__ = ['Action'] -class AlertRuleAction(pulumi.CustomResource): +class Action(pulumi.CustomResource): def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, @@ -76,10 +76,10 @@ def __init__(__self__, __props__['name'] = None __props__['type'] = None __props__['workflow_id'] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-nextgen:operationalinsights/v20200101:AlertRuleAction")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-nextgen:operationalinsights/v20200101:Action")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) - super(AlertRuleAction, __self__).__init__( - 'azure-nextgen:operationalinsights/latest:AlertRuleAction', + super(Action, __self__).__init__( + 'azure-nextgen:operationalinsights/latest:Action', resource_name, __props__, opts) @@ -87,9 +87,9 @@ def __init__(__self__, @staticmethod def get(resource_name: str, id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions] = None) -> 'AlertRuleAction': + opts: Optional[pulumi.ResourceOptions] = None) -> 'Action': """ - Get an existing AlertRuleAction resource's state with the given name, id, and optional extra + Get an existing Action 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. @@ -100,7 +100,7 @@ def get(resource_name: str, __props__ = dict() - return AlertRuleAction(resource_name, opts=opts, __props__=__props__) + return Action(resource_name, opts=opts, __props__=__props__) @property @pulumi.getter diff --git a/sdk/python/pulumi_azure_nextgen/operationalinsights/latest/get_alert_rule_action.py b/sdk/python/pulumi_azure_nextgen/operationalinsights/latest/get_action.py similarity index 84% rename from sdk/python/pulumi_azure_nextgen/operationalinsights/latest/get_alert_rule_action.py rename to sdk/python/pulumi_azure_nextgen/operationalinsights/latest/get_action.py index 4f9a17fecd50..96991315834a 100644 --- a/sdk/python/pulumi_azure_nextgen/operationalinsights/latest/get_alert_rule_action.py +++ b/sdk/python/pulumi_azure_nextgen/operationalinsights/latest/get_action.py @@ -9,13 +9,13 @@ from ... import _utilities, _tables __all__ = [ - 'GetAlertRuleActionResult', - 'AwaitableGetAlertRuleActionResult', - 'get_alert_rule_action', + 'GetActionResult', + 'AwaitableGetActionResult', + 'get_action', ] @pulumi.output_type -class GetAlertRuleActionResult: +class GetActionResult: """ Action for alert rule. """ @@ -88,12 +88,12 @@ def workflow_id(self) -> Optional[str]: return pulumi.get(self, "workflow_id") -class AwaitableGetAlertRuleActionResult(GetAlertRuleActionResult): +class AwaitableGetActionResult(GetActionResult): # pylint: disable=using-constant-test def __await__(self): if False: yield self - return GetAlertRuleActionResult( + return GetActionResult( etag=self.etag, id=self.id, logic_app_resource_id=self.logic_app_resource_id, @@ -102,11 +102,11 @@ def __await__(self): workflow_id=self.workflow_id) -def get_alert_rule_action(action_id: Optional[str] = None, - resource_group_name: Optional[str] = None, - rule_id: Optional[str] = None, - workspace_name: Optional[str] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAlertRuleActionResult: +def get_action(action_id: Optional[str] = None, + resource_group_name: Optional[str] = None, + rule_id: Optional[str] = None, + workspace_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetActionResult: """ Use this data source to access information about an existing resource. @@ -124,9 +124,9 @@ def get_alert_rule_action(action_id: Optional[str] = None, opts = pulumi.InvokeOptions() if opts.version is None: opts.version = _utilities.get_version() - __ret__ = pulumi.runtime.invoke('azure-nextgen:operationalinsights/latest:getAlertRuleAction', __args__, opts=opts, typ=GetAlertRuleActionResult).value + __ret__ = pulumi.runtime.invoke('azure-nextgen:operationalinsights/latest:getAction', __args__, opts=opts, typ=GetActionResult).value - return AwaitableGetAlertRuleActionResult( + return AwaitableGetActionResult( etag=__ret__.etag, id=__ret__.id, logic_app_resource_id=__ret__.logic_app_resource_id, diff --git a/sdk/python/pulumi_azure_nextgen/operationalinsights/v20200101/__init__.py b/sdk/python/pulumi_azure_nextgen/operationalinsights/v20200101/__init__.py index af1dd3867283..542f5c30c9dc 100644 --- a/sdk/python/pulumi_azure_nextgen/operationalinsights/v20200101/__init__.py +++ b/sdk/python/pulumi_azure_nextgen/operationalinsights/v20200101/__init__.py @@ -4,12 +4,12 @@ # Export this package's modules as members: from ._enums import * +from .action import * from .alert_rule import * -from .alert_rule_action import * from .bookmark import * from .data_connector import * +from .get_action import * from .get_alert_rule import * -from .get_alert_rule_action import * from .get_bookmark import * from .get_data_connector import * from .get_incident import * @@ -29,10 +29,10 @@ def version(self): return Module._version def construct(self, name: str, typ: str, urn: str) -> pulumi.Resource: - if typ == "azure-nextgen:operationalinsights/v20200101:AlertRule": + if typ == "azure-nextgen:operationalinsights/v20200101:Action": + return Action(name, pulumi.ResourceOptions(urn=urn)) + elif typ == "azure-nextgen:operationalinsights/v20200101:AlertRule": return AlertRule(name, pulumi.ResourceOptions(urn=urn)) - elif typ == "azure-nextgen:operationalinsights/v20200101:AlertRuleAction": - return AlertRuleAction(name, pulumi.ResourceOptions(urn=urn)) elif typ == "azure-nextgen:operationalinsights/v20200101:Bookmark": return Bookmark(name, pulumi.ResourceOptions(urn=urn)) elif typ == "azure-nextgen:operationalinsights/v20200101:DataConnector": diff --git a/sdk/python/pulumi_azure_nextgen/operationalinsights/v20200101/alert_rule_action.py b/sdk/python/pulumi_azure_nextgen/operationalinsights/v20200101/action.py similarity index 92% rename from sdk/python/pulumi_azure_nextgen/operationalinsights/v20200101/alert_rule_action.py rename to sdk/python/pulumi_azure_nextgen/operationalinsights/v20200101/action.py index e2f7b1fb944e..6e837524a415 100644 --- a/sdk/python/pulumi_azure_nextgen/operationalinsights/v20200101/alert_rule_action.py +++ b/sdk/python/pulumi_azure_nextgen/operationalinsights/v20200101/action.py @@ -8,10 +8,10 @@ from typing import Any, Mapping, Optional, Sequence, Union from ... import _utilities, _tables -__all__ = ['AlertRuleAction'] +__all__ = ['Action'] -class AlertRuleAction(pulumi.CustomResource): +class Action(pulumi.CustomResource): def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, @@ -75,10 +75,10 @@ def __init__(__self__, __props__['name'] = None __props__['type'] = None __props__['workflow_id'] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-nextgen:operationalinsights/latest:AlertRuleAction")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-nextgen:operationalinsights/latest:Action")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) - super(AlertRuleAction, __self__).__init__( - 'azure-nextgen:operationalinsights/v20200101:AlertRuleAction', + super(Action, __self__).__init__( + 'azure-nextgen:operationalinsights/v20200101:Action', resource_name, __props__, opts) @@ -86,9 +86,9 @@ def __init__(__self__, @staticmethod def get(resource_name: str, id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions] = None) -> 'AlertRuleAction': + opts: Optional[pulumi.ResourceOptions] = None) -> 'Action': """ - Get an existing AlertRuleAction resource's state with the given name, id, and optional extra + Get an existing Action 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. @@ -99,7 +99,7 @@ def get(resource_name: str, __props__ = dict() - return AlertRuleAction(resource_name, opts=opts, __props__=__props__) + return Action(resource_name, opts=opts, __props__=__props__) @property @pulumi.getter diff --git a/sdk/python/pulumi_azure_nextgen/operationalinsights/v20200101/get_alert_rule_action.py b/sdk/python/pulumi_azure_nextgen/operationalinsights/v20200101/get_action.py similarity index 84% rename from sdk/python/pulumi_azure_nextgen/operationalinsights/v20200101/get_alert_rule_action.py rename to sdk/python/pulumi_azure_nextgen/operationalinsights/v20200101/get_action.py index e60731c563d7..96897899fc12 100644 --- a/sdk/python/pulumi_azure_nextgen/operationalinsights/v20200101/get_alert_rule_action.py +++ b/sdk/python/pulumi_azure_nextgen/operationalinsights/v20200101/get_action.py @@ -9,13 +9,13 @@ from ... import _utilities, _tables __all__ = [ - 'GetAlertRuleActionResult', - 'AwaitableGetAlertRuleActionResult', - 'get_alert_rule_action', + 'GetActionResult', + 'AwaitableGetActionResult', + 'get_action', ] @pulumi.output_type -class GetAlertRuleActionResult: +class GetActionResult: """ Action for alert rule. """ @@ -88,12 +88,12 @@ def workflow_id(self) -> Optional[str]: return pulumi.get(self, "workflow_id") -class AwaitableGetAlertRuleActionResult(GetAlertRuleActionResult): +class AwaitableGetActionResult(GetActionResult): # pylint: disable=using-constant-test def __await__(self): if False: yield self - return GetAlertRuleActionResult( + return GetActionResult( etag=self.etag, id=self.id, logic_app_resource_id=self.logic_app_resource_id, @@ -102,11 +102,11 @@ def __await__(self): workflow_id=self.workflow_id) -def get_alert_rule_action(action_id: Optional[str] = None, - resource_group_name: Optional[str] = None, - rule_id: Optional[str] = None, - workspace_name: Optional[str] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAlertRuleActionResult: +def get_action(action_id: Optional[str] = None, + resource_group_name: Optional[str] = None, + rule_id: Optional[str] = None, + workspace_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetActionResult: """ Use this data source to access information about an existing resource. @@ -124,9 +124,9 @@ def get_alert_rule_action(action_id: Optional[str] = None, opts = pulumi.InvokeOptions() if opts.version is None: opts.version = _utilities.get_version() - __ret__ = pulumi.runtime.invoke('azure-nextgen:operationalinsights/v20200101:getAlertRuleAction', __args__, opts=opts, typ=GetAlertRuleActionResult).value + __ret__ = pulumi.runtime.invoke('azure-nextgen:operationalinsights/v20200101:getAction', __args__, opts=opts, typ=GetActionResult).value - return AwaitableGetAlertRuleActionResult( + return AwaitableGetActionResult( etag=__ret__.etag, id=__ret__.id, logic_app_resource_id=__ret__.logic_app_resource_id, diff --git a/sdk/python/pulumi_azure_nextgen/quantum/v20191104preview/get_workspace.py b/sdk/python/pulumi_azure_nextgen/quantum/v20191104preview/get_workspace.py index bc8ef4129de8..39549fef81ae 100644 --- a/sdk/python/pulumi_azure_nextgen/quantum/v20191104preview/get_workspace.py +++ b/sdk/python/pulumi_azure_nextgen/quantum/v20191104preview/get_workspace.py @@ -20,7 +20,10 @@ class GetWorkspaceResult: """ The resource proxy definition object for quantum workspace. """ - def __init__(__self__, id=None, identity=None, location=None, name=None, providers=None, provisioning_state=None, storage_account=None, tags=None, type=None, usable=None): + def __init__(__self__, endpoint_uri=None, id=None, identity=None, location=None, name=None, providers=None, provisioning_state=None, storage_account=None, tags=None, type=None, usable=None): + if endpoint_uri and not isinstance(endpoint_uri, str): + raise TypeError("Expected argument 'endpoint_uri' to be a str") + pulumi.set(__self__, "endpoint_uri", endpoint_uri) if id and not isinstance(id, str): raise TypeError("Expected argument 'id' to be a str") pulumi.set(__self__, "id", id) @@ -52,6 +55,14 @@ def __init__(__self__, id=None, identity=None, location=None, name=None, provide raise TypeError("Expected argument 'usable' to be a str") pulumi.set(__self__, "usable", usable) + @property + @pulumi.getter(name="endpointUri") + def endpoint_uri(self) -> str: + """ + The URI of the workspace endpoint. + """ + return pulumi.get(self, "endpoint_uri") + @property @pulumi.getter def id(self) -> str: @@ -139,6 +150,7 @@ def __await__(self): if False: yield self return GetWorkspaceResult( + endpoint_uri=self.endpoint_uri, id=self.id, identity=self.identity, location=self.location, @@ -170,6 +182,7 @@ def get_workspace(resource_group_name: Optional[str] = None, __ret__ = pulumi.runtime.invoke('azure-nextgen:quantum/v20191104preview:getWorkspace', __args__, opts=opts, typ=GetWorkspaceResult).value return AwaitableGetWorkspaceResult( + endpoint_uri=__ret__.endpoint_uri, id=__ret__.id, identity=__ret__.identity, location=__ret__.location, diff --git a/sdk/python/pulumi_azure_nextgen/quantum/v20191104preview/workspace.py b/sdk/python/pulumi_azure_nextgen/quantum/v20191104preview/workspace.py index 7246a5475180..bb475199ef14 100644 --- a/sdk/python/pulumi_azure_nextgen/quantum/v20191104preview/workspace.py +++ b/sdk/python/pulumi_azure_nextgen/quantum/v20191104preview/workspace.py @@ -71,6 +71,7 @@ def __init__(__self__, if workspace_name is None and not opts.urn: raise TypeError("Missing required property 'workspace_name'") __props__['workspace_name'] = workspace_name + __props__['endpoint_uri'] = None __props__['name'] = None __props__['provisioning_state'] = None __props__['type'] = None @@ -99,6 +100,14 @@ def get(resource_name: str, return Workspace(resource_name, opts=opts, __props__=__props__) + @property + @pulumi.getter(name="endpointUri") + def endpoint_uri(self) -> pulumi.Output[str]: + """ + The URI of the workspace endpoint. + """ + return pulumi.get(self, "endpoint_uri") + @property @pulumi.getter def identity(self) -> pulumi.Output[Optional['outputs.QuantumWorkspaceResponseIdentity']]: diff --git a/sdk/python/pulumi_azure_nextgen/securityinsights/v20190101preview/__init__.py b/sdk/python/pulumi_azure_nextgen/securityinsights/v20190101preview/__init__.py index ad91c1c2b9d3..06ea4e199c4d 100644 --- a/sdk/python/pulumi_azure_nextgen/securityinsights/v20190101preview/__init__.py +++ b/sdk/python/pulumi_azure_nextgen/securityinsights/v20190101preview/__init__.py @@ -4,13 +4,13 @@ # Export this package's modules as members: from ._enums import * +from .action import * from .alert_rule import * -from .alert_rule_action import * from .bookmark import * from .bookmark_relation import * from .data_connector import * +from .get_action import * from .get_alert_rule import * -from .get_alert_rule_action import * from .get_bookmark import * from .get_bookmark_relation import * from .get_data_connector import * @@ -43,10 +43,10 @@ def version(self): return Module._version def construct(self, name: str, typ: str, urn: str) -> pulumi.Resource: - if typ == "azure-nextgen:securityinsights/v20190101preview:AlertRule": + if typ == "azure-nextgen:securityinsights/v20190101preview:Action": + return Action(name, pulumi.ResourceOptions(urn=urn)) + elif typ == "azure-nextgen:securityinsights/v20190101preview:AlertRule": return AlertRule(name, pulumi.ResourceOptions(urn=urn)) - elif typ == "azure-nextgen:securityinsights/v20190101preview:AlertRuleAction": - return AlertRuleAction(name, pulumi.ResourceOptions(urn=urn)) elif typ == "azure-nextgen:securityinsights/v20190101preview:Bookmark": return Bookmark(name, pulumi.ResourceOptions(urn=urn)) elif typ == "azure-nextgen:securityinsights/v20190101preview:BookmarkRelation": diff --git a/sdk/python/pulumi_azure_nextgen/securityinsights/v20190101preview/_enums.py b/sdk/python/pulumi_azure_nextgen/securityinsights/v20190101preview/_enums.py index 437229e566b2..ff3a1a70775a 100644 --- a/sdk/python/pulumi_azure_nextgen/securityinsights/v20190101preview/_enums.py +++ b/sdk/python/pulumi_azure_nextgen/securityinsights/v20190101preview/_enums.py @@ -28,6 +28,7 @@ class AlertRuleKind(str, Enum): FUSION = "Fusion" ML_BEHAVIOR_ANALYTICS = "MLBehaviorAnalytics" THREAT_INTELLIGENCE = "ThreatIntelligence" + ANOMALY = "Anomaly" class CaseSeverity(str, Enum): diff --git a/sdk/python/pulumi_azure_nextgen/securityinsights/v20190101preview/alert_rule_action.py b/sdk/python/pulumi_azure_nextgen/securityinsights/v20190101preview/action.py similarity index 93% rename from sdk/python/pulumi_azure_nextgen/securityinsights/v20190101preview/alert_rule_action.py rename to sdk/python/pulumi_azure_nextgen/securityinsights/v20190101preview/action.py index 8c31fa152302..023e308fc446 100644 --- a/sdk/python/pulumi_azure_nextgen/securityinsights/v20190101preview/alert_rule_action.py +++ b/sdk/python/pulumi_azure_nextgen/securityinsights/v20190101preview/action.py @@ -8,10 +8,10 @@ from typing import Any, Mapping, Optional, Sequence, Union from ... import _utilities, _tables -__all__ = ['AlertRuleAction'] +__all__ = ['Action'] -class AlertRuleAction(pulumi.CustomResource): +class Action(pulumi.CustomResource): def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, @@ -78,8 +78,8 @@ def __init__(__self__, __props__['name'] = None __props__['type'] = None __props__['workflow_id'] = None - super(AlertRuleAction, __self__).__init__( - 'azure-nextgen:securityinsights/v20190101preview:AlertRuleAction', + super(Action, __self__).__init__( + 'azure-nextgen:securityinsights/v20190101preview:Action', resource_name, __props__, opts) @@ -87,9 +87,9 @@ def __init__(__self__, @staticmethod def get(resource_name: str, id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions] = None) -> 'AlertRuleAction': + opts: Optional[pulumi.ResourceOptions] = None) -> 'Action': """ - Get an existing AlertRuleAction resource's state with the given name, id, and optional extra + Get an existing Action 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. @@ -100,7 +100,7 @@ def get(resource_name: str, __props__ = dict() - return AlertRuleAction(resource_name, opts=opts, __props__=__props__) + return Action(resource_name, opts=opts, __props__=__props__) @property @pulumi.getter diff --git a/sdk/python/pulumi_azure_nextgen/securityinsights/v20190101preview/get_alert_rule_action.py b/sdk/python/pulumi_azure_nextgen/securityinsights/v20190101preview/get_action.py similarity index 83% rename from sdk/python/pulumi_azure_nextgen/securityinsights/v20190101preview/get_alert_rule_action.py rename to sdk/python/pulumi_azure_nextgen/securityinsights/v20190101preview/get_action.py index a3bc000d094e..5db8ed35e970 100644 --- a/sdk/python/pulumi_azure_nextgen/securityinsights/v20190101preview/get_alert_rule_action.py +++ b/sdk/python/pulumi_azure_nextgen/securityinsights/v20190101preview/get_action.py @@ -9,13 +9,13 @@ from ... import _utilities, _tables __all__ = [ - 'GetAlertRuleActionResult', - 'AwaitableGetAlertRuleActionResult', - 'get_alert_rule_action', + 'GetActionResult', + 'AwaitableGetActionResult', + 'get_action', ] @pulumi.output_type -class GetAlertRuleActionResult: +class GetActionResult: """ Action for alert rule. """ @@ -88,12 +88,12 @@ def workflow_id(self) -> Optional[str]: return pulumi.get(self, "workflow_id") -class AwaitableGetAlertRuleActionResult(GetAlertRuleActionResult): +class AwaitableGetActionResult(GetActionResult): # pylint: disable=using-constant-test def __await__(self): if False: yield self - return GetAlertRuleActionResult( + return GetActionResult( etag=self.etag, id=self.id, logic_app_resource_id=self.logic_app_resource_id, @@ -102,12 +102,12 @@ def __await__(self): workflow_id=self.workflow_id) -def get_alert_rule_action(action_id: Optional[str] = None, - operational_insights_resource_provider: Optional[str] = None, - resource_group_name: Optional[str] = None, - rule_id: Optional[str] = None, - workspace_name: Optional[str] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAlertRuleActionResult: +def get_action(action_id: Optional[str] = None, + operational_insights_resource_provider: Optional[str] = None, + resource_group_name: Optional[str] = None, + rule_id: Optional[str] = None, + workspace_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetActionResult: """ Use this data source to access information about an existing resource. @@ -127,9 +127,9 @@ def get_alert_rule_action(action_id: Optional[str] = None, opts = pulumi.InvokeOptions() if opts.version is None: opts.version = _utilities.get_version() - __ret__ = pulumi.runtime.invoke('azure-nextgen:securityinsights/v20190101preview:getAlertRuleAction', __args__, opts=opts, typ=GetAlertRuleActionResult).value + __ret__ = pulumi.runtime.invoke('azure-nextgen:securityinsights/v20190101preview:getAction', __args__, opts=opts, typ=GetActionResult).value - return AwaitableGetAlertRuleActionResult( + return AwaitableGetActionResult( etag=__ret__.etag, id=__ret__.id, logic_app_resource_id=__ret__.logic_app_resource_id,