From dcf2e8e64ea859034668aa64ea6a20e42b3867c8 Mon Sep 17 00:00:00 2001 From: pulumi-bot Date: Wed, 2 Oct 2024 17:06:25 +0000 Subject: [PATCH] make build_sdks --- sdk/go/azure/advisor/suppression.go | 4 +- sdk/go/azure/apimanagement/certificate.go | 2 +- .../appconfiguration/configurationFeature.go | 2 +- .../appconfiguration/configurationKey.go | 4 +- .../appconfiguration/configurationStore.go | 2 +- sdk/go/azure/appinsights/workbookTemplate.go | 4 +- .../appplatform/springCloudCertificate.go | 2 +- .../appplatform/springCloudDevToolPortal.go | 2 +- .../azure/appservice/functionAppActiveSlot.go | 8 +- .../appservice/functionAppHybridConnection.go | 4 +- sdk/go/azure/appservice/linuxFunctionApp.go | 2 +- .../azure/appservice/linuxFunctionAppSlot.go | 4 +- sdk/go/azure/appservice/linuxWebApp.go | 2 +- sdk/go/azure/appservice/linuxWebAppSlot.go | 4 +- sdk/go/azure/appservice/sourceControl.go | 2 +- sdk/go/azure/appservice/sourceControlSlot.go | 4 +- .../staticWebAppFunctionAppRegistration.go | 2 +- sdk/go/azure/appservice/webAppActiveSlot.go | 4 +- .../appservice/webAppHybridConnection.go | 2 +- sdk/go/azure/appservice/windowsFunctionApp.go | 2 +- .../appservice/windowsFunctionAppSlot.go | 4 +- sdk/go/azure/appservice/windowsWebApp.go | 2 +- sdk/go/azure/appservice/windowsWebAppSlot.go | 4 +- sdk/go/azure/authorization/assignment.go | 20 ++-- .../azure/authorization/getRoleDefinition.go | 2 +- sdk/go/azure/authorization/roleDefinition.go | 2 +- sdk/go/azure/automation/connection.go | 2 +- .../azure/automation/connectionCertificate.go | 2 +- .../connectionClassicCertificate.go | 2 +- .../automation/connectionServicePrincipal.go | 2 +- sdk/go/azure/automation/connectionType.go | 2 +- sdk/go/azure/blueprint/assignment.go | 4 +- sdk/go/azure/blueprint/getDefinition.go | 2 +- sdk/go/azure/blueprint/getPublishedVersion.go | 2 +- sdk/go/azure/bot/channelAlexa.go | 2 +- sdk/go/azure/bot/channelDirectLine.go | 2 +- sdk/go/azure/bot/channelDirectLineSpeech.go | 2 +- sdk/go/azure/bot/channelEmail.go | 2 +- sdk/go/azure/bot/channelFacebook.go | 2 +- sdk/go/azure/bot/channelLine.go | 2 +- sdk/go/azure/bot/channelSlack.go | 2 +- sdk/go/azure/bot/channelSms.go | 2 +- sdk/go/azure/bot/channelTeams.go | 2 +- sdk/go/azure/bot/channelWebChat.go | 2 +- sdk/go/azure/bot/channelsRegistration.go | 2 +- sdk/go/azure/bot/connection.go | 2 +- sdk/go/azure/bot/serviceAzureBot.go | 2 +- sdk/go/azure/bot/webApp.go | 2 +- sdk/go/azure/cdn/frontdoorOrigin.go | 6 +- sdk/go/azure/cdn/frontdoorSecret.go | 2 +- .../cognitive/accountCustomerManagedKey.go | 2 +- sdk/go/azure/compute/diskEncryptionSet.go | 4 +- sdk/go/azure/confidentialledger/ledger.go | 2 +- .../azure/consumption/budgetSubscription.go | 2 +- .../clusterTrustedAccessRoleBinding.go | 2 +- sdk/go/azure/containerservice/registry.go | 4 +- sdk/go/azure/core/getClientConfig.go | 2 +- sdk/go/azure/core/getSubscription.go | 2 +- sdk/go/azure/core/getSubscriptions.go | 2 +- .../core/subscriptionCostManagementExport.go | 2 +- .../core/subscriptionPolicyAssignment.go | 2 +- .../azure/core/subscriptionPolicyExemption.go | 2 +- .../core/subscriptionPolicyRemediation.go | 2 +- sdk/go/azure/cosmosdb/sqlRoleAssignment.go | 2 +- sdk/go/azure/cosmosdb/sqlRoleDefinition.go | 2 +- .../workspaceRootDbfsCustomerManagedKey.go | 2 +- sdk/go/azure/datadog/monitor.go | 2 +- .../datafactory/credentialServicePrincipal.go | 2 +- .../linkedServiceDataLakeStorageGen2.go | 2 +- .../datafactory/linkedServiceKeyVault.go | 2 +- .../datafactory/linkedServiceSnowflake.go | 2 +- .../datafactory/linkedServiceSqlServer.go | 2 +- .../azure/datafactory/linkedServiceSynapse.go | 2 +- .../backupInstanceKubernetesCluster.go | 2 +- .../backupInstancePostgresql.go | 2 +- .../azure/devcenter/projectEnvironmentType.go | 2 +- sdk/go/azure/devtest/schedule.go | 2 +- sdk/go/azure/elasticsan/volumeGroup.go | 2 +- .../eventhub/namespaceCustomerManagedKey.go | 4 +- sdk/go/azure/healthcare/fhirService.go | 2 +- .../medtechServiceFhirDestination.go | 2 +- sdk/go/azure/healthcare/service.go | 2 +- sdk/go/azure/keyvault/accessPolicy.go | 2 +- sdk/go/azure/keyvault/certifiate.go | 4 +- sdk/go/azure/keyvault/certificate.go | 4 +- sdk/go/azure/keyvault/certificateContacts.go | 2 +- sdk/go/azure/keyvault/certificateIssuer.go | 2 +- sdk/go/azure/keyvault/key.go | 2 +- sdk/go/azure/keyvault/keyVault.go | 2 +- .../keyvault/managedHardwareSecurityModule.go | 2 +- .../azure/keyvault/managedStorageAccount.go | 4 +- ...managedStorageAccountSasTokenDefinition.go | 2 +- sdk/go/azure/keyvault/secret.go | 2 +- .../azure/kusto/clusterCustomerManagedKey.go | 2 +- .../kusto/clusterManagedPrivateEndpoint.go | 2 +- .../azure/kusto/clusterPrincipalAssignment.go | 2 +- .../kusto/databasePrincipalAssignment.go | 2 +- sdk/go/azure/lighthouse/assignment.go | 2 +- .../loganalytics/clusterCustomerManagedKey.go | 2 +- .../azure/machinelearning/computeCluster.go | 2 +- .../azure/machinelearning/computeInstance.go | 2 +- .../machinelearning/datastoreBlobstorage.go | 2 +- .../machinelearning/datastoreDatalakeGen2.go | 2 +- .../azure/machinelearning/inferenceCluster.go | 2 +- sdk/go/azure/machinelearning/synapseSpark.go | 2 +- sdk/go/azure/machinelearning/workspace.go | 6 +- .../azure/managedapplication/application.go | 2 +- sdk/go/azure/managedapplication/definition.go | 2 +- sdk/go/azure/management/group.go | 2 +- sdk/go/azure/management/lock.go | 2 +- .../management/privateLinkAssociation.go | 2 +- .../azure/managementgroups/managementGroup.go | 2 +- .../managementresource/manangementLock.go | 2 +- sdk/go/azure/monitoring/actionGroup.go | 2 +- sdk/go/azure/monitoring/diagnosticSetting.go | 2 +- ...gedInstanceActiveDirectoryAdministrator.go | 2 +- ...anagedInstanceTransparentDataEncryption.go | 2 +- sdk/go/azure/mssql/server.go | 2 +- .../mssql/serverTransparentDataEncryption.go | 2 +- sdk/go/azure/netapp/account.go | 2 +- sdk/go/azure/netapp/accountEncryption.go | 2 +- sdk/go/azure/network/getNetworkManager.go | 2 +- .../network/getNetworkManagerNetworkGroup.go | 2 +- sdk/go/azure/network/networkManager.go | 2 +- .../azure/network/networkManagerAdminRule.go | 2 +- .../networkManagerAdminRuleCollection.go | 2 +- ...networkManagerConnectivityConfiguration.go | 2 +- .../azure/network/networkManagerDeployment.go | 4 +- ...networkManagerManagementGroupConnection.go | 4 +- .../network/networkManagerNetworkGroup.go | 2 +- .../network/networkManagerScopeConnection.go | 4 +- ...etworkManagerSecurityAdminConfiguration.go | 2 +- .../network/networkManagerStaticMember.go | 2 +- .../networkManagerSubscriptionConnection.go | 2 +- sdk/go/azure/newrelic/monitor.go | 2 +- sdk/go/azure/nginx/certificate.go | 2 +- sdk/go/azure/pim/activeRoleAssignment.go | 6 +- sdk/go/azure/pim/eligibleRoleAssignment.go | 6 +- .../activeDirectoryAdministrator.go | 2 +- ...xibleServerActiveDirectoryAdministrator.go | 2 +- sdk/go/azure/postgresql/serverKey.go | 2 +- sdk/go/azure/redhatopenshift/cluster.go | 4 +- sdk/go/azure/redis/cache.go | 2 +- sdk/go/azure/role/assignment.go | 20 ++-- sdk/go/azure/role/definition.go | 2 +- sdk/go/azure/role/getRoleDefinition.go | 2 +- sdk/go/azure/securitycenter/automation.go | 2 +- .../azure/signalr/serviceCustomCertificate.go | 2 +- sdk/go/azure/signalr/serviceCustomDomain.go | 2 +- .../signalr/sharedPrivateLinkResource.go | 2 +- .../siterecovery/replicationRecoveryPlan.go | 4 +- sdk/go/azure/stack/hciCluster.go | 2 +- sdk/go/azure/storage/customerManagedKey.go | 2 +- sdk/go/azure/synapse/roleAssignment.go | 2 +- sdk/go/azure/synapse/workspace.go | 2 +- sdk/go/azure/synapse/workspaceAadAdmin.go | 2 +- sdk/go/azure/synapse/workspaceKey.go | 2 +- sdk/go/azure/synapse/workspaceSqlAadAdmin.go | 2 +- .../voice/servicesCommunicationsGateway.go | 2 +- sdk/go/azure/webpubsub/customCertificate.go | 2 +- .../webpubsub/sharedPrivateLinkResource.go | 2 +- sdk/nodejs/package.json | 2 +- sdk/python/pulumi_azure/_utilities.py | 2 +- .../pulumi_azure/aadb2c/get_directory.py | 19 +++- .../advisor/get_recommendations.py | 14 ++- .../pulumi_azure/apimanagement/get_api.py | 29 ++++- .../apimanagement/get_api_version_set.py | 20 +++- .../pulumi_azure/apimanagement/get_gateway.py | 15 ++- .../get_gateway_host_name_configuration.py | 21 +++- .../pulumi_azure/apimanagement/get_group.py | 19 +++- .../pulumi_azure/apimanagement/get_product.py | 22 +++- .../pulumi_azure/apimanagement/get_service.py | 33 +++++- .../pulumi_azure/apimanagement/get_user.py | 20 +++- .../appconfiguration/get_configuration_key.py | 22 +++- .../get_configuration_keys.py | 16 ++- .../get_configuration_store.py | 29 ++++- .../pulumi_azure/appinsights/get_insights.py | 21 +++- .../appplatform/get_spring_cloud_app.py | 22 +++- .../appplatform/get_spring_cloud_service.py | 18 ++- .../appservice/get_app_service.py | 31 +++++- .../appservice/get_app_service_plan.py | 24 +++- .../appservice/get_certificate.py | 23 +++- .../appservice/get_certificate_order.py | 30 ++++- .../appservice/get_environment_v3.py | 30 ++++- .../appservice/get_function_app.py | 30 ++++- .../appservice/get_function_app_host_keys.py | 21 +++- .../appservice/get_linux_function_app.py | 52 ++++++++- .../appservice/get_linux_web_app.py | 49 ++++++++- .../appservice/get_service_plan.py | 24 +++- .../appservice/get_source_control_token.py | 13 ++- .../appservice/get_static_web_app.py | 25 ++++- .../appservice/get_windows_function_app.py | 50 ++++++++- .../appservice/get_windows_web_app.py | 45 +++++++- .../arc/get_resource_bridge_appliance.py | 19 +++- sdk/python/pulumi_azure/arcmachine/get.py | 40 ++++++- .../pulumi_azure/attestation/get_provider.py | 17 ++- .../authorization/get_role_definition.py | 19 +++- .../get_user_assigned_identity.py | 18 ++- .../pulumi_azure/automation/get_account.py | 19 +++- .../automation/get_bool_variable.py | 18 ++- .../automation/get_date_time_variable.py | 18 ++- .../automation/get_int_variable.py | 18 ++- .../pulumi_azure/automation/get_runbook.py | 23 +++- .../automation/get_string_variable.py | 18 ++- .../automation/get_variable_object.py | 18 ++- .../pulumi_azure/automation/get_variables.py | 18 ++- .../pulumi_azure/avs/get_private_cloud.py | 28 ++++- .../backup/get_policy_fileshare.py | 15 ++- .../pulumi_azure/backup/get_policy_vm.py | 15 ++- sdk/python/pulumi_azure/batch/get_account.py | 22 +++- .../pulumi_azure/batch/get_application.py | 18 ++- .../pulumi_azure/batch/get_certificate.py | 19 +++- sdk/python/pulumi_azure/batch/get_pool.py | 38 ++++++- .../billing/get_enrollment_account_scope.py | 13 ++- .../billing/get_mca_account_scope.py | 15 ++- .../billing/get_mpa_account_scope.py | 13 ++- .../pulumi_azure/blueprint/get_definition.py | 19 +++- .../blueprint/get_published_version.py | 21 +++- .../cdn/get_frontdoor_custom_domain.py | 21 +++- .../cdn/get_frontdoor_endpoint.py | 18 ++- .../cdn/get_frontdoor_firewall_policy.py | 18 ++- .../cdn/get_frontdoor_origin_group.py | 20 +++- .../pulumi_azure/cdn/get_frontdoor_profile.py | 17 ++- .../cdn/get_frontdoor_rule_set.py | 16 ++- .../pulumi_azure/cdn/get_frontdoor_secret.py | 17 ++- sdk/python/pulumi_azure/cdn/get_profile.py | 16 ++- .../pulumi_azure/cognitive/get_account.py | 23 +++- .../pulumi_azure/communication/get_service.py | 19 +++- .../compute/get_availability_set.py | 18 ++- .../pulumi_azure/compute/get_bastion_host.py | 24 +++- .../compute/get_confidential_ledger.py | 20 +++- .../compute/get_dedicated_host.py | 17 ++- .../compute/get_dedicated_host_group.py | 18 ++- .../pulumi_azure/compute/get_disk_access.py | 14 ++- .../compute/get_disk_encryption_set.py | 18 ++- sdk/python/pulumi_azure/compute/get_image.py | 22 +++- sdk/python/pulumi_azure/compute/get_images.py | 14 ++- .../pulumi_azure/compute/get_managed_disk.py | 29 ++++- ..._orchestrated_virtual_machine_scale_set.py | 16 ++- .../compute/get_platform_image.py | 19 +++- .../pulumi_azure/compute/get_shared_image.py | 33 +++++- .../compute/get_shared_image_gallery.py | 18 ++- .../compute/get_shared_image_version.py | 27 ++++- .../compute/get_shared_image_versions.py | 18 ++- .../pulumi_azure/compute/get_snapshot.py | 22 +++- .../compute/get_ssh_public_key.py | 16 ++- .../compute/get_virtual_machine.py | 20 +++- .../compute/get_virtual_machine_scale_set.py | 17 ++- .../connections/get_managed_api.py | 14 ++- .../consumption/get_budget_resource_group.py | 18 ++- .../consumption/get_budget_subscription.py | 18 ++- .../pulumi_azure/containerapp/get_app.py | 28 ++++- .../containerapp/get_environment.py | 24 +++- .../get_environment_certificate.py | 19 +++- .../containerservice/get_cluster_node_pool.py | 38 ++++++- .../containerservice/get_group.py | 21 +++- .../get_kubernetes_cluster.py | 52 ++++++++- .../get_kubernetes_node_pool_snapshot.py | 15 ++- .../get_kubernetes_service_versions.py | 18 ++- .../containerservice/get_registry.py | 21 +++- .../get_registry_cache_rule.py | 16 ++- .../get_registry_scope_map.py | 17 ++- .../containerservice/get_registry_token.py | 17 ++- .../pulumi_azure/core/get_client_config.py | 13 ++- .../core/get_extended_locations.py | 12 +- sdk/python/pulumi_azure/core/get_location.py | 13 ++- .../pulumi_azure/core/get_resource_group.py | 14 ++- .../get_resource_group_template_deployment.py | 14 ++- sdk/python/pulumi_azure/core/get_resources.py | 18 ++- .../pulumi_azure/core/get_subscription.py | 18 ++- .../get_subscription_template_deployment.py | 12 +- .../pulumi_azure/core/get_subscriptions.py | 14 ++- .../core/get_template_spec_version.py | 17 ++- .../core/get_tenant_template_deployment.py | 12 +- .../core/get_user_assigned_identity.py | 18 ++- .../pulumi_azure/cosmosdb/get_account.py | 42 ++++++- .../cosmosdb/get_mongo_database.py | 16 ++- .../get_restorable_database_accounts.py | 14 ++- .../pulumi_azure/cosmosdb/get_sql_database.py | 17 ++- .../cosmosdb/get_sql_role_definition.py | 19 +++- .../dashboard/azurerm_portal_dashboard.py | 19 +++- .../pulumi_azure/dashboard/get_grafana.py | 28 ++++- .../databasemigration/get_project.py | 19 +++- .../databasemigration/get_service.py | 17 ++- .../pulumi_azure/databoxedge/get_device.py | 17 ++- .../databricks/get_access_connector.py | 16 ++- .../pulumi_azure/databricks/get_workspace.py | 21 +++- ...t_workspace_private_endpoint_connection.py | 14 ++- .../pulumi_azure/datafactory/get_factory.py | 18 ++- .../datafactory/get_trigger_schedule.py | 23 +++- .../datafactory/get_trigger_schedules.py | 12 +- .../dataprotection/get_backup_vault.py | 18 ++- .../pulumi_azure/datashare/get_account.py | 15 ++- .../datashare/get_dataset_blob_storage.py | 18 ++- .../datashare/get_dataset_data_lake_gen2.py | 18 ++- .../datashare/get_dataset_kusto_cluster.py | 16 ++- .../datashare/get_dataset_kusto_database.py | 16 ++- .../pulumi_azure/datashare/get_share.py | 17 ++- .../get_application_group.py | 20 +++- .../desktopvirtualization/get_host_pool.py | 26 ++++- .../desktopvirtualization/get_workspace.py | 18 ++- sdk/python/pulumi_azure/devtest/get_lab.py | 22 +++- .../devtest/get_virtual_network.py | 18 ++- .../pulumi_azure/digitaltwins/get_instance.py | 16 ++- sdk/python/pulumi_azure/dns/get_a_record.py | 20 +++- .../pulumi_azure/dns/get_aaaa_record.py | 20 +++- sdk/python/pulumi_azure/dns/get_caa_record.py | 19 +++- .../pulumi_azure/dns/get_cname_record.py | 20 +++- sdk/python/pulumi_azure/dns/get_mx_record.py | 19 +++- sdk/python/pulumi_azure/dns/get_ns_record.py | 19 +++- sdk/python/pulumi_azure/dns/get_ptr_record.py | 19 +++- sdk/python/pulumi_azure/dns/get_soa_record.py | 25 ++++- sdk/python/pulumi_azure/dns/get_srv_record.py | 19 +++- sdk/python/pulumi_azure/dns/get_txt_record.py | 19 +++- sdk/python/pulumi_azure/dns/get_zone.py | 17 ++- .../domainservices/get_service.py | 29 ++++- .../elasticcloud/get_elasticsearch.py | 26 ++++- sdk/python/pulumi_azure/elasticsan/get.py | 24 +++- .../elasticsan/get_volume_group.py | 18 ++- .../elasticsan/get_volume_snapshot.py | 16 ++- .../pulumi_azure/eventgrid/get_domain.py | 24 +++- .../eventgrid/get_domain_topic.py | 15 ++- .../eventgrid/get_system_topic.py | 19 +++- .../pulumi_azure/eventgrid/get_topic.py | 18 ++- .../eventhub/get_authorization_rule.py | 29 ++++- .../pulumi_azure/eventhub/get_cluster.py | 15 ++- .../eventhub/get_consume_group.py | 18 ++- .../pulumi_azure/eventhub/get_event_hub.py | 17 ++- .../eventhub/get_eventhub_namespace.py | 27 ++++- .../pulumi_azure/eventhub/get_namespace.py | 27 ++++- .../get_namespace_authorization_rule.py | 24 +++- sdk/python/pulumi_azure/eventhub/get_sas.py | 14 ++- .../eventhub/get_service_bus_namespace.py | 23 +++- .../expressroute/get_circuit_peering.py | 26 ++++- .../pulumi_azure/hdinsight/get_cluster.py | 26 ++++- .../healthcare/get_dicom_service.py | 19 +++- .../healthcare/get_fhir_service.py | 23 +++- .../healthcare/get_medtech_service.py | 18 ++- .../pulumi_azure/healthcare/get_service.py | 22 +++- .../pulumi_azure/healthcare/get_workspace.py | 15 ++- sdk/python/pulumi_azure/iot/get_dps.py | 20 +++- .../iot/get_dps_shared_access_policy.py | 19 +++- sdk/python/pulumi_azure/iot/get_iot_hub.py | 17 ++- .../iot/get_shared_access_policy.py | 19 +++- .../keyvault/get_access_policy.py | 14 ++- .../pulumi_azure/keyvault/get_certificate.py | 27 ++++- .../keyvault/get_certificate_data.py | 22 +++- .../keyvault/get_certificate_issuer.py | 17 ++- .../pulumi_azure/keyvault/get_certificates.py | 15 ++- .../keyvault/get_encrypted_value.py | 18 ++- sdk/python/pulumi_azure/keyvault/get_key.py | 28 ++++- .../pulumi_azure/keyvault/get_key_vault.py | 26 ++++- .../get_managed_hardware_security_module.py | 21 +++- ...ardware_security_module_role_definition.py | 19 +++- .../pulumi_azure/keyvault/get_secret.py | 23 +++- .../pulumi_azure/keyvault/get_secrets.py | 13 ++- sdk/python/pulumi_azure/kusto/get_cluster.py | 18 ++- sdk/python/pulumi_azure/kusto/get_database.py | 19 +++- .../lb/get_backend_address_pool.py | 18 ++- sdk/python/pulumi_azure/lb/get_lb.py | 19 +++- .../pulumi_azure/lb/get_lb_outbound_rule.py | 19 +++- sdk/python/pulumi_azure/lb/get_lb_rule.py | 24 +++- sdk/python/pulumi_azure/loadtest/get.py | 19 +++- .../logicapps/get_integration_account.py | 16 ++- .../pulumi_azure/logicapps/get_standard.py | 39 ++++++- .../pulumi_azure/logicapps/get_workflow.py | 25 ++++- .../machinelearning/get_workspace.py | 16 ++- .../maintenance/get_configuration.py | 21 +++- .../maintenance/get_public_configurations.py | 16 ++- .../managedapplication/get_definition.py | 14 ++- .../pulumi_azure/management/get_group.py | 19 +++- .../get_group_template_deployment.py | 14 ++- .../managementgroups/get_management_group.py | 19 +++- sdk/python/pulumi_azure/maps/get_account.py | 19 +++- .../pulumi_azure/marketplace/get_agreement.py | 17 ++- .../get_spatial_anchors_account.py | 17 ++- sdk/python/pulumi_azure/mobile/get_network.py | 18 ++- .../get_network_attached_data_network.py | 23 +++- .../mobile/get_network_data_network.py | 16 ++- .../get_network_packet_core_control_plane.py | 28 ++++- .../get_network_packet_core_data_plane.py | 19 +++- .../mobile/get_network_service.py | 18 ++- .../pulumi_azure/mobile/get_network_sim.py | 21 +++- .../mobile/get_network_sim_group.py | 17 ++- .../mobile/get_network_sim_policy.py | 20 +++- .../pulumi_azure/mobile/get_network_site.py | 16 ++- .../pulumi_azure/mobile/get_network_slice.py | 17 ++- .../monitoring/get_action_group.py | 26 ++++- .../get_data_collection_endpoint.py | 21 +++- .../monitoring/get_data_collection_rule.py | 24 +++- .../monitoring/get_diagnostic_categories.py | 14 ++- .../get_scheduled_query_rules_alert.py | 27 ++++- .../get_scheduled_query_rules_log.py | 20 +++- .../pulumi_azure/monitoring/get_workspace.py | 19 +++- sdk/python/pulumi_azure/mssql/get_database.py | 28 ++++- .../pulumi_azure/mssql/get_elastic_pool.py | 25 ++++- .../mssql/get_managed_instance.py | 32 +++++- sdk/python/pulumi_azure/mssql/get_server.py | 21 +++- .../pulumi_azure/mysql/get_flexible_server.py | 31 +++++- sdk/python/pulumi_azure/netapp/get_account.py | 17 ++- .../netapp/get_account_encryption.py | 17 ++- sdk/python/pulumi_azure/netapp/get_pool.py | 19 +++- .../pulumi_azure/netapp/get_snapshot.py | 20 +++- .../netapp/get_snapshot_policy.py | 22 +++- sdk/python/pulumi_azure/netapp/get_volume.py | 33 +++++- .../netapp/get_volume_group_sap_hana.py | 19 +++- .../netapp/get_volume_quota_rule.py | 17 ++- .../network/get_application_gateway.py | 45 +++++++- .../network/get_application_security_group.py | 15 ++- .../network/get_express_route_circuit.py | 19 +++- .../pulumi_azure/network/get_firewall.py | 26 ++++- .../network/get_firewall_policy.py | 22 +++- .../network/get_gateway_connection.py | 35 +++++- .../pulumi_azure/network/get_ip_group.py | 16 ++- .../pulumi_azure/network/get_ip_groups.py | 17 ++- .../network/get_local_network_gateway.py | 19 +++- .../pulumi_azure/network/get_nat_gateway.py | 23 +++- .../get_network_ddos_protection_plan.py | 16 ++- .../network/get_network_interface.py | 26 ++++- .../network/get_network_manager.py | 19 +++- ...work_manager_connectivity_configuration.py | 19 +++- .../get_network_manager_network_group.py | 14 ++- .../network/get_network_security_group.py | 16 ++- .../network/get_network_watcher.py | 15 ++- .../pulumi_azure/network/get_public_i_ps.py | 18 ++- .../pulumi_azure/network/get_public_ip.py | 27 ++++- .../network/get_public_ip_prefix.py | 19 +++- .../pulumi_azure/network/get_route_filter.py | 16 ++- .../pulumi_azure/network/get_route_table.py | 18 ++- .../pulumi_azure/network/get_service_tags.py | 19 +++- sdk/python/pulumi_azure/network/get_subnet.py | 23 +++- .../network/get_traffic_manager.py | 11 +- .../network/get_traffic_manager_profile.py | 22 +++- .../pulumi_azure/network/get_virtual_hub.py | 20 +++- .../network/get_virtual_hub_connection.py | 19 +++- .../network/get_virtual_hub_route_table.py | 18 ++- .../network/get_virtual_network.py | 21 +++- .../network/get_virtual_network_gateway.py | 27 ++++- .../pulumi_azure/network/get_virtual_wan.py | 21 +++- .../pulumi_azure/network/get_vpn_gateway.py | 18 ++- .../network/get_vpn_server_configuration.py | 22 +++- .../pulumi_azure/nginx/get_certificate.py | 21 +++- .../pulumi_azure/nginx/get_configuration.py | 15 ++- .../pulumi_azure/nginx/get_deployment.py | 29 ++++- .../pulumi_azure/notificationhub/get_hub.py | 19 +++- .../notificationhub/get_namespace.py | 19 +++- .../get_analytics_workspace.py | 21 +++- .../paloalto/get_local_rulestack.py | 23 +++- .../pim/get_role_management_policy.py | 19 +++- .../policy/get_policy_assignment.py | 23 +++- .../policy/get_policy_defintion.py | 23 +++- .../policy/get_policy_defintion_built_in.py | 23 +++- .../policy/get_policy_set_definition.py | 22 +++- ...irtual_machine_configuration_assignment.py | 21 +++- .../portal/azurerm_portal_dashboard.py | 19 +++- .../postgresql/get_flexible_server.py | 24 +++- .../pulumi_azure/postgresql/get_server.py | 20 +++- .../pulumi_azure/privatedns/get_a_record.py | 19 +++- .../privatedns/get_aaaa_record.py | 19 +++- .../privatedns/get_cname_record.py | 20 +++- .../pulumi_azure/privatedns/get_dns_zone.py | 19 +++- .../pulumi_azure/privatedns/get_mx_record.py | 19 +++- .../pulumi_azure/privatedns/get_ptr_record.py | 19 +++- .../pulumi_azure/privatedns/get_resolver.py | 16 ++- .../get_resolver_dns_forwarding_ruleset.py | 16 ++- .../get_resolver_forwarding_rule.py | 17 ++- .../get_resolver_inbound_endpoint.py | 16 ++- .../get_resolver_outbound_endpoint.py | 16 ++- .../get_resolver_virtual_network_link.py | 15 ++- .../pulumi_azure/privatedns/get_soa_record.py | 25 ++++- .../pulumi_azure/privatedns/get_srv_record.py | 19 +++- .../pulumi_azure/privatedns/get_txt_record.py | 19 +++- .../get_zone_virtual_network_link.py | 18 ++- .../privatelink/get_endpoint_connection.py | 16 ++- .../pulumi_azure/privatelink/get_service.py | 21 +++- .../get_service_endpoint_connections.py | 16 ++- .../proximity/get_placement_group.py | 15 ++- .../recoveryservices/get_vault.py | 17 ++- sdk/python/pulumi_azure/redis/get_cache.py | 34 +++++- .../redis/get_enterprise_database.py | 17 ++- .../pulumi_azure/role/get_role_definition.py | 19 +++- sdk/python/pulumi_azure/search/get_service.py | 21 +++- .../pulumi_azure/sentinel/get_alert_rule.py | 13 ++- .../sentinel/get_alert_rule_anomaly.py | 29 ++++- .../sentinel/get_alert_rule_template.py | 18 ++- .../pulumi_azure/servicebus/get_namespace.py | 23 +++- .../get_namespace_authorization_rule.py | 23 +++- .../get_namespace_disaster_recovery_config.py | 24 +++- .../pulumi_azure/servicebus/get_queue.py | 32 +++++- .../get_queue_authorization_rule.py | 28 ++++- .../servicebus/get_subscription.py | 29 ++++- .../pulumi_azure/servicebus/get_topic.py | 27 ++++- .../get_topic_authorization_rule.py | 30 ++++- .../pulumi_azure/signalr/get_service.py | 28 ++++- .../pulumi_azure/siterecovery/get_fabric.py | 16 ++- .../siterecovery/get_protection_container.py | 17 ++- .../siterecovery/get_replication_policy.py | 17 ++- .../get_replication_recovery_plan.py | 18 ++- .../pulumi_azure/stack/get_hci_cluster.py | 22 +++- .../pulumi_azure/storage/get_account.py | 104 +++++++++++++++++- .../storage/get_account_blob_container_sas.py | 34 +++++- .../pulumi_azure/storage/get_account_sas.py | 28 ++++- sdk/python/pulumi_azure/storage/get_blob.py | 23 +++- .../pulumi_azure/storage/get_containers.py | 14 ++- .../storage/get_encryption_scope.py | 15 ++- sdk/python/pulumi_azure/storage/get_policy.py | 12 +- sdk/python/pulumi_azure/storage/get_queue.py | 16 ++- sdk/python/pulumi_azure/storage/get_share.py | 19 +++- .../storage/get_storage_container.py | 21 +++- sdk/python/pulumi_azure/storage/get_sync.py | 16 ++- .../pulumi_azure/storage/get_sync_group.py | 13 ++- sdk/python/pulumi_azure/storage/get_table.py | 15 ++- .../storage/get_table_entities.py | 16 ++- .../pulumi_azure/storage/get_table_entity.py | 16 ++- .../pulumi_azure/streamanalytics/get_job.py | 28 ++++- .../pulumi_azure/synapse/get_workspace.py | 17 ++- ...virtual_machine_manager_inventory_items.py | 14 ++- .../get_geographical_location.py | 11 +- .../pulumi_azure/waf/get_firewall_policy.py | 16 ++- .../webpubsub/get_private_link_resource.py | 12 +- .../pulumi_azure/webpubsub/get_service.py | 30 ++++- sdk/python/pyproject.toml | 2 +- 522 files changed, 6228 insertions(+), 1647 deletions(-) diff --git a/sdk/go/azure/advisor/suppression.go b/sdk/go/azure/advisor/suppression.go index 3c84327fb3..c404b169ed 100644 --- a/sdk/go/azure/advisor/suppression.go +++ b/sdk/go/azure/advisor/suppression.go @@ -31,11 +31,11 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } -// _, err = advisor.GetRecommendations(ctx, nil, nil) +// _, err = advisor.GetRecommendations(ctx, &advisor.GetRecommendationsArgs{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/apimanagement/certificate.go b/sdk/go/azure/apimanagement/certificate.go index 1126eac726..8a56ce6a81 100644 --- a/sdk/go/azure/apimanagement/certificate.go +++ b/sdk/go/azure/apimanagement/certificate.go @@ -88,7 +88,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/appconfiguration/configurationFeature.go b/sdk/go/azure/appconfiguration/configurationFeature.go index b897989c44..7e61704de1 100644 --- a/sdk/go/azure/appconfiguration/configurationFeature.go +++ b/sdk/go/azure/appconfiguration/configurationFeature.go @@ -47,7 +47,7 @@ import ( // if err != nil { // return err // } -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/appconfiguration/configurationKey.go b/sdk/go/azure/appconfiguration/configurationKey.go index 2bdb37a104..924d94b331 100644 --- a/sdk/go/azure/appconfiguration/configurationKey.go +++ b/sdk/go/azure/appconfiguration/configurationKey.go @@ -49,7 +49,7 @@ import ( // if err != nil { // return err // } -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } @@ -110,7 +110,7 @@ import ( // if err != nil { // return err // } -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/appconfiguration/configurationStore.go b/sdk/go/azure/appconfiguration/configurationStore.go index 5f2241c5a5..eb1e0772a1 100644 --- a/sdk/go/azure/appconfiguration/configurationStore.go +++ b/sdk/go/azure/appconfiguration/configurationStore.go @@ -80,7 +80,7 @@ import ( // if err != nil { // return err // } -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/appinsights/workbookTemplate.go b/sdk/go/azure/appinsights/workbookTemplate.go index 385b018883..7f770eae29 100644 --- a/sdk/go/azure/appinsights/workbookTemplate.go +++ b/sdk/go/azure/appinsights/workbookTemplate.go @@ -49,7 +49,7 @@ import ( // "name": "text - 2", // }, // }, -// "styleSettings": nil, +// "styleSettings": map[string]interface{}{}, // "$schema": "https://github.com/Microsoft/Application-Insights-Workbooks/blob/master/schema/workbook.json", // }) // if err != nil { @@ -79,7 +79,7 @@ import ( // "name": "text - 2", // }, // }, -// "styleSettings": nil, +// "styleSettings": map[string]interface{}{}, // "$schema": "https://github.com/Microsoft/Application-Insights-Workbooks/blob/master/schema/workbook.json", // }, // }, diff --git a/sdk/go/azure/appplatform/springCloudCertificate.go b/sdk/go/azure/appplatform/springCloudCertificate.go index e9ca46f652..714e610c26 100644 --- a/sdk/go/azure/appplatform/springCloudCertificate.go +++ b/sdk/go/azure/appplatform/springCloudCertificate.go @@ -38,7 +38,7 @@ import ( // if err != nil { // return err // } -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/appplatform/springCloudDevToolPortal.go b/sdk/go/azure/appplatform/springCloudDevToolPortal.go index 62e185b066..e02a15d852 100644 --- a/sdk/go/azure/appplatform/springCloudDevToolPortal.go +++ b/sdk/go/azure/appplatform/springCloudDevToolPortal.go @@ -33,7 +33,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/appservice/functionAppActiveSlot.go b/sdk/go/azure/appservice/functionAppActiveSlot.go index f3d003d814..b0e52e82f7 100644 --- a/sdk/go/azure/appservice/functionAppActiveSlot.go +++ b/sdk/go/azure/appservice/functionAppActiveSlot.go @@ -65,7 +65,7 @@ import ( // Location: example.Location, // StorageAccountName: exampleAccount.Name, // ServicePlanId: exampleServicePlan.ID(), -// SiteConfig: nil, +// SiteConfig: &appservice.WindowsFunctionAppSiteConfigArgs{}, // }) // if err != nil { // return err @@ -74,7 +74,7 @@ import ( // Name: pulumi.String("example-windows-function-app-slot"), // FunctionAppId: exampleWindowsFunctionApp.ID(), // StorageAccountName: exampleAccount.Name, -// SiteConfig: nil, +// SiteConfig: &appservice.WindowsFunctionAppSlotSiteConfigArgs{}, // }) // if err != nil { // return err @@ -140,7 +140,7 @@ import ( // Location: example.Location, // ServicePlanId: exampleServicePlan.ID(), // StorageAccountName: exampleAccount.Name, -// SiteConfig: nil, +// SiteConfig: &appservice.LinuxFunctionAppSiteConfigArgs{}, // }) // if err != nil { // return err @@ -149,7 +149,7 @@ import ( // Name: pulumi.String("example-linux-function-app-slot"), // FunctionAppId: exampleLinuxFunctionApp.Name, // StorageAccountName: exampleAccount.Name, -// SiteConfig: nil, +// SiteConfig: &appservice.LinuxFunctionAppSlotSiteConfigArgs{}, // }) // if err != nil { // return err diff --git a/sdk/go/azure/appservice/functionAppHybridConnection.go b/sdk/go/azure/appservice/functionAppHybridConnection.go index 470498be65..2651410e0d 100644 --- a/sdk/go/azure/appservice/functionAppHybridConnection.go +++ b/sdk/go/azure/appservice/functionAppHybridConnection.go @@ -80,7 +80,7 @@ import ( // Location: example.Location, // ResourceGroupName: example.Name, // ServicePlanId: exampleServicePlan.ID(), -// SiteConfig: nil, +// SiteConfig: &appservice.WindowsWebAppSiteConfigArgs{}, // }) // if err != nil { // return err @@ -92,7 +92,7 @@ import ( // ServicePlanId: exampleServicePlan.ID(), // StorageAccountName: exampleAccount.Name, // StorageAccountAccessKey: exampleAccount.PrimaryAccessKey, -// SiteConfig: nil, +// SiteConfig: &appservice.WindowsFunctionAppSiteConfigArgs{}, // }) // if err != nil { // return err diff --git a/sdk/go/azure/appservice/linuxFunctionApp.go b/sdk/go/azure/appservice/linuxFunctionApp.go index 91125b6e0a..d988a1cd1d 100644 --- a/sdk/go/azure/appservice/linuxFunctionApp.go +++ b/sdk/go/azure/appservice/linuxFunctionApp.go @@ -64,7 +64,7 @@ import ( // StorageAccountName: exampleAccount.Name, // StorageAccountAccessKey: exampleAccount.PrimaryAccessKey, // ServicePlanId: exampleServicePlan.ID(), -// SiteConfig: nil, +// SiteConfig: &appservice.LinuxFunctionAppSiteConfigArgs{}, // }) // if err != nil { // return err diff --git a/sdk/go/azure/appservice/linuxFunctionAppSlot.go b/sdk/go/azure/appservice/linuxFunctionAppSlot.go index d500ac59ba..3106d4d971 100644 --- a/sdk/go/azure/appservice/linuxFunctionAppSlot.go +++ b/sdk/go/azure/appservice/linuxFunctionAppSlot.go @@ -63,7 +63,7 @@ import ( // Location: example.Location, // ServicePlanId: exampleServicePlan.ID(), // StorageAccountName: exampleAccount.Name, -// SiteConfig: nil, +// SiteConfig: &appservice.LinuxFunctionAppSiteConfigArgs{}, // }) // if err != nil { // return err @@ -72,7 +72,7 @@ import ( // Name: pulumi.String("example-linux-function-app-slot"), // FunctionAppId: exampleLinuxFunctionApp.ID(), // StorageAccountName: exampleAccount.Name, -// SiteConfig: nil, +// SiteConfig: &appservice.LinuxFunctionAppSlotSiteConfigArgs{}, // }) // if err != nil { // return err diff --git a/sdk/go/azure/appservice/linuxWebApp.go b/sdk/go/azure/appservice/linuxWebApp.go index bdb99f38aa..2bd23b579f 100644 --- a/sdk/go/azure/appservice/linuxWebApp.go +++ b/sdk/go/azure/appservice/linuxWebApp.go @@ -51,7 +51,7 @@ import ( // ResourceGroupName: example.Name, // Location: exampleServicePlan.Location, // ServicePlanId: exampleServicePlan.ID(), -// SiteConfig: nil, +// SiteConfig: &appservice.LinuxWebAppSiteConfigArgs{}, // }) // if err != nil { // return err diff --git a/sdk/go/azure/appservice/linuxWebAppSlot.go b/sdk/go/azure/appservice/linuxWebAppSlot.go index 7eae6ab635..debaddaed1 100644 --- a/sdk/go/azure/appservice/linuxWebAppSlot.go +++ b/sdk/go/azure/appservice/linuxWebAppSlot.go @@ -51,7 +51,7 @@ import ( // ResourceGroupName: example.Name, // Location: exampleServicePlan.Location, // ServicePlanId: exampleServicePlan.ID(), -// SiteConfig: nil, +// SiteConfig: &appservice.LinuxWebAppSiteConfigArgs{}, // }) // if err != nil { // return err @@ -59,7 +59,7 @@ import ( // _, err = appservice.NewLinuxWebAppSlot(ctx, "example", &appservice.LinuxWebAppSlotArgs{ // Name: pulumi.String("example-slot"), // AppServiceId: exampleLinuxWebApp.ID(), -// SiteConfig: nil, +// SiteConfig: &appservice.LinuxWebAppSlotSiteConfigArgs{}, // }) // if err != nil { // return err diff --git a/sdk/go/azure/appservice/sourceControl.go b/sdk/go/azure/appservice/sourceControl.go index 3cea7cca5d..2949a61c76 100644 --- a/sdk/go/azure/appservice/sourceControl.go +++ b/sdk/go/azure/appservice/sourceControl.go @@ -51,7 +51,7 @@ import ( // ResourceGroupName: example.Name, // Location: exampleServicePlan.Location, // ServicePlanId: exampleServicePlan.ID(), -// SiteConfig: nil, +// SiteConfig: &appservice.LinuxWebAppSiteConfigArgs{}, // }) // if err != nil { // return err diff --git a/sdk/go/azure/appservice/sourceControlSlot.go b/sdk/go/azure/appservice/sourceControlSlot.go index 0eae197995..df068d3a06 100644 --- a/sdk/go/azure/appservice/sourceControlSlot.go +++ b/sdk/go/azure/appservice/sourceControlSlot.go @@ -51,7 +51,7 @@ import ( // ResourceGroupName: example.Name, // Location: exampleServicePlan.Location, // ServicePlanId: exampleServicePlan.ID(), -// SiteConfig: nil, +// SiteConfig: &appservice.LinuxWebAppSiteConfigArgs{}, // }) // if err != nil { // return err @@ -59,7 +59,7 @@ import ( // exampleLinuxWebAppSlot, err := appservice.NewLinuxWebAppSlot(ctx, "example", &appservice.LinuxWebAppSlotArgs{ // Name: pulumi.String("example-slot"), // AppServiceId: exampleLinuxWebApp.ID(), -// SiteConfig: nil, +// SiteConfig: &appservice.LinuxWebAppSlotSiteConfigArgs{}, // }) // if err != nil { // return err diff --git a/sdk/go/azure/appservice/staticWebAppFunctionAppRegistration.go b/sdk/go/azure/appservice/staticWebAppFunctionAppRegistration.go index 2d9c7f4b9e..ee42921e45 100644 --- a/sdk/go/azure/appservice/staticWebAppFunctionAppRegistration.go +++ b/sdk/go/azure/appservice/staticWebAppFunctionAppRegistration.go @@ -74,7 +74,7 @@ import ( // ServicePlanId: exampleServicePlan.ID(), // StorageAccountName: exampleAccount.Name, // StorageAccountAccessKey: exampleAccount.PrimaryAccessKey, -// SiteConfig: nil, +// SiteConfig: &appservice.LinuxFunctionAppSiteConfigArgs{}, // }) // if err != nil { // return err diff --git a/sdk/go/azure/appservice/webAppActiveSlot.go b/sdk/go/azure/appservice/webAppActiveSlot.go index 6ea862861d..3e99a47e9f 100644 --- a/sdk/go/azure/appservice/webAppActiveSlot.go +++ b/sdk/go/azure/appservice/webAppActiveSlot.go @@ -53,7 +53,7 @@ import ( // ResourceGroupName: example.Name, // Location: exampleServicePlan.Location, // ServicePlanId: exampleServicePlan.ID(), -// SiteConfig: nil, +// SiteConfig: &appservice.WindowsWebAppSiteConfigArgs{}, // }) // if err != nil { // return err @@ -61,7 +61,7 @@ import ( // exampleWindowsWebAppSlot, err := appservice.NewWindowsWebAppSlot(ctx, "example", &appservice.WindowsWebAppSlotArgs{ // Name: pulumi.String("example-windows-web-app-slot"), // AppServiceId: exampleWindowsWebApp.Name, -// SiteConfig: nil, +// SiteConfig: &appservice.WindowsWebAppSlotSiteConfigArgs{}, // }) // if err != nil { // return err diff --git a/sdk/go/azure/appservice/webAppHybridConnection.go b/sdk/go/azure/appservice/webAppHybridConnection.go index 137a4b520e..62944b97ca 100644 --- a/sdk/go/azure/appservice/webAppHybridConnection.go +++ b/sdk/go/azure/appservice/webAppHybridConnection.go @@ -69,7 +69,7 @@ import ( // Location: example.Location, // ResourceGroupName: example.Name, // ServicePlanId: exampleServicePlan.ID(), -// SiteConfig: nil, +// SiteConfig: &appservice.WindowsWebAppSiteConfigArgs{}, // }) // if err != nil { // return err diff --git a/sdk/go/azure/appservice/windowsFunctionApp.go b/sdk/go/azure/appservice/windowsFunctionApp.go index d7a36532f0..0ae0ae5e34 100644 --- a/sdk/go/azure/appservice/windowsFunctionApp.go +++ b/sdk/go/azure/appservice/windowsFunctionApp.go @@ -64,7 +64,7 @@ import ( // StorageAccountName: exampleAccount.Name, // StorageAccountAccessKey: exampleAccount.PrimaryAccessKey, // ServicePlanId: exampleServicePlan.ID(), -// SiteConfig: nil, +// SiteConfig: &appservice.WindowsFunctionAppSiteConfigArgs{}, // }) // if err != nil { // return err diff --git a/sdk/go/azure/appservice/windowsFunctionAppSlot.go b/sdk/go/azure/appservice/windowsFunctionAppSlot.go index b30f85cdff..e34f73811e 100644 --- a/sdk/go/azure/appservice/windowsFunctionAppSlot.go +++ b/sdk/go/azure/appservice/windowsFunctionAppSlot.go @@ -63,7 +63,7 @@ import ( // Location: example.Location, // StorageAccountName: exampleAccount.Name, // ServicePlanId: exampleServicePlan.ID(), -// SiteConfig: nil, +// SiteConfig: &appservice.WindowsFunctionAppSiteConfigArgs{}, // }) // if err != nil { // return err @@ -72,7 +72,7 @@ import ( // Name: pulumi.String("example-slot"), // FunctionAppId: exampleWindowsFunctionApp.ID(), // StorageAccountName: exampleAccount.Name, -// SiteConfig: nil, +// SiteConfig: &appservice.WindowsFunctionAppSlotSiteConfigArgs{}, // }) // if err != nil { // return err diff --git a/sdk/go/azure/appservice/windowsWebApp.go b/sdk/go/azure/appservice/windowsWebApp.go index 6183d18721..02dd4cb77b 100644 --- a/sdk/go/azure/appservice/windowsWebApp.go +++ b/sdk/go/azure/appservice/windowsWebApp.go @@ -51,7 +51,7 @@ import ( // ResourceGroupName: example.Name, // Location: exampleServicePlan.Location, // ServicePlanId: exampleServicePlan.ID(), -// SiteConfig: nil, +// SiteConfig: &appservice.WindowsWebAppSiteConfigArgs{}, // }) // if err != nil { // return err diff --git a/sdk/go/azure/appservice/windowsWebAppSlot.go b/sdk/go/azure/appservice/windowsWebAppSlot.go index 7fa6a6cb14..7fdcbe4f68 100644 --- a/sdk/go/azure/appservice/windowsWebAppSlot.go +++ b/sdk/go/azure/appservice/windowsWebAppSlot.go @@ -51,7 +51,7 @@ import ( // ResourceGroupName: example.Name, // Location: exampleServicePlan.Location, // ServicePlanId: exampleServicePlan.ID(), -// SiteConfig: nil, +// SiteConfig: &appservice.WindowsWebAppSiteConfigArgs{}, // }) // if err != nil { // return err @@ -59,7 +59,7 @@ import ( // _, err = appservice.NewWindowsWebAppSlot(ctx, "example", &appservice.WindowsWebAppSlotArgs{ // Name: pulumi.String("example-slot"), // AppServiceId: exampleWindowsWebApp.ID(), -// SiteConfig: nil, +// SiteConfig: &appservice.WindowsWebAppSlotSiteConfigArgs{}, // }) // if err != nil { // return err diff --git a/sdk/go/azure/authorization/assignment.go b/sdk/go/azure/authorization/assignment.go index 2e285c97aa..ce774868c8 100644 --- a/sdk/go/azure/authorization/assignment.go +++ b/sdk/go/azure/authorization/assignment.go @@ -31,11 +31,11 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// primary, err := core.LookupSubscription(ctx, nil, nil) +// primary, err := core.LookupSubscription(ctx, &core.LookupSubscriptionArgs{}, nil) // if err != nil { // return err // } -// example, err := core.GetClientConfig(ctx, nil, nil) +// example, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } @@ -68,11 +68,11 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// primary, err := core.LookupSubscription(ctx, nil, nil) +// primary, err := core.LookupSubscription(ctx, &core.LookupSubscriptionArgs{}, nil) // if err != nil { // return err // } -// example, err := core.GetClientConfig(ctx, nil, nil) +// example, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } @@ -125,11 +125,11 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// primary, err := core.LookupSubscription(ctx, nil, nil) +// primary, err := core.LookupSubscription(ctx, &core.LookupSubscriptionArgs{}, nil) // if err != nil { // return err // } -// example, err := core.GetClientConfig(ctx, nil, nil) +// example, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } @@ -183,11 +183,11 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// primary, err := core.LookupSubscription(ctx, nil, nil) +// primary, err := core.LookupSubscription(ctx, &core.LookupSubscriptionArgs{}, nil) // if err != nil { // return err // } -// example, err := core.GetClientConfig(ctx, nil, nil) +// example, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } @@ -249,11 +249,11 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// primary, err := core.LookupSubscription(ctx, nil, nil) +// primary, err := core.LookupSubscription(ctx, &core.LookupSubscriptionArgs{}, nil) // if err != nil { // return err // } -// example, err := core.GetClientConfig(ctx, nil, nil) +// example, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/authorization/getRoleDefinition.go b/sdk/go/azure/authorization/getRoleDefinition.go index 975a8f66a6..bda0262406 100644 --- a/sdk/go/azure/authorization/getRoleDefinition.go +++ b/sdk/go/azure/authorization/getRoleDefinition.go @@ -28,7 +28,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// primary, err := core.LookupSubscription(ctx, nil, nil) +// primary, err := core.LookupSubscription(ctx, &core.LookupSubscriptionArgs{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/authorization/roleDefinition.go b/sdk/go/azure/authorization/roleDefinition.go index a4aa1ca06c..11a1eb952a 100644 --- a/sdk/go/azure/authorization/roleDefinition.go +++ b/sdk/go/azure/authorization/roleDefinition.go @@ -29,7 +29,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// primary, err := core.LookupSubscription(ctx, nil, nil) +// primary, err := core.LookupSubscription(ctx, &core.LookupSubscriptionArgs{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/automation/connection.go b/sdk/go/azure/automation/connection.go index de44402c7a..b6a4b1fb0a 100644 --- a/sdk/go/azure/automation/connection.go +++ b/sdk/go/azure/automation/connection.go @@ -36,7 +36,7 @@ import ( // if err != nil { // return err // } -// example, err := core.GetClientConfig(ctx, nil, nil) +// example, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/automation/connectionCertificate.go b/sdk/go/azure/automation/connectionCertificate.go index 3ebeb09fd4..7dff1cc54b 100644 --- a/sdk/go/azure/automation/connectionCertificate.go +++ b/sdk/go/azure/automation/connectionCertificate.go @@ -37,7 +37,7 @@ import ( // if err != nil { // return err // } -// example, err := core.GetClientConfig(ctx, nil, nil) +// example, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/automation/connectionClassicCertificate.go b/sdk/go/azure/automation/connectionClassicCertificate.go index b3e1940fc6..cc37720839 100644 --- a/sdk/go/azure/automation/connectionClassicCertificate.go +++ b/sdk/go/azure/automation/connectionClassicCertificate.go @@ -36,7 +36,7 @@ import ( // if err != nil { // return err // } -// example, err := core.GetClientConfig(ctx, nil, nil) +// example, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/automation/connectionServicePrincipal.go b/sdk/go/azure/automation/connectionServicePrincipal.go index 1455b21212..39f851a5af 100644 --- a/sdk/go/azure/automation/connectionServicePrincipal.go +++ b/sdk/go/azure/automation/connectionServicePrincipal.go @@ -37,7 +37,7 @@ import ( // if err != nil { // return err // } -// example, err := core.GetClientConfig(ctx, nil, nil) +// example, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/automation/connectionType.go b/sdk/go/azure/automation/connectionType.go index d6715750f1..1195444f72 100644 --- a/sdk/go/azure/automation/connectionType.go +++ b/sdk/go/azure/automation/connectionType.go @@ -36,7 +36,7 @@ import ( // if err != nil { // return err // } -// _, err = core.GetClientConfig(ctx, nil, nil) +// _, err = core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/blueprint/assignment.go b/sdk/go/azure/blueprint/assignment.go index 6f32c05d58..996f42fbde 100644 --- a/sdk/go/azure/blueprint/assignment.go +++ b/sdk/go/azure/blueprint/assignment.go @@ -34,11 +34,11 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } -// example, err := core.LookupSubscription(ctx, nil, nil) +// example, err := core.LookupSubscription(ctx, &core.LookupSubscriptionArgs{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/blueprint/getDefinition.go b/sdk/go/azure/blueprint/getDefinition.go index ea068cb287..6759277cca 100644 --- a/sdk/go/azure/blueprint/getDefinition.go +++ b/sdk/go/azure/blueprint/getDefinition.go @@ -31,7 +31,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/blueprint/getPublishedVersion.go b/sdk/go/azure/blueprint/getPublishedVersion.go index eb1c3878ee..7040595362 100644 --- a/sdk/go/azure/blueprint/getPublishedVersion.go +++ b/sdk/go/azure/blueprint/getPublishedVersion.go @@ -30,7 +30,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := core.LookupSubscription(ctx, nil, nil) +// current, err := core.LookupSubscription(ctx, &core.LookupSubscriptionArgs{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/bot/channelAlexa.go b/sdk/go/azure/bot/channelAlexa.go index a2ddf092d6..67a472662d 100644 --- a/sdk/go/azure/bot/channelAlexa.go +++ b/sdk/go/azure/bot/channelAlexa.go @@ -31,7 +31,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/bot/channelDirectLine.go b/sdk/go/azure/bot/channelDirectLine.go index 736483a253..a08f898211 100644 --- a/sdk/go/azure/bot/channelDirectLine.go +++ b/sdk/go/azure/bot/channelDirectLine.go @@ -29,7 +29,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/bot/channelDirectLineSpeech.go b/sdk/go/azure/bot/channelDirectLineSpeech.go index 14a598f107..56f66d01c3 100644 --- a/sdk/go/azure/bot/channelDirectLineSpeech.go +++ b/sdk/go/azure/bot/channelDirectLineSpeech.go @@ -30,7 +30,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/bot/channelEmail.go b/sdk/go/azure/bot/channelEmail.go index e2c9618d4c..463e7ff9b9 100644 --- a/sdk/go/azure/bot/channelEmail.go +++ b/sdk/go/azure/bot/channelEmail.go @@ -31,7 +31,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/bot/channelFacebook.go b/sdk/go/azure/bot/channelFacebook.go index 041d52e53a..0b094918c7 100644 --- a/sdk/go/azure/bot/channelFacebook.go +++ b/sdk/go/azure/bot/channelFacebook.go @@ -31,7 +31,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/bot/channelLine.go b/sdk/go/azure/bot/channelLine.go index 0888407e3d..ad4e43a5d5 100644 --- a/sdk/go/azure/bot/channelLine.go +++ b/sdk/go/azure/bot/channelLine.go @@ -31,7 +31,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/bot/channelSlack.go b/sdk/go/azure/bot/channelSlack.go index 371b333371..49fd8cc098 100644 --- a/sdk/go/azure/bot/channelSlack.go +++ b/sdk/go/azure/bot/channelSlack.go @@ -31,7 +31,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/bot/channelSms.go b/sdk/go/azure/bot/channelSms.go index 1bd1eafab6..49e1200e29 100644 --- a/sdk/go/azure/bot/channelSms.go +++ b/sdk/go/azure/bot/channelSms.go @@ -31,7 +31,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/bot/channelTeams.go b/sdk/go/azure/bot/channelTeams.go index 319a6a2a8d..c6198c91e8 100644 --- a/sdk/go/azure/bot/channelTeams.go +++ b/sdk/go/azure/bot/channelTeams.go @@ -31,7 +31,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/bot/channelWebChat.go b/sdk/go/azure/bot/channelWebChat.go index ce0c9bd335..3682067d23 100644 --- a/sdk/go/azure/bot/channelWebChat.go +++ b/sdk/go/azure/bot/channelWebChat.go @@ -29,7 +29,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/bot/channelsRegistration.go b/sdk/go/azure/bot/channelsRegistration.go index 705f4075d0..f4793d244e 100644 --- a/sdk/go/azure/bot/channelsRegistration.go +++ b/sdk/go/azure/bot/channelsRegistration.go @@ -31,7 +31,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/bot/connection.go b/sdk/go/azure/bot/connection.go index 280a0afb36..9c6395979b 100644 --- a/sdk/go/azure/bot/connection.go +++ b/sdk/go/azure/bot/connection.go @@ -29,7 +29,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/bot/serviceAzureBot.go b/sdk/go/azure/bot/serviceAzureBot.go index 723eb169da..7508e4ee08 100644 --- a/sdk/go/azure/bot/serviceAzureBot.go +++ b/sdk/go/azure/bot/serviceAzureBot.go @@ -60,7 +60,7 @@ import ( // if err != nil { // return err // } -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/bot/webApp.go b/sdk/go/azure/bot/webApp.go index f76edb5989..96ffb18ecf 100644 --- a/sdk/go/azure/bot/webApp.go +++ b/sdk/go/azure/bot/webApp.go @@ -29,7 +29,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/cdn/frontdoorOrigin.go b/sdk/go/azure/cdn/frontdoorOrigin.go index f8c84e6e2f..2189aec46d 100644 --- a/sdk/go/azure/cdn/frontdoorOrigin.go +++ b/sdk/go/azure/cdn/frontdoorOrigin.go @@ -49,7 +49,7 @@ import ( // exampleFrontdoorOriginGroup, err := cdn.NewFrontdoorOriginGroup(ctx, "example", &cdn.FrontdoorOriginGroupArgs{ // Name: pulumi.String("example-origingroup"), // CdnFrontdoorProfileId: exampleFrontdoorProfile.ID(), -// LoadBalancing: nil, +// LoadBalancing: &cdn.FrontdoorOriginGroupLoadBalancingArgs{}, // }) // if err != nil { // return err @@ -126,7 +126,7 @@ import ( // exampleFrontdoorOriginGroup, err := cdn.NewFrontdoorOriginGroup(ctx, "example", &cdn.FrontdoorOriginGroupArgs{ // Name: pulumi.String("example-origin-group"), // CdnFrontdoorProfileId: exampleFrontdoorProfile.ID(), -// LoadBalancing: nil, +// LoadBalancing: &cdn.FrontdoorOriginGroupLoadBalancingArgs{}, // }) // if err != nil { // return err @@ -174,7 +174,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/cdn/frontdoorSecret.go b/sdk/go/azure/cdn/frontdoorSecret.go index db972b04a2..b503b3359d 100644 --- a/sdk/go/azure/cdn/frontdoorSecret.go +++ b/sdk/go/azure/cdn/frontdoorSecret.go @@ -42,7 +42,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/cognitive/accountCustomerManagedKey.go b/sdk/go/azure/cognitive/accountCustomerManagedKey.go index 3df587d9c4..011d0acf44 100644 --- a/sdk/go/azure/cognitive/accountCustomerManagedKey.go +++ b/sdk/go/azure/cognitive/accountCustomerManagedKey.go @@ -33,7 +33,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/compute/diskEncryptionSet.go b/sdk/go/azure/compute/diskEncryptionSet.go index 6a48c6426a..ff2ad47fca 100644 --- a/sdk/go/azure/compute/diskEncryptionSet.go +++ b/sdk/go/azure/compute/diskEncryptionSet.go @@ -33,7 +33,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } @@ -163,7 +163,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/confidentialledger/ledger.go b/sdk/go/azure/confidentialledger/ledger.go index 0c24325afd..0433fc603b 100644 --- a/sdk/go/azure/confidentialledger/ledger.go +++ b/sdk/go/azure/confidentialledger/ledger.go @@ -29,7 +29,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/consumption/budgetSubscription.go b/sdk/go/azure/consumption/budgetSubscription.go index df84c3a64e..d1a23b33d9 100644 --- a/sdk/go/azure/consumption/budgetSubscription.go +++ b/sdk/go/azure/consumption/budgetSubscription.go @@ -30,7 +30,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := core.LookupSubscription(ctx, nil, nil) +// current, err := core.LookupSubscription(ctx, &core.LookupSubscriptionArgs{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/containerservice/clusterTrustedAccessRoleBinding.go b/sdk/go/azure/containerservice/clusterTrustedAccessRoleBinding.go index ef54aced1d..4f41b26dc5 100644 --- a/sdk/go/azure/containerservice/clusterTrustedAccessRoleBinding.go +++ b/sdk/go/azure/containerservice/clusterTrustedAccessRoleBinding.go @@ -53,7 +53,7 @@ import ( // if err != nil { // return err // } -// _, err = core.GetClientConfig(ctx, nil, nil) +// _, err = core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/containerservice/registry.go b/sdk/go/azure/containerservice/registry.go index 17f944dbf2..85756d3d6a 100644 --- a/sdk/go/azure/containerservice/registry.go +++ b/sdk/go/azure/containerservice/registry.go @@ -46,12 +46,12 @@ import ( // &containerservice.RegistryGeoreplicationArgs{ // Location: pulumi.String("East US"), // ZoneRedundancyEnabled: pulumi.Bool(true), -// Tags: nil, +// Tags: pulumi.StringMap{}, // }, // &containerservice.RegistryGeoreplicationArgs{ // Location: pulumi.String("North Europe"), // ZoneRedundancyEnabled: pulumi.Bool(true), -// Tags: nil, +// Tags: pulumi.StringMap{}, // }, // }, // }) diff --git a/sdk/go/azure/core/getClientConfig.go b/sdk/go/azure/core/getClientConfig.go index 2e83e50d40..d641297a67 100644 --- a/sdk/go/azure/core/getClientConfig.go +++ b/sdk/go/azure/core/getClientConfig.go @@ -27,7 +27,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/core/getSubscription.go b/sdk/go/azure/core/getSubscription.go index 43a812b845..cbd32b8b3d 100644 --- a/sdk/go/azure/core/getSubscription.go +++ b/sdk/go/azure/core/getSubscription.go @@ -27,7 +27,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := core.LookupSubscription(ctx, nil, nil) +// current, err := core.LookupSubscription(ctx, &core.LookupSubscriptionArgs{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/core/getSubscriptions.go b/sdk/go/azure/core/getSubscriptions.go index 52748091c4..9b7efbc7b3 100644 --- a/sdk/go/azure/core/getSubscriptions.go +++ b/sdk/go/azure/core/getSubscriptions.go @@ -27,7 +27,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// available, err := core.GetSubscriptions(ctx, nil, nil) +// available, err := core.GetSubscriptions(ctx, &core.GetSubscriptionsArgs{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/core/subscriptionCostManagementExport.go b/sdk/go/azure/core/subscriptionCostManagementExport.go index c1f117e802..07d4f2aa0d 100644 --- a/sdk/go/azure/core/subscriptionCostManagementExport.go +++ b/sdk/go/azure/core/subscriptionCostManagementExport.go @@ -29,7 +29,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// example, err := core.LookupSubscription(ctx, nil, nil) +// example, err := core.LookupSubscription(ctx, &core.LookupSubscriptionArgs{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/core/subscriptionPolicyAssignment.go b/sdk/go/azure/core/subscriptionPolicyAssignment.go index 61cf649b3b..8ce2cf01d7 100644 --- a/sdk/go/azure/core/subscriptionPolicyAssignment.go +++ b/sdk/go/azure/core/subscriptionPolicyAssignment.go @@ -29,7 +29,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := core.LookupSubscription(ctx, nil, nil) +// current, err := core.LookupSubscription(ctx, &core.LookupSubscriptionArgs{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/core/subscriptionPolicyExemption.go b/sdk/go/azure/core/subscriptionPolicyExemption.go index 9ec41a06f8..3149406448 100644 --- a/sdk/go/azure/core/subscriptionPolicyExemption.go +++ b/sdk/go/azure/core/subscriptionPolicyExemption.go @@ -29,7 +29,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// example, err := core.LookupSubscription(ctx, nil, nil) +// example, err := core.LookupSubscription(ctx, &core.LookupSubscriptionArgs{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/core/subscriptionPolicyRemediation.go b/sdk/go/azure/core/subscriptionPolicyRemediation.go index 0a8aa9ebd2..50a13b4d7d 100644 --- a/sdk/go/azure/core/subscriptionPolicyRemediation.go +++ b/sdk/go/azure/core/subscriptionPolicyRemediation.go @@ -31,7 +31,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// example, err := core.LookupSubscription(ctx, nil, nil) +// example, err := core.LookupSubscription(ctx, &core.LookupSubscriptionArgs{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/cosmosdb/sqlRoleAssignment.go b/sdk/go/azure/cosmosdb/sqlRoleAssignment.go index 9c5a140238..04da76e899 100644 --- a/sdk/go/azure/cosmosdb/sqlRoleAssignment.go +++ b/sdk/go/azure/cosmosdb/sqlRoleAssignment.go @@ -29,7 +29,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/cosmosdb/sqlRoleDefinition.go b/sdk/go/azure/cosmosdb/sqlRoleDefinition.go index 9fc707c87f..05e7b93493 100644 --- a/sdk/go/azure/cosmosdb/sqlRoleDefinition.go +++ b/sdk/go/azure/cosmosdb/sqlRoleDefinition.go @@ -31,7 +31,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := core.GetClientConfig(ctx, nil, nil) +// _, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/databricks/workspaceRootDbfsCustomerManagedKey.go b/sdk/go/azure/databricks/workspaceRootDbfsCustomerManagedKey.go index 1c8d76c04d..8b3b0c015a 100644 --- a/sdk/go/azure/databricks/workspaceRootDbfsCustomerManagedKey.go +++ b/sdk/go/azure/databricks/workspaceRootDbfsCustomerManagedKey.go @@ -30,7 +30,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/datadog/monitor.go b/sdk/go/azure/datadog/monitor.go index ab7e001847..9318dfe67e 100644 --- a/sdk/go/azure/datadog/monitor.go +++ b/sdk/go/azure/datadog/monitor.go @@ -83,7 +83,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// primary, err := core.LookupSubscription(ctx, nil, nil) +// primary, err := core.LookupSubscription(ctx, &core.LookupSubscriptionArgs{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/datafactory/credentialServicePrincipal.go b/sdk/go/azure/datafactory/credentialServicePrincipal.go index c6cae78317..d74ec624f2 100644 --- a/sdk/go/azure/datafactory/credentialServicePrincipal.go +++ b/sdk/go/azure/datafactory/credentialServicePrincipal.go @@ -30,7 +30,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/datafactory/linkedServiceDataLakeStorageGen2.go b/sdk/go/azure/datafactory/linkedServiceDataLakeStorageGen2.go index 407ba546b2..dd53286fc1 100644 --- a/sdk/go/azure/datafactory/linkedServiceDataLakeStorageGen2.go +++ b/sdk/go/azure/datafactory/linkedServiceDataLakeStorageGen2.go @@ -44,7 +44,7 @@ import ( // if err != nil { // return err // } -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/datafactory/linkedServiceKeyVault.go b/sdk/go/azure/datafactory/linkedServiceKeyVault.go index 14ded39b64..b73fade38c 100644 --- a/sdk/go/azure/datafactory/linkedServiceKeyVault.go +++ b/sdk/go/azure/datafactory/linkedServiceKeyVault.go @@ -30,7 +30,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/datafactory/linkedServiceSnowflake.go b/sdk/go/azure/datafactory/linkedServiceSnowflake.go index cdf0c4e526..b2f9eed23d 100644 --- a/sdk/go/azure/datafactory/linkedServiceSnowflake.go +++ b/sdk/go/azure/datafactory/linkedServiceSnowflake.go @@ -74,7 +74,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/datafactory/linkedServiceSqlServer.go b/sdk/go/azure/datafactory/linkedServiceSqlServer.go index 0e09c4d9c0..059ba412cd 100644 --- a/sdk/go/azure/datafactory/linkedServiceSqlServer.go +++ b/sdk/go/azure/datafactory/linkedServiceSqlServer.go @@ -74,7 +74,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/datafactory/linkedServiceSynapse.go b/sdk/go/azure/datafactory/linkedServiceSynapse.go index 6e0f6919ac..df3de9fdd0 100644 --- a/sdk/go/azure/datafactory/linkedServiceSynapse.go +++ b/sdk/go/azure/datafactory/linkedServiceSynapse.go @@ -74,7 +74,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/dataprotection/backupInstanceKubernetesCluster.go b/sdk/go/azure/dataprotection/backupInstanceKubernetesCluster.go index 486399494b..c6223b7044 100644 --- a/sdk/go/azure/dataprotection/backupInstanceKubernetesCluster.go +++ b/sdk/go/azure/dataprotection/backupInstanceKubernetesCluster.go @@ -32,7 +32,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/dataprotection/backupInstancePostgresql.go b/sdk/go/azure/dataprotection/backupInstancePostgresql.go index 8a8cd0345e..e0f82ab1eb 100644 --- a/sdk/go/azure/dataprotection/backupInstancePostgresql.go +++ b/sdk/go/azure/dataprotection/backupInstancePostgresql.go @@ -36,7 +36,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/devcenter/projectEnvironmentType.go b/sdk/go/azure/devcenter/projectEnvironmentType.go index d53f1a1afd..7fd077be19 100644 --- a/sdk/go/azure/devcenter/projectEnvironmentType.go +++ b/sdk/go/azure/devcenter/projectEnvironmentType.go @@ -31,7 +31,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/devtest/schedule.go b/sdk/go/azure/devtest/schedule.go index 6e540aff82..18722cbc43 100644 --- a/sdk/go/azure/devtest/schedule.go +++ b/sdk/go/azure/devtest/schedule.go @@ -59,7 +59,7 @@ import ( // }, // TimeZoneId: pulumi.String("Pacific Standard Time"), // TaskType: pulumi.String("LabVmsStartupTask"), -// NotificationSettings: nil, +// NotificationSettings: &devtest.ScheduleNotificationSettingsArgs{}, // Tags: pulumi.StringMap{ // "environment": pulumi.String("Production"), // }, diff --git a/sdk/go/azure/elasticsan/volumeGroup.go b/sdk/go/azure/elasticsan/volumeGroup.go index 41c2145b4b..950427cebc 100644 --- a/sdk/go/azure/elasticsan/volumeGroup.go +++ b/sdk/go/azure/elasticsan/volumeGroup.go @@ -51,7 +51,7 @@ import ( // if err != nil { // return err // } -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/eventhub/namespaceCustomerManagedKey.go b/sdk/go/azure/eventhub/namespaceCustomerManagedKey.go index 3968de8835..4bb7d7b5a9 100644 --- a/sdk/go/azure/eventhub/namespaceCustomerManagedKey.go +++ b/sdk/go/azure/eventhub/namespaceCustomerManagedKey.go @@ -63,7 +63,7 @@ import ( // if err != nil { // return err // } -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } @@ -204,7 +204,7 @@ import ( // if err != nil { // return err // } -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/healthcare/fhirService.go b/sdk/go/azure/healthcare/fhirService.go index 269f42a571..fac32f9d1f 100644 --- a/sdk/go/azure/healthcare/fhirService.go +++ b/sdk/go/azure/healthcare/fhirService.go @@ -36,7 +36,7 @@ import ( // if err != nil { // return err // } -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/healthcare/medtechServiceFhirDestination.go b/sdk/go/azure/healthcare/medtechServiceFhirDestination.go index 8511c5b93f..78bc3114f5 100644 --- a/sdk/go/azure/healthcare/medtechServiceFhirDestination.go +++ b/sdk/go/azure/healthcare/medtechServiceFhirDestination.go @@ -37,7 +37,7 @@ import ( // if err != nil { // return err // } -// _, err = core.GetClientConfig(ctx, nil, nil) +// _, err = core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/healthcare/service.go b/sdk/go/azure/healthcare/service.go index 2ae20ae376..c7e0945c90 100644 --- a/sdk/go/azure/healthcare/service.go +++ b/sdk/go/azure/healthcare/service.go @@ -29,7 +29,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/keyvault/accessPolicy.go b/sdk/go/azure/keyvault/accessPolicy.go index 69d9eca808..eccb146ee0 100644 --- a/sdk/go/azure/keyvault/accessPolicy.go +++ b/sdk/go/azure/keyvault/accessPolicy.go @@ -34,7 +34,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/keyvault/certifiate.go b/sdk/go/azure/keyvault/certifiate.go index e555dd6ae0..18e18df62a 100644 --- a/sdk/go/azure/keyvault/certifiate.go +++ b/sdk/go/azure/keyvault/certifiate.go @@ -34,7 +34,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } @@ -141,7 +141,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/keyvault/certificate.go b/sdk/go/azure/keyvault/certificate.go index a73df3c381..c2bc2be011 100644 --- a/sdk/go/azure/keyvault/certificate.go +++ b/sdk/go/azure/keyvault/certificate.go @@ -34,7 +34,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } @@ -141,7 +141,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/keyvault/certificateContacts.go b/sdk/go/azure/keyvault/certificateContacts.go index b6d09a3352..a45b912e32 100644 --- a/sdk/go/azure/keyvault/certificateContacts.go +++ b/sdk/go/azure/keyvault/certificateContacts.go @@ -34,7 +34,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/keyvault/certificateIssuer.go b/sdk/go/azure/keyvault/certificateIssuer.go index 045ca01655..6ea7c42fb9 100644 --- a/sdk/go/azure/keyvault/certificateIssuer.go +++ b/sdk/go/azure/keyvault/certificateIssuer.go @@ -29,7 +29,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/keyvault/key.go b/sdk/go/azure/keyvault/key.go index 6dbb461dbd..b3065341bc 100644 --- a/sdk/go/azure/keyvault/key.go +++ b/sdk/go/azure/keyvault/key.go @@ -35,7 +35,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/keyvault/keyVault.go b/sdk/go/azure/keyvault/keyVault.go index 612a9ac29b..985223fc91 100644 --- a/sdk/go/azure/keyvault/keyVault.go +++ b/sdk/go/azure/keyvault/keyVault.go @@ -35,7 +35,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/keyvault/managedHardwareSecurityModule.go b/sdk/go/azure/keyvault/managedHardwareSecurityModule.go index a193fae005..3c55625704 100644 --- a/sdk/go/azure/keyvault/managedHardwareSecurityModule.go +++ b/sdk/go/azure/keyvault/managedHardwareSecurityModule.go @@ -31,7 +31,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/keyvault/managedStorageAccount.go b/sdk/go/azure/keyvault/managedStorageAccount.go index a7799f647f..675de87397 100644 --- a/sdk/go/azure/keyvault/managedStorageAccount.go +++ b/sdk/go/azure/keyvault/managedStorageAccount.go @@ -30,7 +30,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } @@ -116,7 +116,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/keyvault/managedStorageAccountSasTokenDefinition.go b/sdk/go/azure/keyvault/managedStorageAccountSasTokenDefinition.go index 45a4ebdc67..b0740b85cc 100644 --- a/sdk/go/azure/keyvault/managedStorageAccountSasTokenDefinition.go +++ b/sdk/go/azure/keyvault/managedStorageAccountSasTokenDefinition.go @@ -30,7 +30,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// example, err := core.GetClientConfig(ctx, nil, nil) +// example, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/keyvault/secret.go b/sdk/go/azure/keyvault/secret.go index 478ffdcc4a..09d5e302e8 100644 --- a/sdk/go/azure/keyvault/secret.go +++ b/sdk/go/azure/keyvault/secret.go @@ -29,7 +29,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/kusto/clusterCustomerManagedKey.go b/sdk/go/azure/kusto/clusterCustomerManagedKey.go index d8eae12903..192b0eee1b 100644 --- a/sdk/go/azure/kusto/clusterCustomerManagedKey.go +++ b/sdk/go/azure/kusto/clusterCustomerManagedKey.go @@ -30,7 +30,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/kusto/clusterManagedPrivateEndpoint.go b/sdk/go/azure/kusto/clusterManagedPrivateEndpoint.go index ba094a9e11..6c560a8ab0 100644 --- a/sdk/go/azure/kusto/clusterManagedPrivateEndpoint.go +++ b/sdk/go/azure/kusto/clusterManagedPrivateEndpoint.go @@ -30,7 +30,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := core.GetClientConfig(ctx, nil, nil) +// _, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/kusto/clusterPrincipalAssignment.go b/sdk/go/azure/kusto/clusterPrincipalAssignment.go index 150190894e..388b53eda4 100644 --- a/sdk/go/azure/kusto/clusterPrincipalAssignment.go +++ b/sdk/go/azure/kusto/clusterPrincipalAssignment.go @@ -29,7 +29,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/kusto/databasePrincipalAssignment.go b/sdk/go/azure/kusto/databasePrincipalAssignment.go index 4e5f980a00..f4e27318d8 100644 --- a/sdk/go/azure/kusto/databasePrincipalAssignment.go +++ b/sdk/go/azure/kusto/databasePrincipalAssignment.go @@ -29,7 +29,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/lighthouse/assignment.go b/sdk/go/azure/lighthouse/assignment.go index 651651b30d..d439daea49 100644 --- a/sdk/go/azure/lighthouse/assignment.go +++ b/sdk/go/azure/lighthouse/assignment.go @@ -29,7 +29,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// primary, err := core.LookupSubscription(ctx, nil, nil) +// primary, err := core.LookupSubscription(ctx, &core.LookupSubscriptionArgs{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/loganalytics/clusterCustomerManagedKey.go b/sdk/go/azure/loganalytics/clusterCustomerManagedKey.go index 64b159e5e3..b8d5c74703 100644 --- a/sdk/go/azure/loganalytics/clusterCustomerManagedKey.go +++ b/sdk/go/azure/loganalytics/clusterCustomerManagedKey.go @@ -37,7 +37,7 @@ import ( // if err != nil { // return err // } -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/machinelearning/computeCluster.go b/sdk/go/azure/machinelearning/computeCluster.go index 278b799261..03013585b9 100644 --- a/sdk/go/azure/machinelearning/computeCluster.go +++ b/sdk/go/azure/machinelearning/computeCluster.go @@ -34,7 +34,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/machinelearning/computeInstance.go b/sdk/go/azure/machinelearning/computeInstance.go index d734ce4056..dfe02bc9da 100644 --- a/sdk/go/azure/machinelearning/computeInstance.go +++ b/sdk/go/azure/machinelearning/computeInstance.go @@ -34,7 +34,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/machinelearning/datastoreBlobstorage.go b/sdk/go/azure/machinelearning/datastoreBlobstorage.go index 2e32646210..52d9bf18f8 100644 --- a/sdk/go/azure/machinelearning/datastoreBlobstorage.go +++ b/sdk/go/azure/machinelearning/datastoreBlobstorage.go @@ -34,7 +34,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/machinelearning/datastoreDatalakeGen2.go b/sdk/go/azure/machinelearning/datastoreDatalakeGen2.go index 83c8bb6613..fd74446642 100644 --- a/sdk/go/azure/machinelearning/datastoreDatalakeGen2.go +++ b/sdk/go/azure/machinelearning/datastoreDatalakeGen2.go @@ -32,7 +32,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/machinelearning/inferenceCluster.go b/sdk/go/azure/machinelearning/inferenceCluster.go index 1e9196d0c8..b1d38340b6 100644 --- a/sdk/go/azure/machinelearning/inferenceCluster.go +++ b/sdk/go/azure/machinelearning/inferenceCluster.go @@ -36,7 +36,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/machinelearning/synapseSpark.go b/sdk/go/azure/machinelearning/synapseSpark.go index accb0a4a0a..f6a25412d8 100644 --- a/sdk/go/azure/machinelearning/synapseSpark.go +++ b/sdk/go/azure/machinelearning/synapseSpark.go @@ -33,7 +33,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/machinelearning/workspace.go b/sdk/go/azure/machinelearning/workspace.go index 28f77dee69..854c07fc89 100644 --- a/sdk/go/azure/machinelearning/workspace.go +++ b/sdk/go/azure/machinelearning/workspace.go @@ -30,7 +30,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } @@ -110,7 +110,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } @@ -232,7 +232,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/managedapplication/application.go b/sdk/go/azure/managedapplication/application.go index 9a42cc6490..112e09d954 100644 --- a/sdk/go/azure/managedapplication/application.go +++ b/sdk/go/azure/managedapplication/application.go @@ -33,7 +33,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/managedapplication/definition.go b/sdk/go/azure/managedapplication/definition.go index c4d978450e..6a9ed89236 100644 --- a/sdk/go/azure/managedapplication/definition.go +++ b/sdk/go/azure/managedapplication/definition.go @@ -29,7 +29,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/management/group.go b/sdk/go/azure/management/group.go index 2bd3dd0d99..c9d4479a8d 100644 --- a/sdk/go/azure/management/group.go +++ b/sdk/go/azure/management/group.go @@ -30,7 +30,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := core.LookupSubscription(ctx, nil, nil) +// current, err := core.LookupSubscription(ctx, &core.LookupSubscriptionArgs{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/management/lock.go b/sdk/go/azure/management/lock.go index 261d295cc5..6c55984f9c 100644 --- a/sdk/go/azure/management/lock.go +++ b/sdk/go/azure/management/lock.go @@ -31,7 +31,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := core.LookupSubscription(ctx, nil, nil) +// current, err := core.LookupSubscription(ctx, &core.LookupSubscriptionArgs{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/management/privateLinkAssociation.go b/sdk/go/azure/management/privateLinkAssociation.go index 0c425b764d..6e4285de5a 100644 --- a/sdk/go/azure/management/privateLinkAssociation.go +++ b/sdk/go/azure/management/privateLinkAssociation.go @@ -30,7 +30,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// example, err := core.GetClientConfig(ctx, nil, nil) +// example, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/managementgroups/managementGroup.go b/sdk/go/azure/managementgroups/managementGroup.go index b1f43fa04f..f4f1ac44ba 100644 --- a/sdk/go/azure/managementgroups/managementGroup.go +++ b/sdk/go/azure/managementgroups/managementGroup.go @@ -30,7 +30,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := core.LookupSubscription(ctx, nil, nil) +// current, err := core.LookupSubscription(ctx, &core.LookupSubscriptionArgs{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/managementresource/manangementLock.go b/sdk/go/azure/managementresource/manangementLock.go index 716460bf6c..f0d74b9b06 100644 --- a/sdk/go/azure/managementresource/manangementLock.go +++ b/sdk/go/azure/managementresource/manangementLock.go @@ -31,7 +31,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := core.LookupSubscription(ctx, nil, nil) +// current, err := core.LookupSubscription(ctx, &core.LookupSubscriptionArgs{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/monitoring/actionGroup.go b/sdk/go/azure/monitoring/actionGroup.go index e8f6b8d765..6e6c2f6072 100644 --- a/sdk/go/azure/monitoring/actionGroup.go +++ b/sdk/go/azure/monitoring/actionGroup.go @@ -39,7 +39,7 @@ import ( // if err != nil { // return err // } -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/monitoring/diagnosticSetting.go b/sdk/go/azure/monitoring/diagnosticSetting.go index 990fab81c4..a34289084b 100644 --- a/sdk/go/azure/monitoring/diagnosticSetting.go +++ b/sdk/go/azure/monitoring/diagnosticSetting.go @@ -48,7 +48,7 @@ import ( // if err != nil { // return err // } -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/mssql/managedInstanceActiveDirectoryAdministrator.go b/sdk/go/azure/mssql/managedInstanceActiveDirectoryAdministrator.go index a8c5a70fc1..d675c18b07 100644 --- a/sdk/go/azure/mssql/managedInstanceActiveDirectoryAdministrator.go +++ b/sdk/go/azure/mssql/managedInstanceActiveDirectoryAdministrator.go @@ -38,7 +38,7 @@ import ( // if err != nil { // return err // } -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/mssql/managedInstanceTransparentDataEncryption.go b/sdk/go/azure/mssql/managedInstanceTransparentDataEncryption.go index 30cd92427b..eb526130ac 100644 --- a/sdk/go/azure/mssql/managedInstanceTransparentDataEncryption.go +++ b/sdk/go/azure/mssql/managedInstanceTransparentDataEncryption.go @@ -125,7 +125,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/mssql/server.go b/sdk/go/azure/mssql/server.go index 38c4686e1c..0d4703e281 100644 --- a/sdk/go/azure/mssql/server.go +++ b/sdk/go/azure/mssql/server.go @@ -78,7 +78,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/mssql/serverTransparentDataEncryption.go b/sdk/go/azure/mssql/serverTransparentDataEncryption.go index 6ea5b070d3..c57403dcb7 100644 --- a/sdk/go/azure/mssql/serverTransparentDataEncryption.go +++ b/sdk/go/azure/mssql/serverTransparentDataEncryption.go @@ -91,7 +91,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/netapp/account.go b/sdk/go/azure/netapp/account.go index 49e4da7ed1..6042c13aca 100644 --- a/sdk/go/azure/netapp/account.go +++ b/sdk/go/azure/netapp/account.go @@ -39,7 +39,7 @@ import ( // if err != nil { // return err // } -// _, err = core.GetClientConfig(ctx, nil, nil) +// _, err = core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/netapp/accountEncryption.go b/sdk/go/azure/netapp/accountEncryption.go index 6701d4eaf9..3432c705c8 100644 --- a/sdk/go/azure/netapp/accountEncryption.go +++ b/sdk/go/azure/netapp/accountEncryption.go @@ -40,7 +40,7 @@ import ( // if err != nil { // return err // } -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/network/getNetworkManager.go b/sdk/go/azure/network/getNetworkManager.go index 46f0919f15..2af124f9a6 100644 --- a/sdk/go/azure/network/getNetworkManager.go +++ b/sdk/go/azure/network/getNetworkManager.go @@ -35,7 +35,7 @@ import ( // if err != nil { // return err // } -// current, err := core.LookupSubscription(ctx, nil, nil) +// current, err := core.LookupSubscription(ctx, &core.LookupSubscriptionArgs{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/network/getNetworkManagerNetworkGroup.go b/sdk/go/azure/network/getNetworkManagerNetworkGroup.go index 591f2ea44d..5e9a77310c 100644 --- a/sdk/go/azure/network/getNetworkManagerNetworkGroup.go +++ b/sdk/go/azure/network/getNetworkManagerNetworkGroup.go @@ -35,7 +35,7 @@ import ( // if err != nil { // return err // } -// current, err := core.LookupSubscription(ctx, nil, nil) +// current, err := core.LookupSubscription(ctx, &core.LookupSubscriptionArgs{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/network/networkManager.go b/sdk/go/azure/network/networkManager.go index 0d564276f7..42831d72ea 100644 --- a/sdk/go/azure/network/networkManager.go +++ b/sdk/go/azure/network/networkManager.go @@ -36,7 +36,7 @@ import ( // if err != nil { // return err // } -// current, err := core.LookupSubscription(ctx, nil, nil) +// current, err := core.LookupSubscription(ctx, &core.LookupSubscriptionArgs{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/network/networkManagerAdminRule.go b/sdk/go/azure/network/networkManagerAdminRule.go index e150001d40..b0cc4a83c7 100644 --- a/sdk/go/azure/network/networkManagerAdminRule.go +++ b/sdk/go/azure/network/networkManagerAdminRule.go @@ -36,7 +36,7 @@ import ( // if err != nil { // return err // } -// current, err := core.LookupSubscription(ctx, nil, nil) +// current, err := core.LookupSubscription(ctx, &core.LookupSubscriptionArgs{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/network/networkManagerAdminRuleCollection.go b/sdk/go/azure/network/networkManagerAdminRuleCollection.go index 05abe9d007..a7d4ec9317 100644 --- a/sdk/go/azure/network/networkManagerAdminRuleCollection.go +++ b/sdk/go/azure/network/networkManagerAdminRuleCollection.go @@ -36,7 +36,7 @@ import ( // if err != nil { // return err // } -// current, err := core.LookupSubscription(ctx, nil, nil) +// current, err := core.LookupSubscription(ctx, &core.LookupSubscriptionArgs{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/network/networkManagerConnectivityConfiguration.go b/sdk/go/azure/network/networkManagerConnectivityConfiguration.go index 1c30f6683b..dc2f47fe5a 100644 --- a/sdk/go/azure/network/networkManagerConnectivityConfiguration.go +++ b/sdk/go/azure/network/networkManagerConnectivityConfiguration.go @@ -38,7 +38,7 @@ import ( // if err != nil { // return err // } -// current, err := core.LookupSubscription(ctx, nil, nil) +// current, err := core.LookupSubscription(ctx, &core.LookupSubscriptionArgs{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/network/networkManagerDeployment.go b/sdk/go/azure/network/networkManagerDeployment.go index d7a9273ede..2371661c72 100644 --- a/sdk/go/azure/network/networkManagerDeployment.go +++ b/sdk/go/azure/network/networkManagerDeployment.go @@ -38,7 +38,7 @@ import ( // if err != nil { // return err // } -// current, err := core.LookupSubscription(ctx, nil, nil) +// current, err := core.LookupSubscription(ctx, &core.LookupSubscriptionArgs{}, nil) // if err != nil { // return err // } @@ -137,7 +137,7 @@ import ( // if err != nil { // return err // } -// current, err := core.LookupSubscription(ctx, nil, nil) +// current, err := core.LookupSubscription(ctx, &core.LookupSubscriptionArgs{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/network/networkManagerManagementGroupConnection.go b/sdk/go/azure/network/networkManagerManagementGroupConnection.go index 7ea9f4efd7..04d941df22 100644 --- a/sdk/go/azure/network/networkManagerManagementGroupConnection.go +++ b/sdk/go/azure/network/networkManagerManagementGroupConnection.go @@ -48,11 +48,11 @@ import ( // if err != nil { // return err // } -// current, err := core.LookupSubscription(ctx, nil, nil) +// current, err := core.LookupSubscription(ctx, &core.LookupSubscriptionArgs{}, nil) // if err != nil { // return err // } -// currentGetClientConfig, err := core.GetClientConfig(ctx, nil, nil) +// currentGetClientConfig, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/network/networkManagerNetworkGroup.go b/sdk/go/azure/network/networkManagerNetworkGroup.go index 9e2ba4e0d8..5ad3252150 100644 --- a/sdk/go/azure/network/networkManagerNetworkGroup.go +++ b/sdk/go/azure/network/networkManagerNetworkGroup.go @@ -36,7 +36,7 @@ import ( // if err != nil { // return err // } -// current, err := core.LookupSubscription(ctx, nil, nil) +// current, err := core.LookupSubscription(ctx, &core.LookupSubscriptionArgs{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/network/networkManagerScopeConnection.go b/sdk/go/azure/network/networkManagerScopeConnection.go index 99fb7ec3dc..023413e51a 100644 --- a/sdk/go/azure/network/networkManagerScopeConnection.go +++ b/sdk/go/azure/network/networkManagerScopeConnection.go @@ -36,11 +36,11 @@ import ( // if err != nil { // return err // } -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } -// currentGetSubscription, err := core.LookupSubscription(ctx, nil, nil) +// currentGetSubscription, err := core.LookupSubscription(ctx, &core.LookupSubscriptionArgs{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/network/networkManagerSecurityAdminConfiguration.go b/sdk/go/azure/network/networkManagerSecurityAdminConfiguration.go index bebb763728..524fb32629 100644 --- a/sdk/go/azure/network/networkManagerSecurityAdminConfiguration.go +++ b/sdk/go/azure/network/networkManagerSecurityAdminConfiguration.go @@ -36,7 +36,7 @@ import ( // if err != nil { // return err // } -// current, err := core.LookupSubscription(ctx, nil, nil) +// current, err := core.LookupSubscription(ctx, &core.LookupSubscriptionArgs{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/network/networkManagerStaticMember.go b/sdk/go/azure/network/networkManagerStaticMember.go index ede7c51f8e..f50b964c57 100644 --- a/sdk/go/azure/network/networkManagerStaticMember.go +++ b/sdk/go/azure/network/networkManagerStaticMember.go @@ -36,7 +36,7 @@ import ( // if err != nil { // return err // } -// current, err := core.LookupSubscription(ctx, nil, nil) +// current, err := core.LookupSubscription(ctx, &core.LookupSubscriptionArgs{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/network/networkManagerSubscriptionConnection.go b/sdk/go/azure/network/networkManagerSubscriptionConnection.go index ca6591af2a..f5058b8411 100644 --- a/sdk/go/azure/network/networkManagerSubscriptionConnection.go +++ b/sdk/go/azure/network/networkManagerSubscriptionConnection.go @@ -36,7 +36,7 @@ import ( // if err != nil { // return err // } -// current, err := core.LookupSubscription(ctx, nil, nil) +// current, err := core.LookupSubscription(ctx, &core.LookupSubscriptionArgs{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/newrelic/monitor.go b/sdk/go/azure/newrelic/monitor.go index 50b04ffdef..1a4fcdf57b 100644 --- a/sdk/go/azure/newrelic/monitor.go +++ b/sdk/go/azure/newrelic/monitor.go @@ -83,7 +83,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// primary, err := core.LookupSubscription(ctx, nil, nil) +// primary, err := core.LookupSubscription(ctx, &core.LookupSubscriptionArgs{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/nginx/certificate.go b/sdk/go/azure/nginx/certificate.go index 4f2e6141c8..db7e9e174e 100644 --- a/sdk/go/azure/nginx/certificate.go +++ b/sdk/go/azure/nginx/certificate.go @@ -106,7 +106,7 @@ import ( // if err != nil { // return err // } -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/pim/activeRoleAssignment.go b/sdk/go/azure/pim/activeRoleAssignment.go index 5e597540ff..75ad1e18a2 100644 --- a/sdk/go/azure/pim/activeRoleAssignment.go +++ b/sdk/go/azure/pim/activeRoleAssignment.go @@ -35,11 +35,11 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// primary, err := core.LookupSubscription(ctx, nil, nil) +// primary, err := core.LookupSubscription(ctx, &core.LookupSubscriptionArgs{}, nil) // if err != nil { // return err // } -// example, err := core.GetClientConfig(ctx, nil, nil) +// example, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } @@ -96,7 +96,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// example, err := core.GetClientConfig(ctx, nil, nil) +// example, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/pim/eligibleRoleAssignment.go b/sdk/go/azure/pim/eligibleRoleAssignment.go index c0a6b94164..5eb7285059 100644 --- a/sdk/go/azure/pim/eligibleRoleAssignment.go +++ b/sdk/go/azure/pim/eligibleRoleAssignment.go @@ -35,11 +35,11 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// primary, err := core.LookupSubscription(ctx, nil, nil) +// primary, err := core.LookupSubscription(ctx, &core.LookupSubscriptionArgs{}, nil) // if err != nil { // return err // } -// example, err := core.GetClientConfig(ctx, nil, nil) +// example, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } @@ -96,7 +96,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// example, err := core.GetClientConfig(ctx, nil, nil) +// example, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/postgresql/activeDirectoryAdministrator.go b/sdk/go/azure/postgresql/activeDirectoryAdministrator.go index aeb5f83b8f..12cf04ac5a 100644 --- a/sdk/go/azure/postgresql/activeDirectoryAdministrator.go +++ b/sdk/go/azure/postgresql/activeDirectoryAdministrator.go @@ -29,7 +29,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/postgresql/flexibleServerActiveDirectoryAdministrator.go b/sdk/go/azure/postgresql/flexibleServerActiveDirectoryAdministrator.go index 95cb59394c..f6585b4133 100644 --- a/sdk/go/azure/postgresql/flexibleServerActiveDirectoryAdministrator.go +++ b/sdk/go/azure/postgresql/flexibleServerActiveDirectoryAdministrator.go @@ -30,7 +30,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/postgresql/serverKey.go b/sdk/go/azure/postgresql/serverKey.go index ef38d96c11..ae47de0883 100644 --- a/sdk/go/azure/postgresql/serverKey.go +++ b/sdk/go/azure/postgresql/serverKey.go @@ -30,7 +30,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/redhatopenshift/cluster.go b/sdk/go/azure/redhatopenshift/cluster.go index a7297cca1e..b912c75391 100644 --- a/sdk/go/azure/redhatopenshift/cluster.go +++ b/sdk/go/azure/redhatopenshift/cluster.go @@ -34,11 +34,11 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := core.GetClientConfig(ctx, nil, nil) +// _, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } -// _, err = azuread.GetClientConfig(ctx, nil, nil) +// _, err = azuread.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/redis/cache.go b/sdk/go/azure/redis/cache.go index 99310c3378..9b473c7e8c 100644 --- a/sdk/go/azure/redis/cache.go +++ b/sdk/go/azure/redis/cache.go @@ -50,7 +50,7 @@ import ( // SkuName: pulumi.String("Standard"), // NonSslPortEnabled: pulumi.Bool(false), // MinimumTlsVersion: pulumi.String("1.2"), -// RedisConfiguration: nil, +// RedisConfiguration: &redis.CacheRedisConfigurationArgs{}, // }) // if err != nil { // return err diff --git a/sdk/go/azure/role/assignment.go b/sdk/go/azure/role/assignment.go index 356fc860aa..262e8dfaf0 100644 --- a/sdk/go/azure/role/assignment.go +++ b/sdk/go/azure/role/assignment.go @@ -31,11 +31,11 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// primary, err := core.LookupSubscription(ctx, nil, nil) +// primary, err := core.LookupSubscription(ctx, &core.LookupSubscriptionArgs{}, nil) // if err != nil { // return err // } -// example, err := core.GetClientConfig(ctx, nil, nil) +// example, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } @@ -68,11 +68,11 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// primary, err := core.LookupSubscription(ctx, nil, nil) +// primary, err := core.LookupSubscription(ctx, &core.LookupSubscriptionArgs{}, nil) // if err != nil { // return err // } -// example, err := core.GetClientConfig(ctx, nil, nil) +// example, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } @@ -125,11 +125,11 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// primary, err := core.LookupSubscription(ctx, nil, nil) +// primary, err := core.LookupSubscription(ctx, &core.LookupSubscriptionArgs{}, nil) // if err != nil { // return err // } -// example, err := core.GetClientConfig(ctx, nil, nil) +// example, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } @@ -183,11 +183,11 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// primary, err := core.LookupSubscription(ctx, nil, nil) +// primary, err := core.LookupSubscription(ctx, &core.LookupSubscriptionArgs{}, nil) // if err != nil { // return err // } -// example, err := core.GetClientConfig(ctx, nil, nil) +// example, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } @@ -249,11 +249,11 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// primary, err := core.LookupSubscription(ctx, nil, nil) +// primary, err := core.LookupSubscription(ctx, &core.LookupSubscriptionArgs{}, nil) // if err != nil { // return err // } -// example, err := core.GetClientConfig(ctx, nil, nil) +// example, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/role/definition.go b/sdk/go/azure/role/definition.go index f3109bcb78..a813bdca51 100644 --- a/sdk/go/azure/role/definition.go +++ b/sdk/go/azure/role/definition.go @@ -29,7 +29,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// primary, err := core.LookupSubscription(ctx, nil, nil) +// primary, err := core.LookupSubscription(ctx, &core.LookupSubscriptionArgs{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/role/getRoleDefinition.go b/sdk/go/azure/role/getRoleDefinition.go index d9657b47a1..674eebb145 100644 --- a/sdk/go/azure/role/getRoleDefinition.go +++ b/sdk/go/azure/role/getRoleDefinition.go @@ -28,7 +28,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// primary, err := core.LookupSubscription(ctx, nil, nil) +// primary, err := core.LookupSubscription(ctx, &core.LookupSubscriptionArgs{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/securitycenter/automation.go b/sdk/go/azure/securitycenter/automation.go index 59db6c4fee..613482b5fc 100644 --- a/sdk/go/azure/securitycenter/automation.go +++ b/sdk/go/azure/securitycenter/automation.go @@ -32,7 +32,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/signalr/serviceCustomCertificate.go b/sdk/go/azure/signalr/serviceCustomCertificate.go index 135fe26c1e..90514c2f66 100644 --- a/sdk/go/azure/signalr/serviceCustomCertificate.go +++ b/sdk/go/azure/signalr/serviceCustomCertificate.go @@ -31,7 +31,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/signalr/serviceCustomDomain.go b/sdk/go/azure/signalr/serviceCustomDomain.go index 9df6585cf8..63e12b72ab 100644 --- a/sdk/go/azure/signalr/serviceCustomDomain.go +++ b/sdk/go/azure/signalr/serviceCustomDomain.go @@ -31,7 +31,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/signalr/sharedPrivateLinkResource.go b/sdk/go/azure/signalr/sharedPrivateLinkResource.go index 06798a7680..e410bc0230 100644 --- a/sdk/go/azure/signalr/sharedPrivateLinkResource.go +++ b/sdk/go/azure/signalr/sharedPrivateLinkResource.go @@ -30,7 +30,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/siterecovery/replicationRecoveryPlan.go b/sdk/go/azure/siterecovery/replicationRecoveryPlan.go index c2ac3bd494..e3e5efcced 100644 --- a/sdk/go/azure/siterecovery/replicationRecoveryPlan.go +++ b/sdk/go/azure/siterecovery/replicationRecoveryPlan.go @@ -290,8 +290,8 @@ import ( // RecoveryVaultId: vault.ID(), // SourceRecoveryFabricId: primaryFabric.ID(), // TargetRecoveryFabricId: secondaryFabric.ID(), -// ShutdownRecoveryGroup: nil, -// FailoverRecoveryGroup: nil, +// ShutdownRecoveryGroup: &siterecovery.ReplicationRecoveryPlanShutdownRecoveryGroupArgs{}, +// FailoverRecoveryGroup: &siterecovery.ReplicationRecoveryPlanFailoverRecoveryGroupArgs{}, // BootRecoveryGroups: siterecovery.ReplicationRecoveryPlanBootRecoveryGroupArray{ // &siterecovery.ReplicationRecoveryPlanBootRecoveryGroupArgs{ // ReplicatedProtectedItems: pulumi.StringArray{ diff --git a/sdk/go/azure/stack/hciCluster.go b/sdk/go/azure/stack/hciCluster.go index ae0ffd1ac4..f95e4ca39f 100644 --- a/sdk/go/azure/stack/hciCluster.go +++ b/sdk/go/azure/stack/hciCluster.go @@ -36,7 +36,7 @@ import ( // if err != nil { // return err // } -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/storage/customerManagedKey.go b/sdk/go/azure/storage/customerManagedKey.go index ef0f41a800..caa94a8b0a 100644 --- a/sdk/go/azure/storage/customerManagedKey.go +++ b/sdk/go/azure/storage/customerManagedKey.go @@ -32,7 +32,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/synapse/roleAssignment.go b/sdk/go/azure/synapse/roleAssignment.go index 27c79e1080..0fcb944495 100644 --- a/sdk/go/azure/synapse/roleAssignment.go +++ b/sdk/go/azure/synapse/roleAssignment.go @@ -79,7 +79,7 @@ import ( // if err != nil { // return err // } -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/synapse/workspace.go b/sdk/go/azure/synapse/workspace.go index 748d92980d..b8bd63df3c 100644 --- a/sdk/go/azure/synapse/workspace.go +++ b/sdk/go/azure/synapse/workspace.go @@ -96,7 +96,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/synapse/workspaceAadAdmin.go b/sdk/go/azure/synapse/workspaceAadAdmin.go index 1935090bea..1ad237987c 100644 --- a/sdk/go/azure/synapse/workspaceAadAdmin.go +++ b/sdk/go/azure/synapse/workspaceAadAdmin.go @@ -57,7 +57,7 @@ import ( // if err != nil { // return err // } -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/synapse/workspaceKey.go b/sdk/go/azure/synapse/workspaceKey.go index 83d641a37c..4d3037cd56 100644 --- a/sdk/go/azure/synapse/workspaceKey.go +++ b/sdk/go/azure/synapse/workspaceKey.go @@ -59,7 +59,7 @@ import ( // if err != nil { // return err // } -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/synapse/workspaceSqlAadAdmin.go b/sdk/go/azure/synapse/workspaceSqlAadAdmin.go index 6bd8f9ebd7..239ee7da28 100644 --- a/sdk/go/azure/synapse/workspaceSqlAadAdmin.go +++ b/sdk/go/azure/synapse/workspaceSqlAadAdmin.go @@ -57,7 +57,7 @@ import ( // if err != nil { // return err // } -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/voice/servicesCommunicationsGateway.go b/sdk/go/azure/voice/servicesCommunicationsGateway.go index 6e29df3368..5ade89d7a3 100644 --- a/sdk/go/azure/voice/servicesCommunicationsGateway.go +++ b/sdk/go/azure/voice/servicesCommunicationsGateway.go @@ -42,7 +42,7 @@ import ( // if err != nil { // return err // } -// tmpJSON0, err := json.Marshal(nil) +// tmpJSON0, err := json.Marshal(map[string]interface{}{}) // if err != nil { // return err // } diff --git a/sdk/go/azure/webpubsub/customCertificate.go b/sdk/go/azure/webpubsub/customCertificate.go index 3e35a8514f..06139bd302 100644 --- a/sdk/go/azure/webpubsub/customCertificate.go +++ b/sdk/go/azure/webpubsub/customCertificate.go @@ -32,7 +32,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/go/azure/webpubsub/sharedPrivateLinkResource.go b/sdk/go/azure/webpubsub/sharedPrivateLinkResource.go index b3e070de9d..3383d15a3e 100644 --- a/sdk/go/azure/webpubsub/sharedPrivateLinkResource.go +++ b/sdk/go/azure/webpubsub/sharedPrivateLinkResource.go @@ -30,7 +30,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := core.GetClientConfig(ctx, nil, nil) +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/sdk/nodejs/package.json b/sdk/nodejs/package.json index 690ac11ee8..c9696482ec 100644 --- a/sdk/nodejs/package.json +++ b/sdk/nodejs/package.json @@ -17,7 +17,7 @@ "@azure/functions": "=1.2.2", "@azure/identity": "^4.0.0", "@azure/ms-rest-azure-js": "^2.0.1", - "@pulumi/pulumi": "^3.42.0", + "@pulumi/pulumi": "^3.134.1", "azure-functions-ts-essentials": "^1.3.2", "moment": "2.29.4", "node-fetch": "^2.3.0" diff --git a/sdk/python/pulumi_azure/_utilities.py b/sdk/python/pulumi_azure/_utilities.py index d14b49ace3..3ce408d5ff 100644 --- a/sdk/python/pulumi_azure/_utilities.py +++ b/sdk/python/pulumi_azure/_utilities.py @@ -264,7 +264,7 @@ def call_plain( output = pulumi.runtime.call(tok, props, res, typ) # Ingoring deps silently. They are typically non-empty, r.f() calls include r as a dependency. - result, known, secret, _ = _sync_await(asyncio.ensure_future(_await_output(output))) + result, known, secret, _ = _sync_await(asyncio.create_task(_await_output(output))) problem = None if not known: diff --git a/sdk/python/pulumi_azure/aadb2c/get_directory.py b/sdk/python/pulumi_azure/aadb2c/get_directory.py index 366b84db3a..70fa196570 100644 --- a/sdk/python/pulumi_azure/aadb2c/get_directory.py +++ b/sdk/python/pulumi_azure/aadb2c/get_directory.py @@ -176,9 +176,6 @@ def get_directory(domain_name: Optional[str] = None, sku_name=pulumi.get(__ret__, 'sku_name'), tags=pulumi.get(__ret__, 'tags'), tenant_id=pulumi.get(__ret__, 'tenant_id')) - - -@_utilities.lift_output_func(get_directory) def get_directory_output(domain_name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDirectoryResult]: @@ -200,4 +197,18 @@ def get_directory_output(domain_name: Optional[pulumi.Input[str]] = None, :param str domain_name: Domain name of the B2C tenant, including the `.onmicrosoft.com` suffix. :param str resource_group_name: The name of the Resource Group where the AAD B2C Directory exists. """ - ... + __args__ = dict() + __args__['domainName'] = domain_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:aadb2c/getDirectory:getDirectory', __args__, opts=opts, typ=GetDirectoryResult) + return __ret__.apply(lambda __response__: GetDirectoryResult( + billing_type=pulumi.get(__response__, 'billing_type'), + data_residency_location=pulumi.get(__response__, 'data_residency_location'), + domain_name=pulumi.get(__response__, 'domain_name'), + effective_start_date=pulumi.get(__response__, 'effective_start_date'), + id=pulumi.get(__response__, 'id'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + sku_name=pulumi.get(__response__, 'sku_name'), + tags=pulumi.get(__response__, 'tags'), + tenant_id=pulumi.get(__response__, 'tenant_id'))) diff --git a/sdk/python/pulumi_azure/advisor/get_recommendations.py b/sdk/python/pulumi_azure/advisor/get_recommendations.py index 0c8eecf561..8265040394 100644 --- a/sdk/python/pulumi_azure/advisor/get_recommendations.py +++ b/sdk/python/pulumi_azure/advisor/get_recommendations.py @@ -115,9 +115,6 @@ def get_recommendations(filter_by_categories: Optional[Sequence[str]] = None, filter_by_resource_groups=pulumi.get(__ret__, 'filter_by_resource_groups'), id=pulumi.get(__ret__, 'id'), recommendations=pulumi.get(__ret__, 'recommendations')) - - -@_utilities.lift_output_func(get_recommendations) def get_recommendations_output(filter_by_categories: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, filter_by_resource_groups: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRecommendationsResult]: @@ -142,4 +139,13 @@ def get_recommendations_output(filter_by_categories: Optional[pulumi.Input[Optio :param Sequence[str] filter_by_categories: Specifies a list of categories in which the Advisor Recommendations will be listed. Possible values are `HighAvailability`, `Security`, `Performance`, `Cost` and `OperationalExcellence`. :param Sequence[str] filter_by_resource_groups: Specifies a list of resource groups about which the Advisor Recommendations will be listed. """ - ... + __args__ = dict() + __args__['filterByCategories'] = filter_by_categories + __args__['filterByResourceGroups'] = filter_by_resource_groups + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:advisor/getRecommendations:getRecommendations', __args__, opts=opts, typ=GetRecommendationsResult) + return __ret__.apply(lambda __response__: GetRecommendationsResult( + filter_by_categories=pulumi.get(__response__, 'filter_by_categories'), + filter_by_resource_groups=pulumi.get(__response__, 'filter_by_resource_groups'), + id=pulumi.get(__response__, 'id'), + recommendations=pulumi.get(__response__, 'recommendations'))) diff --git a/sdk/python/pulumi_azure/apimanagement/get_api.py b/sdk/python/pulumi_azure/apimanagement/get_api.py index b8d5f64bd5..4c510faf73 100644 --- a/sdk/python/pulumi_azure/apimanagement/get_api.py +++ b/sdk/python/pulumi_azure/apimanagement/get_api.py @@ -283,9 +283,6 @@ def get_api(api_management_name: Optional[str] = None, subscription_required=pulumi.get(__ret__, 'subscription_required'), version=pulumi.get(__ret__, 'version'), version_set_id=pulumi.get(__ret__, 'version_set_id')) - - -@_utilities.lift_output_func(get_api) def get_api_output(api_management_name: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, @@ -313,4 +310,28 @@ def get_api_output(api_management_name: Optional[pulumi.Input[str]] = None, :param str resource_group_name: The Name of the Resource Group in which the API Management Service exists. :param str revision: The Revision of the API Management API. """ - ... + __args__ = dict() + __args__['apiManagementName'] = api_management_name + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + __args__['revision'] = revision + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:apimanagement/getApi:getApi', __args__, opts=opts, typ=GetApiResult) + return __ret__.apply(lambda __response__: GetApiResult( + api_management_name=pulumi.get(__response__, 'api_management_name'), + description=pulumi.get(__response__, 'description'), + display_name=pulumi.get(__response__, 'display_name'), + id=pulumi.get(__response__, 'id'), + is_current=pulumi.get(__response__, 'is_current'), + is_online=pulumi.get(__response__, 'is_online'), + name=pulumi.get(__response__, 'name'), + path=pulumi.get(__response__, 'path'), + protocols=pulumi.get(__response__, 'protocols'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + revision=pulumi.get(__response__, 'revision'), + service_url=pulumi.get(__response__, 'service_url'), + soap_pass_through=pulumi.get(__response__, 'soap_pass_through'), + subscription_key_parameter_names=pulumi.get(__response__, 'subscription_key_parameter_names'), + subscription_required=pulumi.get(__response__, 'subscription_required'), + version=pulumi.get(__response__, 'version'), + version_set_id=pulumi.get(__response__, 'version_set_id'))) diff --git a/sdk/python/pulumi_azure/apimanagement/get_api_version_set.py b/sdk/python/pulumi_azure/apimanagement/get_api_version_set.py index 3d74f9a3d8..7027ff3892 100644 --- a/sdk/python/pulumi_azure/apimanagement/get_api_version_set.py +++ b/sdk/python/pulumi_azure/apimanagement/get_api_version_set.py @@ -174,9 +174,6 @@ def get_api_version_set(api_management_name: Optional[str] = None, version_header_name=pulumi.get(__ret__, 'version_header_name'), version_query_name=pulumi.get(__ret__, 'version_query_name'), versioning_scheme=pulumi.get(__ret__, 'versioning_scheme')) - - -@_utilities.lift_output_func(get_api_version_set) def get_api_version_set_output(api_management_name: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, @@ -201,4 +198,19 @@ def get_api_version_set_output(api_management_name: Optional[pulumi.Input[str]] :param str name: The name of the API Version Set. :param str resource_group_name: The name of the Resource Group in which the parent API Management Service exists. """ - ... + __args__ = dict() + __args__['apiManagementName'] = api_management_name + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:apimanagement/getApiVersionSet:getApiVersionSet', __args__, opts=opts, typ=GetApiVersionSetResult) + return __ret__.apply(lambda __response__: GetApiVersionSetResult( + api_management_name=pulumi.get(__response__, 'api_management_name'), + description=pulumi.get(__response__, 'description'), + display_name=pulumi.get(__response__, 'display_name'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + version_header_name=pulumi.get(__response__, 'version_header_name'), + version_query_name=pulumi.get(__response__, 'version_query_name'), + versioning_scheme=pulumi.get(__response__, 'versioning_scheme'))) diff --git a/sdk/python/pulumi_azure/apimanagement/get_gateway.py b/sdk/python/pulumi_azure/apimanagement/get_gateway.py index d6f8172930..d486ef21db 100644 --- a/sdk/python/pulumi_azure/apimanagement/get_gateway.py +++ b/sdk/python/pulumi_azure/apimanagement/get_gateway.py @@ -129,9 +129,6 @@ def get_gateway(api_management_id: Optional[str] = None, id=pulumi.get(__ret__, 'id'), location_datas=pulumi.get(__ret__, 'location_datas'), name=pulumi.get(__ret__, 'name')) - - -@_utilities.lift_output_func(get_gateway) def get_gateway_output(api_management_id: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetGatewayResult]: @@ -154,4 +151,14 @@ def get_gateway_output(api_management_id: Optional[pulumi.Input[str]] = None, :param str api_management_id: The ID of the API Management Service in which the Gateway exists. :param str name: The name of the API Management Gateway. """ - ... + __args__ = dict() + __args__['apiManagementId'] = api_management_id + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:apimanagement/getGateway:getGateway', __args__, opts=opts, typ=GetGatewayResult) + return __ret__.apply(lambda __response__: GetGatewayResult( + api_management_id=pulumi.get(__response__, 'api_management_id'), + description=pulumi.get(__response__, 'description'), + id=pulumi.get(__response__, 'id'), + location_datas=pulumi.get(__response__, 'location_datas'), + name=pulumi.get(__response__, 'name'))) diff --git a/sdk/python/pulumi_azure/apimanagement/get_gateway_host_name_configuration.py b/sdk/python/pulumi_azure/apimanagement/get_gateway_host_name_configuration.py index 104af7f4b5..cc7786f6bd 100644 --- a/sdk/python/pulumi_azure/apimanagement/get_gateway_host_name_configuration.py +++ b/sdk/python/pulumi_azure/apimanagement/get_gateway_host_name_configuration.py @@ -195,9 +195,6 @@ def get_gateway_host_name_configuration(api_management_id: Optional[str] = None, request_client_certificate_enabled=pulumi.get(__ret__, 'request_client_certificate_enabled'), tls10_enabled=pulumi.get(__ret__, 'tls10_enabled'), tls11_enabled=pulumi.get(__ret__, 'tls11_enabled')) - - -@_utilities.lift_output_func(get_gateway_host_name_configuration) def get_gateway_host_name_configuration_output(api_management_id: Optional[pulumi.Input[str]] = None, gateway_name: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, @@ -227,4 +224,20 @@ def get_gateway_host_name_configuration_output(api_management_id: Optional[pulum * :param str name: The name of the API Management Gateway Host Name Configuration. """ - ... + __args__ = dict() + __args__['apiManagementId'] = api_management_id + __args__['gatewayName'] = gateway_name + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:apimanagement/getGatewayHostNameConfiguration:getGatewayHostNameConfiguration', __args__, opts=opts, typ=GetGatewayHostNameConfigurationResult) + return __ret__.apply(lambda __response__: GetGatewayHostNameConfigurationResult( + api_management_id=pulumi.get(__response__, 'api_management_id'), + certificate_id=pulumi.get(__response__, 'certificate_id'), + gateway_name=pulumi.get(__response__, 'gateway_name'), + host_name=pulumi.get(__response__, 'host_name'), + http2_enabled=pulumi.get(__response__, 'http2_enabled'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + request_client_certificate_enabled=pulumi.get(__response__, 'request_client_certificate_enabled'), + tls10_enabled=pulumi.get(__response__, 'tls10_enabled'), + tls11_enabled=pulumi.get(__response__, 'tls11_enabled'))) diff --git a/sdk/python/pulumi_azure/apimanagement/get_group.py b/sdk/python/pulumi_azure/apimanagement/get_group.py index 31d1e628e1..abaa79d800 100644 --- a/sdk/python/pulumi_azure/apimanagement/get_group.py +++ b/sdk/python/pulumi_azure/apimanagement/get_group.py @@ -164,9 +164,6 @@ def get_group(api_management_name: Optional[str] = None, name=pulumi.get(__ret__, 'name'), resource_group_name=pulumi.get(__ret__, 'resource_group_name'), type=pulumi.get(__ret__, 'type')) - - -@_utilities.lift_output_func(get_group) def get_group_output(api_management_name: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, @@ -191,4 +188,18 @@ def get_group_output(api_management_name: Optional[pulumi.Input[str]] = None, :param str name: The Name of the API Management Group. :param str resource_group_name: The Name of the Resource Group in which the API Management Service exists. """ - ... + __args__ = dict() + __args__['apiManagementName'] = api_management_name + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:apimanagement/getGroup:getGroup', __args__, opts=opts, typ=GetGroupResult) + return __ret__.apply(lambda __response__: GetGroupResult( + api_management_name=pulumi.get(__response__, 'api_management_name'), + description=pulumi.get(__response__, 'description'), + display_name=pulumi.get(__response__, 'display_name'), + external_id=pulumi.get(__response__, 'external_id'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + type=pulumi.get(__response__, 'type'))) diff --git a/sdk/python/pulumi_azure/apimanagement/get_product.py b/sdk/python/pulumi_azure/apimanagement/get_product.py index 6e13392da9..0311c4f8cc 100644 --- a/sdk/python/pulumi_azure/apimanagement/get_product.py +++ b/sdk/python/pulumi_azure/apimanagement/get_product.py @@ -203,9 +203,6 @@ def get_product(api_management_name: Optional[str] = None, subscription_required=pulumi.get(__ret__, 'subscription_required'), subscriptions_limit=pulumi.get(__ret__, 'subscriptions_limit'), terms=pulumi.get(__ret__, 'terms')) - - -@_utilities.lift_output_func(get_product) def get_product_output(api_management_name: Optional[pulumi.Input[str]] = None, product_id: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, @@ -230,4 +227,21 @@ def get_product_output(api_management_name: Optional[pulumi.Input[str]] = None, :param str product_id: The Identifier for the API Management Product. :param str resource_group_name: The Name of the Resource Group in which the API Management Service exists. """ - ... + __args__ = dict() + __args__['apiManagementName'] = api_management_name + __args__['productId'] = product_id + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:apimanagement/getProduct:getProduct', __args__, opts=opts, typ=GetProductResult) + return __ret__.apply(lambda __response__: GetProductResult( + api_management_name=pulumi.get(__response__, 'api_management_name'), + approval_required=pulumi.get(__response__, 'approval_required'), + description=pulumi.get(__response__, 'description'), + display_name=pulumi.get(__response__, 'display_name'), + id=pulumi.get(__response__, 'id'), + product_id=pulumi.get(__response__, 'product_id'), + published=pulumi.get(__response__, 'published'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + subscription_required=pulumi.get(__response__, 'subscription_required'), + subscriptions_limit=pulumi.get(__response__, 'subscriptions_limit'), + terms=pulumi.get(__response__, 'terms'))) diff --git a/sdk/python/pulumi_azure/apimanagement/get_service.py b/sdk/python/pulumi_azure/apimanagement/get_service.py index 88bdc48bd6..0cad438ff8 100644 --- a/sdk/python/pulumi_azure/apimanagement/get_service.py +++ b/sdk/python/pulumi_azure/apimanagement/get_service.py @@ -349,9 +349,6 @@ def get_service(name: Optional[str] = None, sku_name=pulumi.get(__ret__, 'sku_name'), tags=pulumi.get(__ret__, 'tags'), tenant_accesses=pulumi.get(__ret__, 'tenant_accesses')) - - -@_utilities.lift_output_func(get_service) def get_service_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, tags: Optional[pulumi.Input[Optional[Mapping[str, str]]]] = None, @@ -375,4 +372,32 @@ def get_service_output(name: Optional[pulumi.Input[str]] = None, :param str resource_group_name: The Name of the Resource Group in which the API Management Service exists. :param Mapping[str, str] tags: A mapping of tags assigned to the resource. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + __args__['tags'] = tags + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:apimanagement/getService:getService', __args__, opts=opts, typ=GetServiceResult) + return __ret__.apply(lambda __response__: GetServiceResult( + additional_locations=pulumi.get(__response__, 'additional_locations'), + developer_portal_url=pulumi.get(__response__, 'developer_portal_url'), + gateway_regional_url=pulumi.get(__response__, 'gateway_regional_url'), + gateway_url=pulumi.get(__response__, 'gateway_url'), + hostname_configurations=pulumi.get(__response__, 'hostname_configurations'), + id=pulumi.get(__response__, 'id'), + identities=pulumi.get(__response__, 'identities'), + location=pulumi.get(__response__, 'location'), + management_api_url=pulumi.get(__response__, 'management_api_url'), + name=pulumi.get(__response__, 'name'), + notification_sender_email=pulumi.get(__response__, 'notification_sender_email'), + portal_url=pulumi.get(__response__, 'portal_url'), + private_ip_addresses=pulumi.get(__response__, 'private_ip_addresses'), + public_ip_address_id=pulumi.get(__response__, 'public_ip_address_id'), + public_ip_addresses=pulumi.get(__response__, 'public_ip_addresses'), + publisher_email=pulumi.get(__response__, 'publisher_email'), + publisher_name=pulumi.get(__response__, 'publisher_name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + scm_url=pulumi.get(__response__, 'scm_url'), + sku_name=pulumi.get(__response__, 'sku_name'), + tags=pulumi.get(__response__, 'tags'), + tenant_accesses=pulumi.get(__response__, 'tenant_accesses'))) diff --git a/sdk/python/pulumi_azure/apimanagement/get_user.py b/sdk/python/pulumi_azure/apimanagement/get_user.py index 20719198d5..b10472f829 100644 --- a/sdk/python/pulumi_azure/apimanagement/get_user.py +++ b/sdk/python/pulumi_azure/apimanagement/get_user.py @@ -165,9 +165,6 @@ def get_user(api_management_name: Optional[str] = None, resource_group_name=pulumi.get(__ret__, 'resource_group_name'), state=pulumi.get(__ret__, 'state'), user_id=pulumi.get(__ret__, 'user_id')) - - -@_utilities.lift_output_func(get_user) def get_user_output(api_management_name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, user_id: Optional[pulumi.Input[str]] = None, @@ -180,4 +177,19 @@ def get_user_output(api_management_name: Optional[pulumi.Input[str]] = None, :param str resource_group_name: The Name of the Resource Group in which the API Management Service exists. :param str user_id: The Identifier for the User. """ - ... + __args__ = dict() + __args__['apiManagementName'] = api_management_name + __args__['resourceGroupName'] = resource_group_name + __args__['userId'] = user_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:apimanagement/getUser:getUser', __args__, opts=opts, typ=GetUserResult) + return __ret__.apply(lambda __response__: GetUserResult( + api_management_name=pulumi.get(__response__, 'api_management_name'), + email=pulumi.get(__response__, 'email'), + first_name=pulumi.get(__response__, 'first_name'), + id=pulumi.get(__response__, 'id'), + last_name=pulumi.get(__response__, 'last_name'), + note=pulumi.get(__response__, 'note'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + state=pulumi.get(__response__, 'state'), + user_id=pulumi.get(__response__, 'user_id'))) diff --git a/sdk/python/pulumi_azure/appconfiguration/get_configuration_key.py b/sdk/python/pulumi_azure/appconfiguration/get_configuration_key.py index 27c27786f0..dab6a52271 100644 --- a/sdk/python/pulumi_azure/appconfiguration/get_configuration_key.py +++ b/sdk/python/pulumi_azure/appconfiguration/get_configuration_key.py @@ -205,9 +205,6 @@ def get_configuration_key(configuration_store_id: Optional[str] = None, type=pulumi.get(__ret__, 'type'), value=pulumi.get(__ret__, 'value'), vault_key_reference=pulumi.get(__ret__, 'vault_key_reference')) - - -@_utilities.lift_output_func(get_configuration_key) def get_configuration_key_output(configuration_store_id: Optional[pulumi.Input[str]] = None, key: Optional[pulumi.Input[str]] = None, label: Optional[pulumi.Input[Optional[str]]] = None, @@ -234,4 +231,21 @@ def get_configuration_key_output(configuration_store_id: Optional[pulumi.Input[s :param str key: The name of the App Configuration Key. :param str label: The label of the App Configuration Key. """ - ... + __args__ = dict() + __args__['configurationStoreId'] = configuration_store_id + __args__['key'] = key + __args__['label'] = label + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:appconfiguration/getConfigurationKey:getConfigurationKey', __args__, opts=opts, typ=GetConfigurationKeyResult) + return __ret__.apply(lambda __response__: GetConfigurationKeyResult( + configuration_store_id=pulumi.get(__response__, 'configuration_store_id'), + content_type=pulumi.get(__response__, 'content_type'), + etag=pulumi.get(__response__, 'etag'), + id=pulumi.get(__response__, 'id'), + key=pulumi.get(__response__, 'key'), + label=pulumi.get(__response__, 'label'), + locked=pulumi.get(__response__, 'locked'), + tags=pulumi.get(__response__, 'tags'), + type=pulumi.get(__response__, 'type'), + value=pulumi.get(__response__, 'value'), + vault_key_reference=pulumi.get(__response__, 'vault_key_reference'))) diff --git a/sdk/python/pulumi_azure/appconfiguration/get_configuration_keys.py b/sdk/python/pulumi_azure/appconfiguration/get_configuration_keys.py index afb5194db6..0d16046932 100644 --- a/sdk/python/pulumi_azure/appconfiguration/get_configuration_keys.py +++ b/sdk/python/pulumi_azure/appconfiguration/get_configuration_keys.py @@ -132,9 +132,6 @@ def get_configuration_keys(configuration_store_id: Optional[str] = None, items=pulumi.get(__ret__, 'items'), key=pulumi.get(__ret__, 'key'), label=pulumi.get(__ret__, 'label')) - - -@_utilities.lift_output_func(get_configuration_keys) def get_configuration_keys_output(configuration_store_id: Optional[pulumi.Input[str]] = None, key: Optional[pulumi.Input[Optional[str]]] = None, label: Optional[pulumi.Input[Optional[str]]] = None, @@ -159,4 +156,15 @@ def get_configuration_keys_output(configuration_store_id: Optional[pulumi.Input[ :param str key: The name of the App Configuration Keys to look up. :param str label: The label of the App Configuration Keys tp look up. """ - ... + __args__ = dict() + __args__['configurationStoreId'] = configuration_store_id + __args__['key'] = key + __args__['label'] = label + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:appconfiguration/getConfigurationKeys:getConfigurationKeys', __args__, opts=opts, typ=GetConfigurationKeysResult) + return __ret__.apply(lambda __response__: GetConfigurationKeysResult( + configuration_store_id=pulumi.get(__response__, 'configuration_store_id'), + id=pulumi.get(__response__, 'id'), + items=pulumi.get(__response__, 'items'), + key=pulumi.get(__response__, 'key'), + label=pulumi.get(__response__, 'label'))) diff --git a/sdk/python/pulumi_azure/appconfiguration/get_configuration_store.py b/sdk/python/pulumi_azure/appconfiguration/get_configuration_store.py index 085e89e399..ce4557b06b 100644 --- a/sdk/python/pulumi_azure/appconfiguration/get_configuration_store.py +++ b/sdk/python/pulumi_azure/appconfiguration/get_configuration_store.py @@ -304,9 +304,6 @@ def get_configuration_store(name: Optional[str] = None, sku=pulumi.get(__ret__, 'sku'), soft_delete_retention_days=pulumi.get(__ret__, 'soft_delete_retention_days'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_configuration_store) def get_configuration_store_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetConfigurationStoreResult]: @@ -328,4 +325,28 @@ def get_configuration_store_output(name: Optional[pulumi.Input[str]] = None, :param str name: The Name of this App Configuration. :param str resource_group_name: The name of the Resource Group where the App Configuration exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:appconfiguration/getConfigurationStore:getConfigurationStore', __args__, opts=opts, typ=GetConfigurationStoreResult) + return __ret__.apply(lambda __response__: GetConfigurationStoreResult( + encryptions=pulumi.get(__response__, 'encryptions'), + endpoint=pulumi.get(__response__, 'endpoint'), + id=pulumi.get(__response__, 'id'), + identities=pulumi.get(__response__, 'identities'), + local_auth_enabled=pulumi.get(__response__, 'local_auth_enabled'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + primary_read_keys=pulumi.get(__response__, 'primary_read_keys'), + primary_write_keys=pulumi.get(__response__, 'primary_write_keys'), + public_network_access=pulumi.get(__response__, 'public_network_access'), + public_network_access_enabled=pulumi.get(__response__, 'public_network_access_enabled'), + purge_protection_enabled=pulumi.get(__response__, 'purge_protection_enabled'), + replicas=pulumi.get(__response__, 'replicas'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + secondary_read_keys=pulumi.get(__response__, 'secondary_read_keys'), + secondary_write_keys=pulumi.get(__response__, 'secondary_write_keys'), + sku=pulumi.get(__response__, 'sku'), + soft_delete_retention_days=pulumi.get(__response__, 'soft_delete_retention_days'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_azure/appinsights/get_insights.py b/sdk/python/pulumi_azure/appinsights/get_insights.py index 517dcd6211..4d895f436e 100644 --- a/sdk/python/pulumi_azure/appinsights/get_insights.py +++ b/sdk/python/pulumi_azure/appinsights/get_insights.py @@ -202,9 +202,6 @@ def get_insights(name: Optional[str] = None, retention_in_days=pulumi.get(__ret__, 'retention_in_days'), tags=pulumi.get(__ret__, 'tags'), workspace_id=pulumi.get(__ret__, 'workspace_id')) - - -@_utilities.lift_output_func(get_insights) def get_insights_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetInsightsResult]: @@ -226,4 +223,20 @@ def get_insights_output(name: Optional[pulumi.Input[str]] = None, :param str name: Specifies the name of the Application Insights component. :param str resource_group_name: Specifies the name of the resource group the Application Insights component is located in. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:appinsights/getInsights:getInsights', __args__, opts=opts, typ=GetInsightsResult) + return __ret__.apply(lambda __response__: GetInsightsResult( + app_id=pulumi.get(__response__, 'app_id'), + application_type=pulumi.get(__response__, 'application_type'), + connection_string=pulumi.get(__response__, 'connection_string'), + id=pulumi.get(__response__, 'id'), + instrumentation_key=pulumi.get(__response__, 'instrumentation_key'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + retention_in_days=pulumi.get(__response__, 'retention_in_days'), + tags=pulumi.get(__response__, 'tags'), + workspace_id=pulumi.get(__response__, 'workspace_id'))) diff --git a/sdk/python/pulumi_azure/appplatform/get_spring_cloud_app.py b/sdk/python/pulumi_azure/appplatform/get_spring_cloud_app.py index 15092bda58..80504ab9eb 100644 --- a/sdk/python/pulumi_azure/appplatform/get_spring_cloud_app.py +++ b/sdk/python/pulumi_azure/appplatform/get_spring_cloud_app.py @@ -204,9 +204,6 @@ def get_spring_cloud_app(name: Optional[str] = None, service_name=pulumi.get(__ret__, 'service_name'), tls_enabled=pulumi.get(__ret__, 'tls_enabled'), url=pulumi.get(__ret__, 'url')) - - -@_utilities.lift_output_func(get_spring_cloud_app) def get_spring_cloud_app_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, service_name: Optional[pulumi.Input[str]] = None, @@ -231,4 +228,21 @@ def get_spring_cloud_app_output(name: Optional[pulumi.Input[str]] = None, :param str resource_group_name: The name of the Resource Group where the Spring Cloud Application exists. :param str service_name: The name of the Spring Cloud Service. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + __args__['serviceName'] = service_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:appplatform/getSpringCloudApp:getSpringCloudApp', __args__, opts=opts, typ=GetSpringCloudAppResult) + return __ret__.apply(lambda __response__: GetSpringCloudAppResult( + fqdn=pulumi.get(__response__, 'fqdn'), + https_only=pulumi.get(__response__, 'https_only'), + id=pulumi.get(__response__, 'id'), + identities=pulumi.get(__response__, 'identities'), + is_public=pulumi.get(__response__, 'is_public'), + name=pulumi.get(__response__, 'name'), + persistent_disks=pulumi.get(__response__, 'persistent_disks'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + service_name=pulumi.get(__response__, 'service_name'), + tls_enabled=pulumi.get(__response__, 'tls_enabled'), + url=pulumi.get(__response__, 'url'))) diff --git a/sdk/python/pulumi_azure/appplatform/get_spring_cloud_service.py b/sdk/python/pulumi_azure/appplatform/get_spring_cloud_service.py index 6ccaeb24a6..2224728ccd 100644 --- a/sdk/python/pulumi_azure/appplatform/get_spring_cloud_service.py +++ b/sdk/python/pulumi_azure/appplatform/get_spring_cloud_service.py @@ -167,9 +167,6 @@ def get_spring_cloud_service(name: Optional[str] = None, required_network_traffic_rules=pulumi.get(__ret__, 'required_network_traffic_rules'), resource_group_name=pulumi.get(__ret__, 'resource_group_name'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_spring_cloud_service) def get_spring_cloud_service_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSpringCloudServiceResult]: @@ -191,4 +188,17 @@ def get_spring_cloud_service_output(name: Optional[pulumi.Input[str]] = None, :param str name: Specifies The name of the Spring Cloud Service resource. :param str resource_group_name: Specifies the name of the Resource Group where the Spring Cloud Service exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:appplatform/getSpringCloudService:getSpringCloudService', __args__, opts=opts, typ=GetSpringCloudServiceResult) + return __ret__.apply(lambda __response__: GetSpringCloudServiceResult( + config_server_git_settings=pulumi.get(__response__, 'config_server_git_settings'), + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + outbound_public_ip_addresses=pulumi.get(__response__, 'outbound_public_ip_addresses'), + required_network_traffic_rules=pulumi.get(__response__, 'required_network_traffic_rules'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_azure/appservice/get_app_service.py b/sdk/python/pulumi_azure/appservice/get_app_service.py index 450e547dad..0d171098cb 100644 --- a/sdk/python/pulumi_azure/appservice/get_app_service.py +++ b/sdk/python/pulumi_azure/appservice/get_app_service.py @@ -335,9 +335,6 @@ def get_app_service(name: Optional[str] = None, site_credentials=pulumi.get(__ret__, 'site_credentials'), source_controls=pulumi.get(__ret__, 'source_controls'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_app_service) def get_app_service_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAppServiceResult]: @@ -361,4 +358,30 @@ def get_app_service_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of the App Service. :param str resource_group_name: The Name of the Resource Group where the App Service exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:appservice/getAppService:getAppService', __args__, opts=opts, typ=GetAppServiceResult) + return __ret__.apply(lambda __response__: GetAppServiceResult( + app_service_plan_id=pulumi.get(__response__, 'app_service_plan_id'), + app_settings=pulumi.get(__response__, 'app_settings'), + client_affinity_enabled=pulumi.get(__response__, 'client_affinity_enabled'), + client_cert_enabled=pulumi.get(__response__, 'client_cert_enabled'), + connection_strings=pulumi.get(__response__, 'connection_strings'), + custom_domain_verification_id=pulumi.get(__response__, 'custom_domain_verification_id'), + default_site_hostname=pulumi.get(__response__, 'default_site_hostname'), + enabled=pulumi.get(__response__, 'enabled'), + https_only=pulumi.get(__response__, 'https_only'), + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + outbound_ip_address_lists=pulumi.get(__response__, 'outbound_ip_address_lists'), + outbound_ip_addresses=pulumi.get(__response__, 'outbound_ip_addresses'), + possible_outbound_ip_address_lists=pulumi.get(__response__, 'possible_outbound_ip_address_lists'), + possible_outbound_ip_addresses=pulumi.get(__response__, 'possible_outbound_ip_addresses'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + site_configs=pulumi.get(__response__, 'site_configs'), + site_credentials=pulumi.get(__response__, 'site_credentials'), + source_controls=pulumi.get(__response__, 'source_controls'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_azure/appservice/get_app_service_plan.py b/sdk/python/pulumi_azure/appservice/get_app_service_plan.py index 5faf620559..eb48e57499 100644 --- a/sdk/python/pulumi_azure/appservice/get_app_service_plan.py +++ b/sdk/python/pulumi_azure/appservice/get_app_service_plan.py @@ -244,9 +244,6 @@ def get_app_service_plan(name: Optional[str] = None, sku=pulumi.get(__ret__, 'sku'), tags=pulumi.get(__ret__, 'tags'), zone_redundant=pulumi.get(__ret__, 'zone_redundant')) - - -@_utilities.lift_output_func(get_app_service_plan) def get_app_service_plan_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAppServicePlanResult]: @@ -270,4 +267,23 @@ def get_app_service_plan_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of the App Service Plan. :param str resource_group_name: The Name of the Resource Group where the App Service Plan exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:appservice/getAppServicePlan:getAppServicePlan', __args__, opts=opts, typ=GetAppServicePlanResult) + return __ret__.apply(lambda __response__: GetAppServicePlanResult( + app_service_environment_id=pulumi.get(__response__, 'app_service_environment_id'), + id=pulumi.get(__response__, 'id'), + is_xenon=pulumi.get(__response__, 'is_xenon'), + kind=pulumi.get(__response__, 'kind'), + location=pulumi.get(__response__, 'location'), + maximum_elastic_worker_count=pulumi.get(__response__, 'maximum_elastic_worker_count'), + maximum_number_of_workers=pulumi.get(__response__, 'maximum_number_of_workers'), + name=pulumi.get(__response__, 'name'), + per_site_scaling=pulumi.get(__response__, 'per_site_scaling'), + reserved=pulumi.get(__response__, 'reserved'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + sku=pulumi.get(__response__, 'sku'), + tags=pulumi.get(__response__, 'tags'), + zone_redundant=pulumi.get(__response__, 'zone_redundant'))) diff --git a/sdk/python/pulumi_azure/appservice/get_certificate.py b/sdk/python/pulumi_azure/appservice/get_certificate.py index eb92456282..2dd359fd8d 100644 --- a/sdk/python/pulumi_azure/appservice/get_certificate.py +++ b/sdk/python/pulumi_azure/appservice/get_certificate.py @@ -211,9 +211,6 @@ def get_certificate(name: Optional[str] = None, subject_name=pulumi.get(__ret__, 'subject_name'), tags=pulumi.get(__ret__, 'tags'), thumbprint=pulumi.get(__ret__, 'thumbprint')) - - -@_utilities.lift_output_func(get_certificate) def get_certificate_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, tags: Optional[pulumi.Input[Optional[Mapping[str, str]]]] = None, @@ -236,4 +233,22 @@ def get_certificate_output(name: Optional[pulumi.Input[str]] = None, :param str name: Specifies the name of the certificate. :param str resource_group_name: The name of the resource group in which to create the certificate. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + __args__['tags'] = tags + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:appservice/getCertificate:getCertificate', __args__, opts=opts, typ=GetCertificateResult) + return __ret__.apply(lambda __response__: GetCertificateResult( + expiration_date=pulumi.get(__response__, 'expiration_date'), + friendly_name=pulumi.get(__response__, 'friendly_name'), + host_names=pulumi.get(__response__, 'host_names'), + id=pulumi.get(__response__, 'id'), + issue_date=pulumi.get(__response__, 'issue_date'), + issuer=pulumi.get(__response__, 'issuer'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + subject_name=pulumi.get(__response__, 'subject_name'), + tags=pulumi.get(__response__, 'tags'), + thumbprint=pulumi.get(__response__, 'thumbprint'))) diff --git a/sdk/python/pulumi_azure/appservice/get_certificate_order.py b/sdk/python/pulumi_azure/appservice/get_certificate_order.py index 6684f8bd64..7d1e152ad6 100644 --- a/sdk/python/pulumi_azure/appservice/get_certificate_order.py +++ b/sdk/python/pulumi_azure/appservice/get_certificate_order.py @@ -320,9 +320,6 @@ def get_certificate_order(name: Optional[str] = None, status=pulumi.get(__ret__, 'status'), tags=pulumi.get(__ret__, 'tags'), validity_in_years=pulumi.get(__ret__, 'validity_in_years')) - - -@_utilities.lift_output_func(get_certificate_order) def get_certificate_order_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCertificateOrderResult]: @@ -344,4 +341,29 @@ def get_certificate_order_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of the App Service. :param str resource_group_name: The Name of the Resource Group where the App Service exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:appservice/getCertificateOrder:getCertificateOrder', __args__, opts=opts, typ=GetCertificateOrderResult) + return __ret__.apply(lambda __response__: GetCertificateOrderResult( + app_service_certificate_not_renewable_reasons=pulumi.get(__response__, 'app_service_certificate_not_renewable_reasons'), + auto_renew=pulumi.get(__response__, 'auto_renew'), + certificates=pulumi.get(__response__, 'certificates'), + csr=pulumi.get(__response__, 'csr'), + distinguished_name=pulumi.get(__response__, 'distinguished_name'), + domain_verification_token=pulumi.get(__response__, 'domain_verification_token'), + expiration_time=pulumi.get(__response__, 'expiration_time'), + id=pulumi.get(__response__, 'id'), + intermediate_thumbprint=pulumi.get(__response__, 'intermediate_thumbprint'), + is_private_key_external=pulumi.get(__response__, 'is_private_key_external'), + key_size=pulumi.get(__response__, 'key_size'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + product_type=pulumi.get(__response__, 'product_type'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + root_thumbprint=pulumi.get(__response__, 'root_thumbprint'), + signed_certificate_thumbprint=pulumi.get(__response__, 'signed_certificate_thumbprint'), + status=pulumi.get(__response__, 'status'), + tags=pulumi.get(__response__, 'tags'), + validity_in_years=pulumi.get(__response__, 'validity_in_years'))) diff --git a/sdk/python/pulumi_azure/appservice/get_environment_v3.py b/sdk/python/pulumi_azure/appservice/get_environment_v3.py index e640f9a6f6..9987b1efc5 100644 --- a/sdk/python/pulumi_azure/appservice/get_environment_v3.py +++ b/sdk/python/pulumi_azure/appservice/get_environment_v3.py @@ -317,9 +317,6 @@ def get_environment_v3(name: Optional[str] = None, tags=pulumi.get(__ret__, 'tags'), windows_outbound_ip_addresses=pulumi.get(__ret__, 'windows_outbound_ip_addresses'), zone_redundant=pulumi.get(__ret__, 'zone_redundant')) - - -@_utilities.lift_output_func(get_environment_v3) def get_environment_v3_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetEnvironmentV3Result]: @@ -341,4 +338,29 @@ def get_environment_v3_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of this v3 App Service Environment. :param str resource_group_name: The name of the Resource Group where the v3 App Service Environment exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:appservice/getEnvironmentV3:getEnvironmentV3', __args__, opts=opts, typ=GetEnvironmentV3Result) + return __ret__.apply(lambda __response__: GetEnvironmentV3Result( + allow_new_private_endpoint_connections=pulumi.get(__response__, 'allow_new_private_endpoint_connections'), + cluster_settings=pulumi.get(__response__, 'cluster_settings'), + dedicated_host_count=pulumi.get(__response__, 'dedicated_host_count'), + dns_suffix=pulumi.get(__response__, 'dns_suffix'), + external_inbound_ip_addresses=pulumi.get(__response__, 'external_inbound_ip_addresses'), + id=pulumi.get(__response__, 'id'), + inbound_network_dependencies=pulumi.get(__response__, 'inbound_network_dependencies'), + internal_inbound_ip_addresses=pulumi.get(__response__, 'internal_inbound_ip_addresses'), + internal_load_balancing_mode=pulumi.get(__response__, 'internal_load_balancing_mode'), + ip_ssl_address_count=pulumi.get(__response__, 'ip_ssl_address_count'), + linux_outbound_ip_addresses=pulumi.get(__response__, 'linux_outbound_ip_addresses'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + pricing_tier=pulumi.get(__response__, 'pricing_tier'), + remote_debugging_enabled=pulumi.get(__response__, 'remote_debugging_enabled'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + subnet_id=pulumi.get(__response__, 'subnet_id'), + tags=pulumi.get(__response__, 'tags'), + windows_outbound_ip_addresses=pulumi.get(__response__, 'windows_outbound_ip_addresses'), + zone_redundant=pulumi.get(__response__, 'zone_redundant'))) diff --git a/sdk/python/pulumi_azure/appservice/get_function_app.py b/sdk/python/pulumi_azure/appservice/get_function_app.py index 67529610d8..e27a8d59ca 100644 --- a/sdk/python/pulumi_azure/appservice/get_function_app.py +++ b/sdk/python/pulumi_azure/appservice/get_function_app.py @@ -304,9 +304,6 @@ def get_function_app(name: Optional[str] = None, site_credentials=pulumi.get(__ret__, 'site_credentials'), source_controls=pulumi.get(__ret__, 'source_controls'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_function_app) def get_function_app_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, tags: Optional[pulumi.Input[Optional[Mapping[str, str]]]] = None, @@ -330,4 +327,29 @@ def get_function_app_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of the Function App resource. :param str resource_group_name: The name of the Resource Group where the Function App exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + __args__['tags'] = tags + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:appservice/getFunctionApp:getFunctionApp', __args__, opts=opts, typ=GetFunctionAppResult) + return __ret__.apply(lambda __response__: GetFunctionAppResult( + app_service_plan_id=pulumi.get(__response__, 'app_service_plan_id'), + app_settings=pulumi.get(__response__, 'app_settings'), + client_cert_mode=pulumi.get(__response__, 'client_cert_mode'), + connection_strings=pulumi.get(__response__, 'connection_strings'), + custom_domain_verification_id=pulumi.get(__response__, 'custom_domain_verification_id'), + default_hostname=pulumi.get(__response__, 'default_hostname'), + enabled=pulumi.get(__response__, 'enabled'), + id=pulumi.get(__response__, 'id'), + identities=pulumi.get(__response__, 'identities'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + os_type=pulumi.get(__response__, 'os_type'), + outbound_ip_addresses=pulumi.get(__response__, 'outbound_ip_addresses'), + possible_outbound_ip_addresses=pulumi.get(__response__, 'possible_outbound_ip_addresses'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + site_configs=pulumi.get(__response__, 'site_configs'), + site_credentials=pulumi.get(__response__, 'site_credentials'), + source_controls=pulumi.get(__response__, 'source_controls'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_azure/appservice/get_function_app_host_keys.py b/sdk/python/pulumi_azure/appservice/get_function_app_host_keys.py index 90d9c56d99..9648963766 100644 --- a/sdk/python/pulumi_azure/appservice/get_function_app_host_keys.py +++ b/sdk/python/pulumi_azure/appservice/get_function_app_host_keys.py @@ -198,9 +198,6 @@ def get_function_app_host_keys(name: Optional[str] = None, resource_group_name=pulumi.get(__ret__, 'resource_group_name'), signalr_extension_key=pulumi.get(__ret__, 'signalr_extension_key'), webpubsub_extension_key=pulumi.get(__ret__, 'webpubsub_extension_key')) - - -@_utilities.lift_output_func(get_function_app_host_keys) def get_function_app_host_keys_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFunctionAppHostKeysResult]: @@ -221,4 +218,20 @@ def get_function_app_host_keys_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of the Function App. :param str resource_group_name: The name of the Resource Group where the Function App exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:appservice/getFunctionAppHostKeys:getFunctionAppHostKeys', __args__, opts=opts, typ=GetFunctionAppHostKeysResult) + return __ret__.apply(lambda __response__: GetFunctionAppHostKeysResult( + blobs_extension_key=pulumi.get(__response__, 'blobs_extension_key'), + default_function_key=pulumi.get(__response__, 'default_function_key'), + durabletask_extension_key=pulumi.get(__response__, 'durabletask_extension_key'), + event_grid_extension_config_key=pulumi.get(__response__, 'event_grid_extension_config_key'), + event_grid_extension_key=pulumi.get(__response__, 'event_grid_extension_key'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + primary_key=pulumi.get(__response__, 'primary_key'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + signalr_extension_key=pulumi.get(__response__, 'signalr_extension_key'), + webpubsub_extension_key=pulumi.get(__response__, 'webpubsub_extension_key'))) diff --git a/sdk/python/pulumi_azure/appservice/get_linux_function_app.py b/sdk/python/pulumi_azure/appservice/get_linux_function_app.py index 56f6a4e5d3..c7901dfa32 100644 --- a/sdk/python/pulumi_azure/appservice/get_linux_function_app.py +++ b/sdk/python/pulumi_azure/appservice/get_linux_function_app.py @@ -609,9 +609,6 @@ def get_linux_function_app(name: Optional[str] = None, usage=pulumi.get(__ret__, 'usage'), virtual_network_subnet_id=pulumi.get(__ret__, 'virtual_network_subnet_id'), webdeploy_publish_basic_authentication_enabled=pulumi.get(__ret__, 'webdeploy_publish_basic_authentication_enabled')) - - -@_utilities.lift_output_func(get_linux_function_app) def get_linux_function_app_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetLinuxFunctionAppResult]: @@ -633,4 +630,51 @@ def get_linux_function_app_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name which should be used for this Linux Function App. :param str resource_group_name: The name of the Resource Group where the Linux Function App should exist. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:appservice/getLinuxFunctionApp:getLinuxFunctionApp', __args__, opts=opts, typ=GetLinuxFunctionAppResult) + return __ret__.apply(lambda __response__: GetLinuxFunctionAppResult( + app_settings=pulumi.get(__response__, 'app_settings'), + auth_settings=pulumi.get(__response__, 'auth_settings'), + auth_settings_v2s=pulumi.get(__response__, 'auth_settings_v2s'), + availability=pulumi.get(__response__, 'availability'), + backups=pulumi.get(__response__, 'backups'), + builtin_logging_enabled=pulumi.get(__response__, 'builtin_logging_enabled'), + client_certificate_enabled=pulumi.get(__response__, 'client_certificate_enabled'), + client_certificate_exclusion_paths=pulumi.get(__response__, 'client_certificate_exclusion_paths'), + client_certificate_mode=pulumi.get(__response__, 'client_certificate_mode'), + connection_strings=pulumi.get(__response__, 'connection_strings'), + content_share_force_disabled=pulumi.get(__response__, 'content_share_force_disabled'), + custom_domain_verification_id=pulumi.get(__response__, 'custom_domain_verification_id'), + daily_memory_time_quota=pulumi.get(__response__, 'daily_memory_time_quota'), + default_hostname=pulumi.get(__response__, 'default_hostname'), + enabled=pulumi.get(__response__, 'enabled'), + ftp_publish_basic_authentication_enabled=pulumi.get(__response__, 'ftp_publish_basic_authentication_enabled'), + functions_extension_version=pulumi.get(__response__, 'functions_extension_version'), + hosting_environment_id=pulumi.get(__response__, 'hosting_environment_id'), + https_only=pulumi.get(__response__, 'https_only'), + id=pulumi.get(__response__, 'id'), + identities=pulumi.get(__response__, 'identities'), + kind=pulumi.get(__response__, 'kind'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + outbound_ip_address_lists=pulumi.get(__response__, 'outbound_ip_address_lists'), + outbound_ip_addresses=pulumi.get(__response__, 'outbound_ip_addresses'), + possible_outbound_ip_address_lists=pulumi.get(__response__, 'possible_outbound_ip_address_lists'), + possible_outbound_ip_addresses=pulumi.get(__response__, 'possible_outbound_ip_addresses'), + public_network_access_enabled=pulumi.get(__response__, 'public_network_access_enabled'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + service_plan_id=pulumi.get(__response__, 'service_plan_id'), + site_configs=pulumi.get(__response__, 'site_configs'), + site_credentials=pulumi.get(__response__, 'site_credentials'), + sticky_settings=pulumi.get(__response__, 'sticky_settings'), + storage_account_access_key=pulumi.get(__response__, 'storage_account_access_key'), + storage_account_name=pulumi.get(__response__, 'storage_account_name'), + storage_key_vault_secret_id=pulumi.get(__response__, 'storage_key_vault_secret_id'), + storage_uses_managed_identity=pulumi.get(__response__, 'storage_uses_managed_identity'), + tags=pulumi.get(__response__, 'tags'), + usage=pulumi.get(__response__, 'usage'), + virtual_network_subnet_id=pulumi.get(__response__, 'virtual_network_subnet_id'), + webdeploy_publish_basic_authentication_enabled=pulumi.get(__response__, 'webdeploy_publish_basic_authentication_enabled'))) diff --git a/sdk/python/pulumi_azure/appservice/get_linux_web_app.py b/sdk/python/pulumi_azure/appservice/get_linux_web_app.py index 4f5e3a4d08..91eef8837a 100644 --- a/sdk/python/pulumi_azure/appservice/get_linux_web_app.py +++ b/sdk/python/pulumi_azure/appservice/get_linux_web_app.py @@ -567,9 +567,6 @@ def get_linux_web_app(name: Optional[str] = None, usage=pulumi.get(__ret__, 'usage'), virtual_network_subnet_id=pulumi.get(__ret__, 'virtual_network_subnet_id'), webdeploy_publish_basic_authentication_enabled=pulumi.get(__ret__, 'webdeploy_publish_basic_authentication_enabled')) - - -@_utilities.lift_output_func(get_linux_web_app) def get_linux_web_app_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetLinuxWebAppResult]: @@ -591,4 +588,48 @@ def get_linux_web_app_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of this Linux Web App. :param str resource_group_name: The name of the Resource Group where the Linux Web App exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:appservice/getLinuxWebApp:getLinuxWebApp', __args__, opts=opts, typ=GetLinuxWebAppResult) + return __ret__.apply(lambda __response__: GetLinuxWebAppResult( + app_metadata=pulumi.get(__response__, 'app_metadata'), + app_settings=pulumi.get(__response__, 'app_settings'), + auth_settings=pulumi.get(__response__, 'auth_settings'), + auth_settings_v2s=pulumi.get(__response__, 'auth_settings_v2s'), + availability=pulumi.get(__response__, 'availability'), + backups=pulumi.get(__response__, 'backups'), + client_affinity_enabled=pulumi.get(__response__, 'client_affinity_enabled'), + client_certificate_enabled=pulumi.get(__response__, 'client_certificate_enabled'), + client_certificate_exclusion_paths=pulumi.get(__response__, 'client_certificate_exclusion_paths'), + client_certificate_mode=pulumi.get(__response__, 'client_certificate_mode'), + connection_strings=pulumi.get(__response__, 'connection_strings'), + custom_domain_verification_id=pulumi.get(__response__, 'custom_domain_verification_id'), + default_hostname=pulumi.get(__response__, 'default_hostname'), + enabled=pulumi.get(__response__, 'enabled'), + ftp_publish_basic_authentication_enabled=pulumi.get(__response__, 'ftp_publish_basic_authentication_enabled'), + hosting_environment_id=pulumi.get(__response__, 'hosting_environment_id'), + https_only=pulumi.get(__response__, 'https_only'), + id=pulumi.get(__response__, 'id'), + identities=pulumi.get(__response__, 'identities'), + key_vault_reference_identity_id=pulumi.get(__response__, 'key_vault_reference_identity_id'), + kind=pulumi.get(__response__, 'kind'), + location=pulumi.get(__response__, 'location'), + logs=pulumi.get(__response__, 'logs'), + name=pulumi.get(__response__, 'name'), + outbound_ip_address_lists=pulumi.get(__response__, 'outbound_ip_address_lists'), + outbound_ip_addresses=pulumi.get(__response__, 'outbound_ip_addresses'), + possible_outbound_ip_address_lists=pulumi.get(__response__, 'possible_outbound_ip_address_lists'), + possible_outbound_ip_addresses=pulumi.get(__response__, 'possible_outbound_ip_addresses'), + public_network_access_enabled=pulumi.get(__response__, 'public_network_access_enabled'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + service_plan_id=pulumi.get(__response__, 'service_plan_id'), + site_configs=pulumi.get(__response__, 'site_configs'), + site_credentials=pulumi.get(__response__, 'site_credentials'), + sticky_settings=pulumi.get(__response__, 'sticky_settings'), + storage_accounts=pulumi.get(__response__, 'storage_accounts'), + tags=pulumi.get(__response__, 'tags'), + usage=pulumi.get(__response__, 'usage'), + virtual_network_subnet_id=pulumi.get(__response__, 'virtual_network_subnet_id'), + webdeploy_publish_basic_authentication_enabled=pulumi.get(__response__, 'webdeploy_publish_basic_authentication_enabled'))) diff --git a/sdk/python/pulumi_azure/appservice/get_service_plan.py b/sdk/python/pulumi_azure/appservice/get_service_plan.py index b72138ba85..8dca849fcb 100644 --- a/sdk/python/pulumi_azure/appservice/get_service_plan.py +++ b/sdk/python/pulumi_azure/appservice/get_service_plan.py @@ -241,9 +241,6 @@ def get_service_plan(name: Optional[str] = None, tags=pulumi.get(__ret__, 'tags'), worker_count=pulumi.get(__ret__, 'worker_count'), zone_balancing_enabled=pulumi.get(__ret__, 'zone_balancing_enabled')) - - -@_utilities.lift_output_func(get_service_plan) def get_service_plan_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetServicePlanResult]: @@ -265,4 +262,23 @@ def get_service_plan_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of this Service Plan. :param str resource_group_name: The name of the Resource Group where the Service Plan exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:appservice/getServicePlan:getServicePlan', __args__, opts=opts, typ=GetServicePlanResult) + return __ret__.apply(lambda __response__: GetServicePlanResult( + app_service_environment_id=pulumi.get(__response__, 'app_service_environment_id'), + id=pulumi.get(__response__, 'id'), + kind=pulumi.get(__response__, 'kind'), + location=pulumi.get(__response__, 'location'), + maximum_elastic_worker_count=pulumi.get(__response__, 'maximum_elastic_worker_count'), + name=pulumi.get(__response__, 'name'), + os_type=pulumi.get(__response__, 'os_type'), + per_site_scaling_enabled=pulumi.get(__response__, 'per_site_scaling_enabled'), + reserved=pulumi.get(__response__, 'reserved'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + sku_name=pulumi.get(__response__, 'sku_name'), + tags=pulumi.get(__response__, 'tags'), + worker_count=pulumi.get(__response__, 'worker_count'), + zone_balancing_enabled=pulumi.get(__response__, 'zone_balancing_enabled'))) diff --git a/sdk/python/pulumi_azure/appservice/get_source_control_token.py b/sdk/python/pulumi_azure/appservice/get_source_control_token.py index 5dbce54ea2..8ff738896e 100644 --- a/sdk/python/pulumi_azure/appservice/get_source_control_token.py +++ b/sdk/python/pulumi_azure/appservice/get_source_control_token.py @@ -105,9 +105,6 @@ def get_source_control_token(type: Optional[str] = None, token=pulumi.get(__ret__, 'token'), token_secret=pulumi.get(__ret__, 'token_secret'), type=pulumi.get(__ret__, 'type')) - - -@_utilities.lift_output_func(get_source_control_token) def get_source_control_token_output(type: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSourceControlTokenResult]: """ @@ -124,4 +121,12 @@ def get_source_control_token_output(type: Optional[pulumi.Input[str]] = None, :param str type: The Token type. Possible values include `Bitbucket`, `Dropbox`, `Github`, and `OneDrive`. """ - ... + __args__ = dict() + __args__['type'] = type + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:appservice/getSourceControlToken:getSourceControlToken', __args__, opts=opts, typ=GetSourceControlTokenResult) + return __ret__.apply(lambda __response__: GetSourceControlTokenResult( + id=pulumi.get(__response__, 'id'), + token=pulumi.get(__response__, 'token'), + token_secret=pulumi.get(__response__, 'token_secret'), + type=pulumi.get(__response__, 'type'))) diff --git a/sdk/python/pulumi_azure/appservice/get_static_web_app.py b/sdk/python/pulumi_azure/appservice/get_static_web_app.py index 5762b8607f..f883443295 100644 --- a/sdk/python/pulumi_azure/appservice/get_static_web_app.py +++ b/sdk/python/pulumi_azure/appservice/get_static_web_app.py @@ -218,9 +218,6 @@ def get_static_web_app(name: Optional[str] = None, sku_size=pulumi.get(__ret__, 'sku_size'), sku_tier=pulumi.get(__ret__, 'sku_tier'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_static_web_app) def get_static_web_app_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetStaticWebAppResult]: @@ -241,4 +238,24 @@ def get_static_web_app_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of this Static Web App. :param str resource_group_name: The name of the Resource Group where the Static Web App exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:appservice/getStaticWebApp:getStaticWebApp', __args__, opts=opts, typ=GetStaticWebAppResult) + return __ret__.apply(lambda __response__: GetStaticWebAppResult( + api_key=pulumi.get(__response__, 'api_key'), + app_settings=pulumi.get(__response__, 'app_settings'), + basic_auths=pulumi.get(__response__, 'basic_auths'), + configuration_file_changes_enabled=pulumi.get(__response__, 'configuration_file_changes_enabled'), + default_host_name=pulumi.get(__response__, 'default_host_name'), + id=pulumi.get(__response__, 'id'), + identities=pulumi.get(__response__, 'identities'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + preview_environments_enabled=pulumi.get(__response__, 'preview_environments_enabled'), + public_network_access_enabled=pulumi.get(__response__, 'public_network_access_enabled'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + sku_size=pulumi.get(__response__, 'sku_size'), + sku_tier=pulumi.get(__response__, 'sku_tier'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_azure/appservice/get_windows_function_app.py b/sdk/python/pulumi_azure/appservice/get_windows_function_app.py index 65560ef40d..29da26587c 100644 --- a/sdk/python/pulumi_azure/appservice/get_windows_function_app.py +++ b/sdk/python/pulumi_azure/appservice/get_windows_function_app.py @@ -583,9 +583,6 @@ def get_windows_function_app(name: Optional[str] = None, tags=pulumi.get(__ret__, 'tags'), virtual_network_subnet_id=pulumi.get(__ret__, 'virtual_network_subnet_id'), webdeploy_publish_basic_authentication_enabled=pulumi.get(__ret__, 'webdeploy_publish_basic_authentication_enabled')) - - -@_utilities.lift_output_func(get_windows_function_app) def get_windows_function_app_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetWindowsFunctionAppResult]: @@ -607,4 +604,49 @@ def get_windows_function_app_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of this Windows Function App. :param str resource_group_name: The name of the Resource Group where the Windows Function App exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:appservice/getWindowsFunctionApp:getWindowsFunctionApp', __args__, opts=opts, typ=GetWindowsFunctionAppResult) + return __ret__.apply(lambda __response__: GetWindowsFunctionAppResult( + app_settings=pulumi.get(__response__, 'app_settings'), + auth_settings=pulumi.get(__response__, 'auth_settings'), + auth_settings_v2s=pulumi.get(__response__, 'auth_settings_v2s'), + backups=pulumi.get(__response__, 'backups'), + builtin_logging_enabled=pulumi.get(__response__, 'builtin_logging_enabled'), + client_certificate_enabled=pulumi.get(__response__, 'client_certificate_enabled'), + client_certificate_exclusion_paths=pulumi.get(__response__, 'client_certificate_exclusion_paths'), + client_certificate_mode=pulumi.get(__response__, 'client_certificate_mode'), + connection_strings=pulumi.get(__response__, 'connection_strings'), + content_share_force_disabled=pulumi.get(__response__, 'content_share_force_disabled'), + custom_domain_verification_id=pulumi.get(__response__, 'custom_domain_verification_id'), + daily_memory_time_quota=pulumi.get(__response__, 'daily_memory_time_quota'), + default_hostname=pulumi.get(__response__, 'default_hostname'), + enabled=pulumi.get(__response__, 'enabled'), + ftp_publish_basic_authentication_enabled=pulumi.get(__response__, 'ftp_publish_basic_authentication_enabled'), + functions_extension_version=pulumi.get(__response__, 'functions_extension_version'), + hosting_environment_id=pulumi.get(__response__, 'hosting_environment_id'), + https_only=pulumi.get(__response__, 'https_only'), + id=pulumi.get(__response__, 'id'), + identities=pulumi.get(__response__, 'identities'), + kind=pulumi.get(__response__, 'kind'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + outbound_ip_address_lists=pulumi.get(__response__, 'outbound_ip_address_lists'), + outbound_ip_addresses=pulumi.get(__response__, 'outbound_ip_addresses'), + possible_outbound_ip_address_lists=pulumi.get(__response__, 'possible_outbound_ip_address_lists'), + possible_outbound_ip_addresses=pulumi.get(__response__, 'possible_outbound_ip_addresses'), + public_network_access_enabled=pulumi.get(__response__, 'public_network_access_enabled'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + service_plan_id=pulumi.get(__response__, 'service_plan_id'), + site_configs=pulumi.get(__response__, 'site_configs'), + site_credentials=pulumi.get(__response__, 'site_credentials'), + sticky_settings=pulumi.get(__response__, 'sticky_settings'), + storage_account_access_key=pulumi.get(__response__, 'storage_account_access_key'), + storage_account_name=pulumi.get(__response__, 'storage_account_name'), + storage_key_vault_secret_id=pulumi.get(__response__, 'storage_key_vault_secret_id'), + storage_uses_managed_identity=pulumi.get(__response__, 'storage_uses_managed_identity'), + tags=pulumi.get(__response__, 'tags'), + virtual_network_subnet_id=pulumi.get(__response__, 'virtual_network_subnet_id'), + webdeploy_publish_basic_authentication_enabled=pulumi.get(__response__, 'webdeploy_publish_basic_authentication_enabled'))) diff --git a/sdk/python/pulumi_azure/appservice/get_windows_web_app.py b/sdk/python/pulumi_azure/appservice/get_windows_web_app.py index 707c9f82da..1a62f34842 100644 --- a/sdk/python/pulumi_azure/appservice/get_windows_web_app.py +++ b/sdk/python/pulumi_azure/appservice/get_windows_web_app.py @@ -518,9 +518,6 @@ def get_windows_web_app(name: Optional[str] = None, tags=pulumi.get(__ret__, 'tags'), virtual_network_subnet_id=pulumi.get(__ret__, 'virtual_network_subnet_id'), webdeploy_publish_basic_authentication_enabled=pulumi.get(__ret__, 'webdeploy_publish_basic_authentication_enabled')) - - -@_utilities.lift_output_func(get_windows_web_app) def get_windows_web_app_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetWindowsWebAppResult]: @@ -542,4 +539,44 @@ def get_windows_web_app_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of this Windows Web App. :param str resource_group_name: The name of the Resource Group where the Windows Web App exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:appservice/getWindowsWebApp:getWindowsWebApp', __args__, opts=opts, typ=GetWindowsWebAppResult) + return __ret__.apply(lambda __response__: GetWindowsWebAppResult( + app_settings=pulumi.get(__response__, 'app_settings'), + auth_settings=pulumi.get(__response__, 'auth_settings'), + auth_settings_v2s=pulumi.get(__response__, 'auth_settings_v2s'), + backups=pulumi.get(__response__, 'backups'), + client_affinity_enabled=pulumi.get(__response__, 'client_affinity_enabled'), + client_certificate_enabled=pulumi.get(__response__, 'client_certificate_enabled'), + client_certificate_exclusion_paths=pulumi.get(__response__, 'client_certificate_exclusion_paths'), + client_certificate_mode=pulumi.get(__response__, 'client_certificate_mode'), + connection_strings=pulumi.get(__response__, 'connection_strings'), + custom_domain_verification_id=pulumi.get(__response__, 'custom_domain_verification_id'), + default_hostname=pulumi.get(__response__, 'default_hostname'), + enabled=pulumi.get(__response__, 'enabled'), + ftp_publish_basic_authentication_enabled=pulumi.get(__response__, 'ftp_publish_basic_authentication_enabled'), + hosting_environment_id=pulumi.get(__response__, 'hosting_environment_id'), + https_only=pulumi.get(__response__, 'https_only'), + id=pulumi.get(__response__, 'id'), + identities=pulumi.get(__response__, 'identities'), + kind=pulumi.get(__response__, 'kind'), + location=pulumi.get(__response__, 'location'), + logs=pulumi.get(__response__, 'logs'), + name=pulumi.get(__response__, 'name'), + outbound_ip_address_lists=pulumi.get(__response__, 'outbound_ip_address_lists'), + outbound_ip_addresses=pulumi.get(__response__, 'outbound_ip_addresses'), + possible_outbound_ip_address_lists=pulumi.get(__response__, 'possible_outbound_ip_address_lists'), + possible_outbound_ip_addresses=pulumi.get(__response__, 'possible_outbound_ip_addresses'), + public_network_access_enabled=pulumi.get(__response__, 'public_network_access_enabled'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + service_plan_id=pulumi.get(__response__, 'service_plan_id'), + site_configs=pulumi.get(__response__, 'site_configs'), + site_credentials=pulumi.get(__response__, 'site_credentials'), + sticky_settings=pulumi.get(__response__, 'sticky_settings'), + storage_accounts=pulumi.get(__response__, 'storage_accounts'), + tags=pulumi.get(__response__, 'tags'), + virtual_network_subnet_id=pulumi.get(__response__, 'virtual_network_subnet_id'), + webdeploy_publish_basic_authentication_enabled=pulumi.get(__response__, 'webdeploy_publish_basic_authentication_enabled'))) diff --git a/sdk/python/pulumi_azure/arc/get_resource_bridge_appliance.py b/sdk/python/pulumi_azure/arc/get_resource_bridge_appliance.py index 382b94a39f..fc6d5abdd7 100644 --- a/sdk/python/pulumi_azure/arc/get_resource_bridge_appliance.py +++ b/sdk/python/pulumi_azure/arc/get_resource_bridge_appliance.py @@ -177,9 +177,6 @@ def get_resource_bridge_appliance(name: Optional[str] = None, public_key_base64=pulumi.get(__ret__, 'public_key_base64'), resource_group_name=pulumi.get(__ret__, 'resource_group_name'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_resource_bridge_appliance) def get_resource_bridge_appliance_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetResourceBridgeApplianceResult]: @@ -201,4 +198,18 @@ def get_resource_bridge_appliance_output(name: Optional[pulumi.Input[str]] = Non :param str name: The name of this Arc Resource Bridge Appliance. :param str resource_group_name: The name of the Resource Group where the Arc Resource Bridge Appliance exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:arc/getResourceBridgeAppliance:getResourceBridgeAppliance', __args__, opts=opts, typ=GetResourceBridgeApplianceResult) + return __ret__.apply(lambda __response__: GetResourceBridgeApplianceResult( + distro=pulumi.get(__response__, 'distro'), + id=pulumi.get(__response__, 'id'), + identities=pulumi.get(__response__, 'identities'), + infrastructure_provider=pulumi.get(__response__, 'infrastructure_provider'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + public_key_base64=pulumi.get(__response__, 'public_key_base64'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_azure/arcmachine/get.py b/sdk/python/pulumi_azure/arcmachine/get.py index 027840771e..84059a9a21 100644 --- a/sdk/python/pulumi_azure/arcmachine/get.py +++ b/sdk/python/pulumi_azure/arcmachine/get.py @@ -453,9 +453,6 @@ def get(name: Optional[str] = None, tags=pulumi.get(__ret__, 'tags'), vm_id=pulumi.get(__ret__, 'vm_id'), vm_uuid=pulumi.get(__ret__, 'vm_uuid')) - - -@_utilities.lift_output_func(get) def get_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetResult]: @@ -477,4 +474,39 @@ def get_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of this Azure Arc machine. :param str resource_group_name: The name of the Resource Group where the Hybrid Compute exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:arcmachine/get:get', __args__, opts=opts, typ=GetResult) + return __ret__.apply(lambda __response__: GetResult( + active_directory_fqdn=pulumi.get(__response__, 'active_directory_fqdn'), + agent_version=pulumi.get(__response__, 'agent_version'), + agents=pulumi.get(__response__, 'agents'), + client_public_key=pulumi.get(__response__, 'client_public_key'), + cloud_metadatas=pulumi.get(__response__, 'cloud_metadatas'), + detected_properties=pulumi.get(__response__, 'detected_properties'), + display_name=pulumi.get(__response__, 'display_name'), + dns_fqdn=pulumi.get(__response__, 'dns_fqdn'), + domain_name=pulumi.get(__response__, 'domain_name'), + id=pulumi.get(__response__, 'id'), + identities=pulumi.get(__response__, 'identities'), + last_status_change_time=pulumi.get(__response__, 'last_status_change_time'), + location=pulumi.get(__response__, 'location'), + location_datas=pulumi.get(__response__, 'location_datas'), + machine_fqdn=pulumi.get(__response__, 'machine_fqdn'), + mssql_discovered=pulumi.get(__response__, 'mssql_discovered'), + name=pulumi.get(__response__, 'name'), + os_name=pulumi.get(__response__, 'os_name'), + os_profiles=pulumi.get(__response__, 'os_profiles'), + os_sku=pulumi.get(__response__, 'os_sku'), + os_type=pulumi.get(__response__, 'os_type'), + os_version=pulumi.get(__response__, 'os_version'), + parent_cluster_resource_id=pulumi.get(__response__, 'parent_cluster_resource_id'), + private_link_scope_resource_id=pulumi.get(__response__, 'private_link_scope_resource_id'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + service_statuses=pulumi.get(__response__, 'service_statuses'), + status=pulumi.get(__response__, 'status'), + tags=pulumi.get(__response__, 'tags'), + vm_id=pulumi.get(__response__, 'vm_id'), + vm_uuid=pulumi.get(__response__, 'vm_uuid'))) diff --git a/sdk/python/pulumi_azure/attestation/get_provider.py b/sdk/python/pulumi_azure/attestation/get_provider.py index afecaff169..1ba88bf832 100644 --- a/sdk/python/pulumi_azure/attestation/get_provider.py +++ b/sdk/python/pulumi_azure/attestation/get_provider.py @@ -139,9 +139,6 @@ def get_provider(name: Optional[str] = None, resource_group_name=pulumi.get(__ret__, 'resource_group_name'), tags=pulumi.get(__ret__, 'tags'), trust_model=pulumi.get(__ret__, 'trust_model')) - - -@_utilities.lift_output_func(get_provider) def get_provider_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetProviderResult]: @@ -152,4 +149,16 @@ def get_provider_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of this Attestation Provider. :param str resource_group_name: The name of the Resource Group where the Attestation Provider exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:attestation/getProvider:getProvider', __args__, opts=opts, typ=GetProviderResult) + return __ret__.apply(lambda __response__: GetProviderResult( + attestation_uri=pulumi.get(__response__, 'attestation_uri'), + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + tags=pulumi.get(__response__, 'tags'), + trust_model=pulumi.get(__response__, 'trust_model'))) diff --git a/sdk/python/pulumi_azure/authorization/get_role_definition.py b/sdk/python/pulumi_azure/authorization/get_role_definition.py index 4aed787f4c..9aa98fb1b9 100644 --- a/sdk/python/pulumi_azure/authorization/get_role_definition.py +++ b/sdk/python/pulumi_azure/authorization/get_role_definition.py @@ -177,9 +177,6 @@ def get_role_definition(name: Optional[str] = None, role_definition_id=pulumi.get(__ret__, 'role_definition_id'), scope=pulumi.get(__ret__, 'scope'), type=pulumi.get(__ret__, 'type')) - - -@_utilities.lift_output_func(get_role_definition) def get_role_definition_output(name: Optional[pulumi.Input[Optional[str]]] = None, role_definition_id: Optional[pulumi.Input[Optional[str]]] = None, scope: Optional[pulumi.Input[Optional[str]]] = None, @@ -216,4 +213,18 @@ def get_role_definition_output(name: Optional[pulumi.Input[Optional[str]]] = Non > **Note:** One of `name` or `role_definition_id` must be specified. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['roleDefinitionId'] = role_definition_id + __args__['scope'] = scope + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:authorization/getRoleDefinition:getRoleDefinition', __args__, opts=opts, typ=GetRoleDefinitionResult) + return __ret__.apply(lambda __response__: GetRoleDefinitionResult( + assignable_scopes=pulumi.get(__response__, 'assignable_scopes'), + description=pulumi.get(__response__, 'description'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + permissions=pulumi.get(__response__, 'permissions'), + role_definition_id=pulumi.get(__response__, 'role_definition_id'), + scope=pulumi.get(__response__, 'scope'), + type=pulumi.get(__response__, 'type'))) diff --git a/sdk/python/pulumi_azure/authorization/get_user_assigned_identity.py b/sdk/python/pulumi_azure/authorization/get_user_assigned_identity.py index 2528da46e3..6ebe14e7ce 100644 --- a/sdk/python/pulumi_azure/authorization/get_user_assigned_identity.py +++ b/sdk/python/pulumi_azure/authorization/get_user_assigned_identity.py @@ -167,9 +167,6 @@ def get_user_assigned_identity(name: Optional[str] = None, resource_group_name=pulumi.get(__ret__, 'resource_group_name'), tags=pulumi.get(__ret__, 'tags'), tenant_id=pulumi.get(__ret__, 'tenant_id')) - - -@_utilities.lift_output_func(get_user_assigned_identity) def get_user_assigned_identity_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetUserAssignedIdentityResult]: @@ -195,4 +192,17 @@ def get_user_assigned_identity_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of the User Assigned Identity. :param str resource_group_name: The name of the Resource Group in which the User Assigned Identity exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:authorization/getUserAssignedIdentity:getUserAssignedIdentity', __args__, opts=opts, typ=GetUserAssignedIdentityResult) + return __ret__.apply(lambda __response__: GetUserAssignedIdentityResult( + client_id=pulumi.get(__response__, 'client_id'), + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + principal_id=pulumi.get(__response__, 'principal_id'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + tags=pulumi.get(__response__, 'tags'), + tenant_id=pulumi.get(__response__, 'tenant_id'))) diff --git a/sdk/python/pulumi_azure/automation/get_account.py b/sdk/python/pulumi_azure/automation/get_account.py index 2302067658..0f38067d5b 100644 --- a/sdk/python/pulumi_azure/automation/get_account.py +++ b/sdk/python/pulumi_azure/automation/get_account.py @@ -174,9 +174,6 @@ def get_account(name: Optional[str] = None, private_endpoint_connections=pulumi.get(__ret__, 'private_endpoint_connections'), resource_group_name=pulumi.get(__ret__, 'resource_group_name'), secondary_key=pulumi.get(__ret__, 'secondary_key')) - - -@_utilities.lift_output_func(get_account) def get_account_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAccountResult]: @@ -198,4 +195,18 @@ def get_account_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of the Automation Account. :param str resource_group_name: Specifies the name of the Resource Group where the Automation Account exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:automation/getAccount:getAccount', __args__, opts=opts, typ=GetAccountResult) + return __ret__.apply(lambda __response__: GetAccountResult( + endpoint=pulumi.get(__response__, 'endpoint'), + hybrid_service_url=pulumi.get(__response__, 'hybrid_service_url'), + id=pulumi.get(__response__, 'id'), + identities=pulumi.get(__response__, 'identities'), + name=pulumi.get(__response__, 'name'), + primary_key=pulumi.get(__response__, 'primary_key'), + private_endpoint_connections=pulumi.get(__response__, 'private_endpoint_connections'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + secondary_key=pulumi.get(__response__, 'secondary_key'))) diff --git a/sdk/python/pulumi_azure/automation/get_bool_variable.py b/sdk/python/pulumi_azure/automation/get_bool_variable.py index b1d1045e83..1757f77aca 100644 --- a/sdk/python/pulumi_azure/automation/get_bool_variable.py +++ b/sdk/python/pulumi_azure/automation/get_bool_variable.py @@ -151,9 +151,6 @@ def get_bool_variable(automation_account_name: Optional[str] = None, name=pulumi.get(__ret__, 'name'), resource_group_name=pulumi.get(__ret__, 'resource_group_name'), value=pulumi.get(__ret__, 'value')) - - -@_utilities.lift_output_func(get_bool_variable) def get_bool_variable_output(automation_account_name: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, @@ -178,4 +175,17 @@ def get_bool_variable_output(automation_account_name: Optional[pulumi.Input[str] :param str name: The name of the Automation Variable. :param str resource_group_name: The Name of the Resource Group where the automation account exists. """ - ... + __args__ = dict() + __args__['automationAccountName'] = automation_account_name + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:automation/getBoolVariable:getBoolVariable', __args__, opts=opts, typ=GetBoolVariableResult) + return __ret__.apply(lambda __response__: GetBoolVariableResult( + automation_account_name=pulumi.get(__response__, 'automation_account_name'), + description=pulumi.get(__response__, 'description'), + encrypted=pulumi.get(__response__, 'encrypted'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + value=pulumi.get(__response__, 'value'))) diff --git a/sdk/python/pulumi_azure/automation/get_date_time_variable.py b/sdk/python/pulumi_azure/automation/get_date_time_variable.py index c86b46160e..f0173a2a75 100644 --- a/sdk/python/pulumi_azure/automation/get_date_time_variable.py +++ b/sdk/python/pulumi_azure/automation/get_date_time_variable.py @@ -151,9 +151,6 @@ def get_date_time_variable(automation_account_name: Optional[str] = None, name=pulumi.get(__ret__, 'name'), resource_group_name=pulumi.get(__ret__, 'resource_group_name'), value=pulumi.get(__ret__, 'value')) - - -@_utilities.lift_output_func(get_date_time_variable) def get_date_time_variable_output(automation_account_name: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, @@ -178,4 +175,17 @@ def get_date_time_variable_output(automation_account_name: Optional[pulumi.Input :param str name: The name of the Automation Variable. :param str resource_group_name: The Name of the Resource Group where the automation account exists. """ - ... + __args__ = dict() + __args__['automationAccountName'] = automation_account_name + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:automation/getDateTimeVariable:getDateTimeVariable', __args__, opts=opts, typ=GetDateTimeVariableResult) + return __ret__.apply(lambda __response__: GetDateTimeVariableResult( + automation_account_name=pulumi.get(__response__, 'automation_account_name'), + description=pulumi.get(__response__, 'description'), + encrypted=pulumi.get(__response__, 'encrypted'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + value=pulumi.get(__response__, 'value'))) diff --git a/sdk/python/pulumi_azure/automation/get_int_variable.py b/sdk/python/pulumi_azure/automation/get_int_variable.py index 250601ec24..a2bb23cfe5 100644 --- a/sdk/python/pulumi_azure/automation/get_int_variable.py +++ b/sdk/python/pulumi_azure/automation/get_int_variable.py @@ -151,9 +151,6 @@ def get_int_variable(automation_account_name: Optional[str] = None, name=pulumi.get(__ret__, 'name'), resource_group_name=pulumi.get(__ret__, 'resource_group_name'), value=pulumi.get(__ret__, 'value')) - - -@_utilities.lift_output_func(get_int_variable) def get_int_variable_output(automation_account_name: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, @@ -178,4 +175,17 @@ def get_int_variable_output(automation_account_name: Optional[pulumi.Input[str]] :param str name: The name of the Automation Variable. :param str resource_group_name: The Name of the Resource Group where the automation account exists. """ - ... + __args__ = dict() + __args__['automationAccountName'] = automation_account_name + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:automation/getIntVariable:getIntVariable', __args__, opts=opts, typ=GetIntVariableResult) + return __ret__.apply(lambda __response__: GetIntVariableResult( + automation_account_name=pulumi.get(__response__, 'automation_account_name'), + description=pulumi.get(__response__, 'description'), + encrypted=pulumi.get(__response__, 'encrypted'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + value=pulumi.get(__response__, 'value'))) diff --git a/sdk/python/pulumi_azure/automation/get_runbook.py b/sdk/python/pulumi_azure/automation/get_runbook.py index c25c2e28f6..2a3c6dde4b 100644 --- a/sdk/python/pulumi_azure/automation/get_runbook.py +++ b/sdk/python/pulumi_azure/automation/get_runbook.py @@ -216,9 +216,6 @@ def get_runbook(automation_account_name: Optional[str] = None, resource_group_name=pulumi.get(__ret__, 'resource_group_name'), runbook_type=pulumi.get(__ret__, 'runbook_type'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_runbook) def get_runbook_output(automation_account_name: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, @@ -243,4 +240,22 @@ def get_runbook_output(automation_account_name: Optional[pulumi.Input[str]] = No :param str name: The name of the Automation Runbook. :param str resource_group_name: The name of the Resource Group where the Automation exists. """ - ... + __args__ = dict() + __args__['automationAccountName'] = automation_account_name + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:automation/getRunbook:getRunbook', __args__, opts=opts, typ=GetRunbookResult) + return __ret__.apply(lambda __response__: GetRunbookResult( + automation_account_name=pulumi.get(__response__, 'automation_account_name'), + content=pulumi.get(__response__, 'content'), + description=pulumi.get(__response__, 'description'), + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + log_activity_trace_level=pulumi.get(__response__, 'log_activity_trace_level'), + log_progress=pulumi.get(__response__, 'log_progress'), + log_verbose=pulumi.get(__response__, 'log_verbose'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + runbook_type=pulumi.get(__response__, 'runbook_type'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_azure/automation/get_string_variable.py b/sdk/python/pulumi_azure/automation/get_string_variable.py index 2ca1c7e886..68c8449d0b 100644 --- a/sdk/python/pulumi_azure/automation/get_string_variable.py +++ b/sdk/python/pulumi_azure/automation/get_string_variable.py @@ -151,9 +151,6 @@ def get_string_variable(automation_account_name: Optional[str] = None, name=pulumi.get(__ret__, 'name'), resource_group_name=pulumi.get(__ret__, 'resource_group_name'), value=pulumi.get(__ret__, 'value')) - - -@_utilities.lift_output_func(get_string_variable) def get_string_variable_output(automation_account_name: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, @@ -178,4 +175,17 @@ def get_string_variable_output(automation_account_name: Optional[pulumi.Input[st :param str name: The name of the Automation Variable. :param str resource_group_name: The Name of the Resource Group where the automation account exists. """ - ... + __args__ = dict() + __args__['automationAccountName'] = automation_account_name + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:automation/getStringVariable:getStringVariable', __args__, opts=opts, typ=GetStringVariableResult) + return __ret__.apply(lambda __response__: GetStringVariableResult( + automation_account_name=pulumi.get(__response__, 'automation_account_name'), + description=pulumi.get(__response__, 'description'), + encrypted=pulumi.get(__response__, 'encrypted'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + value=pulumi.get(__response__, 'value'))) diff --git a/sdk/python/pulumi_azure/automation/get_variable_object.py b/sdk/python/pulumi_azure/automation/get_variable_object.py index 1210964599..c47a341562 100644 --- a/sdk/python/pulumi_azure/automation/get_variable_object.py +++ b/sdk/python/pulumi_azure/automation/get_variable_object.py @@ -139,9 +139,6 @@ def get_variable_object(automation_account_name: Optional[str] = None, name=pulumi.get(__ret__, 'name'), resource_group_name=pulumi.get(__ret__, 'resource_group_name'), value=pulumi.get(__ret__, 'value')) - - -@_utilities.lift_output_func(get_variable_object) def get_variable_object_output(automation_account_name: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, @@ -154,4 +151,17 @@ def get_variable_object_output(automation_account_name: Optional[pulumi.Input[st :param str name: The name of the Automation Variable. :param str resource_group_name: The Name of the Resource Group where the automation account exists. """ - ... + __args__ = dict() + __args__['automationAccountName'] = automation_account_name + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:automation/getVariableObject:getVariableObject', __args__, opts=opts, typ=GetVariableObjectResult) + return __ret__.apply(lambda __response__: GetVariableObjectResult( + automation_account_name=pulumi.get(__response__, 'automation_account_name'), + description=pulumi.get(__response__, 'description'), + encrypted=pulumi.get(__response__, 'encrypted'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + value=pulumi.get(__response__, 'value'))) diff --git a/sdk/python/pulumi_azure/automation/get_variables.py b/sdk/python/pulumi_azure/automation/get_variables.py index e0696ac29a..e15cfa29d1 100644 --- a/sdk/python/pulumi_azure/automation/get_variables.py +++ b/sdk/python/pulumi_azure/automation/get_variables.py @@ -175,9 +175,6 @@ def get_variables(automation_account_id: Optional[str] = None, nulls=pulumi.get(__ret__, 'nulls'), objects=pulumi.get(__ret__, 'objects'), strings=pulumi.get(__ret__, 'strings')) - - -@_utilities.lift_output_func(get_variables) def get_variables_output(automation_account_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetVariablesResult]: """ @@ -198,4 +195,17 @@ def get_variables_output(automation_account_id: Optional[pulumi.Input[str]] = No :param str automation_account_id: The resource ID of the automation account. """ - ... + __args__ = dict() + __args__['automationAccountId'] = automation_account_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:automation/getVariables:getVariables', __args__, opts=opts, typ=GetVariablesResult) + return __ret__.apply(lambda __response__: GetVariablesResult( + automation_account_id=pulumi.get(__response__, 'automation_account_id'), + bools=pulumi.get(__response__, 'bools'), + datetimes=pulumi.get(__response__, 'datetimes'), + encrypteds=pulumi.get(__response__, 'encrypteds'), + id=pulumi.get(__response__, 'id'), + ints=pulumi.get(__response__, 'ints'), + nulls=pulumi.get(__response__, 'nulls'), + objects=pulumi.get(__response__, 'objects'), + strings=pulumi.get(__response__, 'strings'))) diff --git a/sdk/python/pulumi_azure/avs/get_private_cloud.py b/sdk/python/pulumi_azure/avs/get_private_cloud.py index f86e41d677..e48fe89322 100644 --- a/sdk/python/pulumi_azure/avs/get_private_cloud.py +++ b/sdk/python/pulumi_azure/avs/get_private_cloud.py @@ -296,9 +296,6 @@ def get_private_cloud(name: Optional[str] = None, vcenter_certificate_thumbprint=pulumi.get(__ret__, 'vcenter_certificate_thumbprint'), vcsa_endpoint=pulumi.get(__ret__, 'vcsa_endpoint'), vmotion_subnet_cidr=pulumi.get(__ret__, 'vmotion_subnet_cidr')) - - -@_utilities.lift_output_func(get_private_cloud) def get_private_cloud_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPrivateCloudResult]: @@ -322,4 +319,27 @@ def get_private_cloud_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of this Azure VMware Solution Private Cloud. :param str resource_group_name: The name of the Resource Group where the Azure VMware Solution Private Cloud exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:avs/getPrivateCloud:getPrivateCloud', __args__, opts=opts, typ=GetPrivateCloudResult) + return __ret__.apply(lambda __response__: GetPrivateCloudResult( + circuits=pulumi.get(__response__, 'circuits'), + hcx_cloud_manager_endpoint=pulumi.get(__response__, 'hcx_cloud_manager_endpoint'), + id=pulumi.get(__response__, 'id'), + internet_connection_enabled=pulumi.get(__response__, 'internet_connection_enabled'), + location=pulumi.get(__response__, 'location'), + management_clusters=pulumi.get(__response__, 'management_clusters'), + management_subnet_cidr=pulumi.get(__response__, 'management_subnet_cidr'), + name=pulumi.get(__response__, 'name'), + network_subnet_cidr=pulumi.get(__response__, 'network_subnet_cidr'), + nsxt_certificate_thumbprint=pulumi.get(__response__, 'nsxt_certificate_thumbprint'), + nsxt_manager_endpoint=pulumi.get(__response__, 'nsxt_manager_endpoint'), + provisioning_subnet_cidr=pulumi.get(__response__, 'provisioning_subnet_cidr'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + sku_name=pulumi.get(__response__, 'sku_name'), + tags=pulumi.get(__response__, 'tags'), + vcenter_certificate_thumbprint=pulumi.get(__response__, 'vcenter_certificate_thumbprint'), + vcsa_endpoint=pulumi.get(__response__, 'vcsa_endpoint'), + vmotion_subnet_cidr=pulumi.get(__response__, 'vmotion_subnet_cidr'))) diff --git a/sdk/python/pulumi_azure/backup/get_policy_fileshare.py b/sdk/python/pulumi_azure/backup/get_policy_fileshare.py index 7a1c9b6ddb..e91adc3e4f 100644 --- a/sdk/python/pulumi_azure/backup/get_policy_fileshare.py +++ b/sdk/python/pulumi_azure/backup/get_policy_fileshare.py @@ -111,9 +111,6 @@ def get_policy_fileshare(name: Optional[str] = None, name=pulumi.get(__ret__, 'name'), recovery_vault_name=pulumi.get(__ret__, 'recovery_vault_name'), resource_group_name=pulumi.get(__ret__, 'resource_group_name')) - - -@_utilities.lift_output_func(get_policy_fileshare) def get_policy_fileshare_output(name: Optional[pulumi.Input[str]] = None, recovery_vault_name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, @@ -137,4 +134,14 @@ def get_policy_fileshare_output(name: Optional[pulumi.Input[str]] = None, :param str recovery_vault_name: Specifies the name of the Recovery Services Vault. :param str resource_group_name: The name of the resource group in which the File Share Backup Policy resides. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['recoveryVaultName'] = recovery_vault_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:backup/getPolicyFileshare:getPolicyFileshare', __args__, opts=opts, typ=GetPolicyFileshareResult) + return __ret__.apply(lambda __response__: GetPolicyFileshareResult( + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + recovery_vault_name=pulumi.get(__response__, 'recovery_vault_name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'))) diff --git a/sdk/python/pulumi_azure/backup/get_policy_vm.py b/sdk/python/pulumi_azure/backup/get_policy_vm.py index f727ab65e7..b931affe40 100644 --- a/sdk/python/pulumi_azure/backup/get_policy_vm.py +++ b/sdk/python/pulumi_azure/backup/get_policy_vm.py @@ -111,9 +111,6 @@ def get_policy_vm(name: Optional[str] = None, name=pulumi.get(__ret__, 'name'), recovery_vault_name=pulumi.get(__ret__, 'recovery_vault_name'), resource_group_name=pulumi.get(__ret__, 'resource_group_name')) - - -@_utilities.lift_output_func(get_policy_vm) def get_policy_vm_output(name: Optional[pulumi.Input[str]] = None, recovery_vault_name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, @@ -137,4 +134,14 @@ def get_policy_vm_output(name: Optional[pulumi.Input[str]] = None, :param str recovery_vault_name: Specifies the name of the Recovery Services Vault. :param str resource_group_name: The name of the resource group in which the VM Backup Policy resides. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['recoveryVaultName'] = recovery_vault_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:backup/getPolicyVM:getPolicyVM', __args__, opts=opts, typ=GetPolicyVMResult) + return __ret__.apply(lambda __response__: GetPolicyVMResult( + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + recovery_vault_name=pulumi.get(__response__, 'recovery_vault_name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'))) diff --git a/sdk/python/pulumi_azure/batch/get_account.py b/sdk/python/pulumi_azure/batch/get_account.py index 61c76b2a50..d3ca6936b7 100644 --- a/sdk/python/pulumi_azure/batch/get_account.py +++ b/sdk/python/pulumi_azure/batch/get_account.py @@ -219,9 +219,6 @@ def get_account(name: Optional[str] = None, secondary_access_key=pulumi.get(__ret__, 'secondary_access_key'), storage_account_id=pulumi.get(__ret__, 'storage_account_id'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_account) def get_account_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAccountResult]: @@ -243,4 +240,21 @@ def get_account_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of the Batch account. :param str resource_group_name: The Name of the Resource Group where this Batch account exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:batch/getAccount:getAccount', __args__, opts=opts, typ=GetAccountResult) + return __ret__.apply(lambda __response__: GetAccountResult( + account_endpoint=pulumi.get(__response__, 'account_endpoint'), + encryptions=pulumi.get(__response__, 'encryptions'), + id=pulumi.get(__response__, 'id'), + key_vault_references=pulumi.get(__response__, 'key_vault_references'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + pool_allocation_mode=pulumi.get(__response__, 'pool_allocation_mode'), + primary_access_key=pulumi.get(__response__, 'primary_access_key'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + secondary_access_key=pulumi.get(__response__, 'secondary_access_key'), + storage_account_id=pulumi.get(__response__, 'storage_account_id'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_azure/batch/get_application.py b/sdk/python/pulumi_azure/batch/get_application.py index 148d65c8be..71202efca7 100644 --- a/sdk/python/pulumi_azure/batch/get_application.py +++ b/sdk/python/pulumi_azure/batch/get_application.py @@ -154,9 +154,6 @@ def get_application(account_name: Optional[str] = None, id=pulumi.get(__ret__, 'id'), name=pulumi.get(__ret__, 'name'), resource_group_name=pulumi.get(__ret__, 'resource_group_name')) - - -@_utilities.lift_output_func(get_application) def get_application_output(account_name: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, @@ -181,4 +178,17 @@ def get_application_output(account_name: Optional[pulumi.Input[str]] = None, :param str name: The name of the Application. :param str resource_group_name: The name of the Resource Group where this Batch account exists. """ - ... + __args__ = dict() + __args__['accountName'] = account_name + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:batch/getApplication:getApplication', __args__, opts=opts, typ=GetApplicationResult) + return __ret__.apply(lambda __response__: GetApplicationResult( + account_name=pulumi.get(__response__, 'account_name'), + allow_updates=pulumi.get(__response__, 'allow_updates'), + default_version=pulumi.get(__response__, 'default_version'), + display_name=pulumi.get(__response__, 'display_name'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'))) diff --git a/sdk/python/pulumi_azure/batch/get_certificate.py b/sdk/python/pulumi_azure/batch/get_certificate.py index 73f16175b5..54d452ca5d 100644 --- a/sdk/python/pulumi_azure/batch/get_certificate.py +++ b/sdk/python/pulumi_azure/batch/get_certificate.py @@ -164,9 +164,6 @@ def get_certificate(account_name: Optional[str] = None, resource_group_name=pulumi.get(__ret__, 'resource_group_name'), thumbprint=pulumi.get(__ret__, 'thumbprint'), thumbprint_algorithm=pulumi.get(__ret__, 'thumbprint_algorithm')) - - -@_utilities.lift_output_func(get_certificate) def get_certificate_output(account_name: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, @@ -191,4 +188,18 @@ def get_certificate_output(account_name: Optional[pulumi.Input[str]] = None, :param str name: The name of the Batch certificate. :param str resource_group_name: The Name of the Resource Group where this Batch account exists. """ - ... + __args__ = dict() + __args__['accountName'] = account_name + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:batch/getCertificate:getCertificate', __args__, opts=opts, typ=GetCertificateResult) + return __ret__.apply(lambda __response__: GetCertificateResult( + account_name=pulumi.get(__response__, 'account_name'), + format=pulumi.get(__response__, 'format'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + public_data=pulumi.get(__response__, 'public_data'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + thumbprint=pulumi.get(__response__, 'thumbprint'), + thumbprint_algorithm=pulumi.get(__response__, 'thumbprint_algorithm'))) diff --git a/sdk/python/pulumi_azure/batch/get_pool.py b/sdk/python/pulumi_azure/batch/get_pool.py index 664ffc13e0..52f47da3b9 100644 --- a/sdk/python/pulumi_azure/batch/get_pool.py +++ b/sdk/python/pulumi_azure/batch/get_pool.py @@ -407,9 +407,6 @@ def get_pool(account_name: Optional[str] = None, user_accounts=pulumi.get(__ret__, 'user_accounts'), vm_size=pulumi.get(__ret__, 'vm_size'), windows=pulumi.get(__ret__, 'windows')) - - -@_utilities.lift_output_func(get_pool) def get_pool_output(account_name: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, @@ -432,4 +429,37 @@ def get_pool_output(account_name: Optional[pulumi.Input[str]] = None, :param str account_name: The Azure Storage Account name. :param str name: The name of the user account. """ - ... + __args__ = dict() + __args__['accountName'] = account_name + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:batch/getPool:getPool', __args__, opts=opts, typ=GetPoolResult) + return __ret__.apply(lambda __response__: GetPoolResult( + account_name=pulumi.get(__response__, 'account_name'), + auto_scales=pulumi.get(__response__, 'auto_scales'), + certificates=pulumi.get(__response__, 'certificates'), + container_configurations=pulumi.get(__response__, 'container_configurations'), + data_disks=pulumi.get(__response__, 'data_disks'), + disk_encryptions=pulumi.get(__response__, 'disk_encryptions'), + display_name=pulumi.get(__response__, 'display_name'), + extensions=pulumi.get(__response__, 'extensions'), + fixed_scales=pulumi.get(__response__, 'fixed_scales'), + id=pulumi.get(__response__, 'id'), + inter_node_communication=pulumi.get(__response__, 'inter_node_communication'), + license_type=pulumi.get(__response__, 'license_type'), + max_tasks_per_node=pulumi.get(__response__, 'max_tasks_per_node'), + metadata=pulumi.get(__response__, 'metadata'), + mounts=pulumi.get(__response__, 'mounts'), + name=pulumi.get(__response__, 'name'), + network_configurations=pulumi.get(__response__, 'network_configurations'), + node_agent_sku_id=pulumi.get(__response__, 'node_agent_sku_id'), + node_placements=pulumi.get(__response__, 'node_placements'), + os_disk_placement=pulumi.get(__response__, 'os_disk_placement'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + start_tasks=pulumi.get(__response__, 'start_tasks'), + storage_image_references=pulumi.get(__response__, 'storage_image_references'), + task_scheduling_policies=pulumi.get(__response__, 'task_scheduling_policies'), + user_accounts=pulumi.get(__response__, 'user_accounts'), + vm_size=pulumi.get(__response__, 'vm_size'), + windows=pulumi.get(__response__, 'windows'))) diff --git a/sdk/python/pulumi_azure/billing/get_enrollment_account_scope.py b/sdk/python/pulumi_azure/billing/get_enrollment_account_scope.py index 86a0767746..0784b390fa 100644 --- a/sdk/python/pulumi_azure/billing/get_enrollment_account_scope.py +++ b/sdk/python/pulumi_azure/billing/get_enrollment_account_scope.py @@ -98,9 +98,6 @@ def get_enrollment_account_scope(billing_account_name: Optional[str] = None, billing_account_name=pulumi.get(__ret__, 'billing_account_name'), enrollment_account_name=pulumi.get(__ret__, 'enrollment_account_name'), id=pulumi.get(__ret__, 'id')) - - -@_utilities.lift_output_func(get_enrollment_account_scope) def get_enrollment_account_scope_output(billing_account_name: Optional[pulumi.Input[str]] = None, enrollment_account_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetEnrollmentAccountScopeResult]: @@ -122,4 +119,12 @@ def get_enrollment_account_scope_output(billing_account_name: Optional[pulumi.In :param str billing_account_name: The Billing Account Name of the Enterprise Account. :param str enrollment_account_name: The Enrollment Account Name in the above Enterprise Account. """ - ... + __args__ = dict() + __args__['billingAccountName'] = billing_account_name + __args__['enrollmentAccountName'] = enrollment_account_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:billing/getEnrollmentAccountScope:getEnrollmentAccountScope', __args__, opts=opts, typ=GetEnrollmentAccountScopeResult) + return __ret__.apply(lambda __response__: GetEnrollmentAccountScopeResult( + billing_account_name=pulumi.get(__response__, 'billing_account_name'), + enrollment_account_name=pulumi.get(__response__, 'enrollment_account_name'), + id=pulumi.get(__response__, 'id'))) diff --git a/sdk/python/pulumi_azure/billing/get_mca_account_scope.py b/sdk/python/pulumi_azure/billing/get_mca_account_scope.py index d4fc944902..e1118a659c 100644 --- a/sdk/python/pulumi_azure/billing/get_mca_account_scope.py +++ b/sdk/python/pulumi_azure/billing/get_mca_account_scope.py @@ -112,9 +112,6 @@ def get_mca_account_scope(billing_account_name: Optional[str] = None, billing_profile_name=pulumi.get(__ret__, 'billing_profile_name'), id=pulumi.get(__ret__, 'id'), invoice_section_name=pulumi.get(__ret__, 'invoice_section_name')) - - -@_utilities.lift_output_func(get_mca_account_scope) def get_mca_account_scope_output(billing_account_name: Optional[pulumi.Input[str]] = None, billing_profile_name: Optional[pulumi.Input[str]] = None, invoice_section_name: Optional[pulumi.Input[str]] = None, @@ -139,4 +136,14 @@ def get_mca_account_scope_output(billing_account_name: Optional[pulumi.Input[str :param str billing_profile_name: The Billing Profile Name in the above Billing Account. :param str invoice_section_name: The Invoice Section Name in the above Billing Profile. """ - ... + __args__ = dict() + __args__['billingAccountName'] = billing_account_name + __args__['billingProfileName'] = billing_profile_name + __args__['invoiceSectionName'] = invoice_section_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:billing/getMcaAccountScope:getMcaAccountScope', __args__, opts=opts, typ=GetMcaAccountScopeResult) + return __ret__.apply(lambda __response__: GetMcaAccountScopeResult( + billing_account_name=pulumi.get(__response__, 'billing_account_name'), + billing_profile_name=pulumi.get(__response__, 'billing_profile_name'), + id=pulumi.get(__response__, 'id'), + invoice_section_name=pulumi.get(__response__, 'invoice_section_name'))) diff --git a/sdk/python/pulumi_azure/billing/get_mpa_account_scope.py b/sdk/python/pulumi_azure/billing/get_mpa_account_scope.py index e70f56f1b9..5c79c397e2 100644 --- a/sdk/python/pulumi_azure/billing/get_mpa_account_scope.py +++ b/sdk/python/pulumi_azure/billing/get_mpa_account_scope.py @@ -98,9 +98,6 @@ def get_mpa_account_scope(billing_account_name: Optional[str] = None, billing_account_name=pulumi.get(__ret__, 'billing_account_name'), customer_name=pulumi.get(__ret__, 'customer_name'), id=pulumi.get(__ret__, 'id')) - - -@_utilities.lift_output_func(get_mpa_account_scope) def get_mpa_account_scope_output(billing_account_name: Optional[pulumi.Input[str]] = None, customer_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMpaAccountScopeResult]: @@ -122,4 +119,12 @@ def get_mpa_account_scope_output(billing_account_name: Optional[pulumi.Input[str :param str billing_account_name: The Billing Account Name of the MPA account. :param str customer_name: The Customer Name in the above Billing Account. """ - ... + __args__ = dict() + __args__['billingAccountName'] = billing_account_name + __args__['customerName'] = customer_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:billing/getMpaAccountScope:getMpaAccountScope', __args__, opts=opts, typ=GetMpaAccountScopeResult) + return __ret__.apply(lambda __response__: GetMpaAccountScopeResult( + billing_account_name=pulumi.get(__response__, 'billing_account_name'), + customer_name=pulumi.get(__response__, 'customer_name'), + id=pulumi.get(__response__, 'id'))) diff --git a/sdk/python/pulumi_azure/blueprint/get_definition.py b/sdk/python/pulumi_azure/blueprint/get_definition.py index 73965b45e9..386397f4a9 100644 --- a/sdk/python/pulumi_azure/blueprint/get_definition.py +++ b/sdk/python/pulumi_azure/blueprint/get_definition.py @@ -179,9 +179,6 @@ def get_definition(name: Optional[str] = None, target_scope=pulumi.get(__ret__, 'target_scope'), time_created=pulumi.get(__ret__, 'time_created'), versions=pulumi.get(__ret__, 'versions')) - - -@_utilities.lift_output_func(get_definition) def get_definition_output(name: Optional[pulumi.Input[str]] = None, scope_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDefinitionResult]: @@ -206,4 +203,18 @@ def get_definition_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of the Blueprint. :param str scope_id: The ID of the Subscription or Management Group, as the scope at which the blueprint definition is stored. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['scopeId'] = scope_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:blueprint/getDefinition:getDefinition', __args__, opts=opts, typ=GetDefinitionResult) + return __ret__.apply(lambda __response__: GetDefinitionResult( + description=pulumi.get(__response__, 'description'), + display_name=pulumi.get(__response__, 'display_name'), + id=pulumi.get(__response__, 'id'), + last_modified=pulumi.get(__response__, 'last_modified'), + name=pulumi.get(__response__, 'name'), + scope_id=pulumi.get(__response__, 'scope_id'), + target_scope=pulumi.get(__response__, 'target_scope'), + time_created=pulumi.get(__response__, 'time_created'), + versions=pulumi.get(__response__, 'versions'))) diff --git a/sdk/python/pulumi_azure/blueprint/get_published_version.py b/sdk/python/pulumi_azure/blueprint/get_published_version.py index 97a7870945..020debd582 100644 --- a/sdk/python/pulumi_azure/blueprint/get_published_version.py +++ b/sdk/python/pulumi_azure/blueprint/get_published_version.py @@ -186,9 +186,6 @@ def get_published_version(blueprint_name: Optional[str] = None, time_created=pulumi.get(__ret__, 'time_created'), type=pulumi.get(__ret__, 'type'), version=pulumi.get(__ret__, 'version')) - - -@_utilities.lift_output_func(get_published_version) def get_published_version_output(blueprint_name: Optional[pulumi.Input[str]] = None, scope_id: Optional[pulumi.Input[str]] = None, version: Optional[pulumi.Input[str]] = None, @@ -215,4 +212,20 @@ def get_published_version_output(blueprint_name: Optional[pulumi.Input[str]] = N :param str scope_id: The ID of the Management Group / Subscription where this Blueprint Definition is stored. :param str version: The Version name of the Published Version of the Blueprint Definition """ - ... + __args__ = dict() + __args__['blueprintName'] = blueprint_name + __args__['scopeId'] = scope_id + __args__['version'] = version + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:blueprint/getPublishedVersion:getPublishedVersion', __args__, opts=opts, typ=GetPublishedVersionResult) + return __ret__.apply(lambda __response__: GetPublishedVersionResult( + blueprint_name=pulumi.get(__response__, 'blueprint_name'), + description=pulumi.get(__response__, 'description'), + display_name=pulumi.get(__response__, 'display_name'), + id=pulumi.get(__response__, 'id'), + last_modified=pulumi.get(__response__, 'last_modified'), + scope_id=pulumi.get(__response__, 'scope_id'), + target_scope=pulumi.get(__response__, 'target_scope'), + time_created=pulumi.get(__response__, 'time_created'), + type=pulumi.get(__response__, 'type'), + version=pulumi.get(__response__, 'version'))) diff --git a/sdk/python/pulumi_azure/cdn/get_frontdoor_custom_domain.py b/sdk/python/pulumi_azure/cdn/get_frontdoor_custom_domain.py index 43aa3a33e5..ab06209da9 100644 --- a/sdk/python/pulumi_azure/cdn/get_frontdoor_custom_domain.py +++ b/sdk/python/pulumi_azure/cdn/get_frontdoor_custom_domain.py @@ -187,9 +187,6 @@ def get_frontdoor_custom_domain(name: Optional[str] = None, resource_group_name=pulumi.get(__ret__, 'resource_group_name'), tls=pulumi.get(__ret__, 'tls'), validation_token=pulumi.get(__ret__, 'validation_token')) - - -@_utilities.lift_output_func(get_frontdoor_custom_domain) def get_frontdoor_custom_domain_output(name: Optional[pulumi.Input[str]] = None, profile_name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, @@ -213,4 +210,20 @@ def get_frontdoor_custom_domain_output(name: Optional[pulumi.Input[str]] = None, :param str profile_name: The name of the Front Door Profile which the Front Door Custom Domain is bound to. :param str resource_group_name: The name of the Resource Group where the Front Door Profile exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['profileName'] = profile_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:cdn/getFrontdoorCustomDomain:getFrontdoorCustomDomain', __args__, opts=opts, typ=GetFrontdoorCustomDomainResult) + return __ret__.apply(lambda __response__: GetFrontdoorCustomDomainResult( + cdn_frontdoor_profile_id=pulumi.get(__response__, 'cdn_frontdoor_profile_id'), + dns_zone_id=pulumi.get(__response__, 'dns_zone_id'), + expiration_date=pulumi.get(__response__, 'expiration_date'), + host_name=pulumi.get(__response__, 'host_name'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + profile_name=pulumi.get(__response__, 'profile_name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + tls=pulumi.get(__response__, 'tls'), + validation_token=pulumi.get(__response__, 'validation_token'))) diff --git a/sdk/python/pulumi_azure/cdn/get_frontdoor_endpoint.py b/sdk/python/pulumi_azure/cdn/get_frontdoor_endpoint.py index 59e7e7211c..2c41b5fb19 100644 --- a/sdk/python/pulumi_azure/cdn/get_frontdoor_endpoint.py +++ b/sdk/python/pulumi_azure/cdn/get_frontdoor_endpoint.py @@ -150,9 +150,6 @@ def get_frontdoor_endpoint(name: Optional[str] = None, profile_name=pulumi.get(__ret__, 'profile_name'), resource_group_name=pulumi.get(__ret__, 'resource_group_name'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_frontdoor_endpoint) def get_frontdoor_endpoint_output(name: Optional[pulumi.Input[str]] = None, profile_name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, @@ -176,4 +173,17 @@ def get_frontdoor_endpoint_output(name: Optional[pulumi.Input[str]] = None, :param str profile_name: The name of the Front Door Profile within which Front Door Endpoint exists. :param str resource_group_name: The name of the Resource Group where the Front Door Profile exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['profileName'] = profile_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:cdn/getFrontdoorEndpoint:getFrontdoorEndpoint', __args__, opts=opts, typ=GetFrontdoorEndpointResult) + return __ret__.apply(lambda __response__: GetFrontdoorEndpointResult( + enabled=pulumi.get(__response__, 'enabled'), + host_name=pulumi.get(__response__, 'host_name'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + profile_name=pulumi.get(__response__, 'profile_name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_azure/cdn/get_frontdoor_firewall_policy.py b/sdk/python/pulumi_azure/cdn/get_frontdoor_firewall_policy.py index 57b4301a9a..eddcef5418 100644 --- a/sdk/python/pulumi_azure/cdn/get_frontdoor_firewall_policy.py +++ b/sdk/python/pulumi_azure/cdn/get_frontdoor_firewall_policy.py @@ -162,9 +162,6 @@ def get_frontdoor_firewall_policy(name: Optional[str] = None, redirect_url=pulumi.get(__ret__, 'redirect_url'), resource_group_name=pulumi.get(__ret__, 'resource_group_name'), sku_name=pulumi.get(__ret__, 'sku_name')) - - -@_utilities.lift_output_func(get_frontdoor_firewall_policy) def get_frontdoor_firewall_policy_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFrontdoorFirewallPolicyResult]: @@ -185,4 +182,17 @@ def get_frontdoor_firewall_policy_output(name: Optional[pulumi.Input[str]] = Non :param str name: The name of the Front Door Firewall Policy. :param str resource_group_name: The name of the resource group. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:cdn/getFrontdoorFirewallPolicy:getFrontdoorFirewallPolicy', __args__, opts=opts, typ=GetFrontdoorFirewallPolicyResult) + return __ret__.apply(lambda __response__: GetFrontdoorFirewallPolicyResult( + enabled=pulumi.get(__response__, 'enabled'), + frontend_endpoint_ids=pulumi.get(__response__, 'frontend_endpoint_ids'), + id=pulumi.get(__response__, 'id'), + mode=pulumi.get(__response__, 'mode'), + name=pulumi.get(__response__, 'name'), + redirect_url=pulumi.get(__response__, 'redirect_url'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + sku_name=pulumi.get(__response__, 'sku_name'))) diff --git a/sdk/python/pulumi_azure/cdn/get_frontdoor_origin_group.py b/sdk/python/pulumi_azure/cdn/get_frontdoor_origin_group.py index f356126d95..4cbffefb5f 100644 --- a/sdk/python/pulumi_azure/cdn/get_frontdoor_origin_group.py +++ b/sdk/python/pulumi_azure/cdn/get_frontdoor_origin_group.py @@ -174,9 +174,6 @@ def get_frontdoor_origin_group(name: Optional[str] = None, resource_group_name=pulumi.get(__ret__, 'resource_group_name'), restore_traffic_time_to_healed_or_new_endpoint_in_minutes=pulumi.get(__ret__, 'restore_traffic_time_to_healed_or_new_endpoint_in_minutes'), session_affinity_enabled=pulumi.get(__ret__, 'session_affinity_enabled')) - - -@_utilities.lift_output_func(get_frontdoor_origin_group) def get_frontdoor_origin_group_output(name: Optional[pulumi.Input[str]] = None, profile_name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, @@ -200,4 +197,19 @@ def get_frontdoor_origin_group_output(name: Optional[pulumi.Input[str]] = None, :param str profile_name: The name of the Front Door Profile within which Front Door Origin Group exists. :param str resource_group_name: The name of the Resource Group where the Front Door Profile exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['profileName'] = profile_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:cdn/getFrontdoorOriginGroup:getFrontdoorOriginGroup', __args__, opts=opts, typ=GetFrontdoorOriginGroupResult) + return __ret__.apply(lambda __response__: GetFrontdoorOriginGroupResult( + cdn_frontdoor_profile_id=pulumi.get(__response__, 'cdn_frontdoor_profile_id'), + health_probes=pulumi.get(__response__, 'health_probes'), + id=pulumi.get(__response__, 'id'), + load_balancings=pulumi.get(__response__, 'load_balancings'), + name=pulumi.get(__response__, 'name'), + profile_name=pulumi.get(__response__, 'profile_name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + restore_traffic_time_to_healed_or_new_endpoint_in_minutes=pulumi.get(__response__, 'restore_traffic_time_to_healed_or_new_endpoint_in_minutes'), + session_affinity_enabled=pulumi.get(__response__, 'session_affinity_enabled'))) diff --git a/sdk/python/pulumi_azure/cdn/get_frontdoor_profile.py b/sdk/python/pulumi_azure/cdn/get_frontdoor_profile.py index 7693fb806b..c4a082fec8 100644 --- a/sdk/python/pulumi_azure/cdn/get_frontdoor_profile.py +++ b/sdk/python/pulumi_azure/cdn/get_frontdoor_profile.py @@ -149,9 +149,6 @@ def get_frontdoor_profile(name: Optional[str] = None, response_timeout_seconds=pulumi.get(__ret__, 'response_timeout_seconds'), sku_name=pulumi.get(__ret__, 'sku_name'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_frontdoor_profile) def get_frontdoor_profile_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFrontdoorProfileResult]: @@ -172,4 +169,16 @@ def get_frontdoor_profile_output(name: Optional[pulumi.Input[str]] = None, :param str name: Specifies the name of the Front Door Profile. :param str resource_group_name: The name of the Resource Group where this Front Door Profile exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:cdn/getFrontdoorProfile:getFrontdoorProfile', __args__, opts=opts, typ=GetFrontdoorProfileResult) + return __ret__.apply(lambda __response__: GetFrontdoorProfileResult( + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + resource_guid=pulumi.get(__response__, 'resource_guid'), + response_timeout_seconds=pulumi.get(__response__, 'response_timeout_seconds'), + sku_name=pulumi.get(__response__, 'sku_name'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_azure/cdn/get_frontdoor_rule_set.py b/sdk/python/pulumi_azure/cdn/get_frontdoor_rule_set.py index 27e66e36c3..7d766ff77f 100644 --- a/sdk/python/pulumi_azure/cdn/get_frontdoor_rule_set.py +++ b/sdk/python/pulumi_azure/cdn/get_frontdoor_rule_set.py @@ -124,9 +124,6 @@ def get_frontdoor_rule_set(name: Optional[str] = None, name=pulumi.get(__ret__, 'name'), profile_name=pulumi.get(__ret__, 'profile_name'), resource_group_name=pulumi.get(__ret__, 'resource_group_name')) - - -@_utilities.lift_output_func(get_frontdoor_rule_set) def get_frontdoor_rule_set_output(name: Optional[pulumi.Input[str]] = None, profile_name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, @@ -150,4 +147,15 @@ def get_frontdoor_rule_set_output(name: Optional[pulumi.Input[str]] = None, :param str profile_name: Specifies the name of the Front Door Profile where this Front Door Rule Set exists. :param str resource_group_name: Specifies the name of the Resource Group where the Front Door Profile exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['profileName'] = profile_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:cdn/getFrontdoorRuleSet:getFrontdoorRuleSet', __args__, opts=opts, typ=GetFrontdoorRuleSetResult) + return __ret__.apply(lambda __response__: GetFrontdoorRuleSetResult( + cdn_frontdoor_profile_id=pulumi.get(__response__, 'cdn_frontdoor_profile_id'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + profile_name=pulumi.get(__response__, 'profile_name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'))) diff --git a/sdk/python/pulumi_azure/cdn/get_frontdoor_secret.py b/sdk/python/pulumi_azure/cdn/get_frontdoor_secret.py index 4750238929..522261007a 100644 --- a/sdk/python/pulumi_azure/cdn/get_frontdoor_secret.py +++ b/sdk/python/pulumi_azure/cdn/get_frontdoor_secret.py @@ -138,9 +138,6 @@ def get_frontdoor_secret(name: Optional[str] = None, profile_name=pulumi.get(__ret__, 'profile_name'), resource_group_name=pulumi.get(__ret__, 'resource_group_name'), secrets=pulumi.get(__ret__, 'secrets')) - - -@_utilities.lift_output_func(get_frontdoor_secret) def get_frontdoor_secret_output(name: Optional[pulumi.Input[str]] = None, profile_name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, @@ -164,4 +161,16 @@ def get_frontdoor_secret_output(name: Optional[pulumi.Input[str]] = None, :param str profile_name: The name of the Front Door Profile within which the Front Door Secret exists. :param str resource_group_name: The name of the Resource Group where the Front Door Profile exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['profileName'] = profile_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:cdn/getFrontdoorSecret:getFrontdoorSecret', __args__, opts=opts, typ=GetFrontdoorSecretResult) + return __ret__.apply(lambda __response__: GetFrontdoorSecretResult( + cdn_frontdoor_profile_id=pulumi.get(__response__, 'cdn_frontdoor_profile_id'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + profile_name=pulumi.get(__response__, 'profile_name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + secrets=pulumi.get(__response__, 'secrets'))) diff --git a/sdk/python/pulumi_azure/cdn/get_profile.py b/sdk/python/pulumi_azure/cdn/get_profile.py index 41b7d07b0a..e4ec50b52a 100644 --- a/sdk/python/pulumi_azure/cdn/get_profile.py +++ b/sdk/python/pulumi_azure/cdn/get_profile.py @@ -137,9 +137,6 @@ def get_profile(name: Optional[str] = None, resource_group_name=pulumi.get(__ret__, 'resource_group_name'), sku=pulumi.get(__ret__, 'sku'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_profile) def get_profile_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetProfileResult]: @@ -161,4 +158,15 @@ def get_profile_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of the CDN Profile. :param str resource_group_name: The name of the resource group in which the CDN Profile exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:cdn/getProfile:getProfile', __args__, opts=opts, typ=GetProfileResult) + return __ret__.apply(lambda __response__: GetProfileResult( + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + sku=pulumi.get(__response__, 'sku'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_azure/cognitive/get_account.py b/sdk/python/pulumi_azure/cognitive/get_account.py index a7984d1894..0a7ee61bf8 100644 --- a/sdk/python/pulumi_azure/cognitive/get_account.py +++ b/sdk/python/pulumi_azure/cognitive/get_account.py @@ -219,9 +219,6 @@ def get_account(name: Optional[str] = None, secondary_access_key=pulumi.get(__ret__, 'secondary_access_key'), sku_name=pulumi.get(__ret__, 'sku_name'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_account) def get_account_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, tags: Optional[pulumi.Input[Optional[Mapping[str, str]]]] = None, @@ -245,4 +242,22 @@ def get_account_output(name: Optional[pulumi.Input[str]] = None, :param str resource_group_name: Specifies the name of the resource group where the Cognitive Services Account resides. :param Mapping[str, str] tags: A mapping of tags to assigned to the resource. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + __args__['tags'] = tags + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:cognitive/getAccount:getAccount', __args__, opts=opts, typ=GetAccountResult) + return __ret__.apply(lambda __response__: GetAccountResult( + endpoint=pulumi.get(__response__, 'endpoint'), + id=pulumi.get(__response__, 'id'), + identities=pulumi.get(__response__, 'identities'), + kind=pulumi.get(__response__, 'kind'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + primary_access_key=pulumi.get(__response__, 'primary_access_key'), + qna_runtime_endpoint=pulumi.get(__response__, 'qna_runtime_endpoint'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + secondary_access_key=pulumi.get(__response__, 'secondary_access_key'), + sku_name=pulumi.get(__response__, 'sku_name'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_azure/communication/get_service.py b/sdk/python/pulumi_azure/communication/get_service.py index dd9d82594a..03774c0bff 100644 --- a/sdk/python/pulumi_azure/communication/get_service.py +++ b/sdk/python/pulumi_azure/communication/get_service.py @@ -178,9 +178,6 @@ def get_service(name: Optional[str] = None, secondary_connection_string=pulumi.get(__ret__, 'secondary_connection_string'), secondary_key=pulumi.get(__ret__, 'secondary_key'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_service) def get_service_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetServiceResult]: @@ -204,4 +201,18 @@ def get_service_output(name: Optional[pulumi.Input[str]] = None, :param str resource_group_name: The name of the Resource Group where the Communication Service exists. * """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:communication/getService:getService', __args__, opts=opts, typ=GetServiceResult) + return __ret__.apply(lambda __response__: GetServiceResult( + data_location=pulumi.get(__response__, 'data_location'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + primary_connection_string=pulumi.get(__response__, 'primary_connection_string'), + primary_key=pulumi.get(__response__, 'primary_key'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + secondary_connection_string=pulumi.get(__response__, 'secondary_connection_string'), + secondary_key=pulumi.get(__response__, 'secondary_key'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_azure/compute/get_availability_set.py b/sdk/python/pulumi_azure/compute/get_availability_set.py index 682e73638d..c2fdb923cf 100644 --- a/sdk/python/pulumi_azure/compute/get_availability_set.py +++ b/sdk/python/pulumi_azure/compute/get_availability_set.py @@ -163,9 +163,6 @@ def get_availability_set(name: Optional[str] = None, platform_update_domain_count=pulumi.get(__ret__, 'platform_update_domain_count'), resource_group_name=pulumi.get(__ret__, 'resource_group_name'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_availability_set) def get_availability_set_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAvailabilitySetResult]: @@ -187,4 +184,17 @@ def get_availability_set_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of the Availability Set. :param str resource_group_name: The name of the resource group in which the Availability Set exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:compute/getAvailabilitySet:getAvailabilitySet', __args__, opts=opts, typ=GetAvailabilitySetResult) + return __ret__.apply(lambda __response__: GetAvailabilitySetResult( + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + managed=pulumi.get(__response__, 'managed'), + name=pulumi.get(__response__, 'name'), + platform_fault_domain_count=pulumi.get(__response__, 'platform_fault_domain_count'), + platform_update_domain_count=pulumi.get(__response__, 'platform_update_domain_count'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_azure/compute/get_bastion_host.py b/sdk/python/pulumi_azure/compute/get_bastion_host.py index 4cabc8554b..194fb10144 100644 --- a/sdk/python/pulumi_azure/compute/get_bastion_host.py +++ b/sdk/python/pulumi_azure/compute/get_bastion_host.py @@ -245,9 +245,6 @@ def get_bastion_host(name: Optional[str] = None, sku=pulumi.get(__ret__, 'sku'), tags=pulumi.get(__ret__, 'tags'), tunneling_enabled=pulumi.get(__ret__, 'tunneling_enabled')) - - -@_utilities.lift_output_func(get_bastion_host) def get_bastion_host_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetBastionHostResult]: @@ -269,4 +266,23 @@ def get_bastion_host_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of the Bastion Host. :param str resource_group_name: The name of the Resource Group where the Bastion Host exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:compute/getBastionHost:getBastionHost', __args__, opts=opts, typ=GetBastionHostResult) + return __ret__.apply(lambda __response__: GetBastionHostResult( + copy_paste_enabled=pulumi.get(__response__, 'copy_paste_enabled'), + dns_name=pulumi.get(__response__, 'dns_name'), + file_copy_enabled=pulumi.get(__response__, 'file_copy_enabled'), + id=pulumi.get(__response__, 'id'), + ip_configurations=pulumi.get(__response__, 'ip_configurations'), + ip_connect_enabled=pulumi.get(__response__, 'ip_connect_enabled'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + scale_units=pulumi.get(__response__, 'scale_units'), + shareable_link_enabled=pulumi.get(__response__, 'shareable_link_enabled'), + sku=pulumi.get(__response__, 'sku'), + tags=pulumi.get(__response__, 'tags'), + tunneling_enabled=pulumi.get(__response__, 'tunneling_enabled'))) diff --git a/sdk/python/pulumi_azure/compute/get_confidential_ledger.py b/sdk/python/pulumi_azure/compute/get_confidential_ledger.py index 8a78a6e068..23949d112f 100644 --- a/sdk/python/pulumi_azure/compute/get_confidential_ledger.py +++ b/sdk/python/pulumi_azure/compute/get_confidential_ledger.py @@ -184,9 +184,6 @@ def get_confidential_ledger(name: Optional[str] = None, name=pulumi.get(__ret__, 'name'), resource_group_name=pulumi.get(__ret__, 'resource_group_name'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_confidential_ledger) def get_confidential_ledger_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetConfidentialLedgerResult]: @@ -208,4 +205,19 @@ def get_confidential_ledger_output(name: Optional[pulumi.Input[str]] = None, :param str name: Specifies the name of this Confidential Ledger. :param str resource_group_name: Specifies the name of the Resource Group where this Confidential Ledger exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:compute/getConfidentialLedger:getConfidentialLedger', __args__, opts=opts, typ=GetConfidentialLedgerResult) + return __ret__.apply(lambda __response__: GetConfidentialLedgerResult( + azuread_based_service_principals=pulumi.get(__response__, 'azuread_based_service_principals'), + certificate_based_security_principals=pulumi.get(__response__, 'certificate_based_security_principals'), + id=pulumi.get(__response__, 'id'), + identity_service_endpoint=pulumi.get(__response__, 'identity_service_endpoint'), + ledger_endpoint=pulumi.get(__response__, 'ledger_endpoint'), + ledger_type=pulumi.get(__response__, 'ledger_type'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_azure/compute/get_dedicated_host.py b/sdk/python/pulumi_azure/compute/get_dedicated_host.py index 0834c4e7e7..950afb3084 100644 --- a/sdk/python/pulumi_azure/compute/get_dedicated_host.py +++ b/sdk/python/pulumi_azure/compute/get_dedicated_host.py @@ -138,9 +138,6 @@ def get_dedicated_host(dedicated_host_group_name: Optional[str] = None, name=pulumi.get(__ret__, 'name'), resource_group_name=pulumi.get(__ret__, 'resource_group_name'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_dedicated_host) def get_dedicated_host_output(dedicated_host_group_name: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, @@ -165,4 +162,16 @@ def get_dedicated_host_output(dedicated_host_group_name: Optional[pulumi.Input[s :param str name: Specifies the name of the Dedicated Host. :param str resource_group_name: Specifies the name of the resource group the Dedicated Host is located in. """ - ... + __args__ = dict() + __args__['dedicatedHostGroupName'] = dedicated_host_group_name + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:compute/getDedicatedHost:getDedicatedHost', __args__, opts=opts, typ=GetDedicatedHostResult) + return __ret__.apply(lambda __response__: GetDedicatedHostResult( + dedicated_host_group_name=pulumi.get(__response__, 'dedicated_host_group_name'), + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_azure/compute/get_dedicated_host_group.py b/sdk/python/pulumi_azure/compute/get_dedicated_host_group.py index 0c641e58e9..dfea794d22 100644 --- a/sdk/python/pulumi_azure/compute/get_dedicated_host_group.py +++ b/sdk/python/pulumi_azure/compute/get_dedicated_host_group.py @@ -163,9 +163,6 @@ def get_dedicated_host_group(name: Optional[str] = None, resource_group_name=pulumi.get(__ret__, 'resource_group_name'), tags=pulumi.get(__ret__, 'tags'), zones=pulumi.get(__ret__, 'zones')) - - -@_utilities.lift_output_func(get_dedicated_host_group) def get_dedicated_host_group_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDedicatedHostGroupResult]: @@ -187,4 +184,17 @@ def get_dedicated_host_group_output(name: Optional[pulumi.Input[str]] = None, :param str name: Specifies the name of the Dedicated Host Group. :param str resource_group_name: Specifies the name of the resource group the Dedicated Host Group is located in. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:compute/getDedicatedHostGroup:getDedicatedHostGroup', __args__, opts=opts, typ=GetDedicatedHostGroupResult) + return __ret__.apply(lambda __response__: GetDedicatedHostGroupResult( + automatic_placement_enabled=pulumi.get(__response__, 'automatic_placement_enabled'), + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + platform_fault_domain_count=pulumi.get(__response__, 'platform_fault_domain_count'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + tags=pulumi.get(__response__, 'tags'), + zones=pulumi.get(__response__, 'zones'))) diff --git a/sdk/python/pulumi_azure/compute/get_disk_access.py b/sdk/python/pulumi_azure/compute/get_disk_access.py index 60c7c4160e..4b6eaf4cd7 100644 --- a/sdk/python/pulumi_azure/compute/get_disk_access.py +++ b/sdk/python/pulumi_azure/compute/get_disk_access.py @@ -108,9 +108,6 @@ def get_disk_access(name: Optional[str] = None, name=pulumi.get(__ret__, 'name'), resource_group_name=pulumi.get(__ret__, 'resource_group_name'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_disk_access) def get_disk_access_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDiskAccessResult]: @@ -132,4 +129,13 @@ def get_disk_access_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of this Disk Access. :param str resource_group_name: The name of the Resource Group where the Disk Access exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:compute/getDiskAccess:getDiskAccess', __args__, opts=opts, typ=GetDiskAccessResult) + return __ret__.apply(lambda __response__: GetDiskAccessResult( + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_azure/compute/get_disk_encryption_set.py b/sdk/python/pulumi_azure/compute/get_disk_encryption_set.py index e74a12be89..8721b91162 100644 --- a/sdk/python/pulumi_azure/compute/get_disk_encryption_set.py +++ b/sdk/python/pulumi_azure/compute/get_disk_encryption_set.py @@ -164,9 +164,6 @@ def get_disk_encryption_set(name: Optional[str] = None, name=pulumi.get(__ret__, 'name'), resource_group_name=pulumi.get(__ret__, 'resource_group_name'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_disk_encryption_set) def get_disk_encryption_set_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDiskEncryptionSetResult]: @@ -188,4 +185,17 @@ def get_disk_encryption_set_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of the existing Disk Encryption Set. :param str resource_group_name: The name of the Resource Group where the Disk Encryption Set exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:compute/getDiskEncryptionSet:getDiskEncryptionSet', __args__, opts=opts, typ=GetDiskEncryptionSetResult) + return __ret__.apply(lambda __response__: GetDiskEncryptionSetResult( + auto_key_rotation_enabled=pulumi.get(__response__, 'auto_key_rotation_enabled'), + id=pulumi.get(__response__, 'id'), + identities=pulumi.get(__response__, 'identities'), + key_vault_key_url=pulumi.get(__response__, 'key_vault_key_url'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_azure/compute/get_image.py b/sdk/python/pulumi_azure/compute/get_image.py index 9709516d8d..a069bf4ebe 100644 --- a/sdk/python/pulumi_azure/compute/get_image.py +++ b/sdk/python/pulumi_azure/compute/get_image.py @@ -193,9 +193,6 @@ def get_image(name: Optional[str] = None, sort_descending=pulumi.get(__ret__, 'sort_descending'), tags=pulumi.get(__ret__, 'tags'), zone_resilient=pulumi.get(__ret__, 'zone_resilient')) - - -@_utilities.lift_output_func(get_image) def get_image_output(name: Optional[pulumi.Input[Optional[str]]] = None, name_regex: Optional[pulumi.Input[Optional[str]]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, @@ -221,4 +218,21 @@ def get_image_output(name: Optional[pulumi.Input[Optional[str]]] = None, :param str resource_group_name: The Name of the Resource Group where this Image exists. :param bool sort_descending: By default when matching by regex, images are sorted by name in ascending order and the first match is chosen, to sort descending, set this flag. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['nameRegex'] = name_regex + __args__['resourceGroupName'] = resource_group_name + __args__['sortDescending'] = sort_descending + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:compute/getImage:getImage', __args__, opts=opts, typ=GetImageResult) + return __ret__.apply(lambda __response__: GetImageResult( + data_disks=pulumi.get(__response__, 'data_disks'), + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + name_regex=pulumi.get(__response__, 'name_regex'), + os_disks=pulumi.get(__response__, 'os_disks'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + sort_descending=pulumi.get(__response__, 'sort_descending'), + tags=pulumi.get(__response__, 'tags'), + zone_resilient=pulumi.get(__response__, 'zone_resilient'))) diff --git a/sdk/python/pulumi_azure/compute/get_images.py b/sdk/python/pulumi_azure/compute/get_images.py index fe972cff4e..6318dceee9 100644 --- a/sdk/python/pulumi_azure/compute/get_images.py +++ b/sdk/python/pulumi_azure/compute/get_images.py @@ -110,9 +110,6 @@ def get_images(resource_group_name: Optional[str] = None, images=pulumi.get(__ret__, 'images'), resource_group_name=pulumi.get(__ret__, 'resource_group_name'), tags_filter=pulumi.get(__ret__, 'tags_filter')) - - -@_utilities.lift_output_func(get_images) def get_images_output(resource_group_name: Optional[pulumi.Input[str]] = None, tags_filter: Optional[pulumi.Input[Optional[Mapping[str, str]]]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetImagesResult]: @@ -132,4 +129,13 @@ def get_images_output(resource_group_name: Optional[pulumi.Input[str]] = None, :param str resource_group_name: The name of the Resource Group in which the Image exists. :param Mapping[str, str] tags_filter: A mapping of tags to filter the list of images against. """ - ... + __args__ = dict() + __args__['resourceGroupName'] = resource_group_name + __args__['tagsFilter'] = tags_filter + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:compute/getImages:getImages', __args__, opts=opts, typ=GetImagesResult) + return __ret__.apply(lambda __response__: GetImagesResult( + id=pulumi.get(__response__, 'id'), + images=pulumi.get(__response__, 'images'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + tags_filter=pulumi.get(__response__, 'tags_filter'))) diff --git a/sdk/python/pulumi_azure/compute/get_managed_disk.py b/sdk/python/pulumi_azure/compute/get_managed_disk.py index 10eb8b88d9..412843560f 100644 --- a/sdk/python/pulumi_azure/compute/get_managed_disk.py +++ b/sdk/python/pulumi_azure/compute/get_managed_disk.py @@ -304,9 +304,6 @@ def get_managed_disk(name: Optional[str] = None, storage_account_type=pulumi.get(__ret__, 'storage_account_type'), tags=pulumi.get(__ret__, 'tags'), zones=pulumi.get(__ret__, 'zones')) - - -@_utilities.lift_output_func(get_managed_disk) def get_managed_disk_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetManagedDiskResult]: @@ -328,4 +325,28 @@ def get_managed_disk_output(name: Optional[pulumi.Input[str]] = None, :param str name: Specifies the name of the Managed Disk. :param str resource_group_name: Specifies the name of the Resource Group where this Managed Disk exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:compute/getManagedDisk:getManagedDisk', __args__, opts=opts, typ=GetManagedDiskResult) + return __ret__.apply(lambda __response__: GetManagedDiskResult( + create_option=pulumi.get(__response__, 'create_option'), + disk_access_id=pulumi.get(__response__, 'disk_access_id'), + disk_encryption_set_id=pulumi.get(__response__, 'disk_encryption_set_id'), + disk_iops_read_write=pulumi.get(__response__, 'disk_iops_read_write'), + disk_mbps_read_write=pulumi.get(__response__, 'disk_mbps_read_write'), + disk_size_gb=pulumi.get(__response__, 'disk_size_gb'), + encryption_settings=pulumi.get(__response__, 'encryption_settings'), + id=pulumi.get(__response__, 'id'), + image_reference_id=pulumi.get(__response__, 'image_reference_id'), + name=pulumi.get(__response__, 'name'), + network_access_policy=pulumi.get(__response__, 'network_access_policy'), + os_type=pulumi.get(__response__, 'os_type'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + source_resource_id=pulumi.get(__response__, 'source_resource_id'), + source_uri=pulumi.get(__response__, 'source_uri'), + storage_account_id=pulumi.get(__response__, 'storage_account_id'), + storage_account_type=pulumi.get(__response__, 'storage_account_type'), + tags=pulumi.get(__response__, 'tags'), + zones=pulumi.get(__response__, 'zones'))) diff --git a/sdk/python/pulumi_azure/compute/get_orchestrated_virtual_machine_scale_set.py b/sdk/python/pulumi_azure/compute/get_orchestrated_virtual_machine_scale_set.py index 4b2b8065a5..651bd7857c 100644 --- a/sdk/python/pulumi_azure/compute/get_orchestrated_virtual_machine_scale_set.py +++ b/sdk/python/pulumi_azure/compute/get_orchestrated_virtual_machine_scale_set.py @@ -141,9 +141,6 @@ def get_orchestrated_virtual_machine_scale_set(name: Optional[str] = None, name=pulumi.get(__ret__, 'name'), network_interfaces=pulumi.get(__ret__, 'network_interfaces'), resource_group_name=pulumi.get(__ret__, 'resource_group_name')) - - -@_utilities.lift_output_func(get_orchestrated_virtual_machine_scale_set) def get_orchestrated_virtual_machine_scale_set_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetOrchestratedVirtualMachineScaleSetResult]: @@ -165,4 +162,15 @@ def get_orchestrated_virtual_machine_scale_set_output(name: Optional[pulumi.Inpu :param str name: The name of this Orchestrated Virtual Machine Scale Set. :param str resource_group_name: The name of the Resource Group where the Orchestrated Virtual Machine Scale Set exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:compute/getOrchestratedVirtualMachineScaleSet:getOrchestratedVirtualMachineScaleSet', __args__, opts=opts, typ=GetOrchestratedVirtualMachineScaleSetResult) + return __ret__.apply(lambda __response__: GetOrchestratedVirtualMachineScaleSetResult( + id=pulumi.get(__response__, 'id'), + identities=pulumi.get(__response__, 'identities'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + network_interfaces=pulumi.get(__response__, 'network_interfaces'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'))) diff --git a/sdk/python/pulumi_azure/compute/get_platform_image.py b/sdk/python/pulumi_azure/compute/get_platform_image.py index e875b7d05e..e5f0eeefe0 100644 --- a/sdk/python/pulumi_azure/compute/get_platform_image.py +++ b/sdk/python/pulumi_azure/compute/get_platform_image.py @@ -139,9 +139,6 @@ def get_platform_image(location: Optional[str] = None, publisher=pulumi.get(__ret__, 'publisher'), sku=pulumi.get(__ret__, 'sku'), version=pulumi.get(__ret__, 'version')) - - -@_utilities.lift_output_func(get_platform_image) def get_platform_image_output(location: Optional[pulumi.Input[str]] = None, offer: Optional[pulumi.Input[str]] = None, publisher: Optional[pulumi.Input[str]] = None, @@ -171,4 +168,18 @@ def get_platform_image_output(location: Optional[pulumi.Input[str]] = None, :param str sku: Specifies the SKU of the Platform Image. :param str version: The version of the Platform Image. """ - ... + __args__ = dict() + __args__['location'] = location + __args__['offer'] = offer + __args__['publisher'] = publisher + __args__['sku'] = sku + __args__['version'] = version + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:compute/getPlatformImage:getPlatformImage', __args__, opts=opts, typ=GetPlatformImageResult) + return __ret__.apply(lambda __response__: GetPlatformImageResult( + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + offer=pulumi.get(__response__, 'offer'), + publisher=pulumi.get(__response__, 'publisher'), + sku=pulumi.get(__response__, 'sku'), + version=pulumi.get(__response__, 'version'))) diff --git a/sdk/python/pulumi_azure/compute/get_shared_image.py b/sdk/python/pulumi_azure/compute/get_shared_image.py index 321af4ceef..f0f161f754 100644 --- a/sdk/python/pulumi_azure/compute/get_shared_image.py +++ b/sdk/python/pulumi_azure/compute/get_shared_image.py @@ -346,9 +346,6 @@ def get_shared_image(gallery_name: Optional[str] = None, tags=pulumi.get(__ret__, 'tags'), trusted_launch_enabled=pulumi.get(__ret__, 'trusted_launch_enabled'), trusted_launch_supported=pulumi.get(__ret__, 'trusted_launch_supported')) - - -@_utilities.lift_output_func(get_shared_image) def get_shared_image_output(gallery_name: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, @@ -372,4 +369,32 @@ def get_shared_image_output(gallery_name: Optional[pulumi.Input[str]] = None, :param str name: The name of the Shared Image. :param str resource_group_name: The name of the Resource Group in which the Shared Image Gallery exists. """ - ... + __args__ = dict() + __args__['galleryName'] = gallery_name + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:compute/getSharedImage:getSharedImage', __args__, opts=opts, typ=GetSharedImageResult) + return __ret__.apply(lambda __response__: GetSharedImageResult( + accelerated_network_support_enabled=pulumi.get(__response__, 'accelerated_network_support_enabled'), + architecture=pulumi.get(__response__, 'architecture'), + confidential_vm_enabled=pulumi.get(__response__, 'confidential_vm_enabled'), + confidential_vm_supported=pulumi.get(__response__, 'confidential_vm_supported'), + description=pulumi.get(__response__, 'description'), + eula=pulumi.get(__response__, 'eula'), + gallery_name=pulumi.get(__response__, 'gallery_name'), + hibernation_enabled=pulumi.get(__response__, 'hibernation_enabled'), + hyper_v_generation=pulumi.get(__response__, 'hyper_v_generation'), + id=pulumi.get(__response__, 'id'), + identifiers=pulumi.get(__response__, 'identifiers'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + os_type=pulumi.get(__response__, 'os_type'), + privacy_statement_uri=pulumi.get(__response__, 'privacy_statement_uri'), + purchase_plans=pulumi.get(__response__, 'purchase_plans'), + release_note_uri=pulumi.get(__response__, 'release_note_uri'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + specialized=pulumi.get(__response__, 'specialized'), + tags=pulumi.get(__response__, 'tags'), + trusted_launch_enabled=pulumi.get(__response__, 'trusted_launch_enabled'), + trusted_launch_supported=pulumi.get(__response__, 'trusted_launch_supported'))) diff --git a/sdk/python/pulumi_azure/compute/get_shared_image_gallery.py b/sdk/python/pulumi_azure/compute/get_shared_image_gallery.py index 37ed2757d7..6977893727 100644 --- a/sdk/python/pulumi_azure/compute/get_shared_image_gallery.py +++ b/sdk/python/pulumi_azure/compute/get_shared_image_gallery.py @@ -159,9 +159,6 @@ def get_shared_image_gallery(name: Optional[str] = None, resource_group_name=pulumi.get(__ret__, 'resource_group_name'), tags=pulumi.get(__ret__, 'tags'), unique_name=pulumi.get(__ret__, 'unique_name')) - - -@_utilities.lift_output_func(get_shared_image_gallery) def get_shared_image_gallery_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSharedImageGalleryResult]: @@ -182,4 +179,17 @@ def get_shared_image_gallery_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of the Shared Image Gallery. :param str resource_group_name: The name of the Resource Group in which the Shared Image Gallery exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:compute/getSharedImageGallery:getSharedImageGallery', __args__, opts=opts, typ=GetSharedImageGalleryResult) + return __ret__.apply(lambda __response__: GetSharedImageGalleryResult( + description=pulumi.get(__response__, 'description'), + id=pulumi.get(__response__, 'id'), + image_names=pulumi.get(__response__, 'image_names'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + tags=pulumi.get(__response__, 'tags'), + unique_name=pulumi.get(__response__, 'unique_name'))) diff --git a/sdk/python/pulumi_azure/compute/get_shared_image_version.py b/sdk/python/pulumi_azure/compute/get_shared_image_version.py index 30c09bdae8..12ba1ae6c3 100644 --- a/sdk/python/pulumi_azure/compute/get_shared_image_version.py +++ b/sdk/python/pulumi_azure/compute/get_shared_image_version.py @@ -240,9 +240,6 @@ def get_shared_image_version(gallery_name: Optional[str] = None, sort_versions_by_semver=pulumi.get(__ret__, 'sort_versions_by_semver'), tags=pulumi.get(__ret__, 'tags'), target_regions=pulumi.get(__ret__, 'target_regions')) - - -@_utilities.lift_output_func(get_shared_image_version) def get_shared_image_version_output(gallery_name: Optional[pulumi.Input[str]] = None, image_name: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, @@ -277,4 +274,26 @@ def get_shared_image_version_output(gallery_name: Optional[pulumi.Input[str]] = :param bool sort_versions_by_semver: Sort available versions taking SemVer versioning scheme into account. Defaults to `false`. :param Mapping[str, str] tags: A mapping of tags assigned to the Shared Image. """ - ... + __args__ = dict() + __args__['galleryName'] = gallery_name + __args__['imageName'] = image_name + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + __args__['sortVersionsBySemver'] = sort_versions_by_semver + __args__['tags'] = tags + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:compute/getSharedImageVersion:getSharedImageVersion', __args__, opts=opts, typ=GetSharedImageVersionResult) + return __ret__.apply(lambda __response__: GetSharedImageVersionResult( + exclude_from_latest=pulumi.get(__response__, 'exclude_from_latest'), + gallery_name=pulumi.get(__response__, 'gallery_name'), + id=pulumi.get(__response__, 'id'), + image_name=pulumi.get(__response__, 'image_name'), + location=pulumi.get(__response__, 'location'), + managed_image_id=pulumi.get(__response__, 'managed_image_id'), + name=pulumi.get(__response__, 'name'), + os_disk_image_size_gb=pulumi.get(__response__, 'os_disk_image_size_gb'), + os_disk_snapshot_id=pulumi.get(__response__, 'os_disk_snapshot_id'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + sort_versions_by_semver=pulumi.get(__response__, 'sort_versions_by_semver'), + tags=pulumi.get(__response__, 'tags'), + target_regions=pulumi.get(__response__, 'target_regions'))) diff --git a/sdk/python/pulumi_azure/compute/get_shared_image_versions.py b/sdk/python/pulumi_azure/compute/get_shared_image_versions.py index 0d4b1120af..504f89f503 100644 --- a/sdk/python/pulumi_azure/compute/get_shared_image_versions.py +++ b/sdk/python/pulumi_azure/compute/get_shared_image_versions.py @@ -138,9 +138,6 @@ def get_shared_image_versions(gallery_name: Optional[str] = None, images=pulumi.get(__ret__, 'images'), resource_group_name=pulumi.get(__ret__, 'resource_group_name'), tags_filter=pulumi.get(__ret__, 'tags_filter')) - - -@_utilities.lift_output_func(get_shared_image_versions) def get_shared_image_versions_output(gallery_name: Optional[pulumi.Input[str]] = None, image_name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, @@ -166,4 +163,17 @@ def get_shared_image_versions_output(gallery_name: Optional[pulumi.Input[str]] = :param str resource_group_name: The name of the Resource Group in which the Shared Image Gallery exists. :param Mapping[str, str] tags_filter: A mapping of tags to filter the list of images against. """ - ... + __args__ = dict() + __args__['galleryName'] = gallery_name + __args__['imageName'] = image_name + __args__['resourceGroupName'] = resource_group_name + __args__['tagsFilter'] = tags_filter + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:compute/getSharedImageVersions:getSharedImageVersions', __args__, opts=opts, typ=GetSharedImageVersionsResult) + return __ret__.apply(lambda __response__: GetSharedImageVersionsResult( + gallery_name=pulumi.get(__response__, 'gallery_name'), + id=pulumi.get(__response__, 'id'), + image_name=pulumi.get(__response__, 'image_name'), + images=pulumi.get(__response__, 'images'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + tags_filter=pulumi.get(__response__, 'tags_filter'))) diff --git a/sdk/python/pulumi_azure/compute/get_snapshot.py b/sdk/python/pulumi_azure/compute/get_snapshot.py index 27955ec0f9..63827419a3 100644 --- a/sdk/python/pulumi_azure/compute/get_snapshot.py +++ b/sdk/python/pulumi_azure/compute/get_snapshot.py @@ -203,9 +203,6 @@ def get_snapshot(name: Optional[str] = None, storage_account_id=pulumi.get(__ret__, 'storage_account_id'), time_created=pulumi.get(__ret__, 'time_created'), trusted_launch_enabled=pulumi.get(__ret__, 'trusted_launch_enabled')) - - -@_utilities.lift_output_func(get_snapshot) def get_snapshot_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSnapshotResult]: @@ -226,4 +223,21 @@ def get_snapshot_output(name: Optional[pulumi.Input[str]] = None, :param str name: Specifies the name of the Snapshot. :param str resource_group_name: Specifies the name of the resource group the Snapshot is located in. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:compute/getSnapshot:getSnapshot', __args__, opts=opts, typ=GetSnapshotResult) + return __ret__.apply(lambda __response__: GetSnapshotResult( + creation_option=pulumi.get(__response__, 'creation_option'), + disk_size_gb=pulumi.get(__response__, 'disk_size_gb'), + encryption_settings=pulumi.get(__response__, 'encryption_settings'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + os_type=pulumi.get(__response__, 'os_type'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + source_resource_id=pulumi.get(__response__, 'source_resource_id'), + source_uri=pulumi.get(__response__, 'source_uri'), + storage_account_id=pulumi.get(__response__, 'storage_account_id'), + time_created=pulumi.get(__response__, 'time_created'), + trusted_launch_enabled=pulumi.get(__response__, 'trusted_launch_enabled'))) diff --git a/sdk/python/pulumi_azure/compute/get_ssh_public_key.py b/sdk/python/pulumi_azure/compute/get_ssh_public_key.py index bb2e30a4b0..534a20ae7a 100644 --- a/sdk/python/pulumi_azure/compute/get_ssh_public_key.py +++ b/sdk/python/pulumi_azure/compute/get_ssh_public_key.py @@ -124,9 +124,6 @@ def get_ssh_public_key(name: Optional[str] = None, public_key=pulumi.get(__ret__, 'public_key'), resource_group_name=pulumi.get(__ret__, 'resource_group_name'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_ssh_public_key) def get_ssh_public_key_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, tags: Optional[pulumi.Input[Optional[Mapping[str, str]]]] = None, @@ -150,4 +147,15 @@ def get_ssh_public_key_output(name: Optional[pulumi.Input[str]] = None, :param str resource_group_name: The name of the Resource Group where the SSH Public Key exists. :param Mapping[str, str] tags: A mapping of tags which should be assigned to the SSH Public Key. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + __args__['tags'] = tags + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:compute/getSshPublicKey:getSshPublicKey', __args__, opts=opts, typ=GetSshPublicKeyResult) + return __ret__.apply(lambda __response__: GetSshPublicKeyResult( + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + public_key=pulumi.get(__response__, 'public_key'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_azure/compute/get_virtual_machine.py b/sdk/python/pulumi_azure/compute/get_virtual_machine.py index c3b3669ec2..2c1a90c9aa 100644 --- a/sdk/python/pulumi_azure/compute/get_virtual_machine.py +++ b/sdk/python/pulumi_azure/compute/get_virtual_machine.py @@ -187,9 +187,6 @@ def get_virtual_machine(name: Optional[str] = None, public_ip_address=pulumi.get(__ret__, 'public_ip_address'), public_ip_addresses=pulumi.get(__ret__, 'public_ip_addresses'), resource_group_name=pulumi.get(__ret__, 'resource_group_name')) - - -@_utilities.lift_output_func(get_virtual_machine) def get_virtual_machine_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetVirtualMachineResult]: @@ -211,4 +208,19 @@ def get_virtual_machine_output(name: Optional[pulumi.Input[str]] = None, :param str name: Specifies the name of the Virtual Machine. :param str resource_group_name: Specifies the name of the resource group the Virtual Machine is located in. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:compute/getVirtualMachine:getVirtualMachine', __args__, opts=opts, typ=GetVirtualMachineResult) + return __ret__.apply(lambda __response__: GetVirtualMachineResult( + id=pulumi.get(__response__, 'id'), + identities=pulumi.get(__response__, 'identities'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + power_state=pulumi.get(__response__, 'power_state'), + private_ip_address=pulumi.get(__response__, 'private_ip_address'), + private_ip_addresses=pulumi.get(__response__, 'private_ip_addresses'), + public_ip_address=pulumi.get(__response__, 'public_ip_address'), + public_ip_addresses=pulumi.get(__response__, 'public_ip_addresses'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'))) diff --git a/sdk/python/pulumi_azure/compute/get_virtual_machine_scale_set.py b/sdk/python/pulumi_azure/compute/get_virtual_machine_scale_set.py index 6e4de821e1..5871e39f61 100644 --- a/sdk/python/pulumi_azure/compute/get_virtual_machine_scale_set.py +++ b/sdk/python/pulumi_azure/compute/get_virtual_machine_scale_set.py @@ -154,9 +154,6 @@ def get_virtual_machine_scale_set(name: Optional[str] = None, name=pulumi.get(__ret__, 'name'), network_interfaces=pulumi.get(__ret__, 'network_interfaces'), resource_group_name=pulumi.get(__ret__, 'resource_group_name')) - - -@_utilities.lift_output_func(get_virtual_machine_scale_set) def get_virtual_machine_scale_set_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetVirtualMachineScaleSetResult]: @@ -178,4 +175,16 @@ def get_virtual_machine_scale_set_output(name: Optional[pulumi.Input[str]] = Non :param str name: The name of this Virtual Machine Scale Set. :param str resource_group_name: The name of the Resource Group where the Virtual Machine Scale Set exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:compute/getVirtualMachineScaleSet:getVirtualMachineScaleSet', __args__, opts=opts, typ=GetVirtualMachineScaleSetResult) + return __ret__.apply(lambda __response__: GetVirtualMachineScaleSetResult( + id=pulumi.get(__response__, 'id'), + identities=pulumi.get(__response__, 'identities'), + instances=pulumi.get(__response__, 'instances'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + network_interfaces=pulumi.get(__response__, 'network_interfaces'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'))) diff --git a/sdk/python/pulumi_azure/connections/get_managed_api.py b/sdk/python/pulumi_azure/connections/get_managed_api.py index 252faf6634..691b2ed416 100644 --- a/sdk/python/pulumi_azure/connections/get_managed_api.py +++ b/sdk/python/pulumi_azure/connections/get_managed_api.py @@ -108,9 +108,6 @@ def get_managed_api(location: Optional[str] = None, location=pulumi.get(__ret__, 'location'), name=pulumi.get(__ret__, 'name'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_managed_api) def get_managed_api_output(location: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetManagedApiResult]: @@ -132,4 +129,13 @@ def get_managed_api_output(location: Optional[pulumi.Input[str]] = None, :param str location: The Azure location for this Managed API. :param str name: Specifies the name of the Managed API. """ - ... + __args__ = dict() + __args__['location'] = location + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:connections/getManagedApi:getManagedApi', __args__, opts=opts, typ=GetManagedApiResult) + return __ret__.apply(lambda __response__: GetManagedApiResult( + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_azure/consumption/get_budget_resource_group.py b/sdk/python/pulumi_azure/consumption/get_budget_resource_group.py index d2557ee53e..d6f257d320 100644 --- a/sdk/python/pulumi_azure/consumption/get_budget_resource_group.py +++ b/sdk/python/pulumi_azure/consumption/get_budget_resource_group.py @@ -167,9 +167,6 @@ def get_budget_resource_group(name: Optional[str] = None, resource_group_id=pulumi.get(__ret__, 'resource_group_id'), time_grain=pulumi.get(__ret__, 'time_grain'), time_periods=pulumi.get(__ret__, 'time_periods')) - - -@_utilities.lift_output_func(get_budget_resource_group) def get_budget_resource_group_output(name: Optional[pulumi.Input[str]] = None, resource_group_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetBudgetResourceGroupResult]: @@ -191,4 +188,17 @@ def get_budget_resource_group_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of this Consumption Budget. :param str resource_group_id: The ID of the subscription. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupId'] = resource_group_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:consumption/getBudgetResourceGroup:getBudgetResourceGroup', __args__, opts=opts, typ=GetBudgetResourceGroupResult) + return __ret__.apply(lambda __response__: GetBudgetResourceGroupResult( + amount=pulumi.get(__response__, 'amount'), + filters=pulumi.get(__response__, 'filters'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + notifications=pulumi.get(__response__, 'notifications'), + resource_group_id=pulumi.get(__response__, 'resource_group_id'), + time_grain=pulumi.get(__response__, 'time_grain'), + time_periods=pulumi.get(__response__, 'time_periods'))) diff --git a/sdk/python/pulumi_azure/consumption/get_budget_subscription.py b/sdk/python/pulumi_azure/consumption/get_budget_subscription.py index fb33369f0f..13cb5b3205 100644 --- a/sdk/python/pulumi_azure/consumption/get_budget_subscription.py +++ b/sdk/python/pulumi_azure/consumption/get_budget_subscription.py @@ -167,9 +167,6 @@ def get_budget_subscription(name: Optional[str] = None, subscription_id=pulumi.get(__ret__, 'subscription_id'), time_grain=pulumi.get(__ret__, 'time_grain'), time_periods=pulumi.get(__ret__, 'time_periods')) - - -@_utilities.lift_output_func(get_budget_subscription) def get_budget_subscription_output(name: Optional[pulumi.Input[str]] = None, subscription_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetBudgetSubscriptionResult]: @@ -191,4 +188,17 @@ def get_budget_subscription_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of this Consumption Budget. :param str subscription_id: The ID of the subscription. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['subscriptionId'] = subscription_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:consumption/getBudgetSubscription:getBudgetSubscription', __args__, opts=opts, typ=GetBudgetSubscriptionResult) + return __ret__.apply(lambda __response__: GetBudgetSubscriptionResult( + amount=pulumi.get(__response__, 'amount'), + filters=pulumi.get(__response__, 'filters'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + notifications=pulumi.get(__response__, 'notifications'), + subscription_id=pulumi.get(__response__, 'subscription_id'), + time_grain=pulumi.get(__response__, 'time_grain'), + time_periods=pulumi.get(__response__, 'time_periods'))) diff --git a/sdk/python/pulumi_azure/containerapp/get_app.py b/sdk/python/pulumi_azure/containerapp/get_app.py index 51ffcff954..806e8d8b53 100644 --- a/sdk/python/pulumi_azure/containerapp/get_app.py +++ b/sdk/python/pulumi_azure/containerapp/get_app.py @@ -281,9 +281,6 @@ def get_app(name: Optional[str] = None, tags=pulumi.get(__ret__, 'tags'), templates=pulumi.get(__ret__, 'templates'), workload_profile_name=pulumi.get(__ret__, 'workload_profile_name')) - - -@_utilities.lift_output_func(get_app) def get_app_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAppResult]: @@ -304,4 +301,27 @@ def get_app_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of the Container App. :param str resource_group_name: The name of the Resource Group where this Container App exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:containerapp/getApp:getApp', __args__, opts=opts, typ=GetAppResult) + return __ret__.apply(lambda __response__: GetAppResult( + container_app_environment_id=pulumi.get(__response__, 'container_app_environment_id'), + custom_domain_verification_id=pulumi.get(__response__, 'custom_domain_verification_id'), + daprs=pulumi.get(__response__, 'daprs'), + id=pulumi.get(__response__, 'id'), + identities=pulumi.get(__response__, 'identities'), + ingresses=pulumi.get(__response__, 'ingresses'), + latest_revision_fqdn=pulumi.get(__response__, 'latest_revision_fqdn'), + latest_revision_name=pulumi.get(__response__, 'latest_revision_name'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + outbound_ip_addresses=pulumi.get(__response__, 'outbound_ip_addresses'), + registries=pulumi.get(__response__, 'registries'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + revision_mode=pulumi.get(__response__, 'revision_mode'), + secrets=pulumi.get(__response__, 'secrets'), + tags=pulumi.get(__response__, 'tags'), + templates=pulumi.get(__response__, 'templates'), + workload_profile_name=pulumi.get(__response__, 'workload_profile_name'))) diff --git a/sdk/python/pulumi_azure/containerapp/get_environment.py b/sdk/python/pulumi_azure/containerapp/get_environment.py index 27ac06b5d8..8cc398a21d 100644 --- a/sdk/python/pulumi_azure/containerapp/get_environment.py +++ b/sdk/python/pulumi_azure/containerapp/get_environment.py @@ -240,9 +240,6 @@ def get_environment(name: Optional[str] = None, resource_group_name=pulumi.get(__ret__, 'resource_group_name'), static_ip_address=pulumi.get(__ret__, 'static_ip_address'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_environment) def get_environment_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetEnvironmentResult]: @@ -263,4 +260,23 @@ def get_environment_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of the Container Apps Managed Environment. :param str resource_group_name: The name of the Resource Group where this Container App Environment exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:containerapp/getEnvironment:getEnvironment', __args__, opts=opts, typ=GetEnvironmentResult) + return __ret__.apply(lambda __response__: GetEnvironmentResult( + custom_domain_verification_id=pulumi.get(__response__, 'custom_domain_verification_id'), + default_domain=pulumi.get(__response__, 'default_domain'), + docker_bridge_cidr=pulumi.get(__response__, 'docker_bridge_cidr'), + id=pulumi.get(__response__, 'id'), + infrastructure_subnet_id=pulumi.get(__response__, 'infrastructure_subnet_id'), + internal_load_balancer_enabled=pulumi.get(__response__, 'internal_load_balancer_enabled'), + location=pulumi.get(__response__, 'location'), + log_analytics_workspace_name=pulumi.get(__response__, 'log_analytics_workspace_name'), + name=pulumi.get(__response__, 'name'), + platform_reserved_cidr=pulumi.get(__response__, 'platform_reserved_cidr'), + platform_reserved_dns_ip_address=pulumi.get(__response__, 'platform_reserved_dns_ip_address'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + static_ip_address=pulumi.get(__response__, 'static_ip_address'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_azure/containerapp/get_environment_certificate.py b/sdk/python/pulumi_azure/containerapp/get_environment_certificate.py index 92136f05dd..eab8843e23 100644 --- a/sdk/python/pulumi_azure/containerapp/get_environment_certificate.py +++ b/sdk/python/pulumi_azure/containerapp/get_environment_certificate.py @@ -177,9 +177,6 @@ def get_environment_certificate(container_app_environment_id: Optional[str] = No subject_name=pulumi.get(__ret__, 'subject_name'), tags=pulumi.get(__ret__, 'tags'), thumbprint=pulumi.get(__ret__, 'thumbprint')) - - -@_utilities.lift_output_func(get_environment_certificate) def get_environment_certificate_output(container_app_environment_id: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetEnvironmentCertificateResult]: @@ -202,4 +199,18 @@ def get_environment_certificate_output(container_app_environment_id: Optional[pu :param str container_app_environment_id: The ID of the Container App Environment to configure this Certificate on. Changing this forces a new resource to be created. :param str name: The name of the Container Apps Certificate. Changing this forces a new resource to be created. """ - ... + __args__ = dict() + __args__['containerAppEnvironmentId'] = container_app_environment_id + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:containerapp/getEnvironmentCertificate:getEnvironmentCertificate', __args__, opts=opts, typ=GetEnvironmentCertificateResult) + return __ret__.apply(lambda __response__: GetEnvironmentCertificateResult( + container_app_environment_id=pulumi.get(__response__, 'container_app_environment_id'), + expiration_date=pulumi.get(__response__, 'expiration_date'), + id=pulumi.get(__response__, 'id'), + issue_date=pulumi.get(__response__, 'issue_date'), + issuer=pulumi.get(__response__, 'issuer'), + name=pulumi.get(__response__, 'name'), + subject_name=pulumi.get(__response__, 'subject_name'), + tags=pulumi.get(__response__, 'tags'), + thumbprint=pulumi.get(__response__, 'thumbprint'))) diff --git a/sdk/python/pulumi_azure/containerservice/get_cluster_node_pool.py b/sdk/python/pulumi_azure/containerservice/get_cluster_node_pool.py index cf7de6c06d..094f98150a 100644 --- a/sdk/python/pulumi_azure/containerservice/get_cluster_node_pool.py +++ b/sdk/python/pulumi_azure/containerservice/get_cluster_node_pool.py @@ -412,9 +412,6 @@ def get_cluster_node_pool(kubernetes_cluster_name: Optional[str] = None, vm_size=pulumi.get(__ret__, 'vm_size'), vnet_subnet_id=pulumi.get(__ret__, 'vnet_subnet_id'), zones=pulumi.get(__ret__, 'zones')) - - -@_utilities.lift_output_func(get_cluster_node_pool) def get_cluster_node_pool_output(kubernetes_cluster_name: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, @@ -439,4 +436,37 @@ def get_cluster_node_pool_output(kubernetes_cluster_name: Optional[pulumi.Input[ :param str name: The name of this Kubernetes Cluster Node Pool. :param str resource_group_name: The name of the Resource Group where the Kubernetes Cluster exists. """ - ... + __args__ = dict() + __args__['kubernetesClusterName'] = kubernetes_cluster_name + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:containerservice/getClusterNodePool:getClusterNodePool', __args__, opts=opts, typ=GetClusterNodePoolResult) + return __ret__.apply(lambda __response__: GetClusterNodePoolResult( + auto_scaling_enabled=pulumi.get(__response__, 'auto_scaling_enabled'), + eviction_policy=pulumi.get(__response__, 'eviction_policy'), + id=pulumi.get(__response__, 'id'), + kubernetes_cluster_name=pulumi.get(__response__, 'kubernetes_cluster_name'), + max_count=pulumi.get(__response__, 'max_count'), + max_pods=pulumi.get(__response__, 'max_pods'), + min_count=pulumi.get(__response__, 'min_count'), + mode=pulumi.get(__response__, 'mode'), + name=pulumi.get(__response__, 'name'), + node_count=pulumi.get(__response__, 'node_count'), + node_labels=pulumi.get(__response__, 'node_labels'), + node_public_ip_enabled=pulumi.get(__response__, 'node_public_ip_enabled'), + node_public_ip_prefix_id=pulumi.get(__response__, 'node_public_ip_prefix_id'), + node_taints=pulumi.get(__response__, 'node_taints'), + orchestrator_version=pulumi.get(__response__, 'orchestrator_version'), + os_disk_size_gb=pulumi.get(__response__, 'os_disk_size_gb'), + os_disk_type=pulumi.get(__response__, 'os_disk_type'), + os_type=pulumi.get(__response__, 'os_type'), + priority=pulumi.get(__response__, 'priority'), + proximity_placement_group_id=pulumi.get(__response__, 'proximity_placement_group_id'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + spot_max_price=pulumi.get(__response__, 'spot_max_price'), + tags=pulumi.get(__response__, 'tags'), + upgrade_settings=pulumi.get(__response__, 'upgrade_settings'), + vm_size=pulumi.get(__response__, 'vm_size'), + vnet_subnet_id=pulumi.get(__response__, 'vnet_subnet_id'), + zones=pulumi.get(__response__, 'zones'))) diff --git a/sdk/python/pulumi_azure/containerservice/get_group.py b/sdk/python/pulumi_azure/containerservice/get_group.py index 5b90f4e47d..14640f2113 100644 --- a/sdk/python/pulumi_azure/containerservice/get_group.py +++ b/sdk/python/pulumi_azure/containerservice/get_group.py @@ -195,9 +195,6 @@ def get_group(name: Optional[str] = None, subnet_ids=pulumi.get(__ret__, 'subnet_ids'), tags=pulumi.get(__ret__, 'tags'), zones=pulumi.get(__ret__, 'zones')) - - -@_utilities.lift_output_func(get_group) def get_group_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, zones: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, @@ -223,4 +220,20 @@ def get_group_output(name: Optional[pulumi.Input[str]] = None, :param str resource_group_name: The name of the Resource Group where the Container Group instance exists. :param Sequence[str] zones: A list of Availability Zones in which this Container Group is located. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + __args__['zones'] = zones + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:containerservice/getGroup:getGroup', __args__, opts=opts, typ=GetGroupResult) + return __ret__.apply(lambda __response__: GetGroupResult( + fqdn=pulumi.get(__response__, 'fqdn'), + id=pulumi.get(__response__, 'id'), + identities=pulumi.get(__response__, 'identities'), + ip_address=pulumi.get(__response__, 'ip_address'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + subnet_ids=pulumi.get(__response__, 'subnet_ids'), + tags=pulumi.get(__response__, 'tags'), + zones=pulumi.get(__response__, 'zones'))) diff --git a/sdk/python/pulumi_azure/containerservice/get_kubernetes_cluster.py b/sdk/python/pulumi_azure/containerservice/get_kubernetes_cluster.py index 3c1439dfe2..3fdb8fd963 100644 --- a/sdk/python/pulumi_azure/containerservice/get_kubernetes_cluster.py +++ b/sdk/python/pulumi_azure/containerservice/get_kubernetes_cluster.py @@ -605,9 +605,6 @@ def get_kubernetes_cluster(name: Optional[str] = None, storage_profiles=pulumi.get(__ret__, 'storage_profiles'), tags=pulumi.get(__ret__, 'tags'), windows_profiles=pulumi.get(__ret__, 'windows_profiles')) - - -@_utilities.lift_output_func(get_kubernetes_cluster) def get_kubernetes_cluster_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetKubernetesClusterResult]: @@ -628,4 +625,51 @@ def get_kubernetes_cluster_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of the managed Kubernetes Cluster. :param str resource_group_name: The name of the Resource Group in which the managed Kubernetes Cluster exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:containerservice/getKubernetesCluster:getKubernetesCluster', __args__, opts=opts, typ=GetKubernetesClusterResult) + return __ret__.apply(lambda __response__: GetKubernetesClusterResult( + aci_connector_linuxes=pulumi.get(__response__, 'aci_connector_linuxes'), + agent_pool_profiles=pulumi.get(__response__, 'agent_pool_profiles'), + api_server_authorized_ip_ranges=pulumi.get(__response__, 'api_server_authorized_ip_ranges'), + azure_active_directory_role_based_access_controls=pulumi.get(__response__, 'azure_active_directory_role_based_access_controls'), + azure_policy_enabled=pulumi.get(__response__, 'azure_policy_enabled'), + current_kubernetes_version=pulumi.get(__response__, 'current_kubernetes_version'), + disk_encryption_set_id=pulumi.get(__response__, 'disk_encryption_set_id'), + dns_prefix=pulumi.get(__response__, 'dns_prefix'), + fqdn=pulumi.get(__response__, 'fqdn'), + http_application_routing_enabled=pulumi.get(__response__, 'http_application_routing_enabled'), + http_application_routing_zone_name=pulumi.get(__response__, 'http_application_routing_zone_name'), + id=pulumi.get(__response__, 'id'), + identities=pulumi.get(__response__, 'identities'), + ingress_application_gateways=pulumi.get(__response__, 'ingress_application_gateways'), + key_management_services=pulumi.get(__response__, 'key_management_services'), + key_vault_secrets_providers=pulumi.get(__response__, 'key_vault_secrets_providers'), + kube_admin_config_raw=pulumi.get(__response__, 'kube_admin_config_raw'), + kube_admin_configs=pulumi.get(__response__, 'kube_admin_configs'), + kube_config_raw=pulumi.get(__response__, 'kube_config_raw'), + kube_configs=pulumi.get(__response__, 'kube_configs'), + kubelet_identities=pulumi.get(__response__, 'kubelet_identities'), + kubernetes_version=pulumi.get(__response__, 'kubernetes_version'), + linux_profiles=pulumi.get(__response__, 'linux_profiles'), + location=pulumi.get(__response__, 'location'), + microsoft_defenders=pulumi.get(__response__, 'microsoft_defenders'), + name=pulumi.get(__response__, 'name'), + network_profiles=pulumi.get(__response__, 'network_profiles'), + node_resource_group=pulumi.get(__response__, 'node_resource_group'), + node_resource_group_id=pulumi.get(__response__, 'node_resource_group_id'), + oidc_issuer_enabled=pulumi.get(__response__, 'oidc_issuer_enabled'), + oidc_issuer_url=pulumi.get(__response__, 'oidc_issuer_url'), + oms_agents=pulumi.get(__response__, 'oms_agents'), + open_service_mesh_enabled=pulumi.get(__response__, 'open_service_mesh_enabled'), + private_cluster_enabled=pulumi.get(__response__, 'private_cluster_enabled'), + private_fqdn=pulumi.get(__response__, 'private_fqdn'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + role_based_access_control_enabled=pulumi.get(__response__, 'role_based_access_control_enabled'), + service_mesh_profiles=pulumi.get(__response__, 'service_mesh_profiles'), + service_principals=pulumi.get(__response__, 'service_principals'), + storage_profiles=pulumi.get(__response__, 'storage_profiles'), + tags=pulumi.get(__response__, 'tags'), + windows_profiles=pulumi.get(__response__, 'windows_profiles'))) diff --git a/sdk/python/pulumi_azure/containerservice/get_kubernetes_node_pool_snapshot.py b/sdk/python/pulumi_azure/containerservice/get_kubernetes_node_pool_snapshot.py index def803284c..7bb216c9d3 100644 --- a/sdk/python/pulumi_azure/containerservice/get_kubernetes_node_pool_snapshot.py +++ b/sdk/python/pulumi_azure/containerservice/get_kubernetes_node_pool_snapshot.py @@ -120,9 +120,6 @@ def get_kubernetes_node_pool_snapshot(name: Optional[str] = None, resource_group_name=pulumi.get(__ret__, 'resource_group_name'), source_node_pool_id=pulumi.get(__ret__, 'source_node_pool_id'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_kubernetes_node_pool_snapshot) def get_kubernetes_node_pool_snapshot_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetKubernetesNodePoolSnapshotResult]: @@ -143,4 +140,14 @@ def get_kubernetes_node_pool_snapshot_output(name: Optional[pulumi.Input[str]] = :param str name: The name of the Kubernetes Node Pool Snapshot. :param str resource_group_name: The name of the Resource Group in which the Kubernetes Node Pool Snapshot exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:containerservice/getKubernetesNodePoolSnapshot:getKubernetesNodePoolSnapshot', __args__, opts=opts, typ=GetKubernetesNodePoolSnapshotResult) + return __ret__.apply(lambda __response__: GetKubernetesNodePoolSnapshotResult( + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + source_node_pool_id=pulumi.get(__response__, 'source_node_pool_id'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_azure/containerservice/get_kubernetes_service_versions.py b/sdk/python/pulumi_azure/containerservice/get_kubernetes_service_versions.py index b5e7aa40fb..b68c2eb153 100644 --- a/sdk/python/pulumi_azure/containerservice/get_kubernetes_service_versions.py +++ b/sdk/python/pulumi_azure/containerservice/get_kubernetes_service_versions.py @@ -150,9 +150,6 @@ def get_kubernetes_service_versions(include_preview: Optional[bool] = None, location=pulumi.get(__ret__, 'location'), version_prefix=pulumi.get(__ret__, 'version_prefix'), versions=pulumi.get(__ret__, 'versions')) - - -@_utilities.lift_output_func(get_kubernetes_service_versions) def get_kubernetes_service_versions_output(include_preview: Optional[pulumi.Input[Optional[bool]]] = None, location: Optional[pulumi.Input[str]] = None, version_prefix: Optional[pulumi.Input[Optional[str]]] = None, @@ -176,4 +173,17 @@ def get_kubernetes_service_versions_output(include_preview: Optional[pulumi.Inpu :param str location: Specifies the location in which to query for versions. :param str version_prefix: A prefix filter for the versions of Kubernetes which should be returned; for example `1.` will return `1.9` to `1.14`, whereas `1.12` will return `1.12.2`. """ - ... + __args__ = dict() + __args__['includePreview'] = include_preview + __args__['location'] = location + __args__['versionPrefix'] = version_prefix + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:containerservice/getKubernetesServiceVersions:getKubernetesServiceVersions', __args__, opts=opts, typ=GetKubernetesServiceVersionsResult) + return __ret__.apply(lambda __response__: GetKubernetesServiceVersionsResult( + default_version=pulumi.get(__response__, 'default_version'), + id=pulumi.get(__response__, 'id'), + include_preview=pulumi.get(__response__, 'include_preview'), + latest_version=pulumi.get(__response__, 'latest_version'), + location=pulumi.get(__response__, 'location'), + version_prefix=pulumi.get(__response__, 'version_prefix'), + versions=pulumi.get(__response__, 'versions'))) diff --git a/sdk/python/pulumi_azure/containerservice/get_registry.py b/sdk/python/pulumi_azure/containerservice/get_registry.py index ba7d8669ff..f0f1e53349 100644 --- a/sdk/python/pulumi_azure/containerservice/get_registry.py +++ b/sdk/python/pulumi_azure/containerservice/get_registry.py @@ -202,9 +202,6 @@ def get_registry(name: Optional[str] = None, resource_group_name=pulumi.get(__ret__, 'resource_group_name'), sku=pulumi.get(__ret__, 'sku'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_registry) def get_registry_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRegistryResult]: @@ -226,4 +223,20 @@ def get_registry_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of the Container Registry. :param str resource_group_name: The Name of the Resource Group where this Container Registry exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:containerservice/getRegistry:getRegistry', __args__, opts=opts, typ=GetRegistryResult) + return __ret__.apply(lambda __response__: GetRegistryResult( + admin_enabled=pulumi.get(__response__, 'admin_enabled'), + admin_password=pulumi.get(__response__, 'admin_password'), + admin_username=pulumi.get(__response__, 'admin_username'), + data_endpoint_enabled=pulumi.get(__response__, 'data_endpoint_enabled'), + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + login_server=pulumi.get(__response__, 'login_server'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + sku=pulumi.get(__response__, 'sku'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_azure/containerservice/get_registry_cache_rule.py b/sdk/python/pulumi_azure/containerservice/get_registry_cache_rule.py index 19085da311..9c9bb7d625 100644 --- a/sdk/python/pulumi_azure/containerservice/get_registry_cache_rule.py +++ b/sdk/python/pulumi_azure/containerservice/get_registry_cache_rule.py @@ -126,9 +126,6 @@ def get_registry_cache_rule(container_registry_id: Optional[str] = None, name=pulumi.get(__ret__, 'name'), source_repo=pulumi.get(__ret__, 'source_repo'), target_repo=pulumi.get(__ret__, 'target_repo')) - - -@_utilities.lift_output_func(get_registry_cache_rule) def get_registry_cache_rule_output(container_registry_id: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRegistryCacheRuleResult]: @@ -139,4 +136,15 @@ def get_registry_cache_rule_output(container_registry_id: Optional[pulumi.Input[ :param str container_registry_id: The ID of the container registry where the cache rule should apply. Changing this forces a new resource to be created. :param str name: Specifies the name of the Container Registry Cache Rule. Only Alphanumeric characters allowed. Changing this forces a new resource to be created. """ - ... + __args__ = dict() + __args__['containerRegistryId'] = container_registry_id + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:containerservice/getRegistryCacheRule:getRegistryCacheRule', __args__, opts=opts, typ=GetRegistryCacheRuleResult) + return __ret__.apply(lambda __response__: GetRegistryCacheRuleResult( + container_registry_id=pulumi.get(__response__, 'container_registry_id'), + credential_set_id=pulumi.get(__response__, 'credential_set_id'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + source_repo=pulumi.get(__response__, 'source_repo'), + target_repo=pulumi.get(__response__, 'target_repo'))) diff --git a/sdk/python/pulumi_azure/containerservice/get_registry_scope_map.py b/sdk/python/pulumi_azure/containerservice/get_registry_scope_map.py index 9481f76550..11126a4fe5 100644 --- a/sdk/python/pulumi_azure/containerservice/get_registry_scope_map.py +++ b/sdk/python/pulumi_azure/containerservice/get_registry_scope_map.py @@ -135,9 +135,6 @@ def get_registry_scope_map(container_registry_name: Optional[str] = None, id=pulumi.get(__ret__, 'id'), name=pulumi.get(__ret__, 'name'), resource_group_name=pulumi.get(__ret__, 'resource_group_name')) - - -@_utilities.lift_output_func(get_registry_scope_map) def get_registry_scope_map_output(container_registry_name: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, @@ -162,4 +159,16 @@ def get_registry_scope_map_output(container_registry_name: Optional[pulumi.Input :param str name: The name of the Container Registry token. :param str resource_group_name: The Name of the Resource Group where this Container Registry token exists. """ - ... + __args__ = dict() + __args__['containerRegistryName'] = container_registry_name + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:containerservice/getRegistryScopeMap:getRegistryScopeMap', __args__, opts=opts, typ=GetRegistryScopeMapResult) + return __ret__.apply(lambda __response__: GetRegistryScopeMapResult( + actions=pulumi.get(__response__, 'actions'), + container_registry_name=pulumi.get(__response__, 'container_registry_name'), + description=pulumi.get(__response__, 'description'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'))) diff --git a/sdk/python/pulumi_azure/containerservice/get_registry_token.py b/sdk/python/pulumi_azure/containerservice/get_registry_token.py index 5ed02bc64c..43ade25491 100644 --- a/sdk/python/pulumi_azure/containerservice/get_registry_token.py +++ b/sdk/python/pulumi_azure/containerservice/get_registry_token.py @@ -138,9 +138,6 @@ def get_registry_token(container_registry_name: Optional[str] = None, name=pulumi.get(__ret__, 'name'), resource_group_name=pulumi.get(__ret__, 'resource_group_name'), scope_map_id=pulumi.get(__ret__, 'scope_map_id')) - - -@_utilities.lift_output_func(get_registry_token) def get_registry_token_output(container_registry_name: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, @@ -165,4 +162,16 @@ def get_registry_token_output(container_registry_name: Optional[pulumi.Input[str :param str name: The name of the Container Registry token. :param str resource_group_name: The Name of the Resource Group where this Container Registry token exists. """ - ... + __args__ = dict() + __args__['containerRegistryName'] = container_registry_name + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:containerservice/getRegistryToken:getRegistryToken', __args__, opts=opts, typ=GetRegistryTokenResult) + return __ret__.apply(lambda __response__: GetRegistryTokenResult( + container_registry_name=pulumi.get(__response__, 'container_registry_name'), + enabled=pulumi.get(__response__, 'enabled'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + scope_map_id=pulumi.get(__response__, 'scope_map_id'))) diff --git a/sdk/python/pulumi_azure/core/get_client_config.py b/sdk/python/pulumi_azure/core/get_client_config.py index ad788d69e1..528a651d9c 100644 --- a/sdk/python/pulumi_azure/core/get_client_config.py +++ b/sdk/python/pulumi_azure/core/get_client_config.py @@ -121,9 +121,6 @@ def get_client_config(opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableG object_id=pulumi.get(__ret__, 'object_id'), subscription_id=pulumi.get(__ret__, 'subscription_id'), tenant_id=pulumi.get(__ret__, 'tenant_id')) - - -@_utilities.lift_output_func(get_client_config) def get_client_config_output(opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetClientConfigResult]: """ Use this data source to access the configuration of the AzureRM provider. @@ -138,4 +135,12 @@ def get_client_config_output(opts: Optional[pulumi.InvokeOptions] = None) -> pul pulumi.export("accountId", current.client_id) ``` """ - ... + __args__ = dict() + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:core/getClientConfig:getClientConfig', __args__, opts=opts, typ=GetClientConfigResult) + return __ret__.apply(lambda __response__: GetClientConfigResult( + client_id=pulumi.get(__response__, 'client_id'), + id=pulumi.get(__response__, 'id'), + object_id=pulumi.get(__response__, 'object_id'), + subscription_id=pulumi.get(__response__, 'subscription_id'), + tenant_id=pulumi.get(__response__, 'tenant_id'))) diff --git a/sdk/python/pulumi_azure/core/get_extended_locations.py b/sdk/python/pulumi_azure/core/get_extended_locations.py index 84c7a39f73..bc588bab52 100644 --- a/sdk/python/pulumi_azure/core/get_extended_locations.py +++ b/sdk/python/pulumi_azure/core/get_extended_locations.py @@ -96,9 +96,6 @@ def get_extended_locations(location: Optional[str] = None, extended_locations=pulumi.get(__ret__, 'extended_locations'), id=pulumi.get(__ret__, 'id'), location=pulumi.get(__ret__, 'location')) - - -@_utilities.lift_output_func(get_extended_locations) def get_extended_locations_output(location: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetExtendedLocationsResult]: """ @@ -116,4 +113,11 @@ def get_extended_locations_output(location: Optional[pulumi.Input[str]] = None, :param str location: The Azure location to retrieve the Extended Locations for. """ - ... + __args__ = dict() + __args__['location'] = location + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:core/getExtendedLocations:getExtendedLocations', __args__, opts=opts, typ=GetExtendedLocationsResult) + return __ret__.apply(lambda __response__: GetExtendedLocationsResult( + extended_locations=pulumi.get(__response__, 'extended_locations'), + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'))) diff --git a/sdk/python/pulumi_azure/core/get_location.py b/sdk/python/pulumi_azure/core/get_location.py index 935766fb35..5cb9873362 100644 --- a/sdk/python/pulumi_azure/core/get_location.py +++ b/sdk/python/pulumi_azure/core/get_location.py @@ -110,9 +110,6 @@ def get_location(location: Optional[str] = None, id=pulumi.get(__ret__, 'id'), location=pulumi.get(__ret__, 'location'), zone_mappings=pulumi.get(__ret__, 'zone_mappings')) - - -@_utilities.lift_output_func(get_location) def get_location_output(location: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetLocationResult]: """ @@ -130,4 +127,12 @@ def get_location_output(location: Optional[pulumi.Input[str]] = None, :param str location: Specifies the supported Azure location where the resource exists. """ - ... + __args__ = dict() + __args__['location'] = location + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:core/getLocation:getLocation', __args__, opts=opts, typ=GetLocationResult) + return __ret__.apply(lambda __response__: GetLocationResult( + display_name=pulumi.get(__response__, 'display_name'), + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + zone_mappings=pulumi.get(__response__, 'zone_mappings'))) diff --git a/sdk/python/pulumi_azure/core/get_resource_group.py b/sdk/python/pulumi_azure/core/get_resource_group.py index 1e325346ad..a14c07b5de 100644 --- a/sdk/python/pulumi_azure/core/get_resource_group.py +++ b/sdk/python/pulumi_azure/core/get_resource_group.py @@ -120,9 +120,6 @@ def get_resource_group(name: Optional[str] = None, managed_by=pulumi.get(__ret__, 'managed_by'), name=pulumi.get(__ret__, 'name'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_resource_group) def get_resource_group_output(name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetResourceGroupResult]: """ @@ -141,4 +138,13 @@ def get_resource_group_output(name: Optional[pulumi.Input[str]] = None, :param str name: The Name of this Resource Group. """ - ... + __args__ = dict() + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:core/getResourceGroup:getResourceGroup', __args__, opts=opts, typ=GetResourceGroupResult) + return __ret__.apply(lambda __response__: GetResourceGroupResult( + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + managed_by=pulumi.get(__response__, 'managed_by'), + name=pulumi.get(__response__, 'name'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_azure/core/get_resource_group_template_deployment.py b/sdk/python/pulumi_azure/core/get_resource_group_template_deployment.py index 0bbbd98830..e889056144 100644 --- a/sdk/python/pulumi_azure/core/get_resource_group_template_deployment.py +++ b/sdk/python/pulumi_azure/core/get_resource_group_template_deployment.py @@ -100,9 +100,6 @@ def get_resource_group_template_deployment(name: Optional[str] = None, name=pulumi.get(__ret__, 'name'), output_content=pulumi.get(__ret__, 'output_content'), resource_group_name=pulumi.get(__ret__, 'resource_group_name')) - - -@_utilities.lift_output_func(get_resource_group_template_deployment) def get_resource_group_template_deployment_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetResourceGroupTemplateDeploymentResult]: @@ -113,4 +110,13 @@ def get_resource_group_template_deployment_output(name: Optional[pulumi.Input[st :param str name: The name of this Resource Group Template Deployment. :param str resource_group_name: The name of the Resource Group to which the Resource Group Template Deployment was applied. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:core/getResourceGroupTemplateDeployment:getResourceGroupTemplateDeployment', __args__, opts=opts, typ=GetResourceGroupTemplateDeploymentResult) + return __ret__.apply(lambda __response__: GetResourceGroupTemplateDeploymentResult( + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + output_content=pulumi.get(__response__, 'output_content'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'))) diff --git a/sdk/python/pulumi_azure/core/get_resources.py b/sdk/python/pulumi_azure/core/get_resources.py index 65b64c71af..144e9a4cb5 100644 --- a/sdk/python/pulumi_azure/core/get_resources.py +++ b/sdk/python/pulumi_azure/core/get_resources.py @@ -136,9 +136,6 @@ def get_resources(name: Optional[str] = None, resource_group_name=pulumi.get(__ret__, 'resource_group_name'), resources=pulumi.get(__ret__, 'resources'), type=pulumi.get(__ret__, 'type')) - - -@_utilities.lift_output_func(get_resources) def get_resources_output(name: Optional[pulumi.Input[Optional[str]]] = None, required_tags: Optional[pulumi.Input[Optional[Mapping[str, str]]]] = None, resource_group_name: Optional[pulumi.Input[Optional[str]]] = None, @@ -153,4 +150,17 @@ def get_resources_output(name: Optional[pulumi.Input[Optional[str]]] = None, :param str resource_group_name: The name of the Resource group where the Resources are located. :param str type: The Resource Type of the Resources you want to list (e.g. `Microsoft.Network/virtualNetworks`). A resource type's name follows the format: `{resource-provider}/{resource-type}`. The resource type for a key vault is `Microsoft.KeyVault/vaults`. A full list of available Resource Providers can be found [here](https://docs.microsoft.com/azure/azure-resource-manager/azure-services-resource-providers). A full list of Resources Types can be found [here](https://learn.microsoft.com/en-us/azure/templates/#find-resources). """ - ... + __args__ = dict() + __args__['name'] = name + __args__['requiredTags'] = required_tags + __args__['resourceGroupName'] = resource_group_name + __args__['type'] = type + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:core/getResources:getResources', __args__, opts=opts, typ=GetResourcesResult) + return __ret__.apply(lambda __response__: GetResourcesResult( + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + required_tags=pulumi.get(__response__, 'required_tags'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + resources=pulumi.get(__response__, 'resources'), + type=pulumi.get(__response__, 'type'))) diff --git a/sdk/python/pulumi_azure/core/get_subscription.py b/sdk/python/pulumi_azure/core/get_subscription.py index ad693fd6c5..7681bedef9 100644 --- a/sdk/python/pulumi_azure/core/get_subscription.py +++ b/sdk/python/pulumi_azure/core/get_subscription.py @@ -178,9 +178,6 @@ def get_subscription(subscription_id: Optional[str] = None, subscription_id=pulumi.get(__ret__, 'subscription_id'), tags=pulumi.get(__ret__, 'tags'), tenant_id=pulumi.get(__ret__, 'tenant_id')) - - -@_utilities.lift_output_func(get_subscription) def get_subscription_output(subscription_id: Optional[pulumi.Input[Optional[str]]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSubscriptionResult]: """ @@ -199,4 +196,17 @@ def get_subscription_output(subscription_id: Optional[pulumi.Input[Optional[str] :param str subscription_id: Specifies the ID of the subscription. If this argument is omitted, the subscription ID of the current Azure Resource Manager provider is used. """ - ... + __args__ = dict() + __args__['subscriptionId'] = subscription_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:core/getSubscription:getSubscription', __args__, opts=opts, typ=GetSubscriptionResult) + return __ret__.apply(lambda __response__: GetSubscriptionResult( + display_name=pulumi.get(__response__, 'display_name'), + id=pulumi.get(__response__, 'id'), + location_placement_id=pulumi.get(__response__, 'location_placement_id'), + quota_id=pulumi.get(__response__, 'quota_id'), + spending_limit=pulumi.get(__response__, 'spending_limit'), + state=pulumi.get(__response__, 'state'), + subscription_id=pulumi.get(__response__, 'subscription_id'), + tags=pulumi.get(__response__, 'tags'), + tenant_id=pulumi.get(__response__, 'tenant_id'))) diff --git a/sdk/python/pulumi_azure/core/get_subscription_template_deployment.py b/sdk/python/pulumi_azure/core/get_subscription_template_deployment.py index 11f10b967d..d4bdc65c53 100644 --- a/sdk/python/pulumi_azure/core/get_subscription_template_deployment.py +++ b/sdk/python/pulumi_azure/core/get_subscription_template_deployment.py @@ -87,9 +87,6 @@ def get_subscription_template_deployment(name: Optional[str] = None, id=pulumi.get(__ret__, 'id'), name=pulumi.get(__ret__, 'name'), output_content=pulumi.get(__ret__, 'output_content')) - - -@_utilities.lift_output_func(get_subscription_template_deployment) def get_subscription_template_deployment_output(name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSubscriptionTemplateDeploymentResult]: """ @@ -98,4 +95,11 @@ def get_subscription_template_deployment_output(name: Optional[pulumi.Input[str] :param str name: The name of this Subscription Template Deployment. """ - ... + __args__ = dict() + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:core/getSubscriptionTemplateDeployment:getSubscriptionTemplateDeployment', __args__, opts=opts, typ=GetSubscriptionTemplateDeploymentResult) + return __ret__.apply(lambda __response__: GetSubscriptionTemplateDeploymentResult( + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + output_content=pulumi.get(__response__, 'output_content'))) diff --git a/sdk/python/pulumi_azure/core/get_subscriptions.py b/sdk/python/pulumi_azure/core/get_subscriptions.py index d2aba89a46..f4f08803ab 100644 --- a/sdk/python/pulumi_azure/core/get_subscriptions.py +++ b/sdk/python/pulumi_azure/core/get_subscriptions.py @@ -112,9 +112,6 @@ def get_subscriptions(display_name_contains: Optional[str] = None, display_name_prefix=pulumi.get(__ret__, 'display_name_prefix'), id=pulumi.get(__ret__, 'id'), subscriptions=pulumi.get(__ret__, 'subscriptions')) - - -@_utilities.lift_output_func(get_subscriptions) def get_subscriptions_output(display_name_contains: Optional[pulumi.Input[Optional[str]]] = None, display_name_prefix: Optional[pulumi.Input[Optional[str]]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSubscriptionsResult]: @@ -136,4 +133,13 @@ def get_subscriptions_output(display_name_contains: Optional[pulumi.Input[Option :param str display_name_contains: A case-insensitive value which must be contained within the `display_name` field, used to filter the results :param str display_name_prefix: A case-insensitive prefix which can be used to filter on the `display_name` field """ - ... + __args__ = dict() + __args__['displayNameContains'] = display_name_contains + __args__['displayNamePrefix'] = display_name_prefix + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:core/getSubscriptions:getSubscriptions', __args__, opts=opts, typ=GetSubscriptionsResult) + return __ret__.apply(lambda __response__: GetSubscriptionsResult( + display_name_contains=pulumi.get(__response__, 'display_name_contains'), + display_name_prefix=pulumi.get(__response__, 'display_name_prefix'), + id=pulumi.get(__response__, 'id'), + subscriptions=pulumi.get(__response__, 'subscriptions'))) diff --git a/sdk/python/pulumi_azure/core/get_template_spec_version.py b/sdk/python/pulumi_azure/core/get_template_spec_version.py index 8ce4e52407..7f3358de6d 100644 --- a/sdk/python/pulumi_azure/core/get_template_spec_version.py +++ b/sdk/python/pulumi_azure/core/get_template_spec_version.py @@ -138,9 +138,6 @@ def get_template_spec_version(name: Optional[str] = None, tags=pulumi.get(__ret__, 'tags'), template_body=pulumi.get(__ret__, 'template_body'), version=pulumi.get(__ret__, 'version')) - - -@_utilities.lift_output_func(get_template_spec_version) def get_template_spec_version_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, version: Optional[pulumi.Input[str]] = None, @@ -165,4 +162,16 @@ def get_template_spec_version_output(name: Optional[pulumi.Input[str]] = None, :param str resource_group_name: The name of the Resource Group where the Template Spec exists. :param str version: The Version Name of the Template Spec. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + __args__['version'] = version + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:core/getTemplateSpecVersion:getTemplateSpecVersion', __args__, opts=opts, typ=GetTemplateSpecVersionResult) + return __ret__.apply(lambda __response__: GetTemplateSpecVersionResult( + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + tags=pulumi.get(__response__, 'tags'), + template_body=pulumi.get(__response__, 'template_body'), + version=pulumi.get(__response__, 'version'))) diff --git a/sdk/python/pulumi_azure/core/get_tenant_template_deployment.py b/sdk/python/pulumi_azure/core/get_tenant_template_deployment.py index a313209612..aad34a74d0 100644 --- a/sdk/python/pulumi_azure/core/get_tenant_template_deployment.py +++ b/sdk/python/pulumi_azure/core/get_tenant_template_deployment.py @@ -87,9 +87,6 @@ def get_tenant_template_deployment(name: Optional[str] = None, id=pulumi.get(__ret__, 'id'), name=pulumi.get(__ret__, 'name'), output_content=pulumi.get(__ret__, 'output_content')) - - -@_utilities.lift_output_func(get_tenant_template_deployment) def get_tenant_template_deployment_output(name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetTenantTemplateDeploymentResult]: """ @@ -98,4 +95,11 @@ def get_tenant_template_deployment_output(name: Optional[pulumi.Input[str]] = No :param str name: The name of this Tenant Template Deployment. """ - ... + __args__ = dict() + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:core/getTenantTemplateDeployment:getTenantTemplateDeployment', __args__, opts=opts, typ=GetTenantTemplateDeploymentResult) + return __ret__.apply(lambda __response__: GetTenantTemplateDeploymentResult( + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + output_content=pulumi.get(__response__, 'output_content'))) diff --git a/sdk/python/pulumi_azure/core/get_user_assigned_identity.py b/sdk/python/pulumi_azure/core/get_user_assigned_identity.py index 475bfc1b9f..c3cda7146b 100644 --- a/sdk/python/pulumi_azure/core/get_user_assigned_identity.py +++ b/sdk/python/pulumi_azure/core/get_user_assigned_identity.py @@ -170,9 +170,6 @@ def get_user_assigned_identity(name: Optional[str] = None, resource_group_name=pulumi.get(__ret__, 'resource_group_name'), tags=pulumi.get(__ret__, 'tags'), tenant_id=pulumi.get(__ret__, 'tenant_id')) - - -@_utilities.lift_output_func(get_user_assigned_identity) def get_user_assigned_identity_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetUserAssignedIdentityResult]: @@ -199,4 +196,17 @@ def get_user_assigned_identity_output(name: Optional[pulumi.Input[str]] = None, :param str resource_group_name: The name of the Resource Group in which the User Assigned Identity exists. """ pulumi.log.warn("""get_user_assigned_identity is deprecated: azure.core.getUserAssignedIdentity has been deprecated in favor of azure.authorization.getUserAssignedIdentity""") - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:core/getUserAssignedIdentity:getUserAssignedIdentity', __args__, opts=opts, typ=GetUserAssignedIdentityResult) + return __ret__.apply(lambda __response__: GetUserAssignedIdentityResult( + client_id=pulumi.get(__response__, 'client_id'), + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + principal_id=pulumi.get(__response__, 'principal_id'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + tags=pulumi.get(__response__, 'tags'), + tenant_id=pulumi.get(__response__, 'tenant_id'))) diff --git a/sdk/python/pulumi_azure/cosmosdb/get_account.py b/sdk/python/pulumi_azure/cosmosdb/get_account.py index 065c4e34dc..4f0d4325ae 100644 --- a/sdk/python/pulumi_azure/cosmosdb/get_account.py +++ b/sdk/python/pulumi_azure/cosmosdb/get_account.py @@ -470,9 +470,6 @@ def get_account(name: Optional[str] = None, tags=pulumi.get(__ret__, 'tags'), virtual_network_rules=pulumi.get(__ret__, 'virtual_network_rules'), write_endpoints=pulumi.get(__ret__, 'write_endpoints')) - - -@_utilities.lift_output_func(get_account) def get_account_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAccountResult]: @@ -494,4 +491,41 @@ def get_account_output(name: Optional[pulumi.Input[str]] = None, :param str name: Specifies the name of the CosmosDB Account. :param str resource_group_name: Specifies the name of the resource group in which the CosmosDB Account resides. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:cosmosdb/getAccount:getAccount', __args__, opts=opts, typ=GetAccountResult) + return __ret__.apply(lambda __response__: GetAccountResult( + automatic_failover_enabled=pulumi.get(__response__, 'automatic_failover_enabled'), + capabilities=pulumi.get(__response__, 'capabilities'), + consistency_policies=pulumi.get(__response__, 'consistency_policies'), + endpoint=pulumi.get(__response__, 'endpoint'), + free_tier_enabled=pulumi.get(__response__, 'free_tier_enabled'), + geo_locations=pulumi.get(__response__, 'geo_locations'), + id=pulumi.get(__response__, 'id'), + ip_range_filter=pulumi.get(__response__, 'ip_range_filter'), + is_virtual_network_filter_enabled=pulumi.get(__response__, 'is_virtual_network_filter_enabled'), + key_vault_key_id=pulumi.get(__response__, 'key_vault_key_id'), + kind=pulumi.get(__response__, 'kind'), + location=pulumi.get(__response__, 'location'), + multiple_write_locations_enabled=pulumi.get(__response__, 'multiple_write_locations_enabled'), + name=pulumi.get(__response__, 'name'), + offer_type=pulumi.get(__response__, 'offer_type'), + primary_key=pulumi.get(__response__, 'primary_key'), + primary_mongodb_connection_string=pulumi.get(__response__, 'primary_mongodb_connection_string'), + primary_readonly_key=pulumi.get(__response__, 'primary_readonly_key'), + primary_readonly_mongodb_connection_string=pulumi.get(__response__, 'primary_readonly_mongodb_connection_string'), + primary_readonly_sql_connection_string=pulumi.get(__response__, 'primary_readonly_sql_connection_string'), + primary_sql_connection_string=pulumi.get(__response__, 'primary_sql_connection_string'), + read_endpoints=pulumi.get(__response__, 'read_endpoints'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + secondary_key=pulumi.get(__response__, 'secondary_key'), + secondary_mongodb_connection_string=pulumi.get(__response__, 'secondary_mongodb_connection_string'), + secondary_readonly_key=pulumi.get(__response__, 'secondary_readonly_key'), + secondary_readonly_mongodb_connection_string=pulumi.get(__response__, 'secondary_readonly_mongodb_connection_string'), + secondary_readonly_sql_connection_string=pulumi.get(__response__, 'secondary_readonly_sql_connection_string'), + secondary_sql_connection_string=pulumi.get(__response__, 'secondary_sql_connection_string'), + tags=pulumi.get(__response__, 'tags'), + virtual_network_rules=pulumi.get(__response__, 'virtual_network_rules'), + write_endpoints=pulumi.get(__response__, 'write_endpoints'))) diff --git a/sdk/python/pulumi_azure/cosmosdb/get_mongo_database.py b/sdk/python/pulumi_azure/cosmosdb/get_mongo_database.py index 0aed1275d5..888a3c40e0 100644 --- a/sdk/python/pulumi_azure/cosmosdb/get_mongo_database.py +++ b/sdk/python/pulumi_azure/cosmosdb/get_mongo_database.py @@ -125,9 +125,6 @@ def get_mongo_database(account_name: Optional[str] = None, name=pulumi.get(__ret__, 'name'), resource_group_name=pulumi.get(__ret__, 'resource_group_name'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_mongo_database) def get_mongo_database_output(account_name: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, @@ -152,4 +149,15 @@ def get_mongo_database_output(account_name: Optional[pulumi.Input[str]] = None, :param str name: The name of this Cosmos DB Mongo Database. :param str resource_group_name: The name of the Resource Group where the Cosmos DB Mongo Database exists. """ - ... + __args__ = dict() + __args__['accountName'] = account_name + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:cosmosdb/getMongoDatabase:getMongoDatabase', __args__, opts=opts, typ=GetMongoDatabaseResult) + return __ret__.apply(lambda __response__: GetMongoDatabaseResult( + account_name=pulumi.get(__response__, 'account_name'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_azure/cosmosdb/get_restorable_database_accounts.py b/sdk/python/pulumi_azure/cosmosdb/get_restorable_database_accounts.py index f42382d407..2d5534d624 100644 --- a/sdk/python/pulumi_azure/cosmosdb/get_restorable_database_accounts.py +++ b/sdk/python/pulumi_azure/cosmosdb/get_restorable_database_accounts.py @@ -115,9 +115,6 @@ def get_restorable_database_accounts(location: Optional[str] = None, id=pulumi.get(__ret__, 'id'), location=pulumi.get(__ret__, 'location'), name=pulumi.get(__ret__, 'name')) - - -@_utilities.lift_output_func(get_restorable_database_accounts) def get_restorable_database_accounts_output(location: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRestorableDatabaseAccountsResult]: @@ -139,4 +136,13 @@ def get_restorable_database_accounts_output(location: Optional[pulumi.Input[str] :param str location: The location where the Cosmos DB Database Account. :param str name: The name of this Cosmos DB Database Account. """ - ... + __args__ = dict() + __args__['location'] = location + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:cosmosdb/getRestorableDatabaseAccounts:getRestorableDatabaseAccounts', __args__, opts=opts, typ=GetRestorableDatabaseAccountsResult) + return __ret__.apply(lambda __response__: GetRestorableDatabaseAccountsResult( + accounts=pulumi.get(__response__, 'accounts'), + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'))) diff --git a/sdk/python/pulumi_azure/cosmosdb/get_sql_database.py b/sdk/python/pulumi_azure/cosmosdb/get_sql_database.py index 22f99959e3..e78a865d80 100644 --- a/sdk/python/pulumi_azure/cosmosdb/get_sql_database.py +++ b/sdk/python/pulumi_azure/cosmosdb/get_sql_database.py @@ -138,9 +138,6 @@ def get_sql_database(account_name: Optional[str] = None, name=pulumi.get(__ret__, 'name'), resource_group_name=pulumi.get(__ret__, 'resource_group_name'), throughput=pulumi.get(__ret__, 'throughput')) - - -@_utilities.lift_output_func(get_sql_database) def get_sql_database_output(account_name: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, @@ -164,4 +161,16 @@ def get_sql_database_output(account_name: Optional[pulumi.Input[str]] = None, :param str name: Specifies the name of the Cosmos DB SQL Database. :param str resource_group_name: The name of the resource group in which the Cosmos DB SQL Database is created. """ - ... + __args__ = dict() + __args__['accountName'] = account_name + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:cosmosdb/getSqlDatabase:getSqlDatabase', __args__, opts=opts, typ=GetSqlDatabaseResult) + return __ret__.apply(lambda __response__: GetSqlDatabaseResult( + account_name=pulumi.get(__response__, 'account_name'), + autoscale_settings=pulumi.get(__response__, 'autoscale_settings'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + throughput=pulumi.get(__response__, 'throughput'))) diff --git a/sdk/python/pulumi_azure/cosmosdb/get_sql_role_definition.py b/sdk/python/pulumi_azure/cosmosdb/get_sql_role_definition.py index c88cafe958..96419e3c07 100644 --- a/sdk/python/pulumi_azure/cosmosdb/get_sql_role_definition.py +++ b/sdk/python/pulumi_azure/cosmosdb/get_sql_role_definition.py @@ -164,9 +164,6 @@ def get_sql_role_definition(account_name: Optional[str] = None, resource_group_name=pulumi.get(__ret__, 'resource_group_name'), role_definition_id=pulumi.get(__ret__, 'role_definition_id'), type=pulumi.get(__ret__, 'type')) - - -@_utilities.lift_output_func(get_sql_role_definition) def get_sql_role_definition_output(account_name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, role_definition_id: Optional[pulumi.Input[str]] = None, @@ -190,4 +187,18 @@ def get_sql_role_definition_output(account_name: Optional[pulumi.Input[str]] = N :param str resource_group_name: The name of the Resource Group in which the Cosmos DB SQL Role Definition is created. :param str role_definition_id: The GUID as the name of the Cosmos DB SQL Role Definition. """ - ... + __args__ = dict() + __args__['accountName'] = account_name + __args__['resourceGroupName'] = resource_group_name + __args__['roleDefinitionId'] = role_definition_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:cosmosdb/getSqlRoleDefinition:getSqlRoleDefinition', __args__, opts=opts, typ=GetSqlRoleDefinitionResult) + return __ret__.apply(lambda __response__: GetSqlRoleDefinitionResult( + account_name=pulumi.get(__response__, 'account_name'), + assignable_scopes=pulumi.get(__response__, 'assignable_scopes'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + permissions=pulumi.get(__response__, 'permissions'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + role_definition_id=pulumi.get(__response__, 'role_definition_id'), + type=pulumi.get(__response__, 'type'))) diff --git a/sdk/python/pulumi_azure/dashboard/azurerm_portal_dashboard.py b/sdk/python/pulumi_azure/dashboard/azurerm_portal_dashboard.py index 3ea2a148b5..fd53ea52d6 100644 --- a/sdk/python/pulumi_azure/dashboard/azurerm_portal_dashboard.py +++ b/sdk/python/pulumi_azure/dashboard/azurerm_portal_dashboard.py @@ -156,9 +156,6 @@ def azurerm_portal_dashboard(dashboard_properties: Optional[str] = None, name=pulumi.get(__ret__, 'name'), resource_group_name=pulumi.get(__ret__, 'resource_group_name'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(azurerm_portal_dashboard) def azurerm_portal_dashboard_output(dashboard_properties: Optional[pulumi.Input[Optional[str]]] = None, display_name: Optional[pulumi.Input[Optional[str]]] = None, name: Optional[pulumi.Input[Optional[str]]] = None, @@ -185,4 +182,18 @@ def azurerm_portal_dashboard_output(dashboard_properties: Optional[pulumi.Input[ :param str resource_group_name: Specifies the name of the resource group the shared Azure Portal Dashboard is located in. """ pulumi.log.warn("""azurerm_portal_dashboard is deprecated: azure.dashboard/azurerm_portal_dashboard.azurerm_portal_dashboard has been deprecated in favor of azure.portal/azurerm_portal_dashboard.azurerm_portal_dashboard""") - ... + __args__ = dict() + __args__['dashboardProperties'] = dashboard_properties + __args__['displayName'] = display_name + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:dashboard/azurerm_portal_dashboard:azurerm_portal_dashboard', __args__, opts=opts, typ=Azurerm_portal_dashboardResult) + return __ret__.apply(lambda __response__: Azurerm_portal_dashboardResult( + dashboard_properties=pulumi.get(__response__, 'dashboard_properties'), + display_name=pulumi.get(__response__, 'display_name'), + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_azure/dashboard/get_grafana.py b/sdk/python/pulumi_azure/dashboard/get_grafana.py index 8f09191e29..6fbefac708 100644 --- a/sdk/python/pulumi_azure/dashboard/get_grafana.py +++ b/sdk/python/pulumi_azure/dashboard/get_grafana.py @@ -282,9 +282,6 @@ def get_grafana(identity: Optional[Union['GetGrafanaIdentityArgs', 'GetGrafanaId sku=pulumi.get(__ret__, 'sku'), tags=pulumi.get(__ret__, 'tags'), zone_redundancy_enabled=pulumi.get(__ret__, 'zone_redundancy_enabled')) - - -@_utilities.lift_output_func(get_grafana) def get_grafana_output(identity: Optional[pulumi.Input[Optional[Union['GetGrafanaIdentityArgs', 'GetGrafanaIdentityArgsDict']]]] = None, name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, @@ -308,4 +305,27 @@ def get_grafana_output(identity: Optional[pulumi.Input[Optional[Union['GetGrafan :param str name: Name of the grafana dashboard. :param str resource_group_name: Name of the resource group where resource belongs to. """ - ... + __args__ = dict() + __args__['identity'] = identity + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:dashboard/getGrafana:getGrafana', __args__, opts=opts, typ=GetGrafanaResult) + return __ret__.apply(lambda __response__: GetGrafanaResult( + api_key_enabled=pulumi.get(__response__, 'api_key_enabled'), + auto_generated_domain_name_label_scope=pulumi.get(__response__, 'auto_generated_domain_name_label_scope'), + azure_monitor_workspace_integrations=pulumi.get(__response__, 'azure_monitor_workspace_integrations'), + deterministic_outbound_ip_enabled=pulumi.get(__response__, 'deterministic_outbound_ip_enabled'), + endpoint=pulumi.get(__response__, 'endpoint'), + grafana_major_version=pulumi.get(__response__, 'grafana_major_version'), + grafana_version=pulumi.get(__response__, 'grafana_version'), + id=pulumi.get(__response__, 'id'), + identity=pulumi.get(__response__, 'identity'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + outbound_ips=pulumi.get(__response__, 'outbound_ips'), + public_network_access_enabled=pulumi.get(__response__, 'public_network_access_enabled'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + sku=pulumi.get(__response__, 'sku'), + tags=pulumi.get(__response__, 'tags'), + zone_redundancy_enabled=pulumi.get(__response__, 'zone_redundancy_enabled'))) diff --git a/sdk/python/pulumi_azure/databasemigration/get_project.py b/sdk/python/pulumi_azure/databasemigration/get_project.py index cbc77877bc..b7c0066acc 100644 --- a/sdk/python/pulumi_azure/databasemigration/get_project.py +++ b/sdk/python/pulumi_azure/databasemigration/get_project.py @@ -164,9 +164,6 @@ def get_project(name: Optional[str] = None, source_platform=pulumi.get(__ret__, 'source_platform'), tags=pulumi.get(__ret__, 'tags'), target_platform=pulumi.get(__ret__, 'target_platform')) - - -@_utilities.lift_output_func(get_project) def get_project_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, service_name: Optional[pulumi.Input[str]] = None, @@ -191,4 +188,18 @@ def get_project_output(name: Optional[pulumi.Input[str]] = None, :param str resource_group_name: Name of the resource group where resource belongs to. :param str service_name: Name of the database migration service where resource belongs to. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + __args__['serviceName'] = service_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:databasemigration/getProject:getProject', __args__, opts=opts, typ=GetProjectResult) + return __ret__.apply(lambda __response__: GetProjectResult( + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + service_name=pulumi.get(__response__, 'service_name'), + source_platform=pulumi.get(__response__, 'source_platform'), + tags=pulumi.get(__response__, 'tags'), + target_platform=pulumi.get(__response__, 'target_platform'))) diff --git a/sdk/python/pulumi_azure/databasemigration/get_service.py b/sdk/python/pulumi_azure/databasemigration/get_service.py index 11275bcfa9..ecbe009733 100644 --- a/sdk/python/pulumi_azure/databasemigration/get_service.py +++ b/sdk/python/pulumi_azure/databasemigration/get_service.py @@ -150,9 +150,6 @@ def get_service(name: Optional[str] = None, sku_name=pulumi.get(__ret__, 'sku_name'), subnet_id=pulumi.get(__ret__, 'subnet_id'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_service) def get_service_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetServiceResult]: @@ -174,4 +171,16 @@ def get_service_output(name: Optional[pulumi.Input[str]] = None, :param str name: Specify the name of the database migration service. :param str resource_group_name: Specifies the Name of the Resource Group within which the database migration service exists """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:databasemigration/getService:getService', __args__, opts=opts, typ=GetServiceResult) + return __ret__.apply(lambda __response__: GetServiceResult( + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + sku_name=pulumi.get(__response__, 'sku_name'), + subnet_id=pulumi.get(__response__, 'subnet_id'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_azure/databoxedge/get_device.py b/sdk/python/pulumi_azure/databoxedge/get_device.py index 0e2c8a2e8e..d1133a9a64 100644 --- a/sdk/python/pulumi_azure/databoxedge/get_device.py +++ b/sdk/python/pulumi_azure/databoxedge/get_device.py @@ -150,9 +150,6 @@ def get_device(name: Optional[str] = None, resource_group_name=pulumi.get(__ret__, 'resource_group_name'), sku_name=pulumi.get(__ret__, 'sku_name'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_device) def get_device_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDeviceResult]: @@ -173,4 +170,16 @@ def get_device_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name which should be used for this Databox Edge Device. Changing this forces a new Databox Edge Device to be created. :param str resource_group_name: The name of the Resource Group where the Databox Edge Device should exist. Changing this forces a new Databox Edge Device to be created. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:databoxedge/getDevice:getDevice', __args__, opts=opts, typ=GetDeviceResult) + return __ret__.apply(lambda __response__: GetDeviceResult( + device_properties=pulumi.get(__response__, 'device_properties'), + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + sku_name=pulumi.get(__response__, 'sku_name'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_azure/databricks/get_access_connector.py b/sdk/python/pulumi_azure/databricks/get_access_connector.py index cb61624f53..c5bd8e12b5 100644 --- a/sdk/python/pulumi_azure/databricks/get_access_connector.py +++ b/sdk/python/pulumi_azure/databricks/get_access_connector.py @@ -138,9 +138,6 @@ def get_access_connector(name: Optional[str] = None, name=pulumi.get(__ret__, 'name'), resource_group_name=pulumi.get(__ret__, 'resource_group_name'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_access_connector) def get_access_connector_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAccessConnectorResult]: @@ -162,4 +159,15 @@ def get_access_connector_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of this Databricks Access Connector. :param str resource_group_name: The name of the Resource Group where the Databricks Access Connector exists. Changing this forces a new Databricks Access Connector to be created. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:databricks/getAccessConnector:getAccessConnector', __args__, opts=opts, typ=GetAccessConnectorResult) + return __ret__.apply(lambda __response__: GetAccessConnectorResult( + id=pulumi.get(__response__, 'id'), + identities=pulumi.get(__response__, 'identities'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_azure/databricks/get_workspace.py b/sdk/python/pulumi_azure/databricks/get_workspace.py index 59267f534a..34a1d8c195 100644 --- a/sdk/python/pulumi_azure/databricks/get_workspace.py +++ b/sdk/python/pulumi_azure/databricks/get_workspace.py @@ -193,9 +193,6 @@ def get_workspace(name: Optional[str] = None, tags=pulumi.get(__ret__, 'tags'), workspace_id=pulumi.get(__ret__, 'workspace_id'), workspace_url=pulumi.get(__ret__, 'workspace_url')) - - -@_utilities.lift_output_func(get_workspace) def get_workspace_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, tags: Optional[pulumi.Input[Optional[Mapping[str, str]]]] = None, @@ -219,4 +216,20 @@ def get_workspace_output(name: Optional[pulumi.Input[str]] = None, :param str resource_group_name: The Name of the Resource Group where the Databricks Workspace exists. :param Mapping[str, str] tags: A mapping of tags to assign to the Databricks Workspace. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + __args__['tags'] = tags + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:databricks/getWorkspace:getWorkspace', __args__, opts=opts, typ=GetWorkspaceResult) + return __ret__.apply(lambda __response__: GetWorkspaceResult( + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + managed_disk_identities=pulumi.get(__response__, 'managed_disk_identities'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + sku=pulumi.get(__response__, 'sku'), + storage_account_identities=pulumi.get(__response__, 'storage_account_identities'), + tags=pulumi.get(__response__, 'tags'), + workspace_id=pulumi.get(__response__, 'workspace_id'), + workspace_url=pulumi.get(__response__, 'workspace_url'))) diff --git a/sdk/python/pulumi_azure/databricks/get_workspace_private_endpoint_connection.py b/sdk/python/pulumi_azure/databricks/get_workspace_private_endpoint_connection.py index e01e729627..b9c186d026 100644 --- a/sdk/python/pulumi_azure/databricks/get_workspace_private_endpoint_connection.py +++ b/sdk/python/pulumi_azure/databricks/get_workspace_private_endpoint_connection.py @@ -118,9 +118,6 @@ def get_workspace_private_endpoint_connection(private_endpoint_id: Optional[str] id=pulumi.get(__ret__, 'id'), private_endpoint_id=pulumi.get(__ret__, 'private_endpoint_id'), workspace_id=pulumi.get(__ret__, 'workspace_id')) - - -@_utilities.lift_output_func(get_workspace_private_endpoint_connection) def get_workspace_private_endpoint_connection_output(private_endpoint_id: Optional[pulumi.Input[str]] = None, workspace_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetWorkspacePrivateEndpointConnectionResult]: @@ -142,4 +139,13 @@ def get_workspace_private_endpoint_connection_output(private_endpoint_id: Option :param str private_endpoint_id: The resource ID of the Private Endpoint. :param str workspace_id: The resource ID of the Databricks Workspace. """ - ... + __args__ = dict() + __args__['privateEndpointId'] = private_endpoint_id + __args__['workspaceId'] = workspace_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:databricks/getWorkspacePrivateEndpointConnection:getWorkspacePrivateEndpointConnection', __args__, opts=opts, typ=GetWorkspacePrivateEndpointConnectionResult) + return __ret__.apply(lambda __response__: GetWorkspacePrivateEndpointConnectionResult( + connections=pulumi.get(__response__, 'connections'), + id=pulumi.get(__response__, 'id'), + private_endpoint_id=pulumi.get(__response__, 'private_endpoint_id'), + workspace_id=pulumi.get(__response__, 'workspace_id'))) diff --git a/sdk/python/pulumi_azure/datafactory/get_factory.py b/sdk/python/pulumi_azure/datafactory/get_factory.py index 4fe2a195a1..1b3775bf19 100644 --- a/sdk/python/pulumi_azure/datafactory/get_factory.py +++ b/sdk/python/pulumi_azure/datafactory/get_factory.py @@ -164,9 +164,6 @@ def get_factory(name: Optional[str] = None, resource_group_name=pulumi.get(__ret__, 'resource_group_name'), tags=pulumi.get(__ret__, 'tags'), vsts_configurations=pulumi.get(__ret__, 'vsts_configurations')) - - -@_utilities.lift_output_func(get_factory) def get_factory_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFactoryResult]: @@ -188,4 +185,17 @@ def get_factory_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of this Azure Data Factory. :param str resource_group_name: The name of the Resource Group where the Azure Data Factory exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:datafactory/getFactory:getFactory', __args__, opts=opts, typ=GetFactoryResult) + return __ret__.apply(lambda __response__: GetFactoryResult( + github_configurations=pulumi.get(__response__, 'github_configurations'), + id=pulumi.get(__response__, 'id'), + identities=pulumi.get(__response__, 'identities'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + tags=pulumi.get(__response__, 'tags'), + vsts_configurations=pulumi.get(__response__, 'vsts_configurations'))) diff --git a/sdk/python/pulumi_azure/datafactory/get_trigger_schedule.py b/sdk/python/pulumi_azure/datafactory/get_trigger_schedule.py index f5aa446c7f..1e4371f270 100644 --- a/sdk/python/pulumi_azure/datafactory/get_trigger_schedule.py +++ b/sdk/python/pulumi_azure/datafactory/get_trigger_schedule.py @@ -229,9 +229,6 @@ def get_trigger_schedule(data_factory_id: Optional[str] = None, schedules=pulumi.get(__ret__, 'schedules'), start_time=pulumi.get(__ret__, 'start_time'), time_zone=pulumi.get(__ret__, 'time_zone')) - - -@_utilities.lift_output_func(get_trigger_schedule) def get_trigger_schedule_output(data_factory_id: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetTriggerScheduleResult]: @@ -253,4 +250,22 @@ def get_trigger_schedule_output(data_factory_id: Optional[pulumi.Input[str]] = N :param str data_factory_id: The ID of the Azure Data Factory to fetch trigger schedule from. :param str name: The name of the trigger schedule. """ - ... + __args__ = dict() + __args__['dataFactoryId'] = data_factory_id + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:datafactory/getTriggerSchedule:getTriggerSchedule', __args__, opts=opts, typ=GetTriggerScheduleResult) + return __ret__.apply(lambda __response__: GetTriggerScheduleResult( + activated=pulumi.get(__response__, 'activated'), + annotations=pulumi.get(__response__, 'annotations'), + data_factory_id=pulumi.get(__response__, 'data_factory_id'), + description=pulumi.get(__response__, 'description'), + end_time=pulumi.get(__response__, 'end_time'), + frequency=pulumi.get(__response__, 'frequency'), + id=pulumi.get(__response__, 'id'), + interval=pulumi.get(__response__, 'interval'), + name=pulumi.get(__response__, 'name'), + pipeline_name=pulumi.get(__response__, 'pipeline_name'), + schedules=pulumi.get(__response__, 'schedules'), + start_time=pulumi.get(__response__, 'start_time'), + time_zone=pulumi.get(__response__, 'time_zone'))) diff --git a/sdk/python/pulumi_azure/datafactory/get_trigger_schedules.py b/sdk/python/pulumi_azure/datafactory/get_trigger_schedules.py index caf6104ca6..2520b9d421 100644 --- a/sdk/python/pulumi_azure/datafactory/get_trigger_schedules.py +++ b/sdk/python/pulumi_azure/datafactory/get_trigger_schedules.py @@ -97,9 +97,6 @@ def get_trigger_schedules(data_factory_id: Optional[str] = None, data_factory_id=pulumi.get(__ret__, 'data_factory_id'), id=pulumi.get(__ret__, 'id'), items=pulumi.get(__ret__, 'items')) - - -@_utilities.lift_output_func(get_trigger_schedules) def get_trigger_schedules_output(data_factory_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetTriggerSchedulesResult]: """ @@ -118,4 +115,11 @@ def get_trigger_schedules_output(data_factory_id: Optional[pulumi.Input[str]] = :param str data_factory_id: The ID of the Azure Data Factory to fetch trigger schedules from. """ - ... + __args__ = dict() + __args__['dataFactoryId'] = data_factory_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:datafactory/getTriggerSchedules:getTriggerSchedules', __args__, opts=opts, typ=GetTriggerSchedulesResult) + return __ret__.apply(lambda __response__: GetTriggerSchedulesResult( + data_factory_id=pulumi.get(__response__, 'data_factory_id'), + id=pulumi.get(__response__, 'id'), + items=pulumi.get(__response__, 'items'))) diff --git a/sdk/python/pulumi_azure/dataprotection/get_backup_vault.py b/sdk/python/pulumi_azure/dataprotection/get_backup_vault.py index a38172253e..c7cdb23883 100644 --- a/sdk/python/pulumi_azure/dataprotection/get_backup_vault.py +++ b/sdk/python/pulumi_azure/dataprotection/get_backup_vault.py @@ -165,9 +165,6 @@ def get_backup_vault(name: Optional[str] = None, redundancy=pulumi.get(__ret__, 'redundancy'), resource_group_name=pulumi.get(__ret__, 'resource_group_name'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_backup_vault) def get_backup_vault_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetBackupVaultResult]: @@ -190,4 +187,17 @@ def get_backup_vault_output(name: Optional[pulumi.Input[str]] = None, :param str name: Specifies the name of the Backup Vault. :param str resource_group_name: The name of the Resource Group where the Backup Vault exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:dataprotection/getBackupVault:getBackupVault', __args__, opts=opts, typ=GetBackupVaultResult) + return __ret__.apply(lambda __response__: GetBackupVaultResult( + datastore_type=pulumi.get(__response__, 'datastore_type'), + id=pulumi.get(__response__, 'id'), + identities=pulumi.get(__response__, 'identities'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + redundancy=pulumi.get(__response__, 'redundancy'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_azure/datashare/get_account.py b/sdk/python/pulumi_azure/datashare/get_account.py index a796a4c32a..1299e24c07 100644 --- a/sdk/python/pulumi_azure/datashare/get_account.py +++ b/sdk/python/pulumi_azure/datashare/get_account.py @@ -125,9 +125,6 @@ def get_account(name: Optional[str] = None, name=pulumi.get(__ret__, 'name'), resource_group_name=pulumi.get(__ret__, 'resource_group_name'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_account) def get_account_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAccountResult]: @@ -149,4 +146,14 @@ def get_account_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of this Data Share Account. :param str resource_group_name: The name of the Resource Group where the Data Share Account exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:datashare/getAccount:getAccount', __args__, opts=opts, typ=GetAccountResult) + return __ret__.apply(lambda __response__: GetAccountResult( + id=pulumi.get(__response__, 'id'), + identities=pulumi.get(__response__, 'identities'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_azure/datashare/get_dataset_blob_storage.py b/sdk/python/pulumi_azure/datashare/get_dataset_blob_storage.py index 57f91b0400..79e508554c 100644 --- a/sdk/python/pulumi_azure/datashare/get_dataset_blob_storage.py +++ b/sdk/python/pulumi_azure/datashare/get_dataset_blob_storage.py @@ -167,9 +167,6 @@ def get_dataset_blob_storage(data_share_id: Optional[str] = None, id=pulumi.get(__ret__, 'id'), name=pulumi.get(__ret__, 'name'), storage_accounts=pulumi.get(__ret__, 'storage_accounts')) - - -@_utilities.lift_output_func(get_dataset_blob_storage) def get_dataset_blob_storage_output(data_share_id: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDatasetBlobStorageResult]: @@ -191,4 +188,17 @@ def get_dataset_blob_storage_output(data_share_id: Optional[pulumi.Input[str]] = :param str data_share_id: The ID of the Data Share in which this Data Share Blob Storage Dataset should be created. :param str name: The name of this Data Share Blob Storage Dataset. """ - ... + __args__ = dict() + __args__['dataShareId'] = data_share_id + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:datashare/getDatasetBlobStorage:getDatasetBlobStorage', __args__, opts=opts, typ=GetDatasetBlobStorageResult) + return __ret__.apply(lambda __response__: GetDatasetBlobStorageResult( + container_name=pulumi.get(__response__, 'container_name'), + data_share_id=pulumi.get(__response__, 'data_share_id'), + display_name=pulumi.get(__response__, 'display_name'), + file_path=pulumi.get(__response__, 'file_path'), + folder_path=pulumi.get(__response__, 'folder_path'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + storage_accounts=pulumi.get(__response__, 'storage_accounts'))) diff --git a/sdk/python/pulumi_azure/datashare/get_dataset_data_lake_gen2.py b/sdk/python/pulumi_azure/datashare/get_dataset_data_lake_gen2.py index cc68fef2cd..bec4cbd4ef 100644 --- a/sdk/python/pulumi_azure/datashare/get_dataset_data_lake_gen2.py +++ b/sdk/python/pulumi_azure/datashare/get_dataset_data_lake_gen2.py @@ -163,9 +163,6 @@ def get_dataset_data_lake_gen2(name: Optional[str] = None, name=pulumi.get(__ret__, 'name'), share_id=pulumi.get(__ret__, 'share_id'), storage_account_id=pulumi.get(__ret__, 'storage_account_id')) - - -@_utilities.lift_output_func(get_dataset_data_lake_gen2) def get_dataset_data_lake_gen2_output(name: Optional[pulumi.Input[str]] = None, share_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDatasetDataLakeGen2Result]: @@ -187,4 +184,17 @@ def get_dataset_data_lake_gen2_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of this Data Share Data Lake Gen2 Dataset. :param str share_id: The resource ID of the Data Share where this Data Share Data Lake Gen2 Dataset should be created. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['shareId'] = share_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:datashare/getDatasetDataLakeGen2:getDatasetDataLakeGen2', __args__, opts=opts, typ=GetDatasetDataLakeGen2Result) + return __ret__.apply(lambda __response__: GetDatasetDataLakeGen2Result( + display_name=pulumi.get(__response__, 'display_name'), + file_path=pulumi.get(__response__, 'file_path'), + file_system_name=pulumi.get(__response__, 'file_system_name'), + folder_path=pulumi.get(__response__, 'folder_path'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + share_id=pulumi.get(__response__, 'share_id'), + storage_account_id=pulumi.get(__response__, 'storage_account_id'))) diff --git a/sdk/python/pulumi_azure/datashare/get_dataset_kusto_cluster.py b/sdk/python/pulumi_azure/datashare/get_dataset_kusto_cluster.py index 299b425f67..81c87bfb5f 100644 --- a/sdk/python/pulumi_azure/datashare/get_dataset_kusto_cluster.py +++ b/sdk/python/pulumi_azure/datashare/get_dataset_kusto_cluster.py @@ -137,9 +137,6 @@ def get_dataset_kusto_cluster(name: Optional[str] = None, kusto_cluster_location=pulumi.get(__ret__, 'kusto_cluster_location'), name=pulumi.get(__ret__, 'name'), share_id=pulumi.get(__ret__, 'share_id')) - - -@_utilities.lift_output_func(get_dataset_kusto_cluster) def get_dataset_kusto_cluster_output(name: Optional[pulumi.Input[str]] = None, share_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDatasetKustoClusterResult]: @@ -161,4 +158,15 @@ def get_dataset_kusto_cluster_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of this Data Share Kusto Cluster Dataset. :param str share_id: The resource ID of the Data Share where this Data Share Kusto Cluster Dataset should be created. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['shareId'] = share_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:datashare/getDatasetKustoCluster:getDatasetKustoCluster', __args__, opts=opts, typ=GetDatasetKustoClusterResult) + return __ret__.apply(lambda __response__: GetDatasetKustoClusterResult( + display_name=pulumi.get(__response__, 'display_name'), + id=pulumi.get(__response__, 'id'), + kusto_cluster_id=pulumi.get(__response__, 'kusto_cluster_id'), + kusto_cluster_location=pulumi.get(__response__, 'kusto_cluster_location'), + name=pulumi.get(__response__, 'name'), + share_id=pulumi.get(__response__, 'share_id'))) diff --git a/sdk/python/pulumi_azure/datashare/get_dataset_kusto_database.py b/sdk/python/pulumi_azure/datashare/get_dataset_kusto_database.py index db46e7c86c..1090c750ce 100644 --- a/sdk/python/pulumi_azure/datashare/get_dataset_kusto_database.py +++ b/sdk/python/pulumi_azure/datashare/get_dataset_kusto_database.py @@ -137,9 +137,6 @@ def get_dataset_kusto_database(name: Optional[str] = None, kusto_database_id=pulumi.get(__ret__, 'kusto_database_id'), name=pulumi.get(__ret__, 'name'), share_id=pulumi.get(__ret__, 'share_id')) - - -@_utilities.lift_output_func(get_dataset_kusto_database) def get_dataset_kusto_database_output(name: Optional[pulumi.Input[str]] = None, share_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDatasetKustoDatabaseResult]: @@ -161,4 +158,15 @@ def get_dataset_kusto_database_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of this Data Share Kusto Database Dataset. :param str share_id: The resource ID of the Data Share where this Data Share Kusto Database Dataset should be created. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['shareId'] = share_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:datashare/getDatasetKustoDatabase:getDatasetKustoDatabase', __args__, opts=opts, typ=GetDatasetKustoDatabaseResult) + return __ret__.apply(lambda __response__: GetDatasetKustoDatabaseResult( + display_name=pulumi.get(__response__, 'display_name'), + id=pulumi.get(__response__, 'id'), + kusto_cluster_location=pulumi.get(__response__, 'kusto_cluster_location'), + kusto_database_id=pulumi.get(__response__, 'kusto_database_id'), + name=pulumi.get(__response__, 'name'), + share_id=pulumi.get(__response__, 'share_id'))) diff --git a/sdk/python/pulumi_azure/datashare/get_share.py b/sdk/python/pulumi_azure/datashare/get_share.py index beae165827..f406039971 100644 --- a/sdk/python/pulumi_azure/datashare/get_share.py +++ b/sdk/python/pulumi_azure/datashare/get_share.py @@ -156,9 +156,6 @@ def get_share(account_id: Optional[str] = None, name=pulumi.get(__ret__, 'name'), snapshot_schedules=pulumi.get(__ret__, 'snapshot_schedules'), terms=pulumi.get(__ret__, 'terms')) - - -@_utilities.lift_output_func(get_share) def get_share_output(account_id: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetShareResult]: @@ -182,4 +179,16 @@ def get_share_output(account_id: Optional[pulumi.Input[str]] = None, :param str account_id: The ID of the Data Share account in which the Data Share is created. :param str name: The name of this Data Share. """ - ... + __args__ = dict() + __args__['accountId'] = account_id + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:datashare/getShare:getShare', __args__, opts=opts, typ=GetShareResult) + return __ret__.apply(lambda __response__: GetShareResult( + account_id=pulumi.get(__response__, 'account_id'), + description=pulumi.get(__response__, 'description'), + id=pulumi.get(__response__, 'id'), + kind=pulumi.get(__response__, 'kind'), + name=pulumi.get(__response__, 'name'), + snapshot_schedules=pulumi.get(__response__, 'snapshot_schedules'), + terms=pulumi.get(__response__, 'terms'))) diff --git a/sdk/python/pulumi_azure/desktopvirtualization/get_application_group.py b/sdk/python/pulumi_azure/desktopvirtualization/get_application_group.py index c7b9d4456f..d02abbf345 100644 --- a/sdk/python/pulumi_azure/desktopvirtualization/get_application_group.py +++ b/sdk/python/pulumi_azure/desktopvirtualization/get_application_group.py @@ -189,9 +189,6 @@ def get_application_group(name: Optional[str] = None, tags=pulumi.get(__ret__, 'tags'), type=pulumi.get(__ret__, 'type'), workspace_id=pulumi.get(__ret__, 'workspace_id')) - - -@_utilities.lift_output_func(get_application_group) def get_application_group_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetApplicationGroupResult]: @@ -213,4 +210,19 @@ def get_application_group_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of this Application Group. :param str resource_group_name: The name of the Resource Group where the Application Group exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:desktopvirtualization/getApplicationGroup:getApplicationGroup', __args__, opts=opts, typ=GetApplicationGroupResult) + return __ret__.apply(lambda __response__: GetApplicationGroupResult( + description=pulumi.get(__response__, 'description'), + friendly_name=pulumi.get(__response__, 'friendly_name'), + host_pool_id=pulumi.get(__response__, 'host_pool_id'), + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + tags=pulumi.get(__response__, 'tags'), + type=pulumi.get(__response__, 'type'), + workspace_id=pulumi.get(__response__, 'workspace_id'))) diff --git a/sdk/python/pulumi_azure/desktopvirtualization/get_host_pool.py b/sdk/python/pulumi_azure/desktopvirtualization/get_host_pool.py index 4a24149674..cbd264c3ff 100644 --- a/sdk/python/pulumi_azure/desktopvirtualization/get_host_pool.py +++ b/sdk/python/pulumi_azure/desktopvirtualization/get_host_pool.py @@ -267,9 +267,6 @@ def get_host_pool(name: Optional[str] = None, tags=pulumi.get(__ret__, 'tags'), type=pulumi.get(__ret__, 'type'), validate_environment=pulumi.get(__ret__, 'validate_environment')) - - -@_utilities.lift_output_func(get_host_pool) def get_host_pool_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetHostPoolResult]: @@ -290,4 +287,25 @@ def get_host_pool_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of the Virtual Desktop Host Pool to retrieve. :param str resource_group_name: The name of the resource group where the Virtual Desktop Host Pool exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:desktopvirtualization/getHostPool:getHostPool', __args__, opts=opts, typ=GetHostPoolResult) + return __ret__.apply(lambda __response__: GetHostPoolResult( + custom_rdp_properties=pulumi.get(__response__, 'custom_rdp_properties'), + description=pulumi.get(__response__, 'description'), + friendly_name=pulumi.get(__response__, 'friendly_name'), + id=pulumi.get(__response__, 'id'), + load_balancer_type=pulumi.get(__response__, 'load_balancer_type'), + location=pulumi.get(__response__, 'location'), + maximum_sessions_allowed=pulumi.get(__response__, 'maximum_sessions_allowed'), + name=pulumi.get(__response__, 'name'), + personal_desktop_assignment_type=pulumi.get(__response__, 'personal_desktop_assignment_type'), + preferred_app_group_type=pulumi.get(__response__, 'preferred_app_group_type'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + scheduled_agent_updates=pulumi.get(__response__, 'scheduled_agent_updates'), + start_vm_on_connect=pulumi.get(__response__, 'start_vm_on_connect'), + tags=pulumi.get(__response__, 'tags'), + type=pulumi.get(__response__, 'type'), + validate_environment=pulumi.get(__response__, 'validate_environment'))) diff --git a/sdk/python/pulumi_azure/desktopvirtualization/get_workspace.py b/sdk/python/pulumi_azure/desktopvirtualization/get_workspace.py index 307847d070..dbe551e442 100644 --- a/sdk/python/pulumi_azure/desktopvirtualization/get_workspace.py +++ b/sdk/python/pulumi_azure/desktopvirtualization/get_workspace.py @@ -163,9 +163,6 @@ def get_workspace(name: Optional[str] = None, public_network_access_enabled=pulumi.get(__ret__, 'public_network_access_enabled'), resource_group_name=pulumi.get(__ret__, 'resource_group_name'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_workspace) def get_workspace_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetWorkspaceResult]: @@ -187,4 +184,17 @@ def get_workspace_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of this Virtual Desktop Workspace to retrieve. :param str resource_group_name: The name of the Resource Group where the Virtual Desktop Workspace exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:desktopvirtualization/getWorkspace:getWorkspace', __args__, opts=opts, typ=GetWorkspaceResult) + return __ret__.apply(lambda __response__: GetWorkspaceResult( + description=pulumi.get(__response__, 'description'), + friendly_name=pulumi.get(__response__, 'friendly_name'), + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + public_network_access_enabled=pulumi.get(__response__, 'public_network_access_enabled'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_azure/devtest/get_lab.py b/sdk/python/pulumi_azure/devtest/get_lab.py index e581b298e2..1720e09641 100644 --- a/sdk/python/pulumi_azure/devtest/get_lab.py +++ b/sdk/python/pulumi_azure/devtest/get_lab.py @@ -215,9 +215,6 @@ def get_lab(name: Optional[str] = None, storage_type=pulumi.get(__ret__, 'storage_type'), tags=pulumi.get(__ret__, 'tags'), unique_identifier=pulumi.get(__ret__, 'unique_identifier')) - - -@_utilities.lift_output_func(get_lab) def get_lab_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetLabResult]: @@ -239,4 +236,21 @@ def get_lab_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of the Dev Test Lab. :param str resource_group_name: The Name of the Resource Group where the Dev Test Lab exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:devtest/getLab:getLab', __args__, opts=opts, typ=GetLabResult) + return __ret__.apply(lambda __response__: GetLabResult( + artifacts_storage_account_id=pulumi.get(__response__, 'artifacts_storage_account_id'), + default_premium_storage_account_id=pulumi.get(__response__, 'default_premium_storage_account_id'), + default_storage_account_id=pulumi.get(__response__, 'default_storage_account_id'), + id=pulumi.get(__response__, 'id'), + key_vault_id=pulumi.get(__response__, 'key_vault_id'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + premium_data_disk_storage_account_id=pulumi.get(__response__, 'premium_data_disk_storage_account_id'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + storage_type=pulumi.get(__response__, 'storage_type'), + tags=pulumi.get(__response__, 'tags'), + unique_identifier=pulumi.get(__response__, 'unique_identifier'))) diff --git a/sdk/python/pulumi_azure/devtest/get_virtual_network.py b/sdk/python/pulumi_azure/devtest/get_virtual_network.py index 150eddf2b6..49e143a173 100644 --- a/sdk/python/pulumi_azure/devtest/get_virtual_network.py +++ b/sdk/python/pulumi_azure/devtest/get_virtual_network.py @@ -152,9 +152,6 @@ def get_virtual_network(lab_name: Optional[str] = None, resource_group_name=pulumi.get(__ret__, 'resource_group_name'), subnet_overrides=pulumi.get(__ret__, 'subnet_overrides'), unique_identifier=pulumi.get(__ret__, 'unique_identifier')) - - -@_utilities.lift_output_func(get_virtual_network) def get_virtual_network_output(lab_name: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, @@ -179,4 +176,17 @@ def get_virtual_network_output(lab_name: Optional[pulumi.Input[str]] = None, :param str name: Specifies the name of the Virtual Network. :param str resource_group_name: Specifies the name of the resource group that contains the Virtual Network. """ - ... + __args__ = dict() + __args__['labName'] = lab_name + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:devtest/getVirtualNetwork:getVirtualNetwork', __args__, opts=opts, typ=GetVirtualNetworkResult) + return __ret__.apply(lambda __response__: GetVirtualNetworkResult( + allowed_subnets=pulumi.get(__response__, 'allowed_subnets'), + id=pulumi.get(__response__, 'id'), + lab_name=pulumi.get(__response__, 'lab_name'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + subnet_overrides=pulumi.get(__response__, 'subnet_overrides'), + unique_identifier=pulumi.get(__response__, 'unique_identifier'))) diff --git a/sdk/python/pulumi_azure/digitaltwins/get_instance.py b/sdk/python/pulumi_azure/digitaltwins/get_instance.py index 582364a26b..73482c5d90 100644 --- a/sdk/python/pulumi_azure/digitaltwins/get_instance.py +++ b/sdk/python/pulumi_azure/digitaltwins/get_instance.py @@ -137,9 +137,6 @@ def get_instance(name: Optional[str] = None, name=pulumi.get(__ret__, 'name'), resource_group_name=pulumi.get(__ret__, 'resource_group_name'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_instance) def get_instance_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetInstanceResult]: @@ -161,4 +158,15 @@ def get_instance_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of this Digital Twins instance. :param str resource_group_name: The name of the Resource Group where the Digital Twins instance exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:digitaltwins/getInstance:getInstance', __args__, opts=opts, typ=GetInstanceResult) + return __ret__.apply(lambda __response__: GetInstanceResult( + host_name=pulumi.get(__response__, 'host_name'), + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_azure/dns/get_a_record.py b/sdk/python/pulumi_azure/dns/get_a_record.py index 14ec8b9f94..0d51e33473 100644 --- a/sdk/python/pulumi_azure/dns/get_a_record.py +++ b/sdk/python/pulumi_azure/dns/get_a_record.py @@ -175,9 +175,6 @@ def get_a_record(name: Optional[str] = None, target_resource_id=pulumi.get(__ret__, 'target_resource_id'), ttl=pulumi.get(__ret__, 'ttl'), zone_name=pulumi.get(__ret__, 'zone_name')) - - -@_utilities.lift_output_func(get_a_record) def get_a_record_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, zone_name: Optional[pulumi.Input[str]] = None, @@ -200,4 +197,19 @@ def get_a_record_output(name: Optional[pulumi.Input[str]] = None, :param str resource_group_name: Specifies the resource group where the DNS Zone (parent resource) exists. :param str zone_name: Specifies the DNS Zone where the resource exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + __args__['zoneName'] = zone_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:dns/getARecord:getARecord', __args__, opts=opts, typ=GetARecordResult) + return __ret__.apply(lambda __response__: GetARecordResult( + fqdn=pulumi.get(__response__, 'fqdn'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + records=pulumi.get(__response__, 'records'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + tags=pulumi.get(__response__, 'tags'), + target_resource_id=pulumi.get(__response__, 'target_resource_id'), + ttl=pulumi.get(__response__, 'ttl'), + zone_name=pulumi.get(__response__, 'zone_name'))) diff --git a/sdk/python/pulumi_azure/dns/get_aaaa_record.py b/sdk/python/pulumi_azure/dns/get_aaaa_record.py index fe6e55291a..57d10b6f62 100644 --- a/sdk/python/pulumi_azure/dns/get_aaaa_record.py +++ b/sdk/python/pulumi_azure/dns/get_aaaa_record.py @@ -175,9 +175,6 @@ def get_aaaa_record(name: Optional[str] = None, target_resource_id=pulumi.get(__ret__, 'target_resource_id'), ttl=pulumi.get(__ret__, 'ttl'), zone_name=pulumi.get(__ret__, 'zone_name')) - - -@_utilities.lift_output_func(get_aaaa_record) def get_aaaa_record_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, zone_name: Optional[pulumi.Input[str]] = None, @@ -200,4 +197,19 @@ def get_aaaa_record_output(name: Optional[pulumi.Input[str]] = None, :param str resource_group_name: Specifies the resource group where the DNS Zone (parent resource) exists. :param str zone_name: Specifies the DNS Zone where the resource exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + __args__['zoneName'] = zone_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:dns/getAAAARecord:getAAAARecord', __args__, opts=opts, typ=GetAAAARecordResult) + return __ret__.apply(lambda __response__: GetAAAARecordResult( + fqdn=pulumi.get(__response__, 'fqdn'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + records=pulumi.get(__response__, 'records'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + tags=pulumi.get(__response__, 'tags'), + target_resource_id=pulumi.get(__response__, 'target_resource_id'), + ttl=pulumi.get(__response__, 'ttl'), + zone_name=pulumi.get(__response__, 'zone_name'))) diff --git a/sdk/python/pulumi_azure/dns/get_caa_record.py b/sdk/python/pulumi_azure/dns/get_caa_record.py index b3e5dcc68e..ce4a3a9d1f 100644 --- a/sdk/python/pulumi_azure/dns/get_caa_record.py +++ b/sdk/python/pulumi_azure/dns/get_caa_record.py @@ -163,9 +163,6 @@ def get_caa_record(name: Optional[str] = None, tags=pulumi.get(__ret__, 'tags'), ttl=pulumi.get(__ret__, 'ttl'), zone_name=pulumi.get(__ret__, 'zone_name')) - - -@_utilities.lift_output_func(get_caa_record) def get_caa_record_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, zone_name: Optional[pulumi.Input[str]] = None, @@ -188,4 +185,18 @@ def get_caa_record_output(name: Optional[pulumi.Input[str]] = None, :param str resource_group_name: Specifies the resource group where the DNS Zone (parent resource) exists. :param str zone_name: Specifies the DNS Zone where the resource exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + __args__['zoneName'] = zone_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:dns/getCAARecord:getCAARecord', __args__, opts=opts, typ=GetCAARecordResult) + return __ret__.apply(lambda __response__: GetCAARecordResult( + fqdn=pulumi.get(__response__, 'fqdn'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + records=pulumi.get(__response__, 'records'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + tags=pulumi.get(__response__, 'tags'), + ttl=pulumi.get(__response__, 'ttl'), + zone_name=pulumi.get(__response__, 'zone_name'))) diff --git a/sdk/python/pulumi_azure/dns/get_cname_record.py b/sdk/python/pulumi_azure/dns/get_cname_record.py index 6014dd7094..d3fc1b471c 100644 --- a/sdk/python/pulumi_azure/dns/get_cname_record.py +++ b/sdk/python/pulumi_azure/dns/get_cname_record.py @@ -175,9 +175,6 @@ def get_cname_record(name: Optional[str] = None, target_resource_id=pulumi.get(__ret__, 'target_resource_id'), ttl=pulumi.get(__ret__, 'ttl'), zone_name=pulumi.get(__ret__, 'zone_name')) - - -@_utilities.lift_output_func(get_cname_record) def get_cname_record_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, zone_name: Optional[pulumi.Input[str]] = None, @@ -200,4 +197,19 @@ def get_cname_record_output(name: Optional[pulumi.Input[str]] = None, :param str resource_group_name: Specifies the resource group where the DNS Zone (parent resource) exists. :param str zone_name: Specifies the DNS Zone where the resource exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + __args__['zoneName'] = zone_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:dns/getCnameRecord:getCnameRecord', __args__, opts=opts, typ=GetCnameRecordResult) + return __ret__.apply(lambda __response__: GetCnameRecordResult( + fqdn=pulumi.get(__response__, 'fqdn'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + record=pulumi.get(__response__, 'record'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + tags=pulumi.get(__response__, 'tags'), + target_resource_id=pulumi.get(__response__, 'target_resource_id'), + ttl=pulumi.get(__response__, 'ttl'), + zone_name=pulumi.get(__response__, 'zone_name'))) diff --git a/sdk/python/pulumi_azure/dns/get_mx_record.py b/sdk/python/pulumi_azure/dns/get_mx_record.py index de9ca41b84..60da305497 100644 --- a/sdk/python/pulumi_azure/dns/get_mx_record.py +++ b/sdk/python/pulumi_azure/dns/get_mx_record.py @@ -163,9 +163,6 @@ def get_mx_record(name: Optional[str] = None, tags=pulumi.get(__ret__, 'tags'), ttl=pulumi.get(__ret__, 'ttl'), zone_name=pulumi.get(__ret__, 'zone_name')) - - -@_utilities.lift_output_func(get_mx_record) def get_mx_record_output(name: Optional[pulumi.Input[Optional[str]]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, zone_name: Optional[pulumi.Input[str]] = None, @@ -188,4 +185,18 @@ def get_mx_record_output(name: Optional[pulumi.Input[Optional[str]]] = None, :param str resource_group_name: Specifies the resource group where the DNS Zone (parent resource) exists. :param str zone_name: Specifies the DNS Zone where the resource exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + __args__['zoneName'] = zone_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:dns/getMxRecord:getMxRecord', __args__, opts=opts, typ=GetMxRecordResult) + return __ret__.apply(lambda __response__: GetMxRecordResult( + fqdn=pulumi.get(__response__, 'fqdn'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + records=pulumi.get(__response__, 'records'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + tags=pulumi.get(__response__, 'tags'), + ttl=pulumi.get(__response__, 'ttl'), + zone_name=pulumi.get(__response__, 'zone_name'))) diff --git a/sdk/python/pulumi_azure/dns/get_ns_record.py b/sdk/python/pulumi_azure/dns/get_ns_record.py index e7360a15e4..ca7f3ed655 100644 --- a/sdk/python/pulumi_azure/dns/get_ns_record.py +++ b/sdk/python/pulumi_azure/dns/get_ns_record.py @@ -162,9 +162,6 @@ def get_ns_record(name: Optional[str] = None, tags=pulumi.get(__ret__, 'tags'), ttl=pulumi.get(__ret__, 'ttl'), zone_name=pulumi.get(__ret__, 'zone_name')) - - -@_utilities.lift_output_func(get_ns_record) def get_ns_record_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, zone_name: Optional[pulumi.Input[str]] = None, @@ -187,4 +184,18 @@ def get_ns_record_output(name: Optional[pulumi.Input[str]] = None, :param str resource_group_name: Specifies the resource group where the DNS Zone (parent resource) exists. :param str zone_name: Specifies the DNS Zone where the resource exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + __args__['zoneName'] = zone_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:dns/getNsRecord:getNsRecord', __args__, opts=opts, typ=GetNsRecordResult) + return __ret__.apply(lambda __response__: GetNsRecordResult( + fqdn=pulumi.get(__response__, 'fqdn'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + records=pulumi.get(__response__, 'records'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + tags=pulumi.get(__response__, 'tags'), + ttl=pulumi.get(__response__, 'ttl'), + zone_name=pulumi.get(__response__, 'zone_name'))) diff --git a/sdk/python/pulumi_azure/dns/get_ptr_record.py b/sdk/python/pulumi_azure/dns/get_ptr_record.py index 514d9d953f..4638c93f20 100644 --- a/sdk/python/pulumi_azure/dns/get_ptr_record.py +++ b/sdk/python/pulumi_azure/dns/get_ptr_record.py @@ -162,9 +162,6 @@ def get_ptr_record(name: Optional[str] = None, tags=pulumi.get(__ret__, 'tags'), ttl=pulumi.get(__ret__, 'ttl'), zone_name=pulumi.get(__ret__, 'zone_name')) - - -@_utilities.lift_output_func(get_ptr_record) def get_ptr_record_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, zone_name: Optional[pulumi.Input[str]] = None, @@ -187,4 +184,18 @@ def get_ptr_record_output(name: Optional[pulumi.Input[str]] = None, :param str resource_group_name: Specifies the resource group where the DNS Zone (parent resource) exists. :param str zone_name: Specifies the DNS Zone where the resource exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + __args__['zoneName'] = zone_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:dns/getPtrRecord:getPtrRecord', __args__, opts=opts, typ=GetPtrRecordResult) + return __ret__.apply(lambda __response__: GetPtrRecordResult( + fqdn=pulumi.get(__response__, 'fqdn'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + records=pulumi.get(__response__, 'records'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + tags=pulumi.get(__response__, 'tags'), + ttl=pulumi.get(__response__, 'ttl'), + zone_name=pulumi.get(__response__, 'zone_name'))) diff --git a/sdk/python/pulumi_azure/dns/get_soa_record.py b/sdk/python/pulumi_azure/dns/get_soa_record.py index a8f3177e18..602f07bf6f 100644 --- a/sdk/python/pulumi_azure/dns/get_soa_record.py +++ b/sdk/python/pulumi_azure/dns/get_soa_record.py @@ -242,9 +242,6 @@ def get_soa_record(name: Optional[str] = None, tags=pulumi.get(__ret__, 'tags'), ttl=pulumi.get(__ret__, 'ttl'), zone_name=pulumi.get(__ret__, 'zone_name')) - - -@_utilities.lift_output_func(get_soa_record) def get_soa_record_output(name: Optional[pulumi.Input[Optional[str]]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, zone_name: Optional[pulumi.Input[str]] = None, @@ -266,4 +263,24 @@ def get_soa_record_output(name: Optional[pulumi.Input[Optional[str]]] = None, :param str resource_group_name: Specifies the resource group where the DNS Zone (parent resource) exists. :param str zone_name: Specifies the DNS Zone where the resource exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + __args__['zoneName'] = zone_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:dns/getSoaRecord:getSoaRecord', __args__, opts=opts, typ=GetSoaRecordResult) + return __ret__.apply(lambda __response__: GetSoaRecordResult( + email=pulumi.get(__response__, 'email'), + expire_time=pulumi.get(__response__, 'expire_time'), + fqdn=pulumi.get(__response__, 'fqdn'), + host_name=pulumi.get(__response__, 'host_name'), + id=pulumi.get(__response__, 'id'), + minimum_ttl=pulumi.get(__response__, 'minimum_ttl'), + name=pulumi.get(__response__, 'name'), + refresh_time=pulumi.get(__response__, 'refresh_time'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + retry_time=pulumi.get(__response__, 'retry_time'), + serial_number=pulumi.get(__response__, 'serial_number'), + tags=pulumi.get(__response__, 'tags'), + ttl=pulumi.get(__response__, 'ttl'), + zone_name=pulumi.get(__response__, 'zone_name'))) diff --git a/sdk/python/pulumi_azure/dns/get_srv_record.py b/sdk/python/pulumi_azure/dns/get_srv_record.py index dd776ac67e..f8640db32f 100644 --- a/sdk/python/pulumi_azure/dns/get_srv_record.py +++ b/sdk/python/pulumi_azure/dns/get_srv_record.py @@ -163,9 +163,6 @@ def get_srv_record(name: Optional[str] = None, tags=pulumi.get(__ret__, 'tags'), ttl=pulumi.get(__ret__, 'ttl'), zone_name=pulumi.get(__ret__, 'zone_name')) - - -@_utilities.lift_output_func(get_srv_record) def get_srv_record_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, zone_name: Optional[pulumi.Input[str]] = None, @@ -188,4 +185,18 @@ def get_srv_record_output(name: Optional[pulumi.Input[str]] = None, :param str resource_group_name: Specifies the resource group where the DNS Zone (parent resource) exists. :param str zone_name: Specifies the DNS Zone where the resource exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + __args__['zoneName'] = zone_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:dns/getSrvRecord:getSrvRecord', __args__, opts=opts, typ=GetSrvRecordResult) + return __ret__.apply(lambda __response__: GetSrvRecordResult( + fqdn=pulumi.get(__response__, 'fqdn'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + records=pulumi.get(__response__, 'records'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + tags=pulumi.get(__response__, 'tags'), + ttl=pulumi.get(__response__, 'ttl'), + zone_name=pulumi.get(__response__, 'zone_name'))) diff --git a/sdk/python/pulumi_azure/dns/get_txt_record.py b/sdk/python/pulumi_azure/dns/get_txt_record.py index 0b909bae95..4c9644a76d 100644 --- a/sdk/python/pulumi_azure/dns/get_txt_record.py +++ b/sdk/python/pulumi_azure/dns/get_txt_record.py @@ -163,9 +163,6 @@ def get_txt_record(name: Optional[str] = None, tags=pulumi.get(__ret__, 'tags'), ttl=pulumi.get(__ret__, 'ttl'), zone_name=pulumi.get(__ret__, 'zone_name')) - - -@_utilities.lift_output_func(get_txt_record) def get_txt_record_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, zone_name: Optional[pulumi.Input[str]] = None, @@ -188,4 +185,18 @@ def get_txt_record_output(name: Optional[pulumi.Input[str]] = None, :param str resource_group_name: Specifies the resource group where the DNS Zone (parent resource) exists. :param str zone_name: Specifies the DNS Zone where the resource exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + __args__['zoneName'] = zone_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:dns/getTxtRecord:getTxtRecord', __args__, opts=opts, typ=GetTxtRecordResult) + return __ret__.apply(lambda __response__: GetTxtRecordResult( + fqdn=pulumi.get(__response__, 'fqdn'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + records=pulumi.get(__response__, 'records'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + tags=pulumi.get(__response__, 'tags'), + ttl=pulumi.get(__response__, 'ttl'), + zone_name=pulumi.get(__response__, 'zone_name'))) diff --git a/sdk/python/pulumi_azure/dns/get_zone.py b/sdk/python/pulumi_azure/dns/get_zone.py index 96c3bb3bd6..7aa58b9514 100644 --- a/sdk/python/pulumi_azure/dns/get_zone.py +++ b/sdk/python/pulumi_azure/dns/get_zone.py @@ -152,9 +152,6 @@ def get_zone(name: Optional[str] = None, number_of_record_sets=pulumi.get(__ret__, 'number_of_record_sets'), resource_group_name=pulumi.get(__ret__, 'resource_group_name'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_zone) def get_zone_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[Optional[str]]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetZoneResult]: @@ -178,4 +175,16 @@ def get_zone_output(name: Optional[pulumi.Input[str]] = None, If the Name of the Resource Group is not provided, the first DNS Zone from the list of DNS Zones in your subscription that matches `name` will be returned. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:dns/getZone:getZone', __args__, opts=opts, typ=GetZoneResult) + return __ret__.apply(lambda __response__: GetZoneResult( + id=pulumi.get(__response__, 'id'), + max_number_of_record_sets=pulumi.get(__response__, 'max_number_of_record_sets'), + name=pulumi.get(__response__, 'name'), + name_servers=pulumi.get(__response__, 'name_servers'), + number_of_record_sets=pulumi.get(__response__, 'number_of_record_sets'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_azure/domainservices/get_service.py b/sdk/python/pulumi_azure/domainservices/get_service.py index b813293937..25fbfb8474 100644 --- a/sdk/python/pulumi_azure/domainservices/get_service.py +++ b/sdk/python/pulumi_azure/domainservices/get_service.py @@ -286,9 +286,6 @@ def get_service(name: Optional[str] = None, tags=pulumi.get(__ret__, 'tags'), tenant_id=pulumi.get(__ret__, 'tenant_id'), version=pulumi.get(__ret__, 'version')) - - -@_utilities.lift_output_func(get_service) def get_service_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, tags: Optional[pulumi.Input[Optional[Mapping[str, str]]]] = None, @@ -313,4 +310,28 @@ def get_service_output(name: Optional[pulumi.Input[str]] = None, :param str resource_group_name: The name of the Resource Group in which the Domain Service should exist. Changing this forces a new resource to be created. :param Mapping[str, str] tags: A mapping of tags assigned to the resource. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + __args__['tags'] = tags + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:domainservices/getService:getService', __args__, opts=opts, typ=GetServiceResult) + return __ret__.apply(lambda __response__: GetServiceResult( + deployment_id=pulumi.get(__response__, 'deployment_id'), + domain_configuration_type=pulumi.get(__response__, 'domain_configuration_type'), + domain_name=pulumi.get(__response__, 'domain_name'), + filtered_sync_enabled=pulumi.get(__response__, 'filtered_sync_enabled'), + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + notifications=pulumi.get(__response__, 'notifications'), + replica_sets=pulumi.get(__response__, 'replica_sets'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + resource_id=pulumi.get(__response__, 'resource_id'), + secure_ldaps=pulumi.get(__response__, 'secure_ldaps'), + securities=pulumi.get(__response__, 'securities'), + sku=pulumi.get(__response__, 'sku'), + sync_owner=pulumi.get(__response__, 'sync_owner'), + tags=pulumi.get(__response__, 'tags'), + tenant_id=pulumi.get(__response__, 'tenant_id'), + version=pulumi.get(__response__, 'version'))) diff --git a/sdk/python/pulumi_azure/elasticcloud/get_elasticsearch.py b/sdk/python/pulumi_azure/elasticcloud/get_elasticsearch.py index 0deab05cd8..544b6e3b71 100644 --- a/sdk/python/pulumi_azure/elasticcloud/get_elasticsearch.py +++ b/sdk/python/pulumi_azure/elasticcloud/get_elasticsearch.py @@ -263,9 +263,6 @@ def get_elasticsearch(logs: Optional[Sequence[Union['GetElasticsearchLogArgs', ' resource_group_name=pulumi.get(__ret__, 'resource_group_name'), sku_name=pulumi.get(__ret__, 'sku_name'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_elasticsearch) def get_elasticsearch_output(logs: Optional[pulumi.Input[Optional[Sequence[Union['GetElasticsearchLogArgs', 'GetElasticsearchLogArgsDict']]]]] = None, name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, @@ -290,4 +287,25 @@ def get_elasticsearch_output(logs: Optional[pulumi.Input[Optional[Sequence[Union :param str name: The name of the Elasticsearch resource. :param str resource_group_name: The name of the resource group in which the Elasticsearch exists. """ - ... + __args__ = dict() + __args__['logs'] = logs + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:elasticcloud/getElasticsearch:getElasticsearch', __args__, opts=opts, typ=GetElasticsearchResult) + return __ret__.apply(lambda __response__: GetElasticsearchResult( + elastic_cloud_deployment_id=pulumi.get(__response__, 'elastic_cloud_deployment_id'), + elastic_cloud_email_address=pulumi.get(__response__, 'elastic_cloud_email_address'), + elastic_cloud_sso_default_url=pulumi.get(__response__, 'elastic_cloud_sso_default_url'), + elastic_cloud_user_id=pulumi.get(__response__, 'elastic_cloud_user_id'), + elasticsearch_service_url=pulumi.get(__response__, 'elasticsearch_service_url'), + id=pulumi.get(__response__, 'id'), + kibana_service_url=pulumi.get(__response__, 'kibana_service_url'), + kibana_sso_uri=pulumi.get(__response__, 'kibana_sso_uri'), + location=pulumi.get(__response__, 'location'), + logs=pulumi.get(__response__, 'logs'), + monitoring_enabled=pulumi.get(__response__, 'monitoring_enabled'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + sku_name=pulumi.get(__response__, 'sku_name'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_azure/elasticsan/get.py b/sdk/python/pulumi_azure/elasticsan/get.py index f9e4afee07..affdec30c6 100644 --- a/sdk/python/pulumi_azure/elasticsan/get.py +++ b/sdk/python/pulumi_azure/elasticsan/get.py @@ -245,9 +245,6 @@ def get(name: Optional[str] = None, total_volume_size_in_gib=pulumi.get(__ret__, 'total_volume_size_in_gib'), volume_group_count=pulumi.get(__ret__, 'volume_group_count'), zones=pulumi.get(__ret__, 'zones')) - - -@_utilities.lift_output_func(get) def get_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetResult]: @@ -269,4 +266,23 @@ def get_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of this Elastic SAN. :param str resource_group_name: The name of the Resource Group where the Elastic SAN exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:elasticsan/get:get', __args__, opts=opts, typ=GetResult) + return __ret__.apply(lambda __response__: GetResult( + base_size_in_tib=pulumi.get(__response__, 'base_size_in_tib'), + extended_size_in_tib=pulumi.get(__response__, 'extended_size_in_tib'), + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + skus=pulumi.get(__response__, 'skus'), + tags=pulumi.get(__response__, 'tags'), + total_iops=pulumi.get(__response__, 'total_iops'), + total_mbps=pulumi.get(__response__, 'total_mbps'), + total_size_in_tib=pulumi.get(__response__, 'total_size_in_tib'), + total_volume_size_in_gib=pulumi.get(__response__, 'total_volume_size_in_gib'), + volume_group_count=pulumi.get(__response__, 'volume_group_count'), + zones=pulumi.get(__response__, 'zones'))) diff --git a/sdk/python/pulumi_azure/elasticsan/get_volume_group.py b/sdk/python/pulumi_azure/elasticsan/get_volume_group.py index c4d09919e5..7a71833c07 100644 --- a/sdk/python/pulumi_azure/elasticsan/get_volume_group.py +++ b/sdk/python/pulumi_azure/elasticsan/get_volume_group.py @@ -166,9 +166,6 @@ def get_volume_group(elastic_san_id: Optional[str] = None, name=pulumi.get(__ret__, 'name'), network_rules=pulumi.get(__ret__, 'network_rules'), protocol_type=pulumi.get(__ret__, 'protocol_type')) - - -@_utilities.lift_output_func(get_volume_group) def get_volume_group_output(elastic_san_id: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetVolumeGroupResult]: @@ -192,4 +189,17 @@ def get_volume_group_output(elastic_san_id: Optional[pulumi.Input[str]] = None, :param str elastic_san_id: The Elastic SAN ID within which the Elastic SAN Volume Group exists. :param str name: The name of the Elastic SAN Volume Group. """ - ... + __args__ = dict() + __args__['elasticSanId'] = elastic_san_id + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:elasticsan/getVolumeGroup:getVolumeGroup', __args__, opts=opts, typ=GetVolumeGroupResult) + return __ret__.apply(lambda __response__: GetVolumeGroupResult( + elastic_san_id=pulumi.get(__response__, 'elastic_san_id'), + encryption_type=pulumi.get(__response__, 'encryption_type'), + encryptions=pulumi.get(__response__, 'encryptions'), + id=pulumi.get(__response__, 'id'), + identities=pulumi.get(__response__, 'identities'), + name=pulumi.get(__response__, 'name'), + network_rules=pulumi.get(__response__, 'network_rules'), + protocol_type=pulumi.get(__response__, 'protocol_type'))) diff --git a/sdk/python/pulumi_azure/elasticsan/get_volume_snapshot.py b/sdk/python/pulumi_azure/elasticsan/get_volume_snapshot.py index 243b05563e..cc84f86e4c 100644 --- a/sdk/python/pulumi_azure/elasticsan/get_volume_snapshot.py +++ b/sdk/python/pulumi_azure/elasticsan/get_volume_snapshot.py @@ -141,9 +141,6 @@ def get_volume_snapshot(name: Optional[str] = None, source_volume_size_in_gib=pulumi.get(__ret__, 'source_volume_size_in_gib'), volume_group_id=pulumi.get(__ret__, 'volume_group_id'), volume_name=pulumi.get(__ret__, 'volume_name')) - - -@_utilities.lift_output_func(get_volume_snapshot) def get_volume_snapshot_output(name: Optional[pulumi.Input[str]] = None, volume_group_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetVolumeSnapshotResult]: @@ -169,4 +166,15 @@ def get_volume_snapshot_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of the Elastic SAN Volume Snapshot. :param str volume_group_id: The Elastic SAN Volume Group ID within which the Elastic SAN Volume Snapshot exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['volumeGroupId'] = volume_group_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:elasticsan/getVolumeSnapshot:getVolumeSnapshot', __args__, opts=opts, typ=GetVolumeSnapshotResult) + return __ret__.apply(lambda __response__: GetVolumeSnapshotResult( + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + source_id=pulumi.get(__response__, 'source_id'), + source_volume_size_in_gib=pulumi.get(__response__, 'source_volume_size_in_gib'), + volume_group_id=pulumi.get(__response__, 'volume_group_id'), + volume_name=pulumi.get(__response__, 'volume_name'))) diff --git a/sdk/python/pulumi_azure/eventgrid/get_domain.py b/sdk/python/pulumi_azure/eventgrid/get_domain.py index 1af22d1681..afc3248608 100644 --- a/sdk/python/pulumi_azure/eventgrid/get_domain.py +++ b/sdk/python/pulumi_azure/eventgrid/get_domain.py @@ -242,9 +242,6 @@ def get_domain(name: Optional[str] = None, resource_group_name=pulumi.get(__ret__, 'resource_group_name'), secondary_access_key=pulumi.get(__ret__, 'secondary_access_key'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_domain) def get_domain_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDomainResult]: @@ -266,4 +263,23 @@ def get_domain_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of the EventGrid Domain resource. :param str resource_group_name: The name of the resource group in which the EventGrid Domain exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:eventgrid/getDomain:getDomain', __args__, opts=opts, typ=GetDomainResult) + return __ret__.apply(lambda __response__: GetDomainResult( + endpoint=pulumi.get(__response__, 'endpoint'), + id=pulumi.get(__response__, 'id'), + identities=pulumi.get(__response__, 'identities'), + inbound_ip_rules=pulumi.get(__response__, 'inbound_ip_rules'), + input_mapping_default_values=pulumi.get(__response__, 'input_mapping_default_values'), + input_mapping_fields=pulumi.get(__response__, 'input_mapping_fields'), + input_schema=pulumi.get(__response__, 'input_schema'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + primary_access_key=pulumi.get(__response__, 'primary_access_key'), + public_network_access_enabled=pulumi.get(__response__, 'public_network_access_enabled'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + secondary_access_key=pulumi.get(__response__, 'secondary_access_key'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_azure/eventgrid/get_domain_topic.py b/sdk/python/pulumi_azure/eventgrid/get_domain_topic.py index 3e66cb079a..9c52ce36a2 100644 --- a/sdk/python/pulumi_azure/eventgrid/get_domain_topic.py +++ b/sdk/python/pulumi_azure/eventgrid/get_domain_topic.py @@ -113,9 +113,6 @@ def get_domain_topic(domain_name: Optional[str] = None, id=pulumi.get(__ret__, 'id'), name=pulumi.get(__ret__, 'name'), resource_group_name=pulumi.get(__ret__, 'resource_group_name')) - - -@_utilities.lift_output_func(get_domain_topic) def get_domain_topic_output(domain_name: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, @@ -138,4 +135,14 @@ def get_domain_topic_output(domain_name: Optional[pulumi.Input[str]] = None, :param str name: The name of the EventGrid Domain Topic resource. :param str resource_group_name: The name of the resource group in which the EventGrid Domain Topic exists. """ - ... + __args__ = dict() + __args__['domainName'] = domain_name + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:eventgrid/getDomainTopic:getDomainTopic', __args__, opts=opts, typ=GetDomainTopicResult) + return __ret__.apply(lambda __response__: GetDomainTopicResult( + domain_name=pulumi.get(__response__, 'domain_name'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'))) diff --git a/sdk/python/pulumi_azure/eventgrid/get_system_topic.py b/sdk/python/pulumi_azure/eventgrid/get_system_topic.py index 6ab13bc5b6..bd74cc39d7 100644 --- a/sdk/python/pulumi_azure/eventgrid/get_system_topic.py +++ b/sdk/python/pulumi_azure/eventgrid/get_system_topic.py @@ -173,9 +173,6 @@ def get_system_topic(name: Optional[str] = None, source_arm_resource_id=pulumi.get(__ret__, 'source_arm_resource_id'), tags=pulumi.get(__ret__, 'tags'), topic_type=pulumi.get(__ret__, 'topic_type')) - - -@_utilities.lift_output_func(get_system_topic) def get_system_topic_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSystemTopicResult]: @@ -196,4 +193,18 @@ def get_system_topic_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of the EventGrid System Topic resource. :param str resource_group_name: The name of the resource group in which the EventGrid System Topic exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:eventgrid/getSystemTopic:getSystemTopic', __args__, opts=opts, typ=GetSystemTopicResult) + return __ret__.apply(lambda __response__: GetSystemTopicResult( + id=pulumi.get(__response__, 'id'), + identities=pulumi.get(__response__, 'identities'), + location=pulumi.get(__response__, 'location'), + metric_arm_resource_id=pulumi.get(__response__, 'metric_arm_resource_id'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + source_arm_resource_id=pulumi.get(__response__, 'source_arm_resource_id'), + tags=pulumi.get(__response__, 'tags'), + topic_type=pulumi.get(__response__, 'topic_type'))) diff --git a/sdk/python/pulumi_azure/eventgrid/get_topic.py b/sdk/python/pulumi_azure/eventgrid/get_topic.py index 0a8b2a60ea..415587ba88 100644 --- a/sdk/python/pulumi_azure/eventgrid/get_topic.py +++ b/sdk/python/pulumi_azure/eventgrid/get_topic.py @@ -156,9 +156,6 @@ def get_topic(name: Optional[str] = None, resource_group_name=pulumi.get(__ret__, 'resource_group_name'), secondary_access_key=pulumi.get(__ret__, 'secondary_access_key'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_topic) def get_topic_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetTopicResult]: @@ -179,4 +176,17 @@ def get_topic_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of the EventGrid Topic resource. :param str resource_group_name: The name of the resource group in which the EventGrid Topic exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:eventgrid/getTopic:getTopic', __args__, opts=opts, typ=GetTopicResult) + return __ret__.apply(lambda __response__: GetTopicResult( + endpoint=pulumi.get(__response__, 'endpoint'), + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + primary_access_key=pulumi.get(__response__, 'primary_access_key'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + secondary_access_key=pulumi.get(__response__, 'secondary_access_key'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_azure/eventhub/get_authorization_rule.py b/sdk/python/pulumi_azure/eventhub/get_authorization_rule.py index bd341854c4..b44d4253b9 100644 --- a/sdk/python/pulumi_azure/eventhub/get_authorization_rule.py +++ b/sdk/python/pulumi_azure/eventhub/get_authorization_rule.py @@ -239,9 +239,6 @@ def get_authorization_rule(eventhub_name: Optional[str] = None, secondary_connection_string_alias=pulumi.get(__ret__, 'secondary_connection_string_alias'), secondary_key=pulumi.get(__ret__, 'secondary_key'), send=pulumi.get(__ret__, 'send')) - - -@_utilities.lift_output_func(get_authorization_rule) def get_authorization_rule_output(eventhub_name: Optional[pulumi.Input[str]] = None, listen: Optional[pulumi.Input[Optional[bool]]] = None, manage: Optional[pulumi.Input[Optional[bool]]] = None, @@ -271,4 +268,28 @@ def get_authorization_rule_output(eventhub_name: Optional[pulumi.Input[str]] = N :param str namespace_name: Specifies the name of the grandparent EventHub Namespace. :param str resource_group_name: The name of the resource group in which the EventHub Authorization Rule's grandparent Namespace exists. """ - ... + __args__ = dict() + __args__['eventhubName'] = eventhub_name + __args__['listen'] = listen + __args__['manage'] = manage + __args__['name'] = name + __args__['namespaceName'] = namespace_name + __args__['resourceGroupName'] = resource_group_name + __args__['send'] = send + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:eventhub/getAuthorizationRule:getAuthorizationRule', __args__, opts=opts, typ=GetAuthorizationRuleResult) + return __ret__.apply(lambda __response__: GetAuthorizationRuleResult( + eventhub_name=pulumi.get(__response__, 'eventhub_name'), + id=pulumi.get(__response__, 'id'), + listen=pulumi.get(__response__, 'listen'), + manage=pulumi.get(__response__, 'manage'), + name=pulumi.get(__response__, 'name'), + namespace_name=pulumi.get(__response__, 'namespace_name'), + primary_connection_string=pulumi.get(__response__, 'primary_connection_string'), + primary_connection_string_alias=pulumi.get(__response__, 'primary_connection_string_alias'), + primary_key=pulumi.get(__response__, 'primary_key'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + secondary_connection_string=pulumi.get(__response__, 'secondary_connection_string'), + secondary_connection_string_alias=pulumi.get(__response__, 'secondary_connection_string_alias'), + secondary_key=pulumi.get(__response__, 'secondary_key'), + send=pulumi.get(__response__, 'send'))) diff --git a/sdk/python/pulumi_azure/eventhub/get_cluster.py b/sdk/python/pulumi_azure/eventhub/get_cluster.py index 7c0d908f6f..d94370b418 100644 --- a/sdk/python/pulumi_azure/eventhub/get_cluster.py +++ b/sdk/python/pulumi_azure/eventhub/get_cluster.py @@ -124,9 +124,6 @@ def get_cluster(name: Optional[str] = None, name=pulumi.get(__ret__, 'name'), resource_group_name=pulumi.get(__ret__, 'resource_group_name'), sku_name=pulumi.get(__ret__, 'sku_name')) - - -@_utilities.lift_output_func(get_cluster) def get_cluster_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetClusterResult]: @@ -148,4 +145,14 @@ def get_cluster_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of this EventHub Cluster. :param str resource_group_name: The name of the Resource Group where the EventHub Cluster exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:eventhub/getCluster:getCluster', __args__, opts=opts, typ=GetClusterResult) + return __ret__.apply(lambda __response__: GetClusterResult( + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + sku_name=pulumi.get(__response__, 'sku_name'))) diff --git a/sdk/python/pulumi_azure/eventhub/get_consume_group.py b/sdk/python/pulumi_azure/eventhub/get_consume_group.py index 0f6180c2a7..2ac63e5672 100644 --- a/sdk/python/pulumi_azure/eventhub/get_consume_group.py +++ b/sdk/python/pulumi_azure/eventhub/get_consume_group.py @@ -138,9 +138,6 @@ def get_consume_group(eventhub_name: Optional[str] = None, namespace_name=pulumi.get(__ret__, 'namespace_name'), resource_group_name=pulumi.get(__ret__, 'resource_group_name'), user_metadata=pulumi.get(__ret__, 'user_metadata')) - - -@_utilities.lift_output_func(get_consume_group) def get_consume_group_output(eventhub_name: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, namespace_name: Optional[pulumi.Input[str]] = None, @@ -167,4 +164,17 @@ def get_consume_group_output(eventhub_name: Optional[pulumi.Input[str]] = None, :param str namespace_name: Specifies the name of the grandparent EventHub Namespace. :param str resource_group_name: The name of the resource group in which the EventHub Consumer Group's grandparent Namespace exists. """ - ... + __args__ = dict() + __args__['eventhubName'] = eventhub_name + __args__['name'] = name + __args__['namespaceName'] = namespace_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:eventhub/getConsumeGroup:getConsumeGroup', __args__, opts=opts, typ=GetConsumeGroupResult) + return __ret__.apply(lambda __response__: GetConsumeGroupResult( + eventhub_name=pulumi.get(__response__, 'eventhub_name'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + namespace_name=pulumi.get(__response__, 'namespace_name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + user_metadata=pulumi.get(__response__, 'user_metadata'))) diff --git a/sdk/python/pulumi_azure/eventhub/get_event_hub.py b/sdk/python/pulumi_azure/eventhub/get_event_hub.py index 175f0cc1b4..7dbc12017d 100644 --- a/sdk/python/pulumi_azure/eventhub/get_event_hub.py +++ b/sdk/python/pulumi_azure/eventhub/get_event_hub.py @@ -138,9 +138,6 @@ def get_event_hub(name: Optional[str] = None, partition_count=pulumi.get(__ret__, 'partition_count'), partition_ids=pulumi.get(__ret__, 'partition_ids'), resource_group_name=pulumi.get(__ret__, 'resource_group_name')) - - -@_utilities.lift_output_func(get_event_hub) def get_event_hub_output(name: Optional[pulumi.Input[str]] = None, namespace_name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, @@ -165,4 +162,16 @@ def get_event_hub_output(name: Optional[pulumi.Input[str]] = None, :param str namespace_name: The name of the EventHub Namespace where the EventHub exists. :param str resource_group_name: The name of the Resource Group where the EventHub exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['namespaceName'] = namespace_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:eventhub/getEventHub:getEventHub', __args__, opts=opts, typ=GetEventHubResult) + return __ret__.apply(lambda __response__: GetEventHubResult( + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + namespace_name=pulumi.get(__response__, 'namespace_name'), + partition_count=pulumi.get(__response__, 'partition_count'), + partition_ids=pulumi.get(__response__, 'partition_ids'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'))) diff --git a/sdk/python/pulumi_azure/eventhub/get_eventhub_namespace.py b/sdk/python/pulumi_azure/eventhub/get_eventhub_namespace.py index 9eb338cd04..79f5397368 100644 --- a/sdk/python/pulumi_azure/eventhub/get_eventhub_namespace.py +++ b/sdk/python/pulumi_azure/eventhub/get_eventhub_namespace.py @@ -284,9 +284,6 @@ def get_eventhub_namespace(name: Optional[str] = None, resource_group_name=pulumi.get(__ret__, 'resource_group_name'), sku=pulumi.get(__ret__, 'sku'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_eventhub_namespace) def get_eventhub_namespace_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetEventhubNamespaceResult]: @@ -309,4 +306,26 @@ def get_eventhub_namespace_output(name: Optional[pulumi.Input[str]] = None, :param str resource_group_name: The Name of the Resource Group where the EventHub Namespace exists. """ pulumi.log.warn("""get_eventhub_namespace is deprecated: azure.eventhub.getEventhubNamespace has been deprecated in favor of azure.eventhub.getNamespace""") - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:eventhub/getEventhubNamespace:getEventhubNamespace', __args__, opts=opts, typ=GetEventhubNamespaceResult) + return __ret__.apply(lambda __response__: GetEventhubNamespaceResult( + auto_inflate_enabled=pulumi.get(__response__, 'auto_inflate_enabled'), + capacity=pulumi.get(__response__, 'capacity'), + dedicated_cluster_id=pulumi.get(__response__, 'dedicated_cluster_id'), + default_primary_connection_string=pulumi.get(__response__, 'default_primary_connection_string'), + default_primary_connection_string_alias=pulumi.get(__response__, 'default_primary_connection_string_alias'), + default_primary_key=pulumi.get(__response__, 'default_primary_key'), + default_secondary_connection_string=pulumi.get(__response__, 'default_secondary_connection_string'), + default_secondary_connection_string_alias=pulumi.get(__response__, 'default_secondary_connection_string_alias'), + default_secondary_key=pulumi.get(__response__, 'default_secondary_key'), + id=pulumi.get(__response__, 'id'), + kafka_enabled=pulumi.get(__response__, 'kafka_enabled'), + location=pulumi.get(__response__, 'location'), + maximum_throughput_units=pulumi.get(__response__, 'maximum_throughput_units'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + sku=pulumi.get(__response__, 'sku'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_azure/eventhub/get_namespace.py b/sdk/python/pulumi_azure/eventhub/get_namespace.py index 7d5a7a6a07..f9f2526884 100644 --- a/sdk/python/pulumi_azure/eventhub/get_namespace.py +++ b/sdk/python/pulumi_azure/eventhub/get_namespace.py @@ -281,9 +281,6 @@ def get_namespace(name: Optional[str] = None, resource_group_name=pulumi.get(__ret__, 'resource_group_name'), sku=pulumi.get(__ret__, 'sku'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_namespace) def get_namespace_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetNamespaceResult]: @@ -305,4 +302,26 @@ def get_namespace_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of the EventHub Namespace. :param str resource_group_name: The Name of the Resource Group where the EventHub Namespace exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:eventhub/getNamespace:getNamespace', __args__, opts=opts, typ=GetNamespaceResult) + return __ret__.apply(lambda __response__: GetNamespaceResult( + auto_inflate_enabled=pulumi.get(__response__, 'auto_inflate_enabled'), + capacity=pulumi.get(__response__, 'capacity'), + dedicated_cluster_id=pulumi.get(__response__, 'dedicated_cluster_id'), + default_primary_connection_string=pulumi.get(__response__, 'default_primary_connection_string'), + default_primary_connection_string_alias=pulumi.get(__response__, 'default_primary_connection_string_alias'), + default_primary_key=pulumi.get(__response__, 'default_primary_key'), + default_secondary_connection_string=pulumi.get(__response__, 'default_secondary_connection_string'), + default_secondary_connection_string_alias=pulumi.get(__response__, 'default_secondary_connection_string_alias'), + default_secondary_key=pulumi.get(__response__, 'default_secondary_key'), + id=pulumi.get(__response__, 'id'), + kafka_enabled=pulumi.get(__response__, 'kafka_enabled'), + location=pulumi.get(__response__, 'location'), + maximum_throughput_units=pulumi.get(__response__, 'maximum_throughput_units'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + sku=pulumi.get(__response__, 'sku'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_azure/eventhub/get_namespace_authorization_rule.py b/sdk/python/pulumi_azure/eventhub/get_namespace_authorization_rule.py index 975ab54a0d..d2278a3710 100644 --- a/sdk/python/pulumi_azure/eventhub/get_namespace_authorization_rule.py +++ b/sdk/python/pulumi_azure/eventhub/get_namespace_authorization_rule.py @@ -229,9 +229,6 @@ def get_namespace_authorization_rule(name: Optional[str] = None, secondary_connection_string_alias=pulumi.get(__ret__, 'secondary_connection_string_alias'), secondary_key=pulumi.get(__ret__, 'secondary_key'), send=pulumi.get(__ret__, 'send')) - - -@_utilities.lift_output_func(get_namespace_authorization_rule) def get_namespace_authorization_rule_output(name: Optional[pulumi.Input[str]] = None, namespace_name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, @@ -256,4 +253,23 @@ def get_namespace_authorization_rule_output(name: Optional[pulumi.Input[str]] = :param str namespace_name: Specifies the name of the EventHub Namespace. :param str resource_group_name: The name of the resource group in which the EventHub Namespace exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['namespaceName'] = namespace_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:eventhub/getNamespaceAuthorizationRule:getNamespaceAuthorizationRule', __args__, opts=opts, typ=GetNamespaceAuthorizationRuleResult) + return __ret__.apply(lambda __response__: GetNamespaceAuthorizationRuleResult( + id=pulumi.get(__response__, 'id'), + listen=pulumi.get(__response__, 'listen'), + manage=pulumi.get(__response__, 'manage'), + name=pulumi.get(__response__, 'name'), + namespace_name=pulumi.get(__response__, 'namespace_name'), + primary_connection_string=pulumi.get(__response__, 'primary_connection_string'), + primary_connection_string_alias=pulumi.get(__response__, 'primary_connection_string_alias'), + primary_key=pulumi.get(__response__, 'primary_key'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + secondary_connection_string=pulumi.get(__response__, 'secondary_connection_string'), + secondary_connection_string_alias=pulumi.get(__response__, 'secondary_connection_string_alias'), + secondary_key=pulumi.get(__response__, 'secondary_key'), + send=pulumi.get(__response__, 'send'))) diff --git a/sdk/python/pulumi_azure/eventhub/get_sas.py b/sdk/python/pulumi_azure/eventhub/get_sas.py index f972dd427d..a125a409f4 100644 --- a/sdk/python/pulumi_azure/eventhub/get_sas.py +++ b/sdk/python/pulumi_azure/eventhub/get_sas.py @@ -136,9 +136,6 @@ def get_sas(connection_string: Optional[str] = None, expiry=pulumi.get(__ret__, 'expiry'), id=pulumi.get(__ret__, 'id'), sas=pulumi.get(__ret__, 'sas')) - - -@_utilities.lift_output_func(get_sas) def get_sas_output(connection_string: Optional[pulumi.Input[str]] = None, expiry: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSasResult]: @@ -185,4 +182,13 @@ def get_sas_output(connection_string: Optional[pulumi.Input[str]] = None, :param str connection_string: The connection string for the Event Hub to which this SAS applies. :param str expiry: The expiration time and date of this SAS. Must be a valid ISO-8601 format time/date string. """ - ... + __args__ = dict() + __args__['connectionString'] = connection_string + __args__['expiry'] = expiry + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:eventhub/getSas:getSas', __args__, opts=opts, typ=GetSasResult) + return __ret__.apply(lambda __response__: GetSasResult( + connection_string=pulumi.get(__response__, 'connection_string'), + expiry=pulumi.get(__response__, 'expiry'), + id=pulumi.get(__response__, 'id'), + sas=pulumi.get(__response__, 'sas'))) diff --git a/sdk/python/pulumi_azure/eventhub/get_service_bus_namespace.py b/sdk/python/pulumi_azure/eventhub/get_service_bus_namespace.py index 170b2b8b70..17b112d968 100644 --- a/sdk/python/pulumi_azure/eventhub/get_service_bus_namespace.py +++ b/sdk/python/pulumi_azure/eventhub/get_service_bus_namespace.py @@ -233,9 +233,6 @@ def get_service_bus_namespace(name: Optional[str] = None, resource_group_name=pulumi.get(__ret__, 'resource_group_name'), sku=pulumi.get(__ret__, 'sku'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_service_bus_namespace) def get_service_bus_namespace_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetServiceBusNamespaceResult]: @@ -258,4 +255,22 @@ def get_service_bus_namespace_output(name: Optional[pulumi.Input[str]] = None, :param str resource_group_name: Specifies the name of the Resource Group where the ServiceBus Namespace exists. """ pulumi.log.warn("""get_service_bus_namespace is deprecated: azure.eventhub.getServiceBusNamespace has been deprecated in favor of azure.servicebus.getNamespace""") - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:eventhub/getServiceBusNamespace:getServiceBusNamespace', __args__, opts=opts, typ=GetServiceBusNamespaceResult) + return __ret__.apply(lambda __response__: GetServiceBusNamespaceResult( + capacity=pulumi.get(__response__, 'capacity'), + default_primary_connection_string=pulumi.get(__response__, 'default_primary_connection_string'), + default_primary_key=pulumi.get(__response__, 'default_primary_key'), + default_secondary_connection_string=pulumi.get(__response__, 'default_secondary_connection_string'), + default_secondary_key=pulumi.get(__response__, 'default_secondary_key'), + endpoint=pulumi.get(__response__, 'endpoint'), + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + premium_messaging_partitions=pulumi.get(__response__, 'premium_messaging_partitions'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + sku=pulumi.get(__response__, 'sku'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_azure/expressroute/get_circuit_peering.py b/sdk/python/pulumi_azure/expressroute/get_circuit_peering.py index 1d61b01298..712aad4adf 100644 --- a/sdk/python/pulumi_azure/expressroute/get_circuit_peering.py +++ b/sdk/python/pulumi_azure/expressroute/get_circuit_peering.py @@ -245,9 +245,6 @@ def get_circuit_peering(express_route_circuit_name: Optional[str] = None, secondary_peer_address_prefix=pulumi.get(__ret__, 'secondary_peer_address_prefix'), shared_key=pulumi.get(__ret__, 'shared_key'), vlan_id=pulumi.get(__ret__, 'vlan_id')) - - -@_utilities.lift_output_func(get_circuit_peering) def get_circuit_peering_output(express_route_circuit_name: Optional[pulumi.Input[str]] = None, peering_type: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, @@ -271,4 +268,25 @@ def get_circuit_peering_output(express_route_circuit_name: Optional[pulumi.Input :param str peering_type: The type of the ExpressRoute Circuit Peering. Acceptable values include `AzurePrivatePeering`, `AzurePublicPeering` and `MicrosoftPeering`. :param str resource_group_name: The name of the resource group in which to create the Express Route Circuit Peering. Changing this forces a new resource to be created. """ - ... + __args__ = dict() + __args__['expressRouteCircuitName'] = express_route_circuit_name + __args__['peeringType'] = peering_type + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:expressroute/getCircuitPeering:getCircuitPeering', __args__, opts=opts, typ=GetCircuitPeeringResult) + return __ret__.apply(lambda __response__: GetCircuitPeeringResult( + azure_asn=pulumi.get(__response__, 'azure_asn'), + express_route_circuit_name=pulumi.get(__response__, 'express_route_circuit_name'), + gateway_manager_etag=pulumi.get(__response__, 'gateway_manager_etag'), + id=pulumi.get(__response__, 'id'), + ipv4_enabled=pulumi.get(__response__, 'ipv4_enabled'), + peer_asn=pulumi.get(__response__, 'peer_asn'), + peering_type=pulumi.get(__response__, 'peering_type'), + primary_azure_port=pulumi.get(__response__, 'primary_azure_port'), + primary_peer_address_prefix=pulumi.get(__response__, 'primary_peer_address_prefix'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + route_filter_id=pulumi.get(__response__, 'route_filter_id'), + secondary_azure_port=pulumi.get(__response__, 'secondary_azure_port'), + secondary_peer_address_prefix=pulumi.get(__response__, 'secondary_peer_address_prefix'), + shared_key=pulumi.get(__response__, 'shared_key'), + vlan_id=pulumi.get(__response__, 'vlan_id'))) diff --git a/sdk/python/pulumi_azure/hdinsight/get_cluster.py b/sdk/python/pulumi_azure/hdinsight/get_cluster.py index 5e719f93ec..6645d30d1c 100644 --- a/sdk/python/pulumi_azure/hdinsight/get_cluster.py +++ b/sdk/python/pulumi_azure/hdinsight/get_cluster.py @@ -272,9 +272,6 @@ def get_cluster(name: Optional[str] = None, tags=pulumi.get(__ret__, 'tags'), tier=pulumi.get(__ret__, 'tier'), tls_min_version=pulumi.get(__ret__, 'tls_min_version')) - - -@_utilities.lift_output_func(get_cluster) def get_cluster_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetClusterResult]: @@ -297,4 +294,25 @@ def get_cluster_output(name: Optional[pulumi.Input[str]] = None, :param str name: Specifies the name of this HDInsight Cluster. :param str resource_group_name: Specifies the name of the Resource Group in which this HDInsight Cluster exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:hdinsight/getCluster:getCluster', __args__, opts=opts, typ=GetClusterResult) + return __ret__.apply(lambda __response__: GetClusterResult( + cluster_id=pulumi.get(__response__, 'cluster_id'), + cluster_version=pulumi.get(__response__, 'cluster_version'), + component_versions=pulumi.get(__response__, 'component_versions'), + edge_ssh_endpoint=pulumi.get(__response__, 'edge_ssh_endpoint'), + gateways=pulumi.get(__response__, 'gateways'), + https_endpoint=pulumi.get(__response__, 'https_endpoint'), + id=pulumi.get(__response__, 'id'), + kafka_rest_proxy_endpoint=pulumi.get(__response__, 'kafka_rest_proxy_endpoint'), + kind=pulumi.get(__response__, 'kind'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + ssh_endpoint=pulumi.get(__response__, 'ssh_endpoint'), + tags=pulumi.get(__response__, 'tags'), + tier=pulumi.get(__response__, 'tier'), + tls_min_version=pulumi.get(__response__, 'tls_min_version'))) diff --git a/sdk/python/pulumi_azure/healthcare/get_dicom_service.py b/sdk/python/pulumi_azure/healthcare/get_dicom_service.py index 79b1504060..f75a9e8f77 100644 --- a/sdk/python/pulumi_azure/healthcare/get_dicom_service.py +++ b/sdk/python/pulumi_azure/healthcare/get_dicom_service.py @@ -171,9 +171,6 @@ def get_dicom_service(name: Optional[str] = None, service_url=pulumi.get(__ret__, 'service_url'), tags=pulumi.get(__ret__, 'tags'), workspace_id=pulumi.get(__ret__, 'workspace_id')) - - -@_utilities.lift_output_func(get_dicom_service) def get_dicom_service_output(name: Optional[pulumi.Input[str]] = None, workspace_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDicomServiceResult]: @@ -195,4 +192,18 @@ def get_dicom_service_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of the Healthcare DICOM Service :param str workspace_id: The id of the Healthcare Workspace in which the Healthcare DICOM Service exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['workspaceId'] = workspace_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:healthcare/getDicomService:getDicomService', __args__, opts=opts, typ=GetDicomServiceResult) + return __ret__.apply(lambda __response__: GetDicomServiceResult( + authentications=pulumi.get(__response__, 'authentications'), + id=pulumi.get(__response__, 'id'), + identities=pulumi.get(__response__, 'identities'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + private_endpoints=pulumi.get(__response__, 'private_endpoints'), + service_url=pulumi.get(__response__, 'service_url'), + tags=pulumi.get(__response__, 'tags'), + workspace_id=pulumi.get(__response__, 'workspace_id'))) diff --git a/sdk/python/pulumi_azure/healthcare/get_fhir_service.py b/sdk/python/pulumi_azure/healthcare/get_fhir_service.py index 85e5ced72a..0d5d264c10 100644 --- a/sdk/python/pulumi_azure/healthcare/get_fhir_service.py +++ b/sdk/python/pulumi_azure/healthcare/get_fhir_service.py @@ -208,9 +208,6 @@ def get_fhir_service(name: Optional[str] = None, name=pulumi.get(__ret__, 'name'), tags=pulumi.get(__ret__, 'tags'), workspace_id=pulumi.get(__ret__, 'workspace_id')) - - -@_utilities.lift_output_func(get_fhir_service) def get_fhir_service_output(name: Optional[pulumi.Input[str]] = None, tags: Optional[pulumi.Input[Optional[Mapping[str, str]]]] = None, workspace_id: Optional[pulumi.Input[str]] = None, @@ -223,4 +220,22 @@ def get_fhir_service_output(name: Optional[pulumi.Input[str]] = None, :param Mapping[str, str] tags: The map of tags assigned to the Healthcare FHIR Service. :param str workspace_id: The id of the Healthcare Workspace in which the Healthcare FHIR Service exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['tags'] = tags + __args__['workspaceId'] = workspace_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:healthcare/getFhirService:getFhirService', __args__, opts=opts, typ=GetFhirServiceResult) + return __ret__.apply(lambda __response__: GetFhirServiceResult( + access_policy_object_ids=pulumi.get(__response__, 'access_policy_object_ids'), + authentications=pulumi.get(__response__, 'authentications'), + configuration_export_storage_account_name=pulumi.get(__response__, 'configuration_export_storage_account_name'), + container_registry_login_server_urls=pulumi.get(__response__, 'container_registry_login_server_urls'), + cors=pulumi.get(__response__, 'cors'), + id=pulumi.get(__response__, 'id'), + identities=pulumi.get(__response__, 'identities'), + kind=pulumi.get(__response__, 'kind'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + tags=pulumi.get(__response__, 'tags'), + workspace_id=pulumi.get(__response__, 'workspace_id'))) diff --git a/sdk/python/pulumi_azure/healthcare/get_medtech_service.py b/sdk/python/pulumi_azure/healthcare/get_medtech_service.py index 62978ab29e..1eee18615d 100644 --- a/sdk/python/pulumi_azure/healthcare/get_medtech_service.py +++ b/sdk/python/pulumi_azure/healthcare/get_medtech_service.py @@ -164,9 +164,6 @@ def get_medtech_service(name: Optional[str] = None, identities=pulumi.get(__ret__, 'identities'), name=pulumi.get(__ret__, 'name'), workspace_id=pulumi.get(__ret__, 'workspace_id')) - - -@_utilities.lift_output_func(get_medtech_service) def get_medtech_service_output(name: Optional[pulumi.Input[str]] = None, workspace_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMedtechServiceResult]: @@ -188,4 +185,17 @@ def get_medtech_service_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of the Healthcare Med Tech Service. :param str workspace_id: The id of the Healthcare Workspace in which the Healthcare Med Tech Service exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['workspaceId'] = workspace_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:healthcare/getMedtechService:getMedtechService', __args__, opts=opts, typ=GetMedtechServiceResult) + return __ret__.apply(lambda __response__: GetMedtechServiceResult( + device_mapping_json=pulumi.get(__response__, 'device_mapping_json'), + eventhub_consumer_group_name=pulumi.get(__response__, 'eventhub_consumer_group_name'), + eventhub_name=pulumi.get(__response__, 'eventhub_name'), + eventhub_namespace_name=pulumi.get(__response__, 'eventhub_namespace_name'), + id=pulumi.get(__response__, 'id'), + identities=pulumi.get(__response__, 'identities'), + name=pulumi.get(__response__, 'name'), + workspace_id=pulumi.get(__response__, 'workspace_id'))) diff --git a/sdk/python/pulumi_azure/healthcare/get_service.py b/sdk/python/pulumi_azure/healthcare/get_service.py index bd12293bc2..e101f12546 100644 --- a/sdk/python/pulumi_azure/healthcare/get_service.py +++ b/sdk/python/pulumi_azure/healthcare/get_service.py @@ -204,9 +204,6 @@ def get_service(location: Optional[str] = None, name=pulumi.get(__ret__, 'name'), resource_group_name=pulumi.get(__ret__, 'resource_group_name'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_service) def get_service_output(location: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, @@ -231,4 +228,21 @@ def get_service_output(location: Optional[pulumi.Input[str]] = None, :param str name: Specifies the name of the Healthcare Service. :param str resource_group_name: The name of the Resource Group in which the Healthcare Service exists. """ - ... + __args__ = dict() + __args__['location'] = location + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:healthcare/getService:getService', __args__, opts=opts, typ=GetServiceResult) + return __ret__.apply(lambda __response__: GetServiceResult( + access_policy_object_ids=pulumi.get(__response__, 'access_policy_object_ids'), + authentication_configurations=pulumi.get(__response__, 'authentication_configurations'), + cors_configurations=pulumi.get(__response__, 'cors_configurations'), + cosmosdb_key_vault_key_versionless_id=pulumi.get(__response__, 'cosmosdb_key_vault_key_versionless_id'), + cosmosdb_throughput=pulumi.get(__response__, 'cosmosdb_throughput'), + id=pulumi.get(__response__, 'id'), + kind=pulumi.get(__response__, 'kind'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_azure/healthcare/get_workspace.py b/sdk/python/pulumi_azure/healthcare/get_workspace.py index d0ffeb819e..7109204b47 100644 --- a/sdk/python/pulumi_azure/healthcare/get_workspace.py +++ b/sdk/python/pulumi_azure/healthcare/get_workspace.py @@ -124,9 +124,6 @@ def get_workspace(name: Optional[str] = None, name=pulumi.get(__ret__, 'name'), resource_group_name=pulumi.get(__ret__, 'resource_group_name'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_workspace) def get_workspace_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetWorkspaceResult]: @@ -148,4 +145,14 @@ def get_workspace_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of the Healthcare Workspace. :param str resource_group_name: The name of the Resource Group in which the Healthcare Workspace exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:healthcare/getWorkspace:getWorkspace', __args__, opts=opts, typ=GetWorkspaceResult) + return __ret__.apply(lambda __response__: GetWorkspaceResult( + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_azure/iot/get_dps.py b/sdk/python/pulumi_azure/iot/get_dps.py index e381f31c61..5cab6c2bf6 100644 --- a/sdk/python/pulumi_azure/iot/get_dps.py +++ b/sdk/python/pulumi_azure/iot/get_dps.py @@ -174,9 +174,6 @@ def get_dps(name: Optional[str] = None, resource_group_name=pulumi.get(__ret__, 'resource_group_name'), service_operations_host_name=pulumi.get(__ret__, 'service_operations_host_name'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_dps) def get_dps_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, tags: Optional[pulumi.Input[Optional[Mapping[str, str]]]] = None, @@ -198,4 +195,19 @@ def get_dps_output(name: Optional[pulumi.Input[str]] = None, :param str name: Specifies the name of the Iot Device Provisioning Service resource. :param str resource_group_name: The name of the resource group under which the Iot Device Provisioning Service is located in. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + __args__['tags'] = tags + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:iot/getDps:getDps', __args__, opts=opts, typ=GetDpsResult) + return __ret__.apply(lambda __response__: GetDpsResult( + allocation_policy=pulumi.get(__response__, 'allocation_policy'), + device_provisioning_host_name=pulumi.get(__response__, 'device_provisioning_host_name'), + id=pulumi.get(__response__, 'id'), + id_scope=pulumi.get(__response__, 'id_scope'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + service_operations_host_name=pulumi.get(__response__, 'service_operations_host_name'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_azure/iot/get_dps_shared_access_policy.py b/sdk/python/pulumi_azure/iot/get_dps_shared_access_policy.py index 38edd0eacb..8c2e4a5a0a 100644 --- a/sdk/python/pulumi_azure/iot/get_dps_shared_access_policy.py +++ b/sdk/python/pulumi_azure/iot/get_dps_shared_access_policy.py @@ -163,9 +163,6 @@ def get_dps_shared_access_policy(iothub_dps_name: Optional[str] = None, resource_group_name=pulumi.get(__ret__, 'resource_group_name'), secondary_connection_string=pulumi.get(__ret__, 'secondary_connection_string'), secondary_key=pulumi.get(__ret__, 'secondary_key')) - - -@_utilities.lift_output_func(get_dps_shared_access_policy) def get_dps_shared_access_policy_output(iothub_dps_name: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, @@ -189,4 +186,18 @@ def get_dps_shared_access_policy_output(iothub_dps_name: Optional[pulumi.Input[s :param str name: Specifies the name of the IotHub Shared Access Policy. :param str resource_group_name: Specifies the name of the resource group under which the IotHub Shared Access Policy resource exists. """ - ... + __args__ = dict() + __args__['iothubDpsName'] = iothub_dps_name + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:iot/getDpsSharedAccessPolicy:getDpsSharedAccessPolicy', __args__, opts=opts, typ=GetDpsSharedAccessPolicyResult) + return __ret__.apply(lambda __response__: GetDpsSharedAccessPolicyResult( + id=pulumi.get(__response__, 'id'), + iothub_dps_name=pulumi.get(__response__, 'iothub_dps_name'), + name=pulumi.get(__response__, 'name'), + primary_connection_string=pulumi.get(__response__, 'primary_connection_string'), + primary_key=pulumi.get(__response__, 'primary_key'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + secondary_connection_string=pulumi.get(__response__, 'secondary_connection_string'), + secondary_key=pulumi.get(__response__, 'secondary_key'))) diff --git a/sdk/python/pulumi_azure/iot/get_iot_hub.py b/sdk/python/pulumi_azure/iot/get_iot_hub.py index 883de1d622..36c5535d65 100644 --- a/sdk/python/pulumi_azure/iot/get_iot_hub.py +++ b/sdk/python/pulumi_azure/iot/get_iot_hub.py @@ -138,9 +138,6 @@ def get_iot_hub(name: Optional[str] = None, name=pulumi.get(__ret__, 'name'), resource_group_name=pulumi.get(__ret__, 'resource_group_name'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_iot_hub) def get_iot_hub_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, tags: Optional[pulumi.Input[Optional[Mapping[str, str]]]] = None, @@ -164,4 +161,16 @@ def get_iot_hub_output(name: Optional[pulumi.Input[str]] = None, :param str resource_group_name: The name of the Resource Group where the IoTHub exists. :param Mapping[str, str] tags: A mapping of tags which should be assigned to the IoTHub. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + __args__['tags'] = tags + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:iot/getIotHub:getIotHub', __args__, opts=opts, typ=GetIotHubResult) + return __ret__.apply(lambda __response__: GetIotHubResult( + hostname=pulumi.get(__response__, 'hostname'), + id=pulumi.get(__response__, 'id'), + identities=pulumi.get(__response__, 'identities'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_azure/iot/get_shared_access_policy.py b/sdk/python/pulumi_azure/iot/get_shared_access_policy.py index d2a51ae1d3..f98fc748fe 100644 --- a/sdk/python/pulumi_azure/iot/get_shared_access_policy.py +++ b/sdk/python/pulumi_azure/iot/get_shared_access_policy.py @@ -163,9 +163,6 @@ def get_shared_access_policy(iothub_name: Optional[str] = None, resource_group_name=pulumi.get(__ret__, 'resource_group_name'), secondary_connection_string=pulumi.get(__ret__, 'secondary_connection_string'), secondary_key=pulumi.get(__ret__, 'secondary_key')) - - -@_utilities.lift_output_func(get_shared_access_policy) def get_shared_access_policy_output(iothub_name: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, @@ -189,4 +186,18 @@ def get_shared_access_policy_output(iothub_name: Optional[pulumi.Input[str]] = N :param str name: Specifies the name of the IotHub Shared Access Policy resource. :param str resource_group_name: The name of the resource group under which the IotHub Shared Access Policy resource has to be created. """ - ... + __args__ = dict() + __args__['iothubName'] = iothub_name + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:iot/getSharedAccessPolicy:getSharedAccessPolicy', __args__, opts=opts, typ=GetSharedAccessPolicyResult) + return __ret__.apply(lambda __response__: GetSharedAccessPolicyResult( + id=pulumi.get(__response__, 'id'), + iothub_name=pulumi.get(__response__, 'iothub_name'), + name=pulumi.get(__response__, 'name'), + primary_connection_string=pulumi.get(__response__, 'primary_connection_string'), + primary_key=pulumi.get(__response__, 'primary_key'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + secondary_connection_string=pulumi.get(__response__, 'secondary_connection_string'), + secondary_key=pulumi.get(__response__, 'secondary_key'))) diff --git a/sdk/python/pulumi_azure/keyvault/get_access_policy.py b/sdk/python/pulumi_azure/keyvault/get_access_policy.py index 2c8f94f3bd..1ebbbc50f4 100644 --- a/sdk/python/pulumi_azure/keyvault/get_access_policy.py +++ b/sdk/python/pulumi_azure/keyvault/get_access_policy.py @@ -125,9 +125,6 @@ def get_access_policy(name: Optional[str] = None, key_permissions=pulumi.get(__ret__, 'key_permissions'), name=pulumi.get(__ret__, 'name'), secret_permissions=pulumi.get(__ret__, 'secret_permissions')) - - -@_utilities.lift_output_func(get_access_policy) def get_access_policy_output(name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAccessPolicyResult]: """ @@ -148,4 +145,13 @@ def get_access_policy_output(name: Optional[pulumi.Input[str]] = None, `Secret Management`, `Certificate Management`, `Key & Secret Management`, `Key & Certificate Management`, `Secret & Certificate Management`, `Key, Secret, & Certificate Management` """ - ... + __args__ = dict() + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:keyvault/getAccessPolicy:getAccessPolicy', __args__, opts=opts, typ=GetAccessPolicyResult) + return __ret__.apply(lambda __response__: GetAccessPolicyResult( + certificate_permissions=pulumi.get(__response__, 'certificate_permissions'), + id=pulumi.get(__response__, 'id'), + key_permissions=pulumi.get(__response__, 'key_permissions'), + name=pulumi.get(__response__, 'name'), + secret_permissions=pulumi.get(__response__, 'secret_permissions'))) diff --git a/sdk/python/pulumi_azure/keyvault/get_certificate.py b/sdk/python/pulumi_azure/keyvault/get_certificate.py index 2546e591e3..cd554c0f09 100644 --- a/sdk/python/pulumi_azure/keyvault/get_certificate.py +++ b/sdk/python/pulumi_azure/keyvault/get_certificate.py @@ -278,9 +278,6 @@ def get_certificate(key_vault_id: Optional[str] = None, version=pulumi.get(__ret__, 'version'), versionless_id=pulumi.get(__ret__, 'versionless_id'), versionless_secret_id=pulumi.get(__ret__, 'versionless_secret_id')) - - -@_utilities.lift_output_func(get_certificate) def get_certificate_output(key_vault_id: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, version: Optional[pulumi.Input[Optional[str]]] = None, @@ -308,4 +305,26 @@ def get_certificate_output(key_vault_id: Optional[pulumi.Input[str]] = None, **NOTE:** The vault must be in the same subscription as the provider. If the vault is in another subscription, you must create an aliased provider for that subscription. """ - ... + __args__ = dict() + __args__['keyVaultId'] = key_vault_id + __args__['name'] = name + __args__['version'] = version + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:keyvault/getCertificate:getCertificate', __args__, opts=opts, typ=GetCertificateResult) + return __ret__.apply(lambda __response__: GetCertificateResult( + certificate_data=pulumi.get(__response__, 'certificate_data'), + certificate_data_base64=pulumi.get(__response__, 'certificate_data_base64'), + certificate_policies=pulumi.get(__response__, 'certificate_policies'), + expires=pulumi.get(__response__, 'expires'), + id=pulumi.get(__response__, 'id'), + key_vault_id=pulumi.get(__response__, 'key_vault_id'), + name=pulumi.get(__response__, 'name'), + not_before=pulumi.get(__response__, 'not_before'), + resource_manager_id=pulumi.get(__response__, 'resource_manager_id'), + resource_manager_versionless_id=pulumi.get(__response__, 'resource_manager_versionless_id'), + secret_id=pulumi.get(__response__, 'secret_id'), + tags=pulumi.get(__response__, 'tags'), + thumbprint=pulumi.get(__response__, 'thumbprint'), + version=pulumi.get(__response__, 'version'), + versionless_id=pulumi.get(__response__, 'versionless_id'), + versionless_secret_id=pulumi.get(__response__, 'versionless_secret_id'))) diff --git a/sdk/python/pulumi_azure/keyvault/get_certificate_data.py b/sdk/python/pulumi_azure/keyvault/get_certificate_data.py index 7c9e7570ba..bf5aefbb42 100644 --- a/sdk/python/pulumi_azure/keyvault/get_certificate_data.py +++ b/sdk/python/pulumi_azure/keyvault/get_certificate_data.py @@ -208,9 +208,6 @@ def get_certificate_data(key_vault_id: Optional[str] = None, pem=pulumi.get(__ret__, 'pem'), tags=pulumi.get(__ret__, 'tags'), version=pulumi.get(__ret__, 'version')) - - -@_utilities.lift_output_func(get_certificate_data) def get_certificate_data_output(key_vault_id: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, version: Optional[pulumi.Input[Optional[str]]] = None, @@ -240,4 +237,21 @@ def get_certificate_data_output(key_vault_id: Optional[pulumi.Input[str]] = None > **NOTE:** The vault must be in the same subscription as the provider. If the vault is in another subscription, you must create an aliased provider for that subscription. """ - ... + __args__ = dict() + __args__['keyVaultId'] = key_vault_id + __args__['name'] = name + __args__['version'] = version + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:keyvault/getCertificateData:getCertificateData', __args__, opts=opts, typ=GetCertificateDataResult) + return __ret__.apply(lambda __response__: GetCertificateDataResult( + certificates_count=pulumi.get(__response__, 'certificates_count'), + expires=pulumi.get(__response__, 'expires'), + hex=pulumi.get(__response__, 'hex'), + id=pulumi.get(__response__, 'id'), + key=pulumi.get(__response__, 'key'), + key_vault_id=pulumi.get(__response__, 'key_vault_id'), + name=pulumi.get(__response__, 'name'), + not_before=pulumi.get(__response__, 'not_before'), + pem=pulumi.get(__response__, 'pem'), + tags=pulumi.get(__response__, 'tags'), + version=pulumi.get(__response__, 'version'))) diff --git a/sdk/python/pulumi_azure/keyvault/get_certificate_issuer.py b/sdk/python/pulumi_azure/keyvault/get_certificate_issuer.py index a48bc71971..f5ba7242ee 100644 --- a/sdk/python/pulumi_azure/keyvault/get_certificate_issuer.py +++ b/sdk/python/pulumi_azure/keyvault/get_certificate_issuer.py @@ -153,9 +153,6 @@ def get_certificate_issuer(key_vault_id: Optional[str] = None, name=pulumi.get(__ret__, 'name'), org_id=pulumi.get(__ret__, 'org_id'), provider_name=pulumi.get(__ret__, 'provider_name')) - - -@_utilities.lift_output_func(get_certificate_issuer) def get_certificate_issuer_output(key_vault_id: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCertificateIssuerResult]: @@ -179,4 +176,16 @@ def get_certificate_issuer_output(key_vault_id: Optional[pulumi.Input[str]] = No :param str key_vault_id: The ID of the Key Vault in which to locate the Certificate Issuer. :param str name: The name of the Key Vault Certificate Issuer. """ - ... + __args__ = dict() + __args__['keyVaultId'] = key_vault_id + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:keyvault/getCertificateIssuer:getCertificateIssuer', __args__, opts=opts, typ=GetCertificateIssuerResult) + return __ret__.apply(lambda __response__: GetCertificateIssuerResult( + account_id=pulumi.get(__response__, 'account_id'), + admins=pulumi.get(__response__, 'admins'), + id=pulumi.get(__response__, 'id'), + key_vault_id=pulumi.get(__response__, 'key_vault_id'), + name=pulumi.get(__response__, 'name'), + org_id=pulumi.get(__response__, 'org_id'), + provider_name=pulumi.get(__response__, 'provider_name'))) diff --git a/sdk/python/pulumi_azure/keyvault/get_certificates.py b/sdk/python/pulumi_azure/keyvault/get_certificates.py index 61ae1d61fc..2c96a293ce 100644 --- a/sdk/python/pulumi_azure/keyvault/get_certificates.py +++ b/sdk/python/pulumi_azure/keyvault/get_certificates.py @@ -119,9 +119,6 @@ def get_certificates(include_pending: Optional[bool] = None, include_pending=pulumi.get(__ret__, 'include_pending'), key_vault_id=pulumi.get(__ret__, 'key_vault_id'), names=pulumi.get(__ret__, 'names')) - - -@_utilities.lift_output_func(get_certificates) def get_certificates_output(include_pending: Optional[pulumi.Input[Optional[bool]]] = None, key_vault_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCertificatesResult]: @@ -134,4 +131,14 @@ def get_certificates_output(include_pending: Optional[pulumi.Input[Optional[bool **NOTE:** The vault must be in the same subscription as the provider. If the vault is in another subscription, you must create an aliased provider for that subscription. """ - ... + __args__ = dict() + __args__['includePending'] = include_pending + __args__['keyVaultId'] = key_vault_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:keyvault/getCertificates:getCertificates', __args__, opts=opts, typ=GetCertificatesResult) + return __ret__.apply(lambda __response__: GetCertificatesResult( + certificates=pulumi.get(__response__, 'certificates'), + id=pulumi.get(__response__, 'id'), + include_pending=pulumi.get(__response__, 'include_pending'), + key_vault_id=pulumi.get(__response__, 'key_vault_id'), + names=pulumi.get(__response__, 'names'))) diff --git a/sdk/python/pulumi_azure/keyvault/get_encrypted_value.py b/sdk/python/pulumi_azure/keyvault/get_encrypted_value.py index 101219c3a2..cff1190a28 100644 --- a/sdk/python/pulumi_azure/keyvault/get_encrypted_value.py +++ b/sdk/python/pulumi_azure/keyvault/get_encrypted_value.py @@ -128,9 +128,6 @@ def get_encrypted_value(algorithm: Optional[str] = None, id=pulumi.get(__ret__, 'id'), key_vault_key_id=pulumi.get(__ret__, 'key_vault_key_id'), plain_text_value=pulumi.get(__ret__, 'plain_text_value')) - - -@_utilities.lift_output_func(get_encrypted_value) def get_encrypted_value_output(algorithm: Optional[pulumi.Input[str]] = None, encrypted_data: Optional[pulumi.Input[Optional[str]]] = None, key_vault_key_id: Optional[pulumi.Input[str]] = None, @@ -147,4 +144,17 @@ def get_encrypted_value_output(algorithm: Optional[pulumi.Input[str]] = None, > **Note:** One of either `encrypted_data` or `plain_text_value` must be specified and is used to populate the encrypted/decrypted value for the other field. """ - ... + __args__ = dict() + __args__['algorithm'] = algorithm + __args__['encryptedData'] = encrypted_data + __args__['keyVaultKeyId'] = key_vault_key_id + __args__['plainTextValue'] = plain_text_value + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:keyvault/getEncryptedValue:getEncryptedValue', __args__, opts=opts, typ=GetEncryptedValueResult) + return __ret__.apply(lambda __response__: GetEncryptedValueResult( + algorithm=pulumi.get(__response__, 'algorithm'), + decoded_plain_text_value=pulumi.get(__response__, 'decoded_plain_text_value'), + encrypted_data=pulumi.get(__response__, 'encrypted_data'), + id=pulumi.get(__response__, 'id'), + key_vault_key_id=pulumi.get(__response__, 'key_vault_key_id'), + plain_text_value=pulumi.get(__response__, 'plain_text_value'))) diff --git a/sdk/python/pulumi_azure/keyvault/get_key.py b/sdk/python/pulumi_azure/keyvault/get_key.py index aeb69c64e1..71fc7ad027 100644 --- a/sdk/python/pulumi_azure/keyvault/get_key.py +++ b/sdk/python/pulumi_azure/keyvault/get_key.py @@ -295,9 +295,6 @@ def get_key(key_vault_id: Optional[str] = None, versionless_id=pulumi.get(__ret__, 'versionless_id'), x=pulumi.get(__ret__, 'x'), y=pulumi.get(__ret__, 'y')) - - -@_utilities.lift_output_func(get_key) def get_key_output(key_vault_id: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetKeyResult]: @@ -321,4 +318,27 @@ def get_key_output(key_vault_id: Optional[pulumi.Input[str]] = None, **NOTE:** The vault must be in the same subscription as the provider. If the vault is in another subscription, you must create an aliased provider for that subscription. :param str name: Specifies the name of the Key Vault Key. """ - ... + __args__ = dict() + __args__['keyVaultId'] = key_vault_id + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:keyvault/getKey:getKey', __args__, opts=opts, typ=GetKeyResult) + return __ret__.apply(lambda __response__: GetKeyResult( + curve=pulumi.get(__response__, 'curve'), + e=pulumi.get(__response__, 'e'), + id=pulumi.get(__response__, 'id'), + key_opts=pulumi.get(__response__, 'key_opts'), + key_size=pulumi.get(__response__, 'key_size'), + key_type=pulumi.get(__response__, 'key_type'), + key_vault_id=pulumi.get(__response__, 'key_vault_id'), + n=pulumi.get(__response__, 'n'), + name=pulumi.get(__response__, 'name'), + public_key_openssh=pulumi.get(__response__, 'public_key_openssh'), + public_key_pem=pulumi.get(__response__, 'public_key_pem'), + resource_id=pulumi.get(__response__, 'resource_id'), + resource_versionless_id=pulumi.get(__response__, 'resource_versionless_id'), + tags=pulumi.get(__response__, 'tags'), + version=pulumi.get(__response__, 'version'), + versionless_id=pulumi.get(__response__, 'versionless_id'), + x=pulumi.get(__response__, 'x'), + y=pulumi.get(__response__, 'y'))) diff --git a/sdk/python/pulumi_azure/keyvault/get_key_vault.py b/sdk/python/pulumi_azure/keyvault/get_key_vault.py index 5dc0d1150a..5772c0ccd6 100644 --- a/sdk/python/pulumi_azure/keyvault/get_key_vault.py +++ b/sdk/python/pulumi_azure/keyvault/get_key_vault.py @@ -265,9 +265,6 @@ def get_key_vault(name: Optional[str] = None, tags=pulumi.get(__ret__, 'tags'), tenant_id=pulumi.get(__ret__, 'tenant_id'), vault_uri=pulumi.get(__ret__, 'vault_uri')) - - -@_utilities.lift_output_func(get_key_vault) def get_key_vault_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetKeyVaultResult]: @@ -289,4 +286,25 @@ def get_key_vault_output(name: Optional[pulumi.Input[str]] = None, :param str name: Specifies the name of the Key Vault. :param str resource_group_name: The name of the Resource Group in which the Key Vault exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:keyvault/getKeyVault:getKeyVault', __args__, opts=opts, typ=GetKeyVaultResult) + return __ret__.apply(lambda __response__: GetKeyVaultResult( + access_policies=pulumi.get(__response__, 'access_policies'), + enable_rbac_authorization=pulumi.get(__response__, 'enable_rbac_authorization'), + enabled_for_deployment=pulumi.get(__response__, 'enabled_for_deployment'), + enabled_for_disk_encryption=pulumi.get(__response__, 'enabled_for_disk_encryption'), + enabled_for_template_deployment=pulumi.get(__response__, 'enabled_for_template_deployment'), + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + network_acls=pulumi.get(__response__, 'network_acls'), + public_network_access_enabled=pulumi.get(__response__, 'public_network_access_enabled'), + purge_protection_enabled=pulumi.get(__response__, 'purge_protection_enabled'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + sku_name=pulumi.get(__response__, 'sku_name'), + tags=pulumi.get(__response__, 'tags'), + tenant_id=pulumi.get(__response__, 'tenant_id'), + vault_uri=pulumi.get(__response__, 'vault_uri'))) diff --git a/sdk/python/pulumi_azure/keyvault/get_managed_hardware_security_module.py b/sdk/python/pulumi_azure/keyvault/get_managed_hardware_security_module.py index 16724790dd..b4eeb089ed 100644 --- a/sdk/python/pulumi_azure/keyvault/get_managed_hardware_security_module.py +++ b/sdk/python/pulumi_azure/keyvault/get_managed_hardware_security_module.py @@ -202,9 +202,6 @@ def get_managed_hardware_security_module(name: Optional[str] = None, soft_delete_retention_days=pulumi.get(__ret__, 'soft_delete_retention_days'), tags=pulumi.get(__ret__, 'tags'), tenant_id=pulumi.get(__ret__, 'tenant_id')) - - -@_utilities.lift_output_func(get_managed_hardware_security_module) def get_managed_hardware_security_module_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetManagedHardwareSecurityModuleResult]: @@ -226,4 +223,20 @@ def get_managed_hardware_security_module_output(name: Optional[pulumi.Input[str] :param str name: The name of the Key Vault Managed Hardware Security Module. :param str resource_group_name: The name of the Resource Group in which the Key Vault Managed Hardware Security Module exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:keyvault/getManagedHardwareSecurityModule:getManagedHardwareSecurityModule', __args__, opts=opts, typ=GetManagedHardwareSecurityModuleResult) + return __ret__.apply(lambda __response__: GetManagedHardwareSecurityModuleResult( + admin_object_ids=pulumi.get(__response__, 'admin_object_ids'), + hsm_uri=pulumi.get(__response__, 'hsm_uri'), + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + purge_protection_enabled=pulumi.get(__response__, 'purge_protection_enabled'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + sku_name=pulumi.get(__response__, 'sku_name'), + soft_delete_retention_days=pulumi.get(__response__, 'soft_delete_retention_days'), + tags=pulumi.get(__response__, 'tags'), + tenant_id=pulumi.get(__response__, 'tenant_id'))) diff --git a/sdk/python/pulumi_azure/keyvault/get_managed_hardware_security_module_role_definition.py b/sdk/python/pulumi_azure/keyvault/get_managed_hardware_security_module_role_definition.py index 1a73c209ba..703a0a6963 100644 --- a/sdk/python/pulumi_azure/keyvault/get_managed_hardware_security_module_role_definition.py +++ b/sdk/python/pulumi_azure/keyvault/get_managed_hardware_security_module_role_definition.py @@ -165,9 +165,6 @@ def get_managed_hardware_security_module_role_definition(managed_hsm_id: Optiona resource_manager_id=pulumi.get(__ret__, 'resource_manager_id'), role_name=pulumi.get(__ret__, 'role_name'), role_type=pulumi.get(__ret__, 'role_type')) - - -@_utilities.lift_output_func(get_managed_hardware_security_module_role_definition) def get_managed_hardware_security_module_role_definition_output(managed_hsm_id: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetManagedHardwareSecurityModuleRoleDefinitionResult]: @@ -177,4 +174,18 @@ def get_managed_hardware_security_module_role_definition_output(managed_hsm_id: :param str name: The name in UUID notation of this KeyVault Role Definition. """ - ... + __args__ = dict() + __args__['managedHsmId'] = managed_hsm_id + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:keyvault/getManagedHardwareSecurityModuleRoleDefinition:getManagedHardwareSecurityModuleRoleDefinition', __args__, opts=opts, typ=GetManagedHardwareSecurityModuleRoleDefinitionResult) + return __ret__.apply(lambda __response__: GetManagedHardwareSecurityModuleRoleDefinitionResult( + assignable_scopes=pulumi.get(__response__, 'assignable_scopes'), + description=pulumi.get(__response__, 'description'), + id=pulumi.get(__response__, 'id'), + managed_hsm_id=pulumi.get(__response__, 'managed_hsm_id'), + name=pulumi.get(__response__, 'name'), + permissions=pulumi.get(__response__, 'permissions'), + resource_manager_id=pulumi.get(__response__, 'resource_manager_id'), + role_name=pulumi.get(__response__, 'role_name'), + role_type=pulumi.get(__response__, 'role_type'))) diff --git a/sdk/python/pulumi_azure/keyvault/get_secret.py b/sdk/python/pulumi_azure/keyvault/get_secret.py index aeb9961268..81a7c27fa8 100644 --- a/sdk/python/pulumi_azure/keyvault/get_secret.py +++ b/sdk/python/pulumi_azure/keyvault/get_secret.py @@ -217,9 +217,6 @@ def get_secret(key_vault_id: Optional[str] = None, value=pulumi.get(__ret__, 'value'), version=pulumi.get(__ret__, 'version'), versionless_id=pulumi.get(__ret__, 'versionless_id')) - - -@_utilities.lift_output_func(get_secret) def get_secret_output(key_vault_id: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, version: Optional[pulumi.Input[Optional[str]]] = None, @@ -245,4 +242,22 @@ def get_secret_output(key_vault_id: Optional[pulumi.Input[str]] = None, **NOTE:** The vault must be in the same subscription as the provider. If the vault is in another subscription, you must create an aliased provider for that subscription. """ - ... + __args__ = dict() + __args__['keyVaultId'] = key_vault_id + __args__['name'] = name + __args__['version'] = version + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:keyvault/getSecret:getSecret', __args__, opts=opts, typ=GetSecretResult) + return __ret__.apply(lambda __response__: GetSecretResult( + content_type=pulumi.get(__response__, 'content_type'), + expiration_date=pulumi.get(__response__, 'expiration_date'), + id=pulumi.get(__response__, 'id'), + key_vault_id=pulumi.get(__response__, 'key_vault_id'), + name=pulumi.get(__response__, 'name'), + not_before_date=pulumi.get(__response__, 'not_before_date'), + resource_id=pulumi.get(__response__, 'resource_id'), + resource_versionless_id=pulumi.get(__response__, 'resource_versionless_id'), + tags=pulumi.get(__response__, 'tags'), + value=pulumi.get(__response__, 'value'), + version=pulumi.get(__response__, 'version'), + versionless_id=pulumi.get(__response__, 'versionless_id'))) diff --git a/sdk/python/pulumi_azure/keyvault/get_secrets.py b/sdk/python/pulumi_azure/keyvault/get_secrets.py index ade01bdc2c..a4cae9f111 100644 --- a/sdk/python/pulumi_azure/keyvault/get_secrets.py +++ b/sdk/python/pulumi_azure/keyvault/get_secrets.py @@ -103,9 +103,6 @@ def get_secrets(key_vault_id: Optional[str] = None, key_vault_id=pulumi.get(__ret__, 'key_vault_id'), names=pulumi.get(__ret__, 'names'), secrets=pulumi.get(__ret__, 'secrets')) - - -@_utilities.lift_output_func(get_secrets) def get_secrets_output(key_vault_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSecretsResult]: """ @@ -116,4 +113,12 @@ def get_secrets_output(key_vault_id: Optional[pulumi.Input[str]] = None, **NOTE:** The vault must be in the same subscription as the provider. If the vault is in another subscription, you must create an aliased provider for that subscription. """ - ... + __args__ = dict() + __args__['keyVaultId'] = key_vault_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:keyvault/getSecrets:getSecrets', __args__, opts=opts, typ=GetSecretsResult) + return __ret__.apply(lambda __response__: GetSecretsResult( + id=pulumi.get(__response__, 'id'), + key_vault_id=pulumi.get(__response__, 'key_vault_id'), + names=pulumi.get(__response__, 'names'), + secrets=pulumi.get(__response__, 'secrets'))) diff --git a/sdk/python/pulumi_azure/kusto/get_cluster.py b/sdk/python/pulumi_azure/kusto/get_cluster.py index 4be5971dda..d9560fed6c 100644 --- a/sdk/python/pulumi_azure/kusto/get_cluster.py +++ b/sdk/python/pulumi_azure/kusto/get_cluster.py @@ -157,9 +157,6 @@ def get_cluster(name: Optional[str] = None, resource_group_name=pulumi.get(__ret__, 'resource_group_name'), tags=pulumi.get(__ret__, 'tags'), uri=pulumi.get(__ret__, 'uri')) - - -@_utilities.lift_output_func(get_cluster) def get_cluster_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetClusterResult]: @@ -180,4 +177,17 @@ def get_cluster_output(name: Optional[pulumi.Input[str]] = None, :param str name: Specifies the name of the Kusto Cluster. :param str resource_group_name: The name of the Resource Group where the Kusto Cluster exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:kusto/getCluster:getCluster', __args__, opts=opts, typ=GetClusterResult) + return __ret__.apply(lambda __response__: GetClusterResult( + data_ingestion_uri=pulumi.get(__response__, 'data_ingestion_uri'), + id=pulumi.get(__response__, 'id'), + identities=pulumi.get(__response__, 'identities'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + tags=pulumi.get(__response__, 'tags'), + uri=pulumi.get(__response__, 'uri'))) diff --git a/sdk/python/pulumi_azure/kusto/get_database.py b/sdk/python/pulumi_azure/kusto/get_database.py index dc39e8ff59..46cf68fca5 100644 --- a/sdk/python/pulumi_azure/kusto/get_database.py +++ b/sdk/python/pulumi_azure/kusto/get_database.py @@ -163,9 +163,6 @@ def get_database(cluster_name: Optional[str] = None, resource_group_name=pulumi.get(__ret__, 'resource_group_name'), size=pulumi.get(__ret__, 'size'), soft_delete_period=pulumi.get(__ret__, 'soft_delete_period')) - - -@_utilities.lift_output_func(get_database) def get_database_output(cluster_name: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, @@ -189,4 +186,18 @@ def get_database_output(cluster_name: Optional[pulumi.Input[str]] = None, :param str name: The name of the Kusto Database. :param str resource_group_name: The Resource Group where the Kusto Database exists. """ - ... + __args__ = dict() + __args__['clusterName'] = cluster_name + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:kusto/getDatabase:getDatabase', __args__, opts=opts, typ=GetDatabaseResult) + return __ret__.apply(lambda __response__: GetDatabaseResult( + cluster_name=pulumi.get(__response__, 'cluster_name'), + hot_cache_period=pulumi.get(__response__, 'hot_cache_period'), + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + size=pulumi.get(__response__, 'size'), + soft_delete_period=pulumi.get(__response__, 'soft_delete_period'))) diff --git a/sdk/python/pulumi_azure/lb/get_backend_address_pool.py b/sdk/python/pulumi_azure/lb/get_backend_address_pool.py index 3df7692be3..2a2e6b5dec 100644 --- a/sdk/python/pulumi_azure/lb/get_backend_address_pool.py +++ b/sdk/python/pulumi_azure/lb/get_backend_address_pool.py @@ -170,9 +170,6 @@ def get_backend_address_pool(loadbalancer_id: Optional[str] = None, loadbalancer_id=pulumi.get(__ret__, 'loadbalancer_id'), name=pulumi.get(__ret__, 'name'), outbound_rules=pulumi.get(__ret__, 'outbound_rules')) - - -@_utilities.lift_output_func(get_backend_address_pool) def get_backend_address_pool_output(loadbalancer_id: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetBackendAddressPoolResult]: @@ -197,4 +194,17 @@ def get_backend_address_pool_output(loadbalancer_id: Optional[pulumi.Input[str]] :param str loadbalancer_id: The ID of the Load Balancer in which the Backend Address Pool exists. :param str name: Specifies the name of the Backend Address Pool. """ - ... + __args__ = dict() + __args__['loadbalancerId'] = loadbalancer_id + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:lb/getBackendAddressPool:getBackendAddressPool', __args__, opts=opts, typ=GetBackendAddressPoolResult) + return __ret__.apply(lambda __response__: GetBackendAddressPoolResult( + backend_addresses=pulumi.get(__response__, 'backend_addresses'), + backend_ip_configurations=pulumi.get(__response__, 'backend_ip_configurations'), + id=pulumi.get(__response__, 'id'), + inbound_nat_rules=pulumi.get(__response__, 'inbound_nat_rules'), + load_balancing_rules=pulumi.get(__response__, 'load_balancing_rules'), + loadbalancer_id=pulumi.get(__response__, 'loadbalancer_id'), + name=pulumi.get(__response__, 'name'), + outbound_rules=pulumi.get(__response__, 'outbound_rules'))) diff --git a/sdk/python/pulumi_azure/lb/get_lb.py b/sdk/python/pulumi_azure/lb/get_lb.py index 3391358d13..d43a7c9a15 100644 --- a/sdk/python/pulumi_azure/lb/get_lb.py +++ b/sdk/python/pulumi_azure/lb/get_lb.py @@ -180,9 +180,6 @@ def get_lb(name: Optional[str] = None, resource_group_name=pulumi.get(__ret__, 'resource_group_name'), sku=pulumi.get(__ret__, 'sku'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_lb) def get_lb_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetLBResult]: @@ -204,4 +201,18 @@ def get_lb_output(name: Optional[pulumi.Input[str]] = None, :param str name: Specifies the name of the Load Balancer. :param str resource_group_name: The name of the Resource Group in which the Load Balancer exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:lb/getLB:getLB', __args__, opts=opts, typ=GetLBResult) + return __ret__.apply(lambda __response__: GetLBResult( + frontend_ip_configurations=pulumi.get(__response__, 'frontend_ip_configurations'), + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + private_ip_address=pulumi.get(__response__, 'private_ip_address'), + private_ip_addresses=pulumi.get(__response__, 'private_ip_addresses'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + sku=pulumi.get(__response__, 'sku'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_azure/lb/get_lb_outbound_rule.py b/sdk/python/pulumi_azure/lb/get_lb_outbound_rule.py index 732790b0c4..76c36c4ab7 100644 --- a/sdk/python/pulumi_azure/lb/get_lb_outbound_rule.py +++ b/sdk/python/pulumi_azure/lb/get_lb_outbound_rule.py @@ -180,9 +180,6 @@ def get_lb_outbound_rule(loadbalancer_id: Optional[str] = None, name=pulumi.get(__ret__, 'name'), protocol=pulumi.get(__ret__, 'protocol'), tcp_reset_enabled=pulumi.get(__ret__, 'tcp_reset_enabled')) - - -@_utilities.lift_output_func(get_lb_outbound_rule) def get_lb_outbound_rule_output(loadbalancer_id: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetLBOutboundRuleResult]: @@ -204,4 +201,18 @@ def get_lb_outbound_rule_output(loadbalancer_id: Optional[pulumi.Input[str]] = N :param str loadbalancer_id: The ID of the Load Balancer in which the Outbound Rule exists. :param str name: The name of this Load Balancer Outbound Rule. """ - ... + __args__ = dict() + __args__['loadbalancerId'] = loadbalancer_id + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:lb/getLBOutboundRule:getLBOutboundRule', __args__, opts=opts, typ=GetLBOutboundRuleResult) + return __ret__.apply(lambda __response__: GetLBOutboundRuleResult( + allocated_outbound_ports=pulumi.get(__response__, 'allocated_outbound_ports'), + backend_address_pool_id=pulumi.get(__response__, 'backend_address_pool_id'), + frontend_ip_configurations=pulumi.get(__response__, 'frontend_ip_configurations'), + id=pulumi.get(__response__, 'id'), + idle_timeout_in_minutes=pulumi.get(__response__, 'idle_timeout_in_minutes'), + loadbalancer_id=pulumi.get(__response__, 'loadbalancer_id'), + name=pulumi.get(__response__, 'name'), + protocol=pulumi.get(__response__, 'protocol'), + tcp_reset_enabled=pulumi.get(__response__, 'tcp_reset_enabled'))) diff --git a/sdk/python/pulumi_azure/lb/get_lb_rule.py b/sdk/python/pulumi_azure/lb/get_lb_rule.py index 3c2c9d5377..229b44d080 100644 --- a/sdk/python/pulumi_azure/lb/get_lb_rule.py +++ b/sdk/python/pulumi_azure/lb/get_lb_rule.py @@ -230,9 +230,6 @@ def get_lb_rule(loadbalancer_id: Optional[str] = None, name=pulumi.get(__ret__, 'name'), probe_id=pulumi.get(__ret__, 'probe_id'), protocol=pulumi.get(__ret__, 'protocol')) - - -@_utilities.lift_output_func(get_lb_rule) def get_lb_rule_output(loadbalancer_id: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetLBRuleResult]: @@ -243,4 +240,23 @@ def get_lb_rule_output(loadbalancer_id: Optional[pulumi.Input[str]] = None, :param str loadbalancer_id: The ID of the Load Balancer Rule. :param str name: The name of this Load Balancer Rule. """ - ... + __args__ = dict() + __args__['loadbalancerId'] = loadbalancer_id + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:lb/getLBRule:getLBRule', __args__, opts=opts, typ=GetLBRuleResult) + return __ret__.apply(lambda __response__: GetLBRuleResult( + backend_address_pool_id=pulumi.get(__response__, 'backend_address_pool_id'), + backend_port=pulumi.get(__response__, 'backend_port'), + disable_outbound_snat=pulumi.get(__response__, 'disable_outbound_snat'), + enable_floating_ip=pulumi.get(__response__, 'enable_floating_ip'), + enable_tcp_reset=pulumi.get(__response__, 'enable_tcp_reset'), + frontend_ip_configuration_name=pulumi.get(__response__, 'frontend_ip_configuration_name'), + frontend_port=pulumi.get(__response__, 'frontend_port'), + id=pulumi.get(__response__, 'id'), + idle_timeout_in_minutes=pulumi.get(__response__, 'idle_timeout_in_minutes'), + load_distribution=pulumi.get(__response__, 'load_distribution'), + loadbalancer_id=pulumi.get(__response__, 'loadbalancer_id'), + name=pulumi.get(__response__, 'name'), + probe_id=pulumi.get(__response__, 'probe_id'), + protocol=pulumi.get(__response__, 'protocol'))) diff --git a/sdk/python/pulumi_azure/loadtest/get.py b/sdk/python/pulumi_azure/loadtest/get.py index 2d08423695..97ede2f1c5 100644 --- a/sdk/python/pulumi_azure/loadtest/get.py +++ b/sdk/python/pulumi_azure/loadtest/get.py @@ -177,9 +177,6 @@ def get(name: Optional[str] = None, name=pulumi.get(__ret__, 'name'), resource_group_name=pulumi.get(__ret__, 'resource_group_name'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get) def get_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetResult]: @@ -201,4 +198,18 @@ def get_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of the Load Test Service. :param str resource_group_name: The name of the Resource Group in which the Load Test Service exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:loadtest/get:get', __args__, opts=opts, typ=GetResult) + return __ret__.apply(lambda __response__: GetResult( + data_plane_uri=pulumi.get(__response__, 'data_plane_uri'), + description=pulumi.get(__response__, 'description'), + encryptions=pulumi.get(__response__, 'encryptions'), + id=pulumi.get(__response__, 'id'), + identities=pulumi.get(__response__, 'identities'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_azure/logicapps/get_integration_account.py b/sdk/python/pulumi_azure/logicapps/get_integration_account.py index 0c3de7ede6..436c49045b 100644 --- a/sdk/python/pulumi_azure/logicapps/get_integration_account.py +++ b/sdk/python/pulumi_azure/logicapps/get_integration_account.py @@ -137,9 +137,6 @@ def get_integration_account(name: Optional[str] = None, resource_group_name=pulumi.get(__ret__, 'resource_group_name'), sku_name=pulumi.get(__ret__, 'sku_name'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_integration_account) def get_integration_account_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetIntegrationAccountResult]: @@ -161,4 +158,15 @@ def get_integration_account_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of this Logic App Integration Account. :param str resource_group_name: The name of the Resource Group where the Logic App Integration Account exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:logicapps/getIntegrationAccount:getIntegrationAccount', __args__, opts=opts, typ=GetIntegrationAccountResult) + return __ret__.apply(lambda __response__: GetIntegrationAccountResult( + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + sku_name=pulumi.get(__response__, 'sku_name'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_azure/logicapps/get_standard.py b/sdk/python/pulumi_azure/logicapps/get_standard.py index a96e42889e..1eac8bb434 100644 --- a/sdk/python/pulumi_azure/logicapps/get_standard.py +++ b/sdk/python/pulumi_azure/logicapps/get_standard.py @@ -350,9 +350,6 @@ def get_standard(name: Optional[str] = None, use_extension_bundle=pulumi.get(__ret__, 'use_extension_bundle'), version=pulumi.get(__ret__, 'version'), virtual_network_subnet_id=pulumi.get(__ret__, 'virtual_network_subnet_id')) - - -@_utilities.lift_output_func(get_standard) def get_standard_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, site_config: Optional[pulumi.Input[Optional[Union['GetStandardSiteConfigArgs', 'GetStandardSiteConfigArgsDict']]]] = None, @@ -376,4 +373,38 @@ def get_standard_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of this Logic App. :param str resource_group_name: The name of the Resource Group where the Logic App exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + __args__['siteConfig'] = site_config + __args__['tags'] = tags + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:logicapps/getStandard:getStandard', __args__, opts=opts, typ=GetStandardResult) + return __ret__.apply(lambda __response__: GetStandardResult( + app_service_plan_id=pulumi.get(__response__, 'app_service_plan_id'), + app_settings=pulumi.get(__response__, 'app_settings'), + bundle_version=pulumi.get(__response__, 'bundle_version'), + client_affinity_enabled=pulumi.get(__response__, 'client_affinity_enabled'), + client_certificate_mode=pulumi.get(__response__, 'client_certificate_mode'), + connection_strings=pulumi.get(__response__, 'connection_strings'), + custom_domain_verification_id=pulumi.get(__response__, 'custom_domain_verification_id'), + default_hostname=pulumi.get(__response__, 'default_hostname'), + enabled=pulumi.get(__response__, 'enabled'), + https_only=pulumi.get(__response__, 'https_only'), + id=pulumi.get(__response__, 'id'), + identities=pulumi.get(__response__, 'identities'), + kind=pulumi.get(__response__, 'kind'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + outbound_ip_addresses=pulumi.get(__response__, 'outbound_ip_addresses'), + possible_outbound_ip_addresses=pulumi.get(__response__, 'possible_outbound_ip_addresses'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + site_config=pulumi.get(__response__, 'site_config'), + site_credentials=pulumi.get(__response__, 'site_credentials'), + storage_account_access_key=pulumi.get(__response__, 'storage_account_access_key'), + storage_account_name=pulumi.get(__response__, 'storage_account_name'), + storage_account_share_name=pulumi.get(__response__, 'storage_account_share_name'), + tags=pulumi.get(__response__, 'tags'), + use_extension_bundle=pulumi.get(__response__, 'use_extension_bundle'), + version=pulumi.get(__response__, 'version'), + virtual_network_subnet_id=pulumi.get(__response__, 'virtual_network_subnet_id'))) diff --git a/sdk/python/pulumi_azure/logicapps/get_workflow.py b/sdk/python/pulumi_azure/logicapps/get_workflow.py index df110e300b..bb0589bccc 100644 --- a/sdk/python/pulumi_azure/logicapps/get_workflow.py +++ b/sdk/python/pulumi_azure/logicapps/get_workflow.py @@ -255,9 +255,6 @@ def get_workflow(name: Optional[str] = None, workflow_outbound_ip_addresses=pulumi.get(__ret__, 'workflow_outbound_ip_addresses'), workflow_schema=pulumi.get(__ret__, 'workflow_schema'), workflow_version=pulumi.get(__ret__, 'workflow_version')) - - -@_utilities.lift_output_func(get_workflow) def get_workflow_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetWorkflowResult]: @@ -279,4 +276,24 @@ def get_workflow_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of the Logic App Workflow. :param str resource_group_name: The name of the Resource Group in which the Logic App Workflow exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:logicapps/getWorkflow:getWorkflow', __args__, opts=opts, typ=GetWorkflowResult) + return __ret__.apply(lambda __response__: GetWorkflowResult( + access_endpoint=pulumi.get(__response__, 'access_endpoint'), + connector_endpoint_ip_addresses=pulumi.get(__response__, 'connector_endpoint_ip_addresses'), + connector_outbound_ip_addresses=pulumi.get(__response__, 'connector_outbound_ip_addresses'), + id=pulumi.get(__response__, 'id'), + identities=pulumi.get(__response__, 'identities'), + location=pulumi.get(__response__, 'location'), + logic_app_integration_account_id=pulumi.get(__response__, 'logic_app_integration_account_id'), + name=pulumi.get(__response__, 'name'), + parameters=pulumi.get(__response__, 'parameters'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + tags=pulumi.get(__response__, 'tags'), + workflow_endpoint_ip_addresses=pulumi.get(__response__, 'workflow_endpoint_ip_addresses'), + workflow_outbound_ip_addresses=pulumi.get(__response__, 'workflow_outbound_ip_addresses'), + workflow_schema=pulumi.get(__response__, 'workflow_schema'), + workflow_version=pulumi.get(__response__, 'workflow_version'))) diff --git a/sdk/python/pulumi_azure/machinelearning/get_workspace.py b/sdk/python/pulumi_azure/machinelearning/get_workspace.py index 7d2237eef0..f333021b50 100644 --- a/sdk/python/pulumi_azure/machinelearning/get_workspace.py +++ b/sdk/python/pulumi_azure/machinelearning/get_workspace.py @@ -138,9 +138,6 @@ def get_workspace(name: Optional[str] = None, name=pulumi.get(__ret__, 'name'), resource_group_name=pulumi.get(__ret__, 'resource_group_name'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_workspace) def get_workspace_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetWorkspaceResult]: @@ -162,4 +159,15 @@ def get_workspace_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of the Machine Learning Workspace exists. :param str resource_group_name: The name of the Resource Group where the Machine Learning Workspace exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:machinelearning/getWorkspace:getWorkspace', __args__, opts=opts, typ=GetWorkspaceResult) + return __ret__.apply(lambda __response__: GetWorkspaceResult( + id=pulumi.get(__response__, 'id'), + identities=pulumi.get(__response__, 'identities'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_azure/maintenance/get_configuration.py b/sdk/python/pulumi_azure/maintenance/get_configuration.py index 46af995c26..3be56f41c0 100644 --- a/sdk/python/pulumi_azure/maintenance/get_configuration.py +++ b/sdk/python/pulumi_azure/maintenance/get_configuration.py @@ -203,9 +203,6 @@ def get_configuration(name: Optional[str] = None, tags=pulumi.get(__ret__, 'tags'), visibility=pulumi.get(__ret__, 'visibility'), windows=pulumi.get(__ret__, 'windows')) - - -@_utilities.lift_output_func(get_configuration) def get_configuration_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetConfigurationResult]: @@ -227,4 +224,20 @@ def get_configuration_output(name: Optional[pulumi.Input[str]] = None, :param str name: Specifies the name of the Maintenance Configuration. :param str resource_group_name: Specifies the name of the Resource Group where this Maintenance Configuration exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:maintenance/getConfiguration:getConfiguration', __args__, opts=opts, typ=GetConfigurationResult) + return __ret__.apply(lambda __response__: GetConfigurationResult( + id=pulumi.get(__response__, 'id'), + in_guest_user_patch_mode=pulumi.get(__response__, 'in_guest_user_patch_mode'), + install_patches=pulumi.get(__response__, 'install_patches'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + properties=pulumi.get(__response__, 'properties'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + scope=pulumi.get(__response__, 'scope'), + tags=pulumi.get(__response__, 'tags'), + visibility=pulumi.get(__response__, 'visibility'), + windows=pulumi.get(__response__, 'windows'))) diff --git a/sdk/python/pulumi_azure/maintenance/get_public_configurations.py b/sdk/python/pulumi_azure/maintenance/get_public_configurations.py index 08292fcca9..75a4492a70 100644 --- a/sdk/python/pulumi_azure/maintenance/get_public_configurations.py +++ b/sdk/python/pulumi_azure/maintenance/get_public_configurations.py @@ -132,9 +132,6 @@ def get_public_configurations(location: Optional[str] = None, location=pulumi.get(__ret__, 'location'), recur_every=pulumi.get(__ret__, 'recur_every'), scope=pulumi.get(__ret__, 'scope')) - - -@_utilities.lift_output_func(get_public_configurations) def get_public_configurations_output(location: Optional[pulumi.Input[Optional[str]]] = None, recur_every: Optional[pulumi.Input[Optional[str]]] = None, scope: Optional[pulumi.Input[Optional[str]]] = None, @@ -159,4 +156,15 @@ def get_public_configurations_output(location: Optional[pulumi.Input[Optional[st :param str recur_every: The recurring window to filter the list of Public Maintenance Configurations against. Possible values are `Monday-Thursday` and `Friday-Sunday` :param str scope: The scope to filter the list of Public Maintenance Configurations against. Possible values are `Extension`, `Host`, `InGuestPatch`, `OSImage`, `SQLDB` and `SQLManagedInstance`. """ - ... + __args__ = dict() + __args__['location'] = location + __args__['recurEvery'] = recur_every + __args__['scope'] = scope + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:maintenance/getPublicConfigurations:getPublicConfigurations', __args__, opts=opts, typ=GetPublicConfigurationsResult) + return __ret__.apply(lambda __response__: GetPublicConfigurationsResult( + configs=pulumi.get(__response__, 'configs'), + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + recur_every=pulumi.get(__response__, 'recur_every'), + scope=pulumi.get(__response__, 'scope'))) diff --git a/sdk/python/pulumi_azure/managedapplication/get_definition.py b/sdk/python/pulumi_azure/managedapplication/get_definition.py index bdedd4f17f..77bdd274bb 100644 --- a/sdk/python/pulumi_azure/managedapplication/get_definition.py +++ b/sdk/python/pulumi_azure/managedapplication/get_definition.py @@ -108,9 +108,6 @@ def get_definition(name: Optional[str] = None, location=pulumi.get(__ret__, 'location'), name=pulumi.get(__ret__, 'name'), resource_group_name=pulumi.get(__ret__, 'resource_group_name')) - - -@_utilities.lift_output_func(get_definition) def get_definition_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDefinitionResult]: @@ -132,4 +129,13 @@ def get_definition_output(name: Optional[pulumi.Input[str]] = None, :param str name: Specifies the name of the Managed Application Definition. :param str resource_group_name: Specifies the name of the Resource Group where this Managed Application Definition exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:managedapplication/getDefinition:getDefinition', __args__, opts=opts, typ=GetDefinitionResult) + return __ret__.apply(lambda __response__: GetDefinitionResult( + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'))) diff --git a/sdk/python/pulumi_azure/management/get_group.py b/sdk/python/pulumi_azure/management/get_group.py index afa69a3be8..5e8efb9a2c 100644 --- a/sdk/python/pulumi_azure/management/get_group.py +++ b/sdk/python/pulumi_azure/management/get_group.py @@ -177,9 +177,6 @@ def get_group(display_name: Optional[str] = None, parent_management_group_id=pulumi.get(__ret__, 'parent_management_group_id'), subscription_ids=pulumi.get(__ret__, 'subscription_ids'), tenant_scoped_id=pulumi.get(__ret__, 'tenant_scoped_id')) - - -@_utilities.lift_output_func(get_group) def get_group_output(display_name: Optional[pulumi.Input[Optional[str]]] = None, name: Optional[pulumi.Input[Optional[str]]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetGroupResult]: @@ -202,4 +199,18 @@ def get_group_output(display_name: Optional[pulumi.Input[Optional[str]]] = None, > **NOTE** Whilst multiple management groups may share the same display name, when filtering, the provider expects a single management group to be found with this name. :param str name: Specifies the name or UUID of this Management Group. """ - ... + __args__ = dict() + __args__['displayName'] = display_name + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:management/getGroup:getGroup', __args__, opts=opts, typ=GetGroupResult) + return __ret__.apply(lambda __response__: GetGroupResult( + all_management_group_ids=pulumi.get(__response__, 'all_management_group_ids'), + all_subscription_ids=pulumi.get(__response__, 'all_subscription_ids'), + display_name=pulumi.get(__response__, 'display_name'), + id=pulumi.get(__response__, 'id'), + management_group_ids=pulumi.get(__response__, 'management_group_ids'), + name=pulumi.get(__response__, 'name'), + parent_management_group_id=pulumi.get(__response__, 'parent_management_group_id'), + subscription_ids=pulumi.get(__response__, 'subscription_ids'), + tenant_scoped_id=pulumi.get(__response__, 'tenant_scoped_id'))) diff --git a/sdk/python/pulumi_azure/management/get_group_template_deployment.py b/sdk/python/pulumi_azure/management/get_group_template_deployment.py index 6cd8e44716..eb35e03e69 100644 --- a/sdk/python/pulumi_azure/management/get_group_template_deployment.py +++ b/sdk/python/pulumi_azure/management/get_group_template_deployment.py @@ -100,9 +100,6 @@ def get_group_template_deployment(management_group_id: Optional[str] = None, management_group_id=pulumi.get(__ret__, 'management_group_id'), name=pulumi.get(__ret__, 'name'), output_content=pulumi.get(__ret__, 'output_content')) - - -@_utilities.lift_output_func(get_group_template_deployment) def get_group_template_deployment_output(management_group_id: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetGroupTemplateDeploymentResult]: @@ -113,4 +110,13 @@ def get_group_template_deployment_output(management_group_id: Optional[pulumi.In :param str management_group_id: The ID of the Management Group to which this template was applied. :param str name: The name of this Management Group Template Deployment. """ - ... + __args__ = dict() + __args__['managementGroupId'] = management_group_id + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:management/getGroupTemplateDeployment:getGroupTemplateDeployment', __args__, opts=opts, typ=GetGroupTemplateDeploymentResult) + return __ret__.apply(lambda __response__: GetGroupTemplateDeploymentResult( + id=pulumi.get(__response__, 'id'), + management_group_id=pulumi.get(__response__, 'management_group_id'), + name=pulumi.get(__response__, 'name'), + output_content=pulumi.get(__response__, 'output_content'))) diff --git a/sdk/python/pulumi_azure/managementgroups/get_management_group.py b/sdk/python/pulumi_azure/managementgroups/get_management_group.py index 5b5b8743bf..72be38f5fc 100644 --- a/sdk/python/pulumi_azure/managementgroups/get_management_group.py +++ b/sdk/python/pulumi_azure/managementgroups/get_management_group.py @@ -180,9 +180,6 @@ def get_management_group(display_name: Optional[str] = None, parent_management_group_id=pulumi.get(__ret__, 'parent_management_group_id'), subscription_ids=pulumi.get(__ret__, 'subscription_ids'), tenant_scoped_id=pulumi.get(__ret__, 'tenant_scoped_id')) - - -@_utilities.lift_output_func(get_management_group) def get_management_group_output(display_name: Optional[pulumi.Input[Optional[str]]] = None, name: Optional[pulumi.Input[Optional[str]]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetManagementGroupResult]: @@ -206,4 +203,18 @@ def get_management_group_output(display_name: Optional[pulumi.Input[Optional[str :param str name: Specifies the name or UUID of this Management Group. """ pulumi.log.warn("""get_management_group is deprecated: azure.managementgroups.getManagementGroup has been deprecated in favor of azure.management.getGroup""") - ... + __args__ = dict() + __args__['displayName'] = display_name + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:managementgroups/getManagementGroup:getManagementGroup', __args__, opts=opts, typ=GetManagementGroupResult) + return __ret__.apply(lambda __response__: GetManagementGroupResult( + all_management_group_ids=pulumi.get(__response__, 'all_management_group_ids'), + all_subscription_ids=pulumi.get(__response__, 'all_subscription_ids'), + display_name=pulumi.get(__response__, 'display_name'), + id=pulumi.get(__response__, 'id'), + management_group_ids=pulumi.get(__response__, 'management_group_ids'), + name=pulumi.get(__response__, 'name'), + parent_management_group_id=pulumi.get(__response__, 'parent_management_group_id'), + subscription_ids=pulumi.get(__response__, 'subscription_ids'), + tenant_scoped_id=pulumi.get(__response__, 'tenant_scoped_id'))) diff --git a/sdk/python/pulumi_azure/maps/get_account.py b/sdk/python/pulumi_azure/maps/get_account.py index f3b9ad1f0e..fc64e14cdc 100644 --- a/sdk/python/pulumi_azure/maps/get_account.py +++ b/sdk/python/pulumi_azure/maps/get_account.py @@ -162,9 +162,6 @@ def get_account(name: Optional[str] = None, sku_name=pulumi.get(__ret__, 'sku_name'), tags=pulumi.get(__ret__, 'tags'), x_ms_client_id=pulumi.get(__ret__, 'x_ms_client_id')) - - -@_utilities.lift_output_func(get_account) def get_account_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, tags: Optional[pulumi.Input[Optional[Mapping[str, str]]]] = None, @@ -187,4 +184,18 @@ def get_account_output(name: Optional[pulumi.Input[str]] = None, :param str name: Specifies the name of the Maps Account. :param str resource_group_name: Specifies the name of the Resource Group in which the Maps Account is located. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + __args__['tags'] = tags + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:maps/getAccount:getAccount', __args__, opts=opts, typ=GetAccountResult) + return __ret__.apply(lambda __response__: GetAccountResult( + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + primary_access_key=pulumi.get(__response__, 'primary_access_key'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + secondary_access_key=pulumi.get(__response__, 'secondary_access_key'), + sku_name=pulumi.get(__response__, 'sku_name'), + tags=pulumi.get(__response__, 'tags'), + x_ms_client_id=pulumi.get(__response__, 'x_ms_client_id'))) diff --git a/sdk/python/pulumi_azure/marketplace/get_agreement.py b/sdk/python/pulumi_azure/marketplace/get_agreement.py index 4cdcc5249c..1f0a3c6411 100644 --- a/sdk/python/pulumi_azure/marketplace/get_agreement.py +++ b/sdk/python/pulumi_azure/marketplace/get_agreement.py @@ -132,9 +132,6 @@ def get_agreement(offer: Optional[str] = None, plan=pulumi.get(__ret__, 'plan'), privacy_policy_link=pulumi.get(__ret__, 'privacy_policy_link'), publisher=pulumi.get(__ret__, 'publisher')) - - -@_utilities.lift_output_func(get_agreement) def get_agreement_output(offer: Optional[pulumi.Input[str]] = None, plan: Optional[pulumi.Input[str]] = None, publisher: Optional[pulumi.Input[str]] = None, @@ -159,4 +156,16 @@ def get_agreement_output(offer: Optional[pulumi.Input[str]] = None, :param str plan: The Plan of the Marketplace Image. :param str publisher: The Publisher of the Marketplace Image. """ - ... + __args__ = dict() + __args__['offer'] = offer + __args__['plan'] = plan + __args__['publisher'] = publisher + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:marketplace/getAgreement:getAgreement', __args__, opts=opts, typ=GetAgreementResult) + return __ret__.apply(lambda __response__: GetAgreementResult( + id=pulumi.get(__response__, 'id'), + license_text_link=pulumi.get(__response__, 'license_text_link'), + offer=pulumi.get(__response__, 'offer'), + plan=pulumi.get(__response__, 'plan'), + privacy_policy_link=pulumi.get(__response__, 'privacy_policy_link'), + publisher=pulumi.get(__response__, 'publisher'))) diff --git a/sdk/python/pulumi_azure/mixedreality/get_spatial_anchors_account.py b/sdk/python/pulumi_azure/mixedreality/get_spatial_anchors_account.py index a118ff3e20..1dd7593afb 100644 --- a/sdk/python/pulumi_azure/mixedreality/get_spatial_anchors_account.py +++ b/sdk/python/pulumi_azure/mixedreality/get_spatial_anchors_account.py @@ -147,9 +147,6 @@ def get_spatial_anchors_account(name: Optional[str] = None, name=pulumi.get(__ret__, 'name'), resource_group_name=pulumi.get(__ret__, 'resource_group_name'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_spatial_anchors_account) def get_spatial_anchors_account_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSpatialAnchorsAccountResult]: @@ -171,4 +168,16 @@ def get_spatial_anchors_account_output(name: Optional[pulumi.Input[str]] = None, :param str name: Specifies the name of the Spatial Anchors Account. Changing this forces a new resource to be created. Must be globally unique. :param str resource_group_name: The name of the resource group in which to create the Spatial Anchors Account. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:mixedreality/getSpatialAnchorsAccount:getSpatialAnchorsAccount', __args__, opts=opts, typ=GetSpatialAnchorsAccountResult) + return __ret__.apply(lambda __response__: GetSpatialAnchorsAccountResult( + account_domain=pulumi.get(__response__, 'account_domain'), + account_id=pulumi.get(__response__, 'account_id'), + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_azure/mobile/get_network.py b/sdk/python/pulumi_azure/mobile/get_network.py index 45f4ff56bc..5b12ac9b3c 100644 --- a/sdk/python/pulumi_azure/mobile/get_network.py +++ b/sdk/python/pulumi_azure/mobile/get_network.py @@ -162,9 +162,6 @@ def get_network(name: Optional[str] = None, resource_group_name=pulumi.get(__ret__, 'resource_group_name'), service_key=pulumi.get(__ret__, 'service_key'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_network) def get_network_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetNetworkResult]: @@ -185,4 +182,17 @@ def get_network_output(name: Optional[pulumi.Input[str]] = None, :param str name: Specifies the name which should be used for this Mobile Network. :param str resource_group_name: Specifies the name of the Resource Group where the Mobile Network should exist. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:mobile/getNetwork:getNetwork', __args__, opts=opts, typ=GetNetworkResult) + return __ret__.apply(lambda __response__: GetNetworkResult( + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + mobile_country_code=pulumi.get(__response__, 'mobile_country_code'), + mobile_network_code=pulumi.get(__response__, 'mobile_network_code'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + service_key=pulumi.get(__response__, 'service_key'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_azure/mobile/get_network_attached_data_network.py b/sdk/python/pulumi_azure/mobile/get_network_attached_data_network.py index 7d1e1588e9..b2ac238525 100644 --- a/sdk/python/pulumi_azure/mobile/get_network_attached_data_network.py +++ b/sdk/python/pulumi_azure/mobile/get_network_attached_data_network.py @@ -224,9 +224,6 @@ def get_network_attached_data_network(mobile_network_data_network_name: Optional user_plane_access_ipv4_gateway=pulumi.get(__ret__, 'user_plane_access_ipv4_gateway'), user_plane_access_ipv4_subnet=pulumi.get(__ret__, 'user_plane_access_ipv4_subnet'), user_plane_access_name=pulumi.get(__ret__, 'user_plane_access_name')) - - -@_utilities.lift_output_func(get_network_attached_data_network) def get_network_attached_data_network_output(mobile_network_data_network_name: Optional[pulumi.Input[str]] = None, mobile_network_packet_core_data_plane_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetNetworkAttachedDataNetworkResult]: @@ -249,4 +246,22 @@ def get_network_attached_data_network_output(mobile_network_data_network_name: O :param str mobile_network_data_network_name: The Name of the `mobile.NetworkDataNetwork` this resource belongs to. :param str mobile_network_packet_core_data_plane_id: The ID of the `mobile.NetworkPacketCoreDataPlane` which the Mobile Network Attached Data Network belongs to. """ - ... + __args__ = dict() + __args__['mobileNetworkDataNetworkName'] = mobile_network_data_network_name + __args__['mobileNetworkPacketCoreDataPlaneId'] = mobile_network_packet_core_data_plane_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:mobile/getNetworkAttachedDataNetwork:getNetworkAttachedDataNetwork', __args__, opts=opts, typ=GetNetworkAttachedDataNetworkResult) + return __ret__.apply(lambda __response__: GetNetworkAttachedDataNetworkResult( + dns_addresses=pulumi.get(__response__, 'dns_addresses'), + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + mobile_network_data_network_name=pulumi.get(__response__, 'mobile_network_data_network_name'), + mobile_network_packet_core_data_plane_id=pulumi.get(__response__, 'mobile_network_packet_core_data_plane_id'), + network_address_port_translations=pulumi.get(__response__, 'network_address_port_translations'), + tags=pulumi.get(__response__, 'tags'), + user_equipment_address_pool_prefixes=pulumi.get(__response__, 'user_equipment_address_pool_prefixes'), + user_equipment_static_address_pool_prefixes=pulumi.get(__response__, 'user_equipment_static_address_pool_prefixes'), + user_plane_access_ipv4_address=pulumi.get(__response__, 'user_plane_access_ipv4_address'), + user_plane_access_ipv4_gateway=pulumi.get(__response__, 'user_plane_access_ipv4_gateway'), + user_plane_access_ipv4_subnet=pulumi.get(__response__, 'user_plane_access_ipv4_subnet'), + user_plane_access_name=pulumi.get(__response__, 'user_plane_access_name'))) diff --git a/sdk/python/pulumi_azure/mobile/get_network_data_network.py b/sdk/python/pulumi_azure/mobile/get_network_data_network.py index 766060a89b..7682f9a359 100644 --- a/sdk/python/pulumi_azure/mobile/get_network_data_network.py +++ b/sdk/python/pulumi_azure/mobile/get_network_data_network.py @@ -138,9 +138,6 @@ def get_network_data_network(mobile_network_id: Optional[str] = None, mobile_network_id=pulumi.get(__ret__, 'mobile_network_id'), name=pulumi.get(__ret__, 'name'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_network_data_network) def get_network_data_network_output(mobile_network_id: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetNetworkDataNetworkResult]: @@ -163,4 +160,15 @@ def get_network_data_network_output(mobile_network_id: Optional[pulumi.Input[str :param str mobile_network_id: Specifies the ID of the Mobile Network. :param str name: Specifies the name which should be used for this Mobile Network Data Network. """ - ... + __args__ = dict() + __args__['mobileNetworkId'] = mobile_network_id + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:mobile/getNetworkDataNetwork:getNetworkDataNetwork', __args__, opts=opts, typ=GetNetworkDataNetworkResult) + return __ret__.apply(lambda __response__: GetNetworkDataNetworkResult( + description=pulumi.get(__response__, 'description'), + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + mobile_network_id=pulumi.get(__response__, 'mobile_network_id'), + name=pulumi.get(__response__, 'name'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_azure/mobile/get_network_packet_core_control_plane.py b/sdk/python/pulumi_azure/mobile/get_network_packet_core_control_plane.py index e1c692e566..2ea8cc9bab 100644 --- a/sdk/python/pulumi_azure/mobile/get_network_packet_core_control_plane.py +++ b/sdk/python/pulumi_azure/mobile/get_network_packet_core_control_plane.py @@ -284,9 +284,6 @@ def get_network_packet_core_control_plane(name: Optional[str] = None, software_version=pulumi.get(__ret__, 'software_version'), tags=pulumi.get(__ret__, 'tags'), user_equipment_mtu_in_bytes=pulumi.get(__ret__, 'user_equipment_mtu_in_bytes')) - - -@_utilities.lift_output_func(get_network_packet_core_control_plane) def get_network_packet_core_control_plane_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetNetworkPacketCoreControlPlaneResult]: @@ -307,4 +304,27 @@ def get_network_packet_core_control_plane_output(name: Optional[pulumi.Input[str :param str name: The name of the Mobile Network Packet Core Control Plane. :param str resource_group_name: The name of the Resource Group where the Mobile Network Packet Core Control Plane exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:mobile/getNetworkPacketCoreControlPlane:getNetworkPacketCoreControlPlane', __args__, opts=opts, typ=GetNetworkPacketCoreControlPlaneResult) + return __ret__.apply(lambda __response__: GetNetworkPacketCoreControlPlaneResult( + control_plane_access_ipv4_address=pulumi.get(__response__, 'control_plane_access_ipv4_address'), + control_plane_access_ipv4_gateway=pulumi.get(__response__, 'control_plane_access_ipv4_gateway'), + control_plane_access_ipv4_subnet=pulumi.get(__response__, 'control_plane_access_ipv4_subnet'), + control_plane_access_name=pulumi.get(__response__, 'control_plane_access_name'), + core_network_technology=pulumi.get(__response__, 'core_network_technology'), + id=pulumi.get(__response__, 'id'), + identities=pulumi.get(__response__, 'identities'), + interoperability_settings_json=pulumi.get(__response__, 'interoperability_settings_json'), + local_diagnostics_accesses=pulumi.get(__response__, 'local_diagnostics_accesses'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + platforms=pulumi.get(__response__, 'platforms'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + site_ids=pulumi.get(__response__, 'site_ids'), + sku=pulumi.get(__response__, 'sku'), + software_version=pulumi.get(__response__, 'software_version'), + tags=pulumi.get(__response__, 'tags'), + user_equipment_mtu_in_bytes=pulumi.get(__response__, 'user_equipment_mtu_in_bytes'))) diff --git a/sdk/python/pulumi_azure/mobile/get_network_packet_core_data_plane.py b/sdk/python/pulumi_azure/mobile/get_network_packet_core_data_plane.py index 9deb3741fa..e1e85497a0 100644 --- a/sdk/python/pulumi_azure/mobile/get_network_packet_core_data_plane.py +++ b/sdk/python/pulumi_azure/mobile/get_network_packet_core_data_plane.py @@ -177,9 +177,6 @@ def get_network_packet_core_data_plane(mobile_network_packet_core_control_plane_ user_plane_access_ipv4_gateway=pulumi.get(__ret__, 'user_plane_access_ipv4_gateway'), user_plane_access_ipv4_subnet=pulumi.get(__ret__, 'user_plane_access_ipv4_subnet'), user_plane_access_name=pulumi.get(__ret__, 'user_plane_access_name')) - - -@_utilities.lift_output_func(get_network_packet_core_data_plane) def get_network_packet_core_data_plane_output(mobile_network_packet_core_control_plane_id: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetNetworkPacketCoreDataPlaneResult]: @@ -202,4 +199,18 @@ def get_network_packet_core_data_plane_output(mobile_network_packet_core_control :param str mobile_network_packet_core_control_plane_id: The ID of the Mobile Network Packet Core Data Plane. :param str name: The name of the Mobile Network Packet Core Data Plane. """ - ... + __args__ = dict() + __args__['mobileNetworkPacketCoreControlPlaneId'] = mobile_network_packet_core_control_plane_id + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:mobile/getNetworkPacketCoreDataPlane:getNetworkPacketCoreDataPlane', __args__, opts=opts, typ=GetNetworkPacketCoreDataPlaneResult) + return __ret__.apply(lambda __response__: GetNetworkPacketCoreDataPlaneResult( + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + mobile_network_packet_core_control_plane_id=pulumi.get(__response__, 'mobile_network_packet_core_control_plane_id'), + name=pulumi.get(__response__, 'name'), + tags=pulumi.get(__response__, 'tags'), + user_plane_access_ipv4_address=pulumi.get(__response__, 'user_plane_access_ipv4_address'), + user_plane_access_ipv4_gateway=pulumi.get(__response__, 'user_plane_access_ipv4_gateway'), + user_plane_access_ipv4_subnet=pulumi.get(__response__, 'user_plane_access_ipv4_subnet'), + user_plane_access_name=pulumi.get(__response__, 'user_plane_access_name'))) diff --git a/sdk/python/pulumi_azure/mobile/get_network_service.py b/sdk/python/pulumi_azure/mobile/get_network_service.py index 8bb3fbe1cb..b61ced7836 100644 --- a/sdk/python/pulumi_azure/mobile/get_network_service.py +++ b/sdk/python/pulumi_azure/mobile/get_network_service.py @@ -169,9 +169,6 @@ def get_network_service(mobile_network_id: Optional[str] = None, service_precedence=pulumi.get(__ret__, 'service_precedence'), service_qos_policies=pulumi.get(__ret__, 'service_qos_policies'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_network_service) def get_network_service_output(mobile_network_id: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetNetworkServiceResult]: @@ -195,4 +192,17 @@ def get_network_service_output(mobile_network_id: Optional[pulumi.Input[str]] = :param str mobile_network_id: Specifies the ID of the Mobile Network Service. :param str name: Specifies the name which should be used for this Mobile Network Service. """ - ... + __args__ = dict() + __args__['mobileNetworkId'] = mobile_network_id + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:mobile/getNetworkService:getNetworkService', __args__, opts=opts, typ=GetNetworkServiceResult) + return __ret__.apply(lambda __response__: GetNetworkServiceResult( + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + mobile_network_id=pulumi.get(__response__, 'mobile_network_id'), + name=pulumi.get(__response__, 'name'), + pcc_rules=pulumi.get(__response__, 'pcc_rules'), + service_precedence=pulumi.get(__response__, 'service_precedence'), + service_qos_policies=pulumi.get(__response__, 'service_qos_policies'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_azure/mobile/get_network_sim.py b/sdk/python/pulumi_azure/mobile/get_network_sim.py index c90ecff294..5dc2f03249 100644 --- a/sdk/python/pulumi_azure/mobile/get_network_sim.py +++ b/sdk/python/pulumi_azure/mobile/get_network_sim.py @@ -192,9 +192,6 @@ def get_network_sim(mobile_network_sim_group_id: Optional[str] = None, static_ip_configurations=pulumi.get(__ret__, 'static_ip_configurations'), vendor_key_fingerprint=pulumi.get(__ret__, 'vendor_key_fingerprint'), vendor_name=pulumi.get(__ret__, 'vendor_name')) - - -@_utilities.lift_output_func(get_network_sim) def get_network_sim_output(mobile_network_sim_group_id: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetNetworkSimResult]: @@ -205,4 +202,20 @@ def get_network_sim_output(mobile_network_sim_group_id: Optional[pulumi.Input[st :param str mobile_network_sim_group_id: The ID of the Mobile Network which the Mobile Network Sim belongs to. :param str name: The name which should be used for this Mobile Network Sim. """ - ... + __args__ = dict() + __args__['mobileNetworkSimGroupId'] = mobile_network_sim_group_id + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:mobile/getNetworkSim:getNetworkSim', __args__, opts=opts, typ=GetNetworkSimResult) + return __ret__.apply(lambda __response__: GetNetworkSimResult( + device_type=pulumi.get(__response__, 'device_type'), + id=pulumi.get(__response__, 'id'), + integrated_circuit_card_identifier=pulumi.get(__response__, 'integrated_circuit_card_identifier'), + international_mobile_subscriber_identity=pulumi.get(__response__, 'international_mobile_subscriber_identity'), + mobile_network_sim_group_id=pulumi.get(__response__, 'mobile_network_sim_group_id'), + name=pulumi.get(__response__, 'name'), + sim_policy_id=pulumi.get(__response__, 'sim_policy_id'), + sim_state=pulumi.get(__response__, 'sim_state'), + static_ip_configurations=pulumi.get(__response__, 'static_ip_configurations'), + vendor_key_fingerprint=pulumi.get(__response__, 'vendor_key_fingerprint'), + vendor_name=pulumi.get(__response__, 'vendor_name'))) diff --git a/sdk/python/pulumi_azure/mobile/get_network_sim_group.py b/sdk/python/pulumi_azure/mobile/get_network_sim_group.py index 585ce7e99e..c13a7be731 100644 --- a/sdk/python/pulumi_azure/mobile/get_network_sim_group.py +++ b/sdk/python/pulumi_azure/mobile/get_network_sim_group.py @@ -152,9 +152,6 @@ def get_network_sim_group(mobile_network_id: Optional[str] = None, mobile_network_id=pulumi.get(__ret__, 'mobile_network_id'), name=pulumi.get(__ret__, 'name'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_network_sim_group) def get_network_sim_group_output(mobile_network_id: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetNetworkSimGroupResult]: @@ -177,4 +174,16 @@ def get_network_sim_group_output(mobile_network_id: Optional[pulumi.Input[str]] :param str mobile_network_id: The ID of Mobile Network which the Mobile Network Sim Group belongs to. :param str name: Specifies the name which should be used for this Mobile Network Sim Groups. """ - ... + __args__ = dict() + __args__['mobileNetworkId'] = mobile_network_id + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:mobile/getNetworkSimGroup:getNetworkSimGroup', __args__, opts=opts, typ=GetNetworkSimGroupResult) + return __ret__.apply(lambda __response__: GetNetworkSimGroupResult( + encryption_key_url=pulumi.get(__response__, 'encryption_key_url'), + id=pulumi.get(__response__, 'id'), + identities=pulumi.get(__response__, 'identities'), + location=pulumi.get(__response__, 'location'), + mobile_network_id=pulumi.get(__response__, 'mobile_network_id'), + name=pulumi.get(__response__, 'name'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_azure/mobile/get_network_sim_policy.py b/sdk/python/pulumi_azure/mobile/get_network_sim_policy.py index ecc7381b2b..7c417956ca 100644 --- a/sdk/python/pulumi_azure/mobile/get_network_sim_policy.py +++ b/sdk/python/pulumi_azure/mobile/get_network_sim_policy.py @@ -191,9 +191,6 @@ def get_network_sim_policy(mobile_network_id: Optional[str] = None, slices=pulumi.get(__ret__, 'slices'), tags=pulumi.get(__ret__, 'tags'), user_equipment_aggregate_maximum_bit_rates=pulumi.get(__ret__, 'user_equipment_aggregate_maximum_bit_rates')) - - -@_utilities.lift_output_func(get_network_sim_policy) def get_network_sim_policy_output(mobile_network_id: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetNetworkSimPolicyResult]: @@ -216,4 +213,19 @@ def get_network_sim_policy_output(mobile_network_id: Optional[pulumi.Input[str]] :param str mobile_network_id: The ID of the Mobile Network which the Sim Policy belongs to. :param str name: The name which should be used for this Mobile Network Sim Policies. """ - ... + __args__ = dict() + __args__['mobileNetworkId'] = mobile_network_id + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:mobile/getNetworkSimPolicy:getNetworkSimPolicy', __args__, opts=opts, typ=GetNetworkSimPolicyResult) + return __ret__.apply(lambda __response__: GetNetworkSimPolicyResult( + default_slice_id=pulumi.get(__response__, 'default_slice_id'), + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + mobile_network_id=pulumi.get(__response__, 'mobile_network_id'), + name=pulumi.get(__response__, 'name'), + rat_frequency_selection_priority_index=pulumi.get(__response__, 'rat_frequency_selection_priority_index'), + registration_timer_in_seconds=pulumi.get(__response__, 'registration_timer_in_seconds'), + slices=pulumi.get(__response__, 'slices'), + tags=pulumi.get(__response__, 'tags'), + user_equipment_aggregate_maximum_bit_rates=pulumi.get(__response__, 'user_equipment_aggregate_maximum_bit_rates'))) diff --git a/sdk/python/pulumi_azure/mobile/get_network_site.py b/sdk/python/pulumi_azure/mobile/get_network_site.py index 3b861a7295..f57d4c3965 100644 --- a/sdk/python/pulumi_azure/mobile/get_network_site.py +++ b/sdk/python/pulumi_azure/mobile/get_network_site.py @@ -138,9 +138,6 @@ def get_network_site(mobile_network_id: Optional[str] = None, name=pulumi.get(__ret__, 'name'), network_function_ids=pulumi.get(__ret__, 'network_function_ids'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_network_site) def get_network_site_output(mobile_network_id: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetNetworkSiteResult]: @@ -163,4 +160,15 @@ def get_network_site_output(mobile_network_id: Optional[pulumi.Input[str]] = Non :param str mobile_network_id: the ID of the Mobile Network which the Mobile Network Site belongs to. :param str name: The name which should be used for this Mobile Network Site. """ - ... + __args__ = dict() + __args__['mobileNetworkId'] = mobile_network_id + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:mobile/getNetworkSite:getNetworkSite', __args__, opts=opts, typ=GetNetworkSiteResult) + return __ret__.apply(lambda __response__: GetNetworkSiteResult( + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + mobile_network_id=pulumi.get(__response__, 'mobile_network_id'), + name=pulumi.get(__response__, 'name'), + network_function_ids=pulumi.get(__response__, 'network_function_ids'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_azure/mobile/get_network_slice.py b/sdk/python/pulumi_azure/mobile/get_network_slice.py index b0db6caa2b..1678b5d9b0 100644 --- a/sdk/python/pulumi_azure/mobile/get_network_slice.py +++ b/sdk/python/pulumi_azure/mobile/get_network_slice.py @@ -152,9 +152,6 @@ def get_network_slice(mobile_network_id: Optional[str] = None, name=pulumi.get(__ret__, 'name'), single_network_slice_selection_assistance_informations=pulumi.get(__ret__, 'single_network_slice_selection_assistance_informations'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_network_slice) def get_network_slice_output(mobile_network_id: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetNetworkSliceResult]: @@ -177,4 +174,16 @@ def get_network_slice_output(mobile_network_id: Optional[pulumi.Input[str]] = No :param str mobile_network_id: The ID of Mobile Network which the Mobile Network Slice belongs to. :param str name: Specifies the name which should be used for this Mobile Network Slice. """ - ... + __args__ = dict() + __args__['mobileNetworkId'] = mobile_network_id + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:mobile/getNetworkSlice:getNetworkSlice', __args__, opts=opts, typ=GetNetworkSliceResult) + return __ret__.apply(lambda __response__: GetNetworkSliceResult( + description=pulumi.get(__response__, 'description'), + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + mobile_network_id=pulumi.get(__response__, 'mobile_network_id'), + name=pulumi.get(__response__, 'name'), + single_network_slice_selection_assistance_informations=pulumi.get(__response__, 'single_network_slice_selection_assistance_informations'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_azure/monitoring/get_action_group.py b/sdk/python/pulumi_azure/monitoring/get_action_group.py index 5d53ef8a1d..ee001fa316 100644 --- a/sdk/python/pulumi_azure/monitoring/get_action_group.py +++ b/sdk/python/pulumi_azure/monitoring/get_action_group.py @@ -271,9 +271,6 @@ def get_action_group(name: Optional[str] = None, sms_receivers=pulumi.get(__ret__, 'sms_receivers'), voice_receivers=pulumi.get(__ret__, 'voice_receivers'), webhook_receivers=pulumi.get(__ret__, 'webhook_receivers')) - - -@_utilities.lift_output_func(get_action_group) def get_action_group_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetActionGroupResult]: @@ -295,4 +292,25 @@ def get_action_group_output(name: Optional[pulumi.Input[str]] = None, :param str name: Specifies the name of the Action Group. :param str resource_group_name: Specifies the name of the resource group the Action Group is located in. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:monitoring/getActionGroup:getActionGroup', __args__, opts=opts, typ=GetActionGroupResult) + return __ret__.apply(lambda __response__: GetActionGroupResult( + arm_role_receivers=pulumi.get(__response__, 'arm_role_receivers'), + automation_runbook_receivers=pulumi.get(__response__, 'automation_runbook_receivers'), + azure_app_push_receivers=pulumi.get(__response__, 'azure_app_push_receivers'), + azure_function_receivers=pulumi.get(__response__, 'azure_function_receivers'), + email_receivers=pulumi.get(__response__, 'email_receivers'), + enabled=pulumi.get(__response__, 'enabled'), + event_hub_receivers=pulumi.get(__response__, 'event_hub_receivers'), + id=pulumi.get(__response__, 'id'), + itsm_receivers=pulumi.get(__response__, 'itsm_receivers'), + logic_app_receivers=pulumi.get(__response__, 'logic_app_receivers'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + short_name=pulumi.get(__response__, 'short_name'), + sms_receivers=pulumi.get(__response__, 'sms_receivers'), + voice_receivers=pulumi.get(__response__, 'voice_receivers'), + webhook_receivers=pulumi.get(__response__, 'webhook_receivers'))) diff --git a/sdk/python/pulumi_azure/monitoring/get_data_collection_endpoint.py b/sdk/python/pulumi_azure/monitoring/get_data_collection_endpoint.py index 610e9b8272..767c5a780d 100644 --- a/sdk/python/pulumi_azure/monitoring/get_data_collection_endpoint.py +++ b/sdk/python/pulumi_azure/monitoring/get_data_collection_endpoint.py @@ -202,9 +202,6 @@ def get_data_collection_endpoint(name: Optional[str] = None, public_network_access_enabled=pulumi.get(__ret__, 'public_network_access_enabled'), resource_group_name=pulumi.get(__ret__, 'resource_group_name'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_data_collection_endpoint) def get_data_collection_endpoint_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDataCollectionEndpointResult]: @@ -226,4 +223,20 @@ def get_data_collection_endpoint_output(name: Optional[pulumi.Input[str]] = None :param str name: Specifies the name of the Data Collection Endpoint. :param str resource_group_name: Specifies the name of the resource group the Data Collection Endpoint is located in. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:monitoring/getDataCollectionEndpoint:getDataCollectionEndpoint', __args__, opts=opts, typ=GetDataCollectionEndpointResult) + return __ret__.apply(lambda __response__: GetDataCollectionEndpointResult( + configuration_access_endpoint=pulumi.get(__response__, 'configuration_access_endpoint'), + description=pulumi.get(__response__, 'description'), + id=pulumi.get(__response__, 'id'), + immutable_id=pulumi.get(__response__, 'immutable_id'), + kind=pulumi.get(__response__, 'kind'), + location=pulumi.get(__response__, 'location'), + logs_ingestion_endpoint=pulumi.get(__response__, 'logs_ingestion_endpoint'), + name=pulumi.get(__response__, 'name'), + public_network_access_enabled=pulumi.get(__response__, 'public_network_access_enabled'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_azure/monitoring/get_data_collection_rule.py b/sdk/python/pulumi_azure/monitoring/get_data_collection_rule.py index f891eccaad..a8e9c9a937 100644 --- a/sdk/python/pulumi_azure/monitoring/get_data_collection_rule.py +++ b/sdk/python/pulumi_azure/monitoring/get_data_collection_rule.py @@ -242,9 +242,6 @@ def get_data_collection_rule(name: Optional[str] = None, resource_group_name=pulumi.get(__ret__, 'resource_group_name'), stream_declarations=pulumi.get(__ret__, 'stream_declarations'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_data_collection_rule) def get_data_collection_rule_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDataCollectionRuleResult]: @@ -266,4 +263,23 @@ def get_data_collection_rule_output(name: Optional[pulumi.Input[str]] = None, :param str name: Specifies the name of the Data Collection Rule. :param str resource_group_name: Specifies the name of the resource group the Data Collection Rule is located in. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:monitoring/getDataCollectionRule:getDataCollectionRule', __args__, opts=opts, typ=GetDataCollectionRuleResult) + return __ret__.apply(lambda __response__: GetDataCollectionRuleResult( + data_collection_endpoint_id=pulumi.get(__response__, 'data_collection_endpoint_id'), + data_flows=pulumi.get(__response__, 'data_flows'), + data_sources=pulumi.get(__response__, 'data_sources'), + description=pulumi.get(__response__, 'description'), + destinations=pulumi.get(__response__, 'destinations'), + id=pulumi.get(__response__, 'id'), + identities=pulumi.get(__response__, 'identities'), + immutable_id=pulumi.get(__response__, 'immutable_id'), + kind=pulumi.get(__response__, 'kind'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + stream_declarations=pulumi.get(__response__, 'stream_declarations'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_azure/monitoring/get_diagnostic_categories.py b/sdk/python/pulumi_azure/monitoring/get_diagnostic_categories.py index f715ce9d54..aa1c5aed55 100644 --- a/sdk/python/pulumi_azure/monitoring/get_diagnostic_categories.py +++ b/sdk/python/pulumi_azure/monitoring/get_diagnostic_categories.py @@ -124,9 +124,6 @@ def get_diagnostic_categories(resource_id: Optional[str] = None, log_category_types=pulumi.get(__ret__, 'log_category_types'), metrics=pulumi.get(__ret__, 'metrics'), resource_id=pulumi.get(__ret__, 'resource_id')) - - -@_utilities.lift_output_func(get_diagnostic_categories) def get_diagnostic_categories_output(resource_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDiagnosticCategoriesResult]: """ @@ -146,4 +143,13 @@ def get_diagnostic_categories_output(resource_id: Optional[pulumi.Input[str]] = :param str resource_id: The ID of an existing Resource which Monitor Diagnostics Categories should be retrieved for. """ - ... + __args__ = dict() + __args__['resourceId'] = resource_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:monitoring/getDiagnosticCategories:getDiagnosticCategories', __args__, opts=opts, typ=GetDiagnosticCategoriesResult) + return __ret__.apply(lambda __response__: GetDiagnosticCategoriesResult( + id=pulumi.get(__response__, 'id'), + log_category_groups=pulumi.get(__response__, 'log_category_groups'), + log_category_types=pulumi.get(__response__, 'log_category_types'), + metrics=pulumi.get(__response__, 'metrics'), + resource_id=pulumi.get(__response__, 'resource_id'))) diff --git a/sdk/python/pulumi_azure/monitoring/get_scheduled_query_rules_alert.py b/sdk/python/pulumi_azure/monitoring/get_scheduled_query_rules_alert.py index 14bb176242..80e9823fe0 100644 --- a/sdk/python/pulumi_azure/monitoring/get_scheduled_query_rules_alert.py +++ b/sdk/python/pulumi_azure/monitoring/get_scheduled_query_rules_alert.py @@ -278,9 +278,6 @@ def get_scheduled_query_rules_alert(name: Optional[str] = None, throttling=pulumi.get(__ret__, 'throttling'), time_window=pulumi.get(__ret__, 'time_window'), triggers=pulumi.get(__ret__, 'triggers')) - - -@_utilities.lift_output_func(get_scheduled_query_rules_alert) def get_scheduled_query_rules_alert_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetScheduledQueryRulesAlertResult]: @@ -302,4 +299,26 @@ def get_scheduled_query_rules_alert_output(name: Optional[pulumi.Input[str]] = N :param str name: Specifies the name of the scheduled query rule. :param str resource_group_name: Specifies the name of the resource group where the scheduled query rule is located. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:monitoring/getScheduledQueryRulesAlert:getScheduledQueryRulesAlert', __args__, opts=opts, typ=GetScheduledQueryRulesAlertResult) + return __ret__.apply(lambda __response__: GetScheduledQueryRulesAlertResult( + actions=pulumi.get(__response__, 'actions'), + authorized_resource_ids=pulumi.get(__response__, 'authorized_resource_ids'), + data_source_id=pulumi.get(__response__, 'data_source_id'), + description=pulumi.get(__response__, 'description'), + enabled=pulumi.get(__response__, 'enabled'), + frequency=pulumi.get(__response__, 'frequency'), + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + query=pulumi.get(__response__, 'query'), + query_type=pulumi.get(__response__, 'query_type'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + severity=pulumi.get(__response__, 'severity'), + tags=pulumi.get(__response__, 'tags'), + throttling=pulumi.get(__response__, 'throttling'), + time_window=pulumi.get(__response__, 'time_window'), + triggers=pulumi.get(__response__, 'triggers'))) diff --git a/sdk/python/pulumi_azure/monitoring/get_scheduled_query_rules_log.py b/sdk/python/pulumi_azure/monitoring/get_scheduled_query_rules_log.py index ee2d243e1f..139cbfdb86 100644 --- a/sdk/python/pulumi_azure/monitoring/get_scheduled_query_rules_log.py +++ b/sdk/python/pulumi_azure/monitoring/get_scheduled_query_rules_log.py @@ -190,9 +190,6 @@ def get_scheduled_query_rules_log(name: Optional[str] = None, name=pulumi.get(__ret__, 'name'), resource_group_name=pulumi.get(__ret__, 'resource_group_name'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_scheduled_query_rules_log) def get_scheduled_query_rules_log_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetScheduledQueryRulesLogResult]: @@ -214,4 +211,19 @@ def get_scheduled_query_rules_log_output(name: Optional[pulumi.Input[str]] = Non :param str name: Specifies the name of the scheduled query rule. :param str resource_group_name: Specifies the name of the resource group where the scheduled query rule is located. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:monitoring/getScheduledQueryRulesLog:getScheduledQueryRulesLog', __args__, opts=opts, typ=GetScheduledQueryRulesLogResult) + return __ret__.apply(lambda __response__: GetScheduledQueryRulesLogResult( + authorized_resource_ids=pulumi.get(__response__, 'authorized_resource_ids'), + criterias=pulumi.get(__response__, 'criterias'), + data_source_id=pulumi.get(__response__, 'data_source_id'), + description=pulumi.get(__response__, 'description'), + enabled=pulumi.get(__response__, 'enabled'), + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_azure/monitoring/get_workspace.py b/sdk/python/pulumi_azure/monitoring/get_workspace.py index 8f3f0aefff..ad80ebc629 100644 --- a/sdk/python/pulumi_azure/monitoring/get_workspace.py +++ b/sdk/python/pulumi_azure/monitoring/get_workspace.py @@ -176,9 +176,6 @@ def get_workspace(name: Optional[str] = None, query_endpoint=pulumi.get(__ret__, 'query_endpoint'), resource_group_name=pulumi.get(__ret__, 'resource_group_name'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_workspace) def get_workspace_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetWorkspaceResult]: @@ -200,4 +197,18 @@ def get_workspace_output(name: Optional[pulumi.Input[str]] = None, :param str name: Specifies the name of the Workspace. :param str resource_group_name: Specifies the name of the resource group the Workspace is located in. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:monitoring/getWorkspace:getWorkspace', __args__, opts=opts, typ=GetWorkspaceResult) + return __ret__.apply(lambda __response__: GetWorkspaceResult( + default_data_collection_endpoint_id=pulumi.get(__response__, 'default_data_collection_endpoint_id'), + default_data_collection_rule_id=pulumi.get(__response__, 'default_data_collection_rule_id'), + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + public_network_access_enabled=pulumi.get(__response__, 'public_network_access_enabled'), + query_endpoint=pulumi.get(__response__, 'query_endpoint'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_azure/mssql/get_database.py b/sdk/python/pulumi_azure/mssql/get_database.py index e84969ac4e..172b4117ed 100644 --- a/sdk/python/pulumi_azure/mssql/get_database.py +++ b/sdk/python/pulumi_azure/mssql/get_database.py @@ -304,9 +304,6 @@ def get_database(name: Optional[str] = None, transparent_data_encryption_key_automatic_rotation_enabled=pulumi.get(__ret__, 'transparent_data_encryption_key_automatic_rotation_enabled'), transparent_data_encryption_key_vault_key_id=pulumi.get(__ret__, 'transparent_data_encryption_key_vault_key_id'), zone_redundant=pulumi.get(__ret__, 'zone_redundant')) - - -@_utilities.lift_output_func(get_database) def get_database_output(name: Optional[pulumi.Input[str]] = None, server_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDatabaseResult]: @@ -338,4 +335,27 @@ def get_database_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of the MS SQL Database. :param str server_id: The id of the MS SQL Server on which to read the database. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['serverId'] = server_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:mssql/getDatabase:getDatabase', __args__, opts=opts, typ=GetDatabaseResult) + return __ret__.apply(lambda __response__: GetDatabaseResult( + collation=pulumi.get(__response__, 'collation'), + elastic_pool_id=pulumi.get(__response__, 'elastic_pool_id'), + enclave_type=pulumi.get(__response__, 'enclave_type'), + id=pulumi.get(__response__, 'id'), + identities=pulumi.get(__response__, 'identities'), + license_type=pulumi.get(__response__, 'license_type'), + max_size_gb=pulumi.get(__response__, 'max_size_gb'), + name=pulumi.get(__response__, 'name'), + read_replica_count=pulumi.get(__response__, 'read_replica_count'), + read_scale=pulumi.get(__response__, 'read_scale'), + server_id=pulumi.get(__response__, 'server_id'), + sku_name=pulumi.get(__response__, 'sku_name'), + storage_account_type=pulumi.get(__response__, 'storage_account_type'), + tags=pulumi.get(__response__, 'tags'), + transparent_data_encryption_enabled=pulumi.get(__response__, 'transparent_data_encryption_enabled'), + transparent_data_encryption_key_automatic_rotation_enabled=pulumi.get(__response__, 'transparent_data_encryption_key_automatic_rotation_enabled'), + transparent_data_encryption_key_vault_key_id=pulumi.get(__response__, 'transparent_data_encryption_key_vault_key_id'), + zone_redundant=pulumi.get(__response__, 'zone_redundant'))) diff --git a/sdk/python/pulumi_azure/mssql/get_elastic_pool.py b/sdk/python/pulumi_azure/mssql/get_elastic_pool.py index 8a4a327046..2bdb53ef6c 100644 --- a/sdk/python/pulumi_azure/mssql/get_elastic_pool.py +++ b/sdk/python/pulumi_azure/mssql/get_elastic_pool.py @@ -246,9 +246,6 @@ def get_elastic_pool(name: Optional[str] = None, skus=pulumi.get(__ret__, 'skus'), tags=pulumi.get(__ret__, 'tags'), zone_redundant=pulumi.get(__ret__, 'zone_redundant')) - - -@_utilities.lift_output_func(get_elastic_pool) def get_elastic_pool_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, server_name: Optional[pulumi.Input[str]] = None, @@ -273,4 +270,24 @@ def get_elastic_pool_output(name: Optional[pulumi.Input[str]] = None, :param str resource_group_name: The name of the resource group which contains the elastic pool. :param str server_name: The name of the SQL Server which contains the elastic pool. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + __args__['serverName'] = server_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:mssql/getElasticPool:getElasticPool', __args__, opts=opts, typ=GetElasticPoolResult) + return __ret__.apply(lambda __response__: GetElasticPoolResult( + enclave_type=pulumi.get(__response__, 'enclave_type'), + id=pulumi.get(__response__, 'id'), + license_type=pulumi.get(__response__, 'license_type'), + location=pulumi.get(__response__, 'location'), + max_size_bytes=pulumi.get(__response__, 'max_size_bytes'), + max_size_gb=pulumi.get(__response__, 'max_size_gb'), + name=pulumi.get(__response__, 'name'), + per_db_max_capacity=pulumi.get(__response__, 'per_db_max_capacity'), + per_db_min_capacity=pulumi.get(__response__, 'per_db_min_capacity'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + server_name=pulumi.get(__response__, 'server_name'), + skus=pulumi.get(__response__, 'skus'), + tags=pulumi.get(__response__, 'tags'), + zone_redundant=pulumi.get(__response__, 'zone_redundant'))) diff --git a/sdk/python/pulumi_azure/mssql/get_managed_instance.py b/sdk/python/pulumi_azure/mssql/get_managed_instance.py index 1c2278f23f..1a554e3630 100644 --- a/sdk/python/pulumi_azure/mssql/get_managed_instance.py +++ b/sdk/python/pulumi_azure/mssql/get_managed_instance.py @@ -342,9 +342,6 @@ def get_managed_instance(name: Optional[str] = None, tags=pulumi.get(__ret__, 'tags'), timezone_id=pulumi.get(__ret__, 'timezone_id'), vcores=pulumi.get(__ret__, 'vcores')) - - -@_utilities.lift_output_func(get_managed_instance) def get_managed_instance_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetManagedInstanceResult]: @@ -365,4 +362,31 @@ def get_managed_instance_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of the SQL Managed Instance. :param str resource_group_name: The name of the resource group where the SQL Managed Instance exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:mssql/getManagedInstance:getManagedInstance', __args__, opts=opts, typ=GetManagedInstanceResult) + return __ret__.apply(lambda __response__: GetManagedInstanceResult( + administrator_login=pulumi.get(__response__, 'administrator_login'), + collation=pulumi.get(__response__, 'collation'), + customer_managed_key_id=pulumi.get(__response__, 'customer_managed_key_id'), + dns_zone=pulumi.get(__response__, 'dns_zone'), + dns_zone_partner_id=pulumi.get(__response__, 'dns_zone_partner_id'), + fqdn=pulumi.get(__response__, 'fqdn'), + id=pulumi.get(__response__, 'id'), + identities=pulumi.get(__response__, 'identities'), + license_type=pulumi.get(__response__, 'license_type'), + location=pulumi.get(__response__, 'location'), + minimum_tls_version=pulumi.get(__response__, 'minimum_tls_version'), + name=pulumi.get(__response__, 'name'), + proxy_override=pulumi.get(__response__, 'proxy_override'), + public_data_endpoint_enabled=pulumi.get(__response__, 'public_data_endpoint_enabled'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + sku_name=pulumi.get(__response__, 'sku_name'), + storage_account_type=pulumi.get(__response__, 'storage_account_type'), + storage_size_in_gb=pulumi.get(__response__, 'storage_size_in_gb'), + subnet_id=pulumi.get(__response__, 'subnet_id'), + tags=pulumi.get(__response__, 'tags'), + timezone_id=pulumi.get(__response__, 'timezone_id'), + vcores=pulumi.get(__response__, 'vcores'))) diff --git a/sdk/python/pulumi_azure/mssql/get_server.py b/sdk/python/pulumi_azure/mssql/get_server.py index 8f7db79425..1756f4ddac 100644 --- a/sdk/python/pulumi_azure/mssql/get_server.py +++ b/sdk/python/pulumi_azure/mssql/get_server.py @@ -203,9 +203,6 @@ def get_server(name: Optional[str] = None, tags=pulumi.get(__ret__, 'tags'), transparent_data_encryption_key_vault_key_id=pulumi.get(__ret__, 'transparent_data_encryption_key_vault_key_id'), version=pulumi.get(__ret__, 'version')) - - -@_utilities.lift_output_func(get_server) def get_server_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetServerResult]: @@ -227,4 +224,20 @@ def get_server_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of this Microsoft SQL Server. :param str resource_group_name: The name of the Resource Group where the Microsoft SQL Server exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:mssql/getServer:getServer', __args__, opts=opts, typ=GetServerResult) + return __ret__.apply(lambda __response__: GetServerResult( + administrator_login=pulumi.get(__response__, 'administrator_login'), + fully_qualified_domain_name=pulumi.get(__response__, 'fully_qualified_domain_name'), + id=pulumi.get(__response__, 'id'), + identities=pulumi.get(__response__, 'identities'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + restorable_dropped_database_ids=pulumi.get(__response__, 'restorable_dropped_database_ids'), + tags=pulumi.get(__response__, 'tags'), + transparent_data_encryption_key_vault_key_id=pulumi.get(__response__, 'transparent_data_encryption_key_vault_key_id'), + version=pulumi.get(__response__, 'version'))) diff --git a/sdk/python/pulumi_azure/mysql/get_flexible_server.py b/sdk/python/pulumi_azure/mysql/get_flexible_server.py index 93e4834bb7..39e1ef21e7 100644 --- a/sdk/python/pulumi_azure/mysql/get_flexible_server.py +++ b/sdk/python/pulumi_azure/mysql/get_flexible_server.py @@ -330,9 +330,6 @@ def get_flexible_server(name: Optional[str] = None, tags=pulumi.get(__ret__, 'tags'), version=pulumi.get(__ret__, 'version'), zone=pulumi.get(__ret__, 'zone')) - - -@_utilities.lift_output_func(get_flexible_server) def get_flexible_server_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFlexibleServerResult]: @@ -354,4 +351,30 @@ def get_flexible_server_output(name: Optional[pulumi.Input[str]] = None, :param str name: Specifies the name of the MySQL Flexible Server. :param str resource_group_name: The name of the resource group for the MySQL Flexible Server. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:mysql/getFlexibleServer:getFlexibleServer', __args__, opts=opts, typ=GetFlexibleServerResult) + return __ret__.apply(lambda __response__: GetFlexibleServerResult( + administrator_login=pulumi.get(__response__, 'administrator_login'), + backup_retention_days=pulumi.get(__response__, 'backup_retention_days'), + delegated_subnet_id=pulumi.get(__response__, 'delegated_subnet_id'), + fqdn=pulumi.get(__response__, 'fqdn'), + geo_redundant_backup_enabled=pulumi.get(__response__, 'geo_redundant_backup_enabled'), + high_availabilities=pulumi.get(__response__, 'high_availabilities'), + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + maintenance_windows=pulumi.get(__response__, 'maintenance_windows'), + name=pulumi.get(__response__, 'name'), + private_dns_zone_id=pulumi.get(__response__, 'private_dns_zone_id'), + public_network_access_enabled=pulumi.get(__response__, 'public_network_access_enabled'), + replica_capacity=pulumi.get(__response__, 'replica_capacity'), + replication_role=pulumi.get(__response__, 'replication_role'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + restore_point_in_time=pulumi.get(__response__, 'restore_point_in_time'), + sku_name=pulumi.get(__response__, 'sku_name'), + storages=pulumi.get(__response__, 'storages'), + tags=pulumi.get(__response__, 'tags'), + version=pulumi.get(__response__, 'version'), + zone=pulumi.get(__response__, 'zone'))) diff --git a/sdk/python/pulumi_azure/netapp/get_account.py b/sdk/python/pulumi_azure/netapp/get_account.py index 02cd279968..7038d85d9a 100644 --- a/sdk/python/pulumi_azure/netapp/get_account.py +++ b/sdk/python/pulumi_azure/netapp/get_account.py @@ -135,9 +135,6 @@ def get_account(identity: Optional[Union['GetAccountIdentityArgs', 'GetAccountId name=pulumi.get(__ret__, 'name'), resource_group_name=pulumi.get(__ret__, 'resource_group_name'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_account) def get_account_output(identity: Optional[pulumi.Input[Optional[Union['GetAccountIdentityArgs', 'GetAccountIdentityArgsDict']]]] = None, name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, @@ -160,4 +157,16 @@ def get_account_output(identity: Optional[pulumi.Input[Optional[Union['GetAccoun :param str name: The name of the NetApp Account. :param str resource_group_name: The Name of the Resource Group where the NetApp Account exists. """ - ... + __args__ = dict() + __args__['identity'] = identity + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:netapp/getAccount:getAccount', __args__, opts=opts, typ=GetAccountResult) + return __ret__.apply(lambda __response__: GetAccountResult( + id=pulumi.get(__response__, 'id'), + identity=pulumi.get(__response__, 'identity'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_azure/netapp/get_account_encryption.py b/sdk/python/pulumi_azure/netapp/get_account_encryption.py index 3e9c724ebd..49ffdfa4b1 100644 --- a/sdk/python/pulumi_azure/netapp/get_account_encryption.py +++ b/sdk/python/pulumi_azure/netapp/get_account_encryption.py @@ -123,9 +123,6 @@ def get_account_encryption(encryption_key: Optional[str] = None, netapp_account_id=pulumi.get(__ret__, 'netapp_account_id'), system_assigned_identity_principal_id=pulumi.get(__ret__, 'system_assigned_identity_principal_id'), user_assigned_identity_id=pulumi.get(__ret__, 'user_assigned_identity_id')) - - -@_utilities.lift_output_func(get_account_encryption) def get_account_encryption_output(encryption_key: Optional[pulumi.Input[Optional[str]]] = None, netapp_account_id: Optional[pulumi.Input[str]] = None, system_assigned_identity_principal_id: Optional[pulumi.Input[Optional[str]]] = None, @@ -150,4 +147,16 @@ def get_account_encryption_output(encryption_key: Optional[pulumi.Input[Optional :param str system_assigned_identity_principal_id: The ID of the System Assigned Manged Identity. :param str user_assigned_identity_id: The ID of the User Assigned Managed Identity. """ - ... + __args__ = dict() + __args__['encryptionKey'] = encryption_key + __args__['netappAccountId'] = netapp_account_id + __args__['systemAssignedIdentityPrincipalId'] = system_assigned_identity_principal_id + __args__['userAssignedIdentityId'] = user_assigned_identity_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:netapp/getAccountEncryption:getAccountEncryption', __args__, opts=opts, typ=GetAccountEncryptionResult) + return __ret__.apply(lambda __response__: GetAccountEncryptionResult( + encryption_key=pulumi.get(__response__, 'encryption_key'), + id=pulumi.get(__response__, 'id'), + netapp_account_id=pulumi.get(__response__, 'netapp_account_id'), + system_assigned_identity_principal_id=pulumi.get(__response__, 'system_assigned_identity_principal_id'), + user_assigned_identity_id=pulumi.get(__response__, 'user_assigned_identity_id'))) diff --git a/sdk/python/pulumi_azure/netapp/get_pool.py b/sdk/python/pulumi_azure/netapp/get_pool.py index d59774e95b..ed7fc7a90f 100644 --- a/sdk/python/pulumi_azure/netapp/get_pool.py +++ b/sdk/python/pulumi_azure/netapp/get_pool.py @@ -164,9 +164,6 @@ def get_pool(account_name: Optional[str] = None, resource_group_name=pulumi.get(__ret__, 'resource_group_name'), service_level=pulumi.get(__ret__, 'service_level'), size_in_tb=pulumi.get(__ret__, 'size_in_tb')) - - -@_utilities.lift_output_func(get_pool) def get_pool_output(account_name: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, @@ -191,4 +188,18 @@ def get_pool_output(account_name: Optional[pulumi.Input[str]] = None, :param str name: The name of the NetApp Pool. :param str resource_group_name: The Name of the Resource Group where the NetApp Pool exists. """ - ... + __args__ = dict() + __args__['accountName'] = account_name + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:netapp/getPool:getPool', __args__, opts=opts, typ=GetPoolResult) + return __ret__.apply(lambda __response__: GetPoolResult( + account_name=pulumi.get(__response__, 'account_name'), + encryption_type=pulumi.get(__response__, 'encryption_type'), + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + service_level=pulumi.get(__response__, 'service_level'), + size_in_tb=pulumi.get(__response__, 'size_in_tb'))) diff --git a/sdk/python/pulumi_azure/netapp/get_snapshot.py b/sdk/python/pulumi_azure/netapp/get_snapshot.py index a5f96d290c..bdf07d2b59 100644 --- a/sdk/python/pulumi_azure/netapp/get_snapshot.py +++ b/sdk/python/pulumi_azure/netapp/get_snapshot.py @@ -153,9 +153,6 @@ def get_snapshot(account_name: Optional[str] = None, pool_name=pulumi.get(__ret__, 'pool_name'), resource_group_name=pulumi.get(__ret__, 'resource_group_name'), volume_name=pulumi.get(__ret__, 'volume_name')) - - -@_utilities.lift_output_func(get_snapshot) def get_snapshot_output(account_name: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, pool_name: Optional[pulumi.Input[str]] = None, @@ -186,4 +183,19 @@ def get_snapshot_output(account_name: Optional[pulumi.Input[str]] = None, :param str resource_group_name: The Name of the Resource Group where the NetApp Snapshot exists. :param str volume_name: The name of the NetApp Volume where the NetApp Snapshot exists. """ - ... + __args__ = dict() + __args__['accountName'] = account_name + __args__['name'] = name + __args__['poolName'] = pool_name + __args__['resourceGroupName'] = resource_group_name + __args__['volumeName'] = volume_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:netapp/getSnapshot:getSnapshot', __args__, opts=opts, typ=GetSnapshotResult) + return __ret__.apply(lambda __response__: GetSnapshotResult( + account_name=pulumi.get(__response__, 'account_name'), + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + pool_name=pulumi.get(__response__, 'pool_name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + volume_name=pulumi.get(__response__, 'volume_name'))) diff --git a/sdk/python/pulumi_azure/netapp/get_snapshot_policy.py b/sdk/python/pulumi_azure/netapp/get_snapshot_policy.py index ec5f1423de..d76fbc5f18 100644 --- a/sdk/python/pulumi_azure/netapp/get_snapshot_policy.py +++ b/sdk/python/pulumi_azure/netapp/get_snapshot_policy.py @@ -216,9 +216,6 @@ def get_snapshot_policy(account_name: Optional[str] = None, resource_group_name=pulumi.get(__ret__, 'resource_group_name'), tags=pulumi.get(__ret__, 'tags'), weekly_schedules=pulumi.get(__ret__, 'weekly_schedules')) - - -@_utilities.lift_output_func(get_snapshot_policy) def get_snapshot_policy_output(account_name: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, @@ -249,4 +246,21 @@ def get_snapshot_policy_output(account_name: Optional[pulumi.Input[str]] = None, :param str name: The name of the NetApp Snapshot Policy. :param str resource_group_name: The Name of the Resource Group where the NetApp Snapshot Policy exists. """ - ... + __args__ = dict() + __args__['accountName'] = account_name + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:netapp/getSnapshotPolicy:getSnapshotPolicy', __args__, opts=opts, typ=GetSnapshotPolicyResult) + return __ret__.apply(lambda __response__: GetSnapshotPolicyResult( + account_name=pulumi.get(__response__, 'account_name'), + daily_schedules=pulumi.get(__response__, 'daily_schedules'), + enabled=pulumi.get(__response__, 'enabled'), + hourly_schedules=pulumi.get(__response__, 'hourly_schedules'), + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + monthly_schedules=pulumi.get(__response__, 'monthly_schedules'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + tags=pulumi.get(__response__, 'tags'), + weekly_schedules=pulumi.get(__response__, 'weekly_schedules'))) diff --git a/sdk/python/pulumi_azure/netapp/get_volume.py b/sdk/python/pulumi_azure/netapp/get_volume.py index c71d0c6766..b13e55020e 100644 --- a/sdk/python/pulumi_azure/netapp/get_volume.py +++ b/sdk/python/pulumi_azure/netapp/get_volume.py @@ -319,9 +319,6 @@ def get_volume(account_name: Optional[str] = None, subnet_id=pulumi.get(__ret__, 'subnet_id'), volume_path=pulumi.get(__ret__, 'volume_path'), zone=pulumi.get(__ret__, 'zone')) - - -@_utilities.lift_output_func(get_volume) def get_volume_output(account_name: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, pool_name: Optional[pulumi.Input[str]] = None, @@ -351,4 +348,32 @@ def get_volume_output(account_name: Optional[pulumi.Input[str]] = None, :param str resource_group_name: The Name of the Resource Group where the NetApp Volume exists. :param str security_style: Volume security style """ - ... + __args__ = dict() + __args__['accountName'] = account_name + __args__['name'] = name + __args__['poolName'] = pool_name + __args__['resourceGroupName'] = resource_group_name + __args__['securityStyle'] = security_style + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:netapp/getVolume:getVolume', __args__, opts=opts, typ=GetVolumeResult) + return __ret__.apply(lambda __response__: GetVolumeResult( + account_name=pulumi.get(__response__, 'account_name'), + data_protection_replications=pulumi.get(__response__, 'data_protection_replications'), + encryption_key_source=pulumi.get(__response__, 'encryption_key_source'), + id=pulumi.get(__response__, 'id'), + key_vault_private_endpoint_id=pulumi.get(__response__, 'key_vault_private_endpoint_id'), + location=pulumi.get(__response__, 'location'), + mount_ip_addresses=pulumi.get(__response__, 'mount_ip_addresses'), + name=pulumi.get(__response__, 'name'), + network_features=pulumi.get(__response__, 'network_features'), + pool_name=pulumi.get(__response__, 'pool_name'), + protocols=pulumi.get(__response__, 'protocols'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + security_style=pulumi.get(__response__, 'security_style'), + service_level=pulumi.get(__response__, 'service_level'), + smb_access_based_enumeration_enabled=pulumi.get(__response__, 'smb_access_based_enumeration_enabled'), + smb_non_browsable_enabled=pulumi.get(__response__, 'smb_non_browsable_enabled'), + storage_quota_in_gb=pulumi.get(__response__, 'storage_quota_in_gb'), + subnet_id=pulumi.get(__response__, 'subnet_id'), + volume_path=pulumi.get(__response__, 'volume_path'), + zone=pulumi.get(__response__, 'zone'))) diff --git a/sdk/python/pulumi_azure/netapp/get_volume_group_sap_hana.py b/sdk/python/pulumi_azure/netapp/get_volume_group_sap_hana.py index 6b90da5d7d..9213df4750 100644 --- a/sdk/python/pulumi_azure/netapp/get_volume_group_sap_hana.py +++ b/sdk/python/pulumi_azure/netapp/get_volume_group_sap_hana.py @@ -168,9 +168,6 @@ def get_volume_group_sap_hana(account_name: Optional[str] = None, name=pulumi.get(__ret__, 'name'), resource_group_name=pulumi.get(__ret__, 'resource_group_name'), volumes=pulumi.get(__ret__, 'volumes')) - - -@_utilities.lift_output_func(get_volume_group_sap_hana) def get_volume_group_sap_hana_output(account_name: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, @@ -195,4 +192,18 @@ def get_volume_group_sap_hana_output(account_name: Optional[pulumi.Input[str]] = :param str name: The name of this Application Volume Group for SAP HANA application. :param str resource_group_name: The name of the Resource Group where the Application Volume Group exists. """ - ... + __args__ = dict() + __args__['accountName'] = account_name + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:netapp/getVolumeGroupSapHana:getVolumeGroupSapHana', __args__, opts=opts, typ=GetVolumeGroupSapHanaResult) + return __ret__.apply(lambda __response__: GetVolumeGroupSapHanaResult( + account_name=pulumi.get(__response__, 'account_name'), + application_identifier=pulumi.get(__response__, 'application_identifier'), + group_description=pulumi.get(__response__, 'group_description'), + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + volumes=pulumi.get(__response__, 'volumes'))) diff --git a/sdk/python/pulumi_azure/netapp/get_volume_quota_rule.py b/sdk/python/pulumi_azure/netapp/get_volume_quota_rule.py index 58e61951af..65b847554d 100644 --- a/sdk/python/pulumi_azure/netapp/get_volume_quota_rule.py +++ b/sdk/python/pulumi_azure/netapp/get_volume_quota_rule.py @@ -150,9 +150,6 @@ def get_volume_quota_rule(name: Optional[str] = None, quota_target=pulumi.get(__ret__, 'quota_target'), quota_type=pulumi.get(__ret__, 'quota_type'), volume_id=pulumi.get(__ret__, 'volume_id')) - - -@_utilities.lift_output_func(get_volume_quota_rule) def get_volume_quota_rule_output(name: Optional[pulumi.Input[str]] = None, volume_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetVolumeQuotaRuleResult]: @@ -174,4 +171,16 @@ def get_volume_quota_rule_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of this Volume Quota Rule. :param str volume_id: The NetApp volume ID where the Volume Quota Rule is assigned to. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['volumeId'] = volume_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:netapp/getVolumeQuotaRule:getVolumeQuotaRule', __args__, opts=opts, typ=GetVolumeQuotaRuleResult) + return __ret__.apply(lambda __response__: GetVolumeQuotaRuleResult( + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + quota_size_in_kib=pulumi.get(__response__, 'quota_size_in_kib'), + quota_target=pulumi.get(__response__, 'quota_target'), + quota_type=pulumi.get(__response__, 'quota_type'), + volume_id=pulumi.get(__response__, 'volume_id'))) diff --git a/sdk/python/pulumi_azure/network/get_application_gateway.py b/sdk/python/pulumi_azure/network/get_application_gateway.py index d16bcbac10..bfe4016a79 100644 --- a/sdk/python/pulumi_azure/network/get_application_gateway.py +++ b/sdk/python/pulumi_azure/network/get_application_gateway.py @@ -515,9 +515,6 @@ def get_application_gateway(name: Optional[str] = None, url_path_maps=pulumi.get(__ret__, 'url_path_maps'), waf_configurations=pulumi.get(__ret__, 'waf_configurations'), zones=pulumi.get(__ret__, 'zones')) - - -@_utilities.lift_output_func(get_application_gateway) def get_application_gateway_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetApplicationGatewayResult]: @@ -539,4 +536,44 @@ def get_application_gateway_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of this Application Gateway. :param str resource_group_name: The name of the Resource Group where the Application Gateway exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:network/getApplicationGateway:getApplicationGateway', __args__, opts=opts, typ=GetApplicationGatewayResult) + return __ret__.apply(lambda __response__: GetApplicationGatewayResult( + authentication_certificates=pulumi.get(__response__, 'authentication_certificates'), + autoscale_configurations=pulumi.get(__response__, 'autoscale_configurations'), + backend_address_pools=pulumi.get(__response__, 'backend_address_pools'), + backend_http_settings=pulumi.get(__response__, 'backend_http_settings'), + custom_error_configurations=pulumi.get(__response__, 'custom_error_configurations'), + fips_enabled=pulumi.get(__response__, 'fips_enabled'), + firewall_policy_id=pulumi.get(__response__, 'firewall_policy_id'), + force_firewall_policy_association=pulumi.get(__response__, 'force_firewall_policy_association'), + frontend_ip_configurations=pulumi.get(__response__, 'frontend_ip_configurations'), + frontend_ports=pulumi.get(__response__, 'frontend_ports'), + gateway_ip_configurations=pulumi.get(__response__, 'gateway_ip_configurations'), + globals=pulumi.get(__response__, 'globals'), + http2_enabled=pulumi.get(__response__, 'http2_enabled'), + http_listeners=pulumi.get(__response__, 'http_listeners'), + id=pulumi.get(__response__, 'id'), + identities=pulumi.get(__response__, 'identities'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + private_endpoint_connections=pulumi.get(__response__, 'private_endpoint_connections'), + private_link_configurations=pulumi.get(__response__, 'private_link_configurations'), + probes=pulumi.get(__response__, 'probes'), + redirect_configurations=pulumi.get(__response__, 'redirect_configurations'), + request_routing_rules=pulumi.get(__response__, 'request_routing_rules'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + rewrite_rule_sets=pulumi.get(__response__, 'rewrite_rule_sets'), + skus=pulumi.get(__response__, 'skus'), + ssl_certificates=pulumi.get(__response__, 'ssl_certificates'), + ssl_policies=pulumi.get(__response__, 'ssl_policies'), + ssl_profiles=pulumi.get(__response__, 'ssl_profiles'), + tags=pulumi.get(__response__, 'tags'), + trusted_client_certificates=pulumi.get(__response__, 'trusted_client_certificates'), + trusted_root_certificates=pulumi.get(__response__, 'trusted_root_certificates'), + url_path_maps=pulumi.get(__response__, 'url_path_maps'), + waf_configurations=pulumi.get(__response__, 'waf_configurations'), + zones=pulumi.get(__response__, 'zones'))) diff --git a/sdk/python/pulumi_azure/network/get_application_security_group.py b/sdk/python/pulumi_azure/network/get_application_security_group.py index 4167b14eb3..71a26d3c69 100644 --- a/sdk/python/pulumi_azure/network/get_application_security_group.py +++ b/sdk/python/pulumi_azure/network/get_application_security_group.py @@ -124,9 +124,6 @@ def get_application_security_group(name: Optional[str] = None, name=pulumi.get(__ret__, 'name'), resource_group_name=pulumi.get(__ret__, 'resource_group_name'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_application_security_group) def get_application_security_group_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetApplicationSecurityGroupResult]: @@ -148,4 +145,14 @@ def get_application_security_group_output(name: Optional[pulumi.Input[str]] = No :param str name: The name of the Application Security Group. :param str resource_group_name: The name of the resource group in which the Application Security Group exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:network/getApplicationSecurityGroup:getApplicationSecurityGroup', __args__, opts=opts, typ=GetApplicationSecurityGroupResult) + return __ret__.apply(lambda __response__: GetApplicationSecurityGroupResult( + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_azure/network/get_express_route_circuit.py b/sdk/python/pulumi_azure/network/get_express_route_circuit.py index 2e6f4fbe0e..0c91642e5b 100644 --- a/sdk/python/pulumi_azure/network/get_express_route_circuit.py +++ b/sdk/python/pulumi_azure/network/get_express_route_circuit.py @@ -178,9 +178,6 @@ def get_express_route_circuit(name: Optional[str] = None, service_provider_properties=pulumi.get(__ret__, 'service_provider_properties'), service_provider_provisioning_state=pulumi.get(__ret__, 'service_provider_provisioning_state'), sku=pulumi.get(__ret__, 'sku')) - - -@_utilities.lift_output_func(get_express_route_circuit) def get_express_route_circuit_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetExpressRouteCircuitResult]: @@ -203,4 +200,18 @@ def get_express_route_circuit_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of the ExpressRoute circuit. :param str resource_group_name: The Name of the Resource Group where the ExpressRoute circuit exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:network/getExpressRouteCircuit:getExpressRouteCircuit', __args__, opts=opts, typ=GetExpressRouteCircuitResult) + return __ret__.apply(lambda __response__: GetExpressRouteCircuitResult( + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + peerings=pulumi.get(__response__, 'peerings'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + service_key=pulumi.get(__response__, 'service_key'), + service_provider_properties=pulumi.get(__response__, 'service_provider_properties'), + service_provider_provisioning_state=pulumi.get(__response__, 'service_provider_provisioning_state'), + sku=pulumi.get(__response__, 'sku'))) diff --git a/sdk/python/pulumi_azure/network/get_firewall.py b/sdk/python/pulumi_azure/network/get_firewall.py index 48eb1ce8fc..81b6d8acd7 100644 --- a/sdk/python/pulumi_azure/network/get_firewall.py +++ b/sdk/python/pulumi_azure/network/get_firewall.py @@ -258,9 +258,6 @@ def get_firewall(dns_proxy_enabled: Optional[bool] = None, threat_intel_mode=pulumi.get(__ret__, 'threat_intel_mode'), virtual_hubs=pulumi.get(__ret__, 'virtual_hubs'), zones=pulumi.get(__ret__, 'zones')) - - -@_utilities.lift_output_func(get_firewall) def get_firewall_output(dns_proxy_enabled: Optional[pulumi.Input[Optional[bool]]] = None, name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, @@ -284,4 +281,25 @@ def get_firewall_output(dns_proxy_enabled: Optional[pulumi.Input[Optional[bool]] :param str name: The name of the Azure Firewall. :param str resource_group_name: The name of the Resource Group in which the Azure Firewall exists. """ - ... + __args__ = dict() + __args__['dnsProxyEnabled'] = dns_proxy_enabled + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:network/getFirewall:getFirewall', __args__, opts=opts, typ=GetFirewallResult) + return __ret__.apply(lambda __response__: GetFirewallResult( + dns_proxy_enabled=pulumi.get(__response__, 'dns_proxy_enabled'), + dns_servers=pulumi.get(__response__, 'dns_servers'), + firewall_policy_id=pulumi.get(__response__, 'firewall_policy_id'), + id=pulumi.get(__response__, 'id'), + ip_configurations=pulumi.get(__response__, 'ip_configurations'), + location=pulumi.get(__response__, 'location'), + management_ip_configurations=pulumi.get(__response__, 'management_ip_configurations'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + sku_name=pulumi.get(__response__, 'sku_name'), + sku_tier=pulumi.get(__response__, 'sku_tier'), + tags=pulumi.get(__response__, 'tags'), + threat_intel_mode=pulumi.get(__response__, 'threat_intel_mode'), + virtual_hubs=pulumi.get(__response__, 'virtual_hubs'), + zones=pulumi.get(__response__, 'zones'))) diff --git a/sdk/python/pulumi_azure/network/get_firewall_policy.py b/sdk/python/pulumi_azure/network/get_firewall_policy.py index a77e9e3a75..a7c95793b4 100644 --- a/sdk/python/pulumi_azure/network/get_firewall_policy.py +++ b/sdk/python/pulumi_azure/network/get_firewall_policy.py @@ -192,9 +192,6 @@ def get_firewall_policy(name: Optional[str] = None, tags=pulumi.get(__ret__, 'tags'), threat_intelligence_allowlists=pulumi.get(__ret__, 'threat_intelligence_allowlists'), threat_intelligence_mode=pulumi.get(__ret__, 'threat_intelligence_mode')) - - -@_utilities.lift_output_func(get_firewall_policy) def get_firewall_policy_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFirewallPolicyResult]: @@ -216,4 +213,21 @@ def get_firewall_policy_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of this Firewall Policy. :param str resource_group_name: The name of the Resource Group where the Firewall Policy exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:network/getFirewallPolicy:getFirewallPolicy', __args__, opts=opts, typ=GetFirewallPolicyResult) + return __ret__.apply(lambda __response__: GetFirewallPolicyResult( + base_policy_id=pulumi.get(__response__, 'base_policy_id'), + child_policies=pulumi.get(__response__, 'child_policies'), + dns=pulumi.get(__response__, 'dns'), + firewalls=pulumi.get(__response__, 'firewalls'), + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + rule_collection_groups=pulumi.get(__response__, 'rule_collection_groups'), + tags=pulumi.get(__response__, 'tags'), + threat_intelligence_allowlists=pulumi.get(__response__, 'threat_intelligence_allowlists'), + threat_intelligence_mode=pulumi.get(__response__, 'threat_intelligence_mode'))) diff --git a/sdk/python/pulumi_azure/network/get_gateway_connection.py b/sdk/python/pulumi_azure/network/get_gateway_connection.py index 8cdb1f2811..c95684039b 100644 --- a/sdk/python/pulumi_azure/network/get_gateway_connection.py +++ b/sdk/python/pulumi_azure/network/get_gateway_connection.py @@ -390,9 +390,6 @@ def get_gateway_connection(name: Optional[str] = None, type=pulumi.get(__ret__, 'type'), use_policy_based_traffic_selectors=pulumi.get(__ret__, 'use_policy_based_traffic_selectors'), virtual_network_gateway_id=pulumi.get(__ret__, 'virtual_network_gateway_id')) - - -@_utilities.lift_output_func(get_gateway_connection) def get_gateway_connection_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetGatewayConnectionResult]: @@ -414,4 +411,34 @@ def get_gateway_connection_output(name: Optional[pulumi.Input[str]] = None, :param str name: Specifies the name of the Virtual Network Gateway Connection. :param str resource_group_name: Specifies the name of the resource group the Virtual Network Gateway Connection is located in. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:network/getGatewayConnection:getGatewayConnection', __args__, opts=opts, typ=GetGatewayConnectionResult) + return __ret__.apply(lambda __response__: GetGatewayConnectionResult( + authorization_key=pulumi.get(__response__, 'authorization_key'), + connection_protocol=pulumi.get(__response__, 'connection_protocol'), + dpd_timeout_seconds=pulumi.get(__response__, 'dpd_timeout_seconds'), + egress_bytes_transferred=pulumi.get(__response__, 'egress_bytes_transferred'), + enable_bgp=pulumi.get(__response__, 'enable_bgp'), + express_route_circuit_id=pulumi.get(__response__, 'express_route_circuit_id'), + express_route_gateway_bypass=pulumi.get(__response__, 'express_route_gateway_bypass'), + id=pulumi.get(__response__, 'id'), + ingress_bytes_transferred=pulumi.get(__response__, 'ingress_bytes_transferred'), + ipsec_policies=pulumi.get(__response__, 'ipsec_policies'), + local_azure_ip_address_enabled=pulumi.get(__response__, 'local_azure_ip_address_enabled'), + local_network_gateway_id=pulumi.get(__response__, 'local_network_gateway_id'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + peer_virtual_network_gateway_id=pulumi.get(__response__, 'peer_virtual_network_gateway_id'), + private_link_fast_path_enabled=pulumi.get(__response__, 'private_link_fast_path_enabled'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + resource_guid=pulumi.get(__response__, 'resource_guid'), + routing_weight=pulumi.get(__response__, 'routing_weight'), + shared_key=pulumi.get(__response__, 'shared_key'), + tags=pulumi.get(__response__, 'tags'), + traffic_selector_policies=pulumi.get(__response__, 'traffic_selector_policies'), + type=pulumi.get(__response__, 'type'), + use_policy_based_traffic_selectors=pulumi.get(__response__, 'use_policy_based_traffic_selectors'), + virtual_network_gateway_id=pulumi.get(__response__, 'virtual_network_gateway_id'))) diff --git a/sdk/python/pulumi_azure/network/get_ip_group.py b/sdk/python/pulumi_azure/network/get_ip_group.py index 9e27e5a28d..efa9eb988a 100644 --- a/sdk/python/pulumi_azure/network/get_ip_group.py +++ b/sdk/python/pulumi_azure/network/get_ip_group.py @@ -137,9 +137,6 @@ def get_ip_group(name: Optional[str] = None, name=pulumi.get(__ret__, 'name'), resource_group_name=pulumi.get(__ret__, 'resource_group_name'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_ip_group) def get_ip_group_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetIpGroupResult]: @@ -161,4 +158,15 @@ def get_ip_group_output(name: Optional[pulumi.Input[str]] = None, :param str name: Specifies the Name of the IP Group. :param str resource_group_name: Specifies the Name of the Resource Group within which the IP Group exists """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:network/getIpGroup:getIpGroup', __args__, opts=opts, typ=GetIpGroupResult) + return __ret__.apply(lambda __response__: GetIpGroupResult( + cidrs=pulumi.get(__response__, 'cidrs'), + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_azure/network/get_ip_groups.py b/sdk/python/pulumi_azure/network/get_ip_groups.py index d2d1462597..d8f171b15c 100644 --- a/sdk/python/pulumi_azure/network/get_ip_groups.py +++ b/sdk/python/pulumi_azure/network/get_ip_groups.py @@ -144,9 +144,6 @@ def get_ip_groups(name: Optional[str] = None, names=pulumi.get(__ret__, 'names'), resource_group_name=pulumi.get(__ret__, 'resource_group_name'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_ip_groups) def get_ip_groups_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetIpGroupsResult]: @@ -168,4 +165,16 @@ def get_ip_groups_output(name: Optional[pulumi.Input[str]] = None, :param str name: A substring to match some number of IP Groups. :param str resource_group_name: The name of the Resource Group where the IP Groups exist. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:network/getIpGroups:getIpGroups', __args__, opts=opts, typ=GetIpGroupsResult) + return __ret__.apply(lambda __response__: GetIpGroupsResult( + id=pulumi.get(__response__, 'id'), + ids=pulumi.get(__response__, 'ids'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + names=pulumi.get(__response__, 'names'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_azure/network/get_local_network_gateway.py b/sdk/python/pulumi_azure/network/get_local_network_gateway.py index b8be8a2506..50c27f2dae 100644 --- a/sdk/python/pulumi_azure/network/get_local_network_gateway.py +++ b/sdk/python/pulumi_azure/network/get_local_network_gateway.py @@ -177,9 +177,6 @@ def get_local_network_gateway(name: Optional[str] = None, name=pulumi.get(__ret__, 'name'), resource_group_name=pulumi.get(__ret__, 'resource_group_name'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_local_network_gateway) def get_local_network_gateway_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetLocalNetworkGatewayResult]: @@ -201,4 +198,18 @@ def get_local_network_gateway_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of the Local Network Gateway. :param str resource_group_name: The name of the Resource Group where the Local Network Gateway exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:network/getLocalNetworkGateway:getLocalNetworkGateway', __args__, opts=opts, typ=GetLocalNetworkGatewayResult) + return __ret__.apply(lambda __response__: GetLocalNetworkGatewayResult( + address_spaces=pulumi.get(__response__, 'address_spaces'), + bgp_settings=pulumi.get(__response__, 'bgp_settings'), + gateway_address=pulumi.get(__response__, 'gateway_address'), + gateway_fqdn=pulumi.get(__response__, 'gateway_fqdn'), + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_azure/network/get_nat_gateway.py b/sdk/python/pulumi_azure/network/get_nat_gateway.py index dcbaef4f2c..519de64b5f 100644 --- a/sdk/python/pulumi_azure/network/get_nat_gateway.py +++ b/sdk/python/pulumi_azure/network/get_nat_gateway.py @@ -197,9 +197,6 @@ def get_nat_gateway(name: Optional[str] = None, sku_name=pulumi.get(__ret__, 'sku_name'), tags=pulumi.get(__ret__, 'tags'), zones=pulumi.get(__ret__, 'zones')) - - -@_utilities.lift_output_func(get_nat_gateway) def get_nat_gateway_output(name: Optional[pulumi.Input[str]] = None, public_ip_address_ids: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, public_ip_prefix_ids: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, @@ -214,4 +211,22 @@ def get_nat_gateway_output(name: Optional[pulumi.Input[str]] = None, :param Sequence[str] public_ip_prefix_ids: A list of existing Public IP Prefix resource IDs which the NAT Gateway is using. :param str resource_group_name: Specifies the name of the Resource Group where the NAT Gateway exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['publicIpAddressIds'] = public_ip_address_ids + __args__['publicIpPrefixIds'] = public_ip_prefix_ids + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:network/getNatGateway:getNatGateway', __args__, opts=opts, typ=GetNatGatewayResult) + return __ret__.apply(lambda __response__: GetNatGatewayResult( + id=pulumi.get(__response__, 'id'), + idle_timeout_in_minutes=pulumi.get(__response__, 'idle_timeout_in_minutes'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + public_ip_address_ids=pulumi.get(__response__, 'public_ip_address_ids'), + public_ip_prefix_ids=pulumi.get(__response__, 'public_ip_prefix_ids'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + resource_guid=pulumi.get(__response__, 'resource_guid'), + sku_name=pulumi.get(__response__, 'sku_name'), + tags=pulumi.get(__response__, 'tags'), + zones=pulumi.get(__response__, 'zones'))) diff --git a/sdk/python/pulumi_azure/network/get_network_ddos_protection_plan.py b/sdk/python/pulumi_azure/network/get_network_ddos_protection_plan.py index 3c558b5a27..6a620801b8 100644 --- a/sdk/python/pulumi_azure/network/get_network_ddos_protection_plan.py +++ b/sdk/python/pulumi_azure/network/get_network_ddos_protection_plan.py @@ -137,9 +137,6 @@ def get_network_ddos_protection_plan(name: Optional[str] = None, resource_group_name=pulumi.get(__ret__, 'resource_group_name'), tags=pulumi.get(__ret__, 'tags'), virtual_network_ids=pulumi.get(__ret__, 'virtual_network_ids')) - - -@_utilities.lift_output_func(get_network_ddos_protection_plan) def get_network_ddos_protection_plan_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetNetworkDdosProtectionPlanResult]: @@ -161,4 +158,15 @@ def get_network_ddos_protection_plan_output(name: Optional[pulumi.Input[str]] = :param str name: The name of the Network DDoS Protection Plan. :param str resource_group_name: The name of the resource group where the Network DDoS Protection Plan exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:network/getNetworkDdosProtectionPlan:getNetworkDdosProtectionPlan', __args__, opts=opts, typ=GetNetworkDdosProtectionPlanResult) + return __ret__.apply(lambda __response__: GetNetworkDdosProtectionPlanResult( + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + tags=pulumi.get(__response__, 'tags'), + virtual_network_ids=pulumi.get(__response__, 'virtual_network_ids'))) diff --git a/sdk/python/pulumi_azure/network/get_network_interface.py b/sdk/python/pulumi_azure/network/get_network_interface.py index a48bc84d82..72b99cee9a 100644 --- a/sdk/python/pulumi_azure/network/get_network_interface.py +++ b/sdk/python/pulumi_azure/network/get_network_interface.py @@ -271,9 +271,6 @@ def get_network_interface(name: Optional[str] = None, resource_group_name=pulumi.get(__ret__, 'resource_group_name'), tags=pulumi.get(__ret__, 'tags'), virtual_machine_id=pulumi.get(__ret__, 'virtual_machine_id')) - - -@_utilities.lift_output_func(get_network_interface) def get_network_interface_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetNetworkInterfaceResult]: @@ -295,4 +292,25 @@ def get_network_interface_output(name: Optional[pulumi.Input[str]] = None, :param str name: Specifies the name of the Network Interface. :param str resource_group_name: Specifies the name of the resource group the Network Interface is located in. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:network/getNetworkInterface:getNetworkInterface', __args__, opts=opts, typ=GetNetworkInterfaceResult) + return __ret__.apply(lambda __response__: GetNetworkInterfaceResult( + accelerated_networking_enabled=pulumi.get(__response__, 'accelerated_networking_enabled'), + applied_dns_servers=pulumi.get(__response__, 'applied_dns_servers'), + dns_servers=pulumi.get(__response__, 'dns_servers'), + id=pulumi.get(__response__, 'id'), + internal_dns_name_label=pulumi.get(__response__, 'internal_dns_name_label'), + ip_configurations=pulumi.get(__response__, 'ip_configurations'), + ip_forwarding_enabled=pulumi.get(__response__, 'ip_forwarding_enabled'), + location=pulumi.get(__response__, 'location'), + mac_address=pulumi.get(__response__, 'mac_address'), + name=pulumi.get(__response__, 'name'), + network_security_group_id=pulumi.get(__response__, 'network_security_group_id'), + private_ip_address=pulumi.get(__response__, 'private_ip_address'), + private_ip_addresses=pulumi.get(__response__, 'private_ip_addresses'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + tags=pulumi.get(__response__, 'tags'), + virtual_machine_id=pulumi.get(__response__, 'virtual_machine_id'))) diff --git a/sdk/python/pulumi_azure/network/get_network_manager.py b/sdk/python/pulumi_azure/network/get_network_manager.py index e1830f0e5a..39a90bedfd 100644 --- a/sdk/python/pulumi_azure/network/get_network_manager.py +++ b/sdk/python/pulumi_azure/network/get_network_manager.py @@ -192,9 +192,6 @@ def get_network_manager(name: Optional[str] = None, scope_accesses=pulumi.get(__ret__, 'scope_accesses'), scopes=pulumi.get(__ret__, 'scopes'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_network_manager) def get_network_manager_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetNetworkManagerResult]: @@ -231,4 +228,18 @@ def get_network_manager_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of the Network Manager. :param str resource_group_name: The Name of the Resource Group where the Network Manager exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:network/getNetworkManager:getNetworkManager', __args__, opts=opts, typ=GetNetworkManagerResult) + return __ret__.apply(lambda __response__: GetNetworkManagerResult( + cross_tenant_scopes=pulumi.get(__response__, 'cross_tenant_scopes'), + description=pulumi.get(__response__, 'description'), + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + scope_accesses=pulumi.get(__response__, 'scope_accesses'), + scopes=pulumi.get(__response__, 'scopes'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_azure/network/get_network_manager_connectivity_configuration.py b/sdk/python/pulumi_azure/network/get_network_manager_connectivity_configuration.py index d63e3202bc..b035c60ef2 100644 --- a/sdk/python/pulumi_azure/network/get_network_manager_connectivity_configuration.py +++ b/sdk/python/pulumi_azure/network/get_network_manager_connectivity_configuration.py @@ -177,9 +177,6 @@ def get_network_manager_connectivity_configuration(name: Optional[str] = None, id=pulumi.get(__ret__, 'id'), name=pulumi.get(__ret__, 'name'), network_manager_id=pulumi.get(__ret__, 'network_manager_id')) - - -@_utilities.lift_output_func(get_network_manager_connectivity_configuration) def get_network_manager_connectivity_configuration_output(name: Optional[pulumi.Input[str]] = None, network_manager_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetNetworkManagerConnectivityConfigurationResult]: @@ -201,4 +198,18 @@ def get_network_manager_connectivity_configuration_output(name: Optional[pulumi. :param str name: The name of this Network Manager Connectivity Configuration. :param str network_manager_id: The ID of the Network Manager. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['networkManagerId'] = network_manager_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:network/getNetworkManagerConnectivityConfiguration:getNetworkManagerConnectivityConfiguration', __args__, opts=opts, typ=GetNetworkManagerConnectivityConfigurationResult) + return __ret__.apply(lambda __response__: GetNetworkManagerConnectivityConfigurationResult( + applies_to_groups=pulumi.get(__response__, 'applies_to_groups'), + connectivity_topology=pulumi.get(__response__, 'connectivity_topology'), + delete_existing_peering_enabled=pulumi.get(__response__, 'delete_existing_peering_enabled'), + description=pulumi.get(__response__, 'description'), + global_mesh_enabled=pulumi.get(__response__, 'global_mesh_enabled'), + hubs=pulumi.get(__response__, 'hubs'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + network_manager_id=pulumi.get(__response__, 'network_manager_id'))) diff --git a/sdk/python/pulumi_azure/network/get_network_manager_network_group.py b/sdk/python/pulumi_azure/network/get_network_manager_network_group.py index 1cc6780f9c..26a89ddfbf 100644 --- a/sdk/python/pulumi_azure/network/get_network_manager_network_group.py +++ b/sdk/python/pulumi_azure/network/get_network_manager_network_group.py @@ -129,9 +129,6 @@ def get_network_manager_network_group(name: Optional[str] = None, id=pulumi.get(__ret__, 'id'), name=pulumi.get(__ret__, 'name'), network_manager_id=pulumi.get(__ret__, 'network_manager_id')) - - -@_utilities.lift_output_func(get_network_manager_network_group) def get_network_manager_network_group_output(name: Optional[pulumi.Input[str]] = None, network_manager_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetNetworkManagerNetworkGroupResult]: @@ -171,4 +168,13 @@ def get_network_manager_network_group_output(name: Optional[pulumi.Input[str]] = :param str name: Specifies the name of the Network Manager Network Group. :param str network_manager_id: Specifies the ID of the Network Manager. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['networkManagerId'] = network_manager_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:network/getNetworkManagerNetworkGroup:getNetworkManagerNetworkGroup', __args__, opts=opts, typ=GetNetworkManagerNetworkGroupResult) + return __ret__.apply(lambda __response__: GetNetworkManagerNetworkGroupResult( + description=pulumi.get(__response__, 'description'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + network_manager_id=pulumi.get(__response__, 'network_manager_id'))) diff --git a/sdk/python/pulumi_azure/network/get_network_security_group.py b/sdk/python/pulumi_azure/network/get_network_security_group.py index ccd3b388ea..4ddf150654 100644 --- a/sdk/python/pulumi_azure/network/get_network_security_group.py +++ b/sdk/python/pulumi_azure/network/get_network_security_group.py @@ -141,9 +141,6 @@ def get_network_security_group(name: Optional[str] = None, resource_group_name=pulumi.get(__ret__, 'resource_group_name'), security_rules=pulumi.get(__ret__, 'security_rules'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_network_security_group) def get_network_security_group_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetNetworkSecurityGroupResult]: @@ -165,4 +162,15 @@ def get_network_security_group_output(name: Optional[pulumi.Input[str]] = None, :param str name: Specifies the Name of the Network Security Group. :param str resource_group_name: Specifies the Name of the Resource Group within which the Network Security Group exists """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:network/getNetworkSecurityGroup:getNetworkSecurityGroup', __args__, opts=opts, typ=GetNetworkSecurityGroupResult) + return __ret__.apply(lambda __response__: GetNetworkSecurityGroupResult( + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + security_rules=pulumi.get(__response__, 'security_rules'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_azure/network/get_network_watcher.py b/sdk/python/pulumi_azure/network/get_network_watcher.py index b4512b1618..b0d424cf98 100644 --- a/sdk/python/pulumi_azure/network/get_network_watcher.py +++ b/sdk/python/pulumi_azure/network/get_network_watcher.py @@ -124,9 +124,6 @@ def get_network_watcher(name: Optional[str] = None, name=pulumi.get(__ret__, 'name'), resource_group_name=pulumi.get(__ret__, 'resource_group_name'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_network_watcher) def get_network_watcher_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetNetworkWatcherResult]: @@ -148,4 +145,14 @@ def get_network_watcher_output(name: Optional[pulumi.Input[str]] = None, :param str name: Specifies the Name of the Network Watcher. :param str resource_group_name: Specifies the Name of the Resource Group within which the Network Watcher exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:network/getNetworkWatcher:getNetworkWatcher', __args__, opts=opts, typ=GetNetworkWatcherResult) + return __ret__.apply(lambda __response__: GetNetworkWatcherResult( + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_azure/network/get_public_i_ps.py b/sdk/python/pulumi_azure/network/get_public_i_ps.py index ec1298a9c7..9177d679eb 100644 --- a/sdk/python/pulumi_azure/network/get_public_i_ps.py +++ b/sdk/python/pulumi_azure/network/get_public_i_ps.py @@ -137,9 +137,6 @@ def get_public_i_ps(allocation_type: Optional[str] = None, name_prefix=pulumi.get(__ret__, 'name_prefix'), public_ips=pulumi.get(__ret__, 'public_ips'), resource_group_name=pulumi.get(__ret__, 'resource_group_name')) - - -@_utilities.lift_output_func(get_public_i_ps) def get_public_i_ps_output(allocation_type: Optional[pulumi.Input[Optional[str]]] = None, attachment_status: Optional[pulumi.Input[Optional[str]]] = None, name_prefix: Optional[pulumi.Input[Optional[str]]] = None, @@ -164,4 +161,17 @@ def get_public_i_ps_output(allocation_type: Optional[pulumi.Input[Optional[str]] :param str name_prefix: A prefix match used for the IP Addresses `name` field, case sensitive. :param str resource_group_name: Specifies the name of the resource group. """ - ... + __args__ = dict() + __args__['allocationType'] = allocation_type + __args__['attachmentStatus'] = attachment_status + __args__['namePrefix'] = name_prefix + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:network/getPublicIPs:getPublicIPs', __args__, opts=opts, typ=GetPublicIPsResult) + return __ret__.apply(lambda __response__: GetPublicIPsResult( + allocation_type=pulumi.get(__response__, 'allocation_type'), + attachment_status=pulumi.get(__response__, 'attachment_status'), + id=pulumi.get(__response__, 'id'), + name_prefix=pulumi.get(__response__, 'name_prefix'), + public_ips=pulumi.get(__response__, 'public_ips'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'))) diff --git a/sdk/python/pulumi_azure/network/get_public_ip.py b/sdk/python/pulumi_azure/network/get_public_ip.py index aa62a82a4f..74e3ea55a4 100644 --- a/sdk/python/pulumi_azure/network/get_public_ip.py +++ b/sdk/python/pulumi_azure/network/get_public_ip.py @@ -332,9 +332,6 @@ def get_public_ip(name: Optional[str] = None, sku=pulumi.get(__ret__, 'sku'), tags=pulumi.get(__ret__, 'tags'), zones=pulumi.get(__ret__, 'zones')) - - -@_utilities.lift_output_func(get_public_ip) def get_public_ip_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPublicIPResult]: @@ -408,4 +405,26 @@ def get_public_ip_output(name: Optional[pulumi.Input[str]] = None, :param str name: Specifies the name of the public IP address. :param str resource_group_name: Specifies the name of the resource group. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:network/getPublicIP:getPublicIP', __args__, opts=opts, typ=GetPublicIPResult) + return __ret__.apply(lambda __response__: GetPublicIPResult( + allocation_method=pulumi.get(__response__, 'allocation_method'), + ddos_protection_mode=pulumi.get(__response__, 'ddos_protection_mode'), + ddos_protection_plan_id=pulumi.get(__response__, 'ddos_protection_plan_id'), + domain_name_label=pulumi.get(__response__, 'domain_name_label'), + fqdn=pulumi.get(__response__, 'fqdn'), + id=pulumi.get(__response__, 'id'), + idle_timeout_in_minutes=pulumi.get(__response__, 'idle_timeout_in_minutes'), + ip_address=pulumi.get(__response__, 'ip_address'), + ip_tags=pulumi.get(__response__, 'ip_tags'), + ip_version=pulumi.get(__response__, 'ip_version'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + reverse_fqdn=pulumi.get(__response__, 'reverse_fqdn'), + sku=pulumi.get(__response__, 'sku'), + tags=pulumi.get(__response__, 'tags'), + zones=pulumi.get(__response__, 'zones'))) diff --git a/sdk/python/pulumi_azure/network/get_public_ip_prefix.py b/sdk/python/pulumi_azure/network/get_public_ip_prefix.py index a84e4c02d5..29368e5a93 100644 --- a/sdk/python/pulumi_azure/network/get_public_ip_prefix.py +++ b/sdk/python/pulumi_azure/network/get_public_ip_prefix.py @@ -178,9 +178,6 @@ def get_public_ip_prefix(name: Optional[str] = None, sku=pulumi.get(__ret__, 'sku'), tags=pulumi.get(__ret__, 'tags'), zones=pulumi.get(__ret__, 'zones')) - - -@_utilities.lift_output_func(get_public_ip_prefix) def get_public_ip_prefix_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPublicIpPrefixResult]: @@ -204,4 +201,18 @@ def get_public_ip_prefix_output(name: Optional[pulumi.Input[str]] = None, :param str name: Specifies the name of the public IP prefix. :param str resource_group_name: Specifies the name of the resource group. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:network/getPublicIpPrefix:getPublicIpPrefix', __args__, opts=opts, typ=GetPublicIpPrefixResult) + return __ret__.apply(lambda __response__: GetPublicIpPrefixResult( + id=pulumi.get(__response__, 'id'), + ip_prefix=pulumi.get(__response__, 'ip_prefix'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + prefix_length=pulumi.get(__response__, 'prefix_length'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + sku=pulumi.get(__response__, 'sku'), + tags=pulumi.get(__response__, 'tags'), + zones=pulumi.get(__response__, 'zones'))) diff --git a/sdk/python/pulumi_azure/network/get_route_filter.py b/sdk/python/pulumi_azure/network/get_route_filter.py index 336556daa8..57ef3a0ff3 100644 --- a/sdk/python/pulumi_azure/network/get_route_filter.py +++ b/sdk/python/pulumi_azure/network/get_route_filter.py @@ -141,9 +141,6 @@ def get_route_filter(name: Optional[str] = None, resource_group_name=pulumi.get(__ret__, 'resource_group_name'), rules=pulumi.get(__ret__, 'rules'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_route_filter) def get_route_filter_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRouteFilterResult]: @@ -165,4 +162,15 @@ def get_route_filter_output(name: Optional[pulumi.Input[str]] = None, :param str name: The Name of this Route Filter. :param str resource_group_name: The name of the Resource Group where the Route Filter exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:network/getRouteFilter:getRouteFilter', __args__, opts=opts, typ=GetRouteFilterResult) + return __ret__.apply(lambda __response__: GetRouteFilterResult( + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + rules=pulumi.get(__response__, 'rules'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_azure/network/get_route_table.py b/sdk/python/pulumi_azure/network/get_route_table.py index 002badefce..8ccfc46173 100644 --- a/sdk/python/pulumi_azure/network/get_route_table.py +++ b/sdk/python/pulumi_azure/network/get_route_table.py @@ -166,9 +166,6 @@ def get_route_table(name: Optional[str] = None, routes=pulumi.get(__ret__, 'routes'), subnets=pulumi.get(__ret__, 'subnets'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_route_table) def get_route_table_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRouteTableResult]: @@ -189,4 +186,17 @@ def get_route_table_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of the Route Table. :param str resource_group_name: The name of the Resource Group in which the Route Table exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:network/getRouteTable:getRouteTable', __args__, opts=opts, typ=GetRouteTableResult) + return __ret__.apply(lambda __response__: GetRouteTableResult( + bgp_route_propagation_enabled=pulumi.get(__response__, 'bgp_route_propagation_enabled'), + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + routes=pulumi.get(__response__, 'routes'), + subnets=pulumi.get(__response__, 'subnets'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_azure/network/get_service_tags.py b/sdk/python/pulumi_azure/network/get_service_tags.py index a7b324b9a1..8dbee87444 100644 --- a/sdk/python/pulumi_azure/network/get_service_tags.py +++ b/sdk/python/pulumi_azure/network/get_service_tags.py @@ -165,9 +165,6 @@ def get_service_tags(location: Optional[str] = None, location_filter=pulumi.get(__ret__, 'location_filter'), name=pulumi.get(__ret__, 'name'), service=pulumi.get(__ret__, 'service')) - - -@_utilities.lift_output_func(get_service_tags) def get_service_tags_output(location: Optional[pulumi.Input[str]] = None, location_filter: Optional[pulumi.Input[Optional[str]]] = None, service: Optional[pulumi.Input[str]] = None, @@ -193,4 +190,18 @@ def get_service_tags_output(location: Optional[pulumi.Input[str]] = None, :param str location_filter: Changes the scope of the service tags. Can be any value that is also valid for `location`. If this field is empty then all address prefixes are considered instead of only location specific ones. :param str service: The type of the service for which address prefixes will be fetched. Available service tags can be found here: [Available service tags](https://docs.microsoft.com/azure/virtual-network/service-tags-overview#available-service-tags). """ - ... + __args__ = dict() + __args__['location'] = location + __args__['locationFilter'] = location_filter + __args__['service'] = service + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:network/getServiceTags:getServiceTags', __args__, opts=opts, typ=GetServiceTagsResult) + return __ret__.apply(lambda __response__: GetServiceTagsResult( + address_prefixes=pulumi.get(__response__, 'address_prefixes'), + id=pulumi.get(__response__, 'id'), + ipv4_cidrs=pulumi.get(__response__, 'ipv4_cidrs'), + ipv6_cidrs=pulumi.get(__response__, 'ipv6_cidrs'), + location=pulumi.get(__response__, 'location'), + location_filter=pulumi.get(__response__, 'location_filter'), + name=pulumi.get(__response__, 'name'), + service=pulumi.get(__response__, 'service'))) diff --git a/sdk/python/pulumi_azure/network/get_subnet.py b/sdk/python/pulumi_azure/network/get_subnet.py index 5dbf54263d..61ef107d12 100644 --- a/sdk/python/pulumi_azure/network/get_subnet.py +++ b/sdk/python/pulumi_azure/network/get_subnet.py @@ -213,9 +213,6 @@ def get_subnet(name: Optional[str] = None, route_table_id=pulumi.get(__ret__, 'route_table_id'), service_endpoints=pulumi.get(__ret__, 'service_endpoints'), virtual_network_name=pulumi.get(__ret__, 'virtual_network_name')) - - -@_utilities.lift_output_func(get_subnet) def get_subnet_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, virtual_network_name: Optional[pulumi.Input[str]] = None, @@ -240,4 +237,22 @@ def get_subnet_output(name: Optional[pulumi.Input[str]] = None, :param str resource_group_name: Specifies the name of the resource group the Virtual Network is located in. :param str virtual_network_name: Specifies the name of the Virtual Network this Subnet is located within. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + __args__['virtualNetworkName'] = virtual_network_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:network/getSubnet:getSubnet', __args__, opts=opts, typ=GetSubnetResult) + return __ret__.apply(lambda __response__: GetSubnetResult( + address_prefix=pulumi.get(__response__, 'address_prefix'), + address_prefixes=pulumi.get(__response__, 'address_prefixes'), + default_outbound_access_enabled=pulumi.get(__response__, 'default_outbound_access_enabled'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + network_security_group_id=pulumi.get(__response__, 'network_security_group_id'), + private_endpoint_network_policies=pulumi.get(__response__, 'private_endpoint_network_policies'), + private_link_service_network_policies_enabled=pulumi.get(__response__, 'private_link_service_network_policies_enabled'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + route_table_id=pulumi.get(__response__, 'route_table_id'), + service_endpoints=pulumi.get(__response__, 'service_endpoints'), + virtual_network_name=pulumi.get(__response__, 'virtual_network_name'))) diff --git a/sdk/python/pulumi_azure/network/get_traffic_manager.py b/sdk/python/pulumi_azure/network/get_traffic_manager.py index 528b9da905..19eb68f68f 100644 --- a/sdk/python/pulumi_azure/network/get_traffic_manager.py +++ b/sdk/python/pulumi_azure/network/get_traffic_manager.py @@ -86,9 +86,6 @@ def get_traffic_manager(name: Optional[str] = None, return AwaitableGetTrafficManagerResult( id=pulumi.get(__ret__, 'id'), name=pulumi.get(__ret__, 'name')) - - -@_utilities.lift_output_func(get_traffic_manager) def get_traffic_manager_output(name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetTrafficManagerResult]: """ @@ -109,4 +106,10 @@ def get_traffic_manager_output(name: Optional[pulumi.Input[str]] = None, :param str name: Specifies the name of the Location, for example `World`, `Europe` or `Germany`. """ - ... + __args__ = dict() + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:network/getTrafficManager:getTrafficManager', __args__, opts=opts, typ=GetTrafficManagerResult) + return __ret__.apply(lambda __response__: GetTrafficManagerResult( + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'))) diff --git a/sdk/python/pulumi_azure/network/get_traffic_manager_profile.py b/sdk/python/pulumi_azure/network/get_traffic_manager_profile.py index 3e109ca4a9..226e61cf9e 100644 --- a/sdk/python/pulumi_azure/network/get_traffic_manager_profile.py +++ b/sdk/python/pulumi_azure/network/get_traffic_manager_profile.py @@ -199,9 +199,6 @@ def get_traffic_manager_profile(name: Optional[str] = None, tags=pulumi.get(__ret__, 'tags'), traffic_routing_method=pulumi.get(__ret__, 'traffic_routing_method'), traffic_view_enabled=pulumi.get(__ret__, 'traffic_view_enabled')) - - -@_utilities.lift_output_func(get_traffic_manager_profile) def get_traffic_manager_profile_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, tags: Optional[pulumi.Input[Optional[Mapping[str, str]]]] = None, @@ -227,4 +224,21 @@ def get_traffic_manager_profile_output(name: Optional[pulumi.Input[str]] = None, :param Mapping[str, str] tags: A mapping of tags to assign to the resource. :param bool traffic_view_enabled: Indicates whether Traffic View is enabled for the Traffic Manager profile. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + __args__['tags'] = tags + __args__['trafficViewEnabled'] = traffic_view_enabled + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:network/getTrafficManagerProfile:getTrafficManagerProfile', __args__, opts=opts, typ=GetTrafficManagerProfileResult) + return __ret__.apply(lambda __response__: GetTrafficManagerProfileResult( + dns_configs=pulumi.get(__response__, 'dns_configs'), + fqdn=pulumi.get(__response__, 'fqdn'), + id=pulumi.get(__response__, 'id'), + monitor_configs=pulumi.get(__response__, 'monitor_configs'), + name=pulumi.get(__response__, 'name'), + profile_status=pulumi.get(__response__, 'profile_status'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + tags=pulumi.get(__response__, 'tags'), + traffic_routing_method=pulumi.get(__response__, 'traffic_routing_method'), + traffic_view_enabled=pulumi.get(__response__, 'traffic_view_enabled'))) diff --git a/sdk/python/pulumi_azure/network/get_virtual_hub.py b/sdk/python/pulumi_azure/network/get_virtual_hub.py index 4928dcad71..f48fcfaff1 100644 --- a/sdk/python/pulumi_azure/network/get_virtual_hub.py +++ b/sdk/python/pulumi_azure/network/get_virtual_hub.py @@ -189,9 +189,6 @@ def get_virtual_hub(name: Optional[str] = None, virtual_router_asn=pulumi.get(__ret__, 'virtual_router_asn'), virtual_router_ips=pulumi.get(__ret__, 'virtual_router_ips'), virtual_wan_id=pulumi.get(__ret__, 'virtual_wan_id')) - - -@_utilities.lift_output_func(get_virtual_hub) def get_virtual_hub_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetVirtualHubResult]: @@ -213,4 +210,19 @@ def get_virtual_hub_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of the Virtual Hub. :param str resource_group_name: The Name of the Resource Group where the Virtual Hub exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:network/getVirtualHub:getVirtualHub', __args__, opts=opts, typ=GetVirtualHubResult) + return __ret__.apply(lambda __response__: GetVirtualHubResult( + address_prefix=pulumi.get(__response__, 'address_prefix'), + default_route_table_id=pulumi.get(__response__, 'default_route_table_id'), + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + tags=pulumi.get(__response__, 'tags'), + virtual_router_asn=pulumi.get(__response__, 'virtual_router_asn'), + virtual_router_ips=pulumi.get(__response__, 'virtual_router_ips'), + virtual_wan_id=pulumi.get(__response__, 'virtual_wan_id'))) diff --git a/sdk/python/pulumi_azure/network/get_virtual_hub_connection.py b/sdk/python/pulumi_azure/network/get_virtual_hub_connection.py index 8e28575bce..277b43e245 100644 --- a/sdk/python/pulumi_azure/network/get_virtual_hub_connection.py +++ b/sdk/python/pulumi_azure/network/get_virtual_hub_connection.py @@ -168,9 +168,6 @@ def get_virtual_hub_connection(name: Optional[str] = None, routings=pulumi.get(__ret__, 'routings'), virtual_hub_id=pulumi.get(__ret__, 'virtual_hub_id'), virtual_hub_name=pulumi.get(__ret__, 'virtual_hub_name')) - - -@_utilities.lift_output_func(get_virtual_hub_connection) def get_virtual_hub_connection_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, virtual_hub_name: Optional[pulumi.Input[str]] = None, @@ -195,4 +192,18 @@ def get_virtual_hub_connection_output(name: Optional[pulumi.Input[str]] = None, :param str resource_group_name: The Name of the Resource Group where the Virtual Hub Connection exists. :param str virtual_hub_name: The name of the Virtual Hub where this Connection exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + __args__['virtualHubName'] = virtual_hub_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:network/getVirtualHubConnection:getVirtualHubConnection', __args__, opts=opts, typ=GetVirtualHubConnectionResult) + return __ret__.apply(lambda __response__: GetVirtualHubConnectionResult( + id=pulumi.get(__response__, 'id'), + internet_security_enabled=pulumi.get(__response__, 'internet_security_enabled'), + name=pulumi.get(__response__, 'name'), + remote_virtual_network_id=pulumi.get(__response__, 'remote_virtual_network_id'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + routings=pulumi.get(__response__, 'routings'), + virtual_hub_id=pulumi.get(__response__, 'virtual_hub_id'), + virtual_hub_name=pulumi.get(__response__, 'virtual_hub_name'))) diff --git a/sdk/python/pulumi_azure/network/get_virtual_hub_route_table.py b/sdk/python/pulumi_azure/network/get_virtual_hub_route_table.py index f3d9d43581..9975c05c77 100644 --- a/sdk/python/pulumi_azure/network/get_virtual_hub_route_table.py +++ b/sdk/python/pulumi_azure/network/get_virtual_hub_route_table.py @@ -155,9 +155,6 @@ def get_virtual_hub_route_table(name: Optional[str] = None, routes=pulumi.get(__ret__, 'routes'), virtual_hub_id=pulumi.get(__ret__, 'virtual_hub_id'), virtual_hub_name=pulumi.get(__ret__, 'virtual_hub_name')) - - -@_utilities.lift_output_func(get_virtual_hub_route_table) def get_virtual_hub_route_table_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, virtual_hub_name: Optional[pulumi.Input[str]] = None, @@ -182,4 +179,17 @@ def get_virtual_hub_route_table_output(name: Optional[pulumi.Input[str]] = None, :param str resource_group_name: The Name of the Resource Group where the Virtual Hub Route Table exists. :param str virtual_hub_name: The name which should be used for Virtual Hub Route Table. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + __args__['virtualHubName'] = virtual_hub_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:network/getVirtualHubRouteTable:getVirtualHubRouteTable', __args__, opts=opts, typ=GetVirtualHubRouteTableResult) + return __ret__.apply(lambda __response__: GetVirtualHubRouteTableResult( + id=pulumi.get(__response__, 'id'), + labels=pulumi.get(__response__, 'labels'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + routes=pulumi.get(__response__, 'routes'), + virtual_hub_id=pulumi.get(__response__, 'virtual_hub_id'), + virtual_hub_name=pulumi.get(__response__, 'virtual_hub_name'))) diff --git a/sdk/python/pulumi_azure/network/get_virtual_network.py b/sdk/python/pulumi_azure/network/get_virtual_network.py index 53686b9210..adc3a377b1 100644 --- a/sdk/python/pulumi_azure/network/get_virtual_network.py +++ b/sdk/python/pulumi_azure/network/get_virtual_network.py @@ -202,9 +202,6 @@ def get_virtual_network(name: Optional[str] = None, tags=pulumi.get(__ret__, 'tags'), vnet_peerings=pulumi.get(__ret__, 'vnet_peerings'), vnet_peerings_addresses=pulumi.get(__ret__, 'vnet_peerings_addresses')) - - -@_utilities.lift_output_func(get_virtual_network) def get_virtual_network_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetVirtualNetworkResult]: @@ -226,4 +223,20 @@ def get_virtual_network_output(name: Optional[pulumi.Input[str]] = None, :param str name: Specifies the name of the Virtual Network. :param str resource_group_name: Specifies the name of the resource group the Virtual Network is located in. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:network/getVirtualNetwork:getVirtualNetwork', __args__, opts=opts, typ=GetVirtualNetworkResult) + return __ret__.apply(lambda __response__: GetVirtualNetworkResult( + address_spaces=pulumi.get(__response__, 'address_spaces'), + dns_servers=pulumi.get(__response__, 'dns_servers'), + guid=pulumi.get(__response__, 'guid'), + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + subnets=pulumi.get(__response__, 'subnets'), + tags=pulumi.get(__response__, 'tags'), + vnet_peerings=pulumi.get(__response__, 'vnet_peerings'), + vnet_peerings_addresses=pulumi.get(__response__, 'vnet_peerings_addresses'))) diff --git a/sdk/python/pulumi_azure/network/get_virtual_network_gateway.py b/sdk/python/pulumi_azure/network/get_virtual_network_gateway.py index 5acdf47d30..d6d9596f84 100644 --- a/sdk/python/pulumi_azure/network/get_virtual_network_gateway.py +++ b/sdk/python/pulumi_azure/network/get_virtual_network_gateway.py @@ -282,9 +282,6 @@ def get_virtual_network_gateway(name: Optional[str] = None, type=pulumi.get(__ret__, 'type'), vpn_client_configurations=pulumi.get(__ret__, 'vpn_client_configurations'), vpn_type=pulumi.get(__ret__, 'vpn_type')) - - -@_utilities.lift_output_func(get_virtual_network_gateway) def get_virtual_network_gateway_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetVirtualNetworkGatewayResult]: @@ -306,4 +303,26 @@ def get_virtual_network_gateway_output(name: Optional[pulumi.Input[str]] = None, :param str name: Specifies the name of the Virtual Network Gateway. :param str resource_group_name: Specifies the name of the resource group the Virtual Network Gateway is located in. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:network/getVirtualNetworkGateway:getVirtualNetworkGateway', __args__, opts=opts, typ=GetVirtualNetworkGatewayResult) + return __ret__.apply(lambda __response__: GetVirtualNetworkGatewayResult( + active_active=pulumi.get(__response__, 'active_active'), + bgp_settings=pulumi.get(__response__, 'bgp_settings'), + custom_routes=pulumi.get(__response__, 'custom_routes'), + default_local_network_gateway_id=pulumi.get(__response__, 'default_local_network_gateway_id'), + enable_bgp=pulumi.get(__response__, 'enable_bgp'), + generation=pulumi.get(__response__, 'generation'), + id=pulumi.get(__response__, 'id'), + ip_configurations=pulumi.get(__response__, 'ip_configurations'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + private_ip_address_enabled=pulumi.get(__response__, 'private_ip_address_enabled'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + sku=pulumi.get(__response__, 'sku'), + tags=pulumi.get(__response__, 'tags'), + type=pulumi.get(__response__, 'type'), + vpn_client_configurations=pulumi.get(__response__, 'vpn_client_configurations'), + vpn_type=pulumi.get(__response__, 'vpn_type'))) diff --git a/sdk/python/pulumi_azure/network/get_virtual_wan.py b/sdk/python/pulumi_azure/network/get_virtual_wan.py index c536c09fdb..ee8e45610b 100644 --- a/sdk/python/pulumi_azure/network/get_virtual_wan.py +++ b/sdk/python/pulumi_azure/network/get_virtual_wan.py @@ -191,9 +191,6 @@ def get_virtual_wan(name: Optional[str] = None, tags=pulumi.get(__ret__, 'tags'), virtual_hub_ids=pulumi.get(__ret__, 'virtual_hub_ids'), vpn_site_ids=pulumi.get(__ret__, 'vpn_site_ids')) - - -@_utilities.lift_output_func(get_virtual_wan) def get_virtual_wan_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetVirtualWanResult]: @@ -204,4 +201,20 @@ def get_virtual_wan_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of this Virtual Wan. :param str resource_group_name: The name of the Resource Group where the Virtual Wan exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:network/getVirtualWan:getVirtualWan', __args__, opts=opts, typ=GetVirtualWanResult) + return __ret__.apply(lambda __response__: GetVirtualWanResult( + allow_branch_to_branch_traffic=pulumi.get(__response__, 'allow_branch_to_branch_traffic'), + disable_vpn_encryption=pulumi.get(__response__, 'disable_vpn_encryption'), + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + office365_local_breakout_category=pulumi.get(__response__, 'office365_local_breakout_category'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + sku=pulumi.get(__response__, 'sku'), + tags=pulumi.get(__response__, 'tags'), + virtual_hub_ids=pulumi.get(__response__, 'virtual_hub_ids'), + vpn_site_ids=pulumi.get(__response__, 'vpn_site_ids'))) diff --git a/sdk/python/pulumi_azure/network/get_vpn_gateway.py b/sdk/python/pulumi_azure/network/get_vpn_gateway.py index 597f4a98dc..ca5918308c 100644 --- a/sdk/python/pulumi_azure/network/get_vpn_gateway.py +++ b/sdk/python/pulumi_azure/network/get_vpn_gateway.py @@ -164,9 +164,6 @@ def get_vpn_gateway(name: Optional[str] = None, scale_unit=pulumi.get(__ret__, 'scale_unit'), tags=pulumi.get(__ret__, 'tags'), virtual_hub_id=pulumi.get(__ret__, 'virtual_hub_id')) - - -@_utilities.lift_output_func(get_vpn_gateway) def get_vpn_gateway_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetVpnGatewayResult]: @@ -188,4 +185,17 @@ def get_vpn_gateway_output(name: Optional[pulumi.Input[str]] = None, :param str name: The Name of the VPN Gateway. :param str resource_group_name: The name of the Resource Group where the VPN Gateway exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:network/getVpnGateway:getVpnGateway', __args__, opts=opts, typ=GetVpnGatewayResult) + return __ret__.apply(lambda __response__: GetVpnGatewayResult( + bgp_settings=pulumi.get(__response__, 'bgp_settings'), + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + scale_unit=pulumi.get(__response__, 'scale_unit'), + tags=pulumi.get(__response__, 'tags'), + virtual_hub_id=pulumi.get(__response__, 'virtual_hub_id'))) diff --git a/sdk/python/pulumi_azure/network/get_vpn_server_configuration.py b/sdk/python/pulumi_azure/network/get_vpn_server_configuration.py index 280882b195..fa474cb4c8 100644 --- a/sdk/python/pulumi_azure/network/get_vpn_server_configuration.py +++ b/sdk/python/pulumi_azure/network/get_vpn_server_configuration.py @@ -219,9 +219,6 @@ def get_vpn_server_configuration(name: Optional[str] = None, tags=pulumi.get(__ret__, 'tags'), vpn_authentication_types=pulumi.get(__ret__, 'vpn_authentication_types'), vpn_protocols=pulumi.get(__ret__, 'vpn_protocols')) - - -@_utilities.lift_output_func(get_vpn_server_configuration) def get_vpn_server_configuration_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetVpnServerConfigurationResult]: @@ -243,4 +240,21 @@ def get_vpn_server_configuration_output(name: Optional[pulumi.Input[str]] = None :param str name: The Name of the VPN Server Configuration. :param str resource_group_name: The name of the Resource Group where the VPN Server Configuration exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:network/getVpnServerConfiguration:getVpnServerConfiguration', __args__, opts=opts, typ=GetVpnServerConfigurationResult) + return __ret__.apply(lambda __response__: GetVpnServerConfigurationResult( + azure_active_directory_authentications=pulumi.get(__response__, 'azure_active_directory_authentications'), + client_revoked_certificates=pulumi.get(__response__, 'client_revoked_certificates'), + client_root_certificates=pulumi.get(__response__, 'client_root_certificates'), + id=pulumi.get(__response__, 'id'), + ipsec_policies=pulumi.get(__response__, 'ipsec_policies'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + radii=pulumi.get(__response__, 'radii'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + tags=pulumi.get(__response__, 'tags'), + vpn_authentication_types=pulumi.get(__response__, 'vpn_authentication_types'), + vpn_protocols=pulumi.get(__response__, 'vpn_protocols'))) diff --git a/sdk/python/pulumi_azure/nginx/get_certificate.py b/sdk/python/pulumi_azure/nginx/get_certificate.py index b226d1100c..fb9f2999b1 100644 --- a/sdk/python/pulumi_azure/nginx/get_certificate.py +++ b/sdk/python/pulumi_azure/nginx/get_certificate.py @@ -202,9 +202,6 @@ def get_certificate(name: Optional[str] = None, name=pulumi.get(__ret__, 'name'), nginx_deployment_id=pulumi.get(__ret__, 'nginx_deployment_id'), sha1_thumbprint=pulumi.get(__ret__, 'sha1_thumbprint')) - - -@_utilities.lift_output_func(get_certificate) def get_certificate_output(name: Optional[pulumi.Input[str]] = None, nginx_deployment_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCertificateResult]: @@ -226,4 +223,20 @@ def get_certificate_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of the NGINX Certificate. :param str nginx_deployment_id: The ID of the NGINX Deployment that the certificate is associated with. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['nginxDeploymentId'] = nginx_deployment_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:nginx/getCertificate:getCertificate', __args__, opts=opts, typ=GetCertificateResult) + return __ret__.apply(lambda __response__: GetCertificateResult( + certificate_virtual_path=pulumi.get(__response__, 'certificate_virtual_path'), + error_code=pulumi.get(__response__, 'error_code'), + error_message=pulumi.get(__response__, 'error_message'), + id=pulumi.get(__response__, 'id'), + key_vault_secret_creation_date=pulumi.get(__response__, 'key_vault_secret_creation_date'), + key_vault_secret_id=pulumi.get(__response__, 'key_vault_secret_id'), + key_vault_secret_version=pulumi.get(__response__, 'key_vault_secret_version'), + key_virtual_path=pulumi.get(__response__, 'key_virtual_path'), + name=pulumi.get(__response__, 'name'), + nginx_deployment_id=pulumi.get(__response__, 'nginx_deployment_id'), + sha1_thumbprint=pulumi.get(__response__, 'sha1_thumbprint'))) diff --git a/sdk/python/pulumi_azure/nginx/get_configuration.py b/sdk/python/pulumi_azure/nginx/get_configuration.py index 62c1476268..71983d2976 100644 --- a/sdk/python/pulumi_azure/nginx/get_configuration.py +++ b/sdk/python/pulumi_azure/nginx/get_configuration.py @@ -134,9 +134,6 @@ def get_configuration(nginx_deployment_id: Optional[str] = None, package_data=pulumi.get(__ret__, 'package_data'), protected_files=pulumi.get(__ret__, 'protected_files'), root_file=pulumi.get(__ret__, 'root_file')) - - -@_utilities.lift_output_func(get_configuration) def get_configuration_output(nginx_deployment_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetConfigurationResult]: """ @@ -155,4 +152,14 @@ def get_configuration_output(nginx_deployment_id: Optional[pulumi.Input[str]] = :param str nginx_deployment_id: The ID of the Nginx Deployment. """ - ... + __args__ = dict() + __args__['nginxDeploymentId'] = nginx_deployment_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:nginx/getConfiguration:getConfiguration', __args__, opts=opts, typ=GetConfigurationResult) + return __ret__.apply(lambda __response__: GetConfigurationResult( + config_files=pulumi.get(__response__, 'config_files'), + id=pulumi.get(__response__, 'id'), + nginx_deployment_id=pulumi.get(__response__, 'nginx_deployment_id'), + package_data=pulumi.get(__response__, 'package_data'), + protected_files=pulumi.get(__response__, 'protected_files'), + root_file=pulumi.get(__response__, 'root_file'))) diff --git a/sdk/python/pulumi_azure/nginx/get_deployment.py b/sdk/python/pulumi_azure/nginx/get_deployment.py index 7ef3272775..e1db8b6b86 100644 --- a/sdk/python/pulumi_azure/nginx/get_deployment.py +++ b/sdk/python/pulumi_azure/nginx/get_deployment.py @@ -310,9 +310,6 @@ def get_deployment(name: Optional[str] = None, resource_group_name=pulumi.get(__ret__, 'resource_group_name'), sku=pulumi.get(__ret__, 'sku'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_deployment) def get_deployment_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDeploymentResult]: @@ -334,4 +331,28 @@ def get_deployment_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of this NGINX Deployment. :param str resource_group_name: The name of the Resource Group where the NGINX Deployment exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:nginx/getDeployment:getDeployment', __args__, opts=opts, typ=GetDeploymentResult) + return __ret__.apply(lambda __response__: GetDeploymentResult( + auto_scale_profiles=pulumi.get(__response__, 'auto_scale_profiles'), + automatic_upgrade_channel=pulumi.get(__response__, 'automatic_upgrade_channel'), + capacity=pulumi.get(__response__, 'capacity'), + diagnose_support_enabled=pulumi.get(__response__, 'diagnose_support_enabled'), + email=pulumi.get(__response__, 'email'), + frontend_privates=pulumi.get(__response__, 'frontend_privates'), + frontend_publics=pulumi.get(__response__, 'frontend_publics'), + id=pulumi.get(__response__, 'id'), + identities=pulumi.get(__response__, 'identities'), + ip_address=pulumi.get(__response__, 'ip_address'), + location=pulumi.get(__response__, 'location'), + logging_storage_accounts=pulumi.get(__response__, 'logging_storage_accounts'), + managed_resource_group=pulumi.get(__response__, 'managed_resource_group'), + name=pulumi.get(__response__, 'name'), + network_interfaces=pulumi.get(__response__, 'network_interfaces'), + nginx_version=pulumi.get(__response__, 'nginx_version'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + sku=pulumi.get(__response__, 'sku'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_azure/notificationhub/get_hub.py b/sdk/python/pulumi_azure/notificationhub/get_hub.py index db596382e8..577004240d 100644 --- a/sdk/python/pulumi_azure/notificationhub/get_hub.py +++ b/sdk/python/pulumi_azure/notificationhub/get_hub.py @@ -165,9 +165,6 @@ def get_hub(name: Optional[str] = None, namespace_name=pulumi.get(__ret__, 'namespace_name'), resource_group_name=pulumi.get(__ret__, 'resource_group_name'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_hub) def get_hub_output(name: Optional[pulumi.Input[str]] = None, namespace_name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, @@ -192,4 +189,18 @@ def get_hub_output(name: Optional[pulumi.Input[str]] = None, :param str namespace_name: Specifies the Name of the Notification Hub Namespace which contains the Notification Hub. :param str resource_group_name: Specifies the Name of the Resource Group within which the Notification Hub exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['namespaceName'] = namespace_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:notificationhub/getHub:getHub', __args__, opts=opts, typ=GetHubResult) + return __ret__.apply(lambda __response__: GetHubResult( + apns_credentials=pulumi.get(__response__, 'apns_credentials'), + gcm_credentials=pulumi.get(__response__, 'gcm_credentials'), + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + namespace_name=pulumi.get(__response__, 'namespace_name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_azure/notificationhub/get_namespace.py b/sdk/python/pulumi_azure/notificationhub/get_namespace.py index 09ff0213c0..99f956f3b5 100644 --- a/sdk/python/pulumi_azure/notificationhub/get_namespace.py +++ b/sdk/python/pulumi_azure/notificationhub/get_namespace.py @@ -177,9 +177,6 @@ def get_namespace(name: Optional[str] = None, servicebus_endpoint=pulumi.get(__ret__, 'servicebus_endpoint'), sku=pulumi.get(__ret__, 'sku'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_namespace) def get_namespace_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetNamespaceResult]: @@ -201,4 +198,18 @@ def get_namespace_output(name: Optional[pulumi.Input[str]] = None, :param str name: Specifies the Name of the Notification Hub Namespace. :param str resource_group_name: Specifies the Name of the Resource Group within which the Notification Hub exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:notificationhub/getNamespace:getNamespace', __args__, opts=opts, typ=GetNamespaceResult) + return __ret__.apply(lambda __response__: GetNamespaceResult( + enabled=pulumi.get(__response__, 'enabled'), + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + namespace_type=pulumi.get(__response__, 'namespace_type'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + servicebus_endpoint=pulumi.get(__response__, 'servicebus_endpoint'), + sku=pulumi.get(__response__, 'sku'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_azure/operationalinsights/get_analytics_workspace.py b/sdk/python/pulumi_azure/operationalinsights/get_analytics_workspace.py index c62d6dc040..9bf3f43a6e 100644 --- a/sdk/python/pulumi_azure/operationalinsights/get_analytics_workspace.py +++ b/sdk/python/pulumi_azure/operationalinsights/get_analytics_workspace.py @@ -199,9 +199,6 @@ def get_analytics_workspace(name: Optional[str] = None, sku=pulumi.get(__ret__, 'sku'), tags=pulumi.get(__ret__, 'tags'), workspace_id=pulumi.get(__ret__, 'workspace_id')) - - -@_utilities.lift_output_func(get_analytics_workspace) def get_analytics_workspace_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAnalyticsWorkspaceResult]: @@ -223,4 +220,20 @@ def get_analytics_workspace_output(name: Optional[pulumi.Input[str]] = None, :param str name: Specifies the name of the Log Analytics Workspace. :param str resource_group_name: The name of the resource group in which the Log Analytics workspace is located in. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:operationalinsights/getAnalyticsWorkspace:getAnalyticsWorkspace', __args__, opts=opts, typ=GetAnalyticsWorkspaceResult) + return __ret__.apply(lambda __response__: GetAnalyticsWorkspaceResult( + daily_quota_gb=pulumi.get(__response__, 'daily_quota_gb'), + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + primary_shared_key=pulumi.get(__response__, 'primary_shared_key'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + retention_in_days=pulumi.get(__response__, 'retention_in_days'), + secondary_shared_key=pulumi.get(__response__, 'secondary_shared_key'), + sku=pulumi.get(__response__, 'sku'), + tags=pulumi.get(__response__, 'tags'), + workspace_id=pulumi.get(__response__, 'workspace_id'))) diff --git a/sdk/python/pulumi_azure/paloalto/get_local_rulestack.py b/sdk/python/pulumi_azure/paloalto/get_local_rulestack.py index ad50560ac9..0da843847e 100644 --- a/sdk/python/pulumi_azure/paloalto/get_local_rulestack.py +++ b/sdk/python/pulumi_azure/paloalto/get_local_rulestack.py @@ -183,13 +183,28 @@ def get_local_rulestack(name: Optional[str] = None, resource_group_name=pulumi.get(__ret__, 'resource_group_name'), url_filtering_profile=pulumi.get(__ret__, 'url_filtering_profile'), vulnerability_profile=pulumi.get(__ret__, 'vulnerability_profile')) - - -@_utilities.lift_output_func(get_local_rulestack) def get_local_rulestack_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetLocalRulestackResult]: """ Use this data source to access information about an existing resource. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:paloalto/getLocalRulestack:getLocalRulestack', __args__, opts=opts, typ=GetLocalRulestackResult) + return __ret__.apply(lambda __response__: GetLocalRulestackResult( + anti_spyware_profile=pulumi.get(__response__, 'anti_spyware_profile'), + anti_virus_profile=pulumi.get(__response__, 'anti_virus_profile'), + description=pulumi.get(__response__, 'description'), + dns_subscription=pulumi.get(__response__, 'dns_subscription'), + file_blocking_profile=pulumi.get(__response__, 'file_blocking_profile'), + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + outbound_trust_certificate=pulumi.get(__response__, 'outbound_trust_certificate'), + outbound_untrust_certificate=pulumi.get(__response__, 'outbound_untrust_certificate'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + url_filtering_profile=pulumi.get(__response__, 'url_filtering_profile'), + vulnerability_profile=pulumi.get(__response__, 'vulnerability_profile'))) diff --git a/sdk/python/pulumi_azure/pim/get_role_management_policy.py b/sdk/python/pulumi_azure/pim/get_role_management_policy.py index 3ace58db3a..4dfdd0b098 100644 --- a/sdk/python/pulumi_azure/pim/get_role_management_policy.py +++ b/sdk/python/pulumi_azure/pim/get_role_management_policy.py @@ -194,9 +194,6 @@ def get_role_management_policy(role_definition_id: Optional[str] = None, notification_rules=pulumi.get(__ret__, 'notification_rules'), role_definition_id=pulumi.get(__ret__, 'role_definition_id'), scope=pulumi.get(__ret__, 'scope')) - - -@_utilities.lift_output_func(get_role_management_policy) def get_role_management_policy_output(role_definition_id: Optional[pulumi.Input[str]] = None, scope: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRoleManagementPolicyResult]: @@ -235,4 +232,18 @@ def get_role_management_policy_output(role_definition_id: Optional[pulumi.Input[ :param str role_definition_id: The scoped Role Definition ID of the role for which this policy applies. :param str scope: The scope to which this Role Management Policy applies. Can refer to a management group, a subscription, a resource group or a resource. """ - ... + __args__ = dict() + __args__['roleDefinitionId'] = role_definition_id + __args__['scope'] = scope + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:pim/getRoleManagementPolicy:getRoleManagementPolicy', __args__, opts=opts, typ=GetRoleManagementPolicyResult) + return __ret__.apply(lambda __response__: GetRoleManagementPolicyResult( + activation_rules=pulumi.get(__response__, 'activation_rules'), + active_assignment_rules=pulumi.get(__response__, 'active_assignment_rules'), + description=pulumi.get(__response__, 'description'), + eligible_assignment_rules=pulumi.get(__response__, 'eligible_assignment_rules'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + notification_rules=pulumi.get(__response__, 'notification_rules'), + role_definition_id=pulumi.get(__response__, 'role_definition_id'), + scope=pulumi.get(__response__, 'scope'))) diff --git a/sdk/python/pulumi_azure/policy/get_policy_assignment.py b/sdk/python/pulumi_azure/policy/get_policy_assignment.py index d3340d58b3..23d9b2c71f 100644 --- a/sdk/python/pulumi_azure/policy/get_policy_assignment.py +++ b/sdk/python/pulumi_azure/policy/get_policy_assignment.py @@ -229,9 +229,6 @@ def get_policy_assignment(name: Optional[str] = None, parameters=pulumi.get(__ret__, 'parameters'), policy_definition_id=pulumi.get(__ret__, 'policy_definition_id'), scope_id=pulumi.get(__ret__, 'scope_id')) - - -@_utilities.lift_output_func(get_policy_assignment) def get_policy_assignment_output(name: Optional[pulumi.Input[str]] = None, scope_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPolicyAssignmentResult]: @@ -253,4 +250,22 @@ def get_policy_assignment_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of this Policy Assignment. Changing this forces a new Policy Assignment to be created. :param str scope_id: The ID of the scope this Policy Assignment is assigned to. The `scope_id` can be a subscription id, a resource group id, a management group id, or an ID of any resource that is assigned with a policy. Changing this forces a new Policy Assignment to be created. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['scopeId'] = scope_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:policy/getPolicyAssignment:getPolicyAssignment', __args__, opts=opts, typ=GetPolicyAssignmentResult) + return __ret__.apply(lambda __response__: GetPolicyAssignmentResult( + description=pulumi.get(__response__, 'description'), + display_name=pulumi.get(__response__, 'display_name'), + enforce=pulumi.get(__response__, 'enforce'), + id=pulumi.get(__response__, 'id'), + identities=pulumi.get(__response__, 'identities'), + location=pulumi.get(__response__, 'location'), + metadata=pulumi.get(__response__, 'metadata'), + name=pulumi.get(__response__, 'name'), + non_compliance_messages=pulumi.get(__response__, 'non_compliance_messages'), + not_scopes=pulumi.get(__response__, 'not_scopes'), + parameters=pulumi.get(__response__, 'parameters'), + policy_definition_id=pulumi.get(__response__, 'policy_definition_id'), + scope_id=pulumi.get(__response__, 'scope_id'))) diff --git a/sdk/python/pulumi_azure/policy/get_policy_defintion.py b/sdk/python/pulumi_azure/policy/get_policy_defintion.py index 0d06090578..90093d2ab7 100644 --- a/sdk/python/pulumi_azure/policy/get_policy_defintion.py +++ b/sdk/python/pulumi_azure/policy/get_policy_defintion.py @@ -216,9 +216,6 @@ def get_policy_defintion(display_name: Optional[str] = None, policy_type=pulumi.get(__ret__, 'policy_type'), role_definition_ids=pulumi.get(__ret__, 'role_definition_ids'), type=pulumi.get(__ret__, 'type')) - - -@_utilities.lift_output_func(get_policy_defintion) def get_policy_defintion_output(display_name: Optional[pulumi.Input[Optional[str]]] = None, management_group_name: Optional[pulumi.Input[Optional[str]]] = None, name: Optional[pulumi.Input[Optional[str]]] = None, @@ -243,4 +240,22 @@ def get_policy_defintion_output(display_name: Optional[pulumi.Input[Optional[str :param str management_group_name: Only retrieve Policy Definitions from this Management Group. :param str name: Specifies the name of the Policy Definition. Conflicts with `display_name`. """ - ... + __args__ = dict() + __args__['displayName'] = display_name + __args__['managementGroupName'] = management_group_name + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:policy/getPolicyDefintion:getPolicyDefintion', __args__, opts=opts, typ=GetPolicyDefintionResult) + return __ret__.apply(lambda __response__: GetPolicyDefintionResult( + description=pulumi.get(__response__, 'description'), + display_name=pulumi.get(__response__, 'display_name'), + id=pulumi.get(__response__, 'id'), + management_group_name=pulumi.get(__response__, 'management_group_name'), + metadata=pulumi.get(__response__, 'metadata'), + mode=pulumi.get(__response__, 'mode'), + name=pulumi.get(__response__, 'name'), + parameters=pulumi.get(__response__, 'parameters'), + policy_rule=pulumi.get(__response__, 'policy_rule'), + policy_type=pulumi.get(__response__, 'policy_type'), + role_definition_ids=pulumi.get(__response__, 'role_definition_ids'), + type=pulumi.get(__response__, 'type'))) diff --git a/sdk/python/pulumi_azure/policy/get_policy_defintion_built_in.py b/sdk/python/pulumi_azure/policy/get_policy_defintion_built_in.py index 876cfa049a..6b3792e932 100644 --- a/sdk/python/pulumi_azure/policy/get_policy_defintion_built_in.py +++ b/sdk/python/pulumi_azure/policy/get_policy_defintion_built_in.py @@ -216,9 +216,6 @@ def get_policy_defintion_built_in(display_name: Optional[str] = None, policy_type=pulumi.get(__ret__, 'policy_type'), role_definition_ids=pulumi.get(__ret__, 'role_definition_ids'), type=pulumi.get(__ret__, 'type')) - - -@_utilities.lift_output_func(get_policy_defintion_built_in) def get_policy_defintion_built_in_output(display_name: Optional[pulumi.Input[Optional[str]]] = None, management_group_name: Optional[pulumi.Input[Optional[str]]] = None, name: Optional[pulumi.Input[Optional[str]]] = None, @@ -243,4 +240,22 @@ def get_policy_defintion_built_in_output(display_name: Optional[pulumi.Input[Opt :param str management_group_name: Only retrieve Policy Definitions from this Management Group. :param str name: Specifies the name of the Policy Definition. Conflicts with `display_name`. """ - ... + __args__ = dict() + __args__['displayName'] = display_name + __args__['managementGroupName'] = management_group_name + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:policy/getPolicyDefintionBuiltIn:getPolicyDefintionBuiltIn', __args__, opts=opts, typ=GetPolicyDefintionBuiltInResult) + return __ret__.apply(lambda __response__: GetPolicyDefintionBuiltInResult( + description=pulumi.get(__response__, 'description'), + display_name=pulumi.get(__response__, 'display_name'), + id=pulumi.get(__response__, 'id'), + management_group_name=pulumi.get(__response__, 'management_group_name'), + metadata=pulumi.get(__response__, 'metadata'), + mode=pulumi.get(__response__, 'mode'), + name=pulumi.get(__response__, 'name'), + parameters=pulumi.get(__response__, 'parameters'), + policy_rule=pulumi.get(__response__, 'policy_rule'), + policy_type=pulumi.get(__response__, 'policy_type'), + role_definition_ids=pulumi.get(__response__, 'role_definition_ids'), + type=pulumi.get(__response__, 'type'))) diff --git a/sdk/python/pulumi_azure/policy/get_policy_set_definition.py b/sdk/python/pulumi_azure/policy/get_policy_set_definition.py index 4a55592beb..a0b58be963 100644 --- a/sdk/python/pulumi_azure/policy/get_policy_set_definition.py +++ b/sdk/python/pulumi_azure/policy/get_policy_set_definition.py @@ -210,9 +210,6 @@ def get_policy_set_definition(display_name: Optional[str] = None, policy_definition_references=pulumi.get(__ret__, 'policy_definition_references'), policy_definitions=pulumi.get(__ret__, 'policy_definitions'), policy_type=pulumi.get(__ret__, 'policy_type')) - - -@_utilities.lift_output_func(get_policy_set_definition) def get_policy_set_definition_output(display_name: Optional[pulumi.Input[Optional[str]]] = None, management_group_name: Optional[pulumi.Input[Optional[str]]] = None, name: Optional[pulumi.Input[Optional[str]]] = None, @@ -237,4 +234,21 @@ def get_policy_set_definition_output(display_name: Optional[pulumi.Input[Optiona :param str management_group_name: Only retrieve Policy Set Definitions from this Management Group. :param str name: Specifies the name of the Policy Set Definition. Conflicts with `display_name`. """ - ... + __args__ = dict() + __args__['displayName'] = display_name + __args__['managementGroupName'] = management_group_name + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:policy/getPolicySetDefinition:getPolicySetDefinition', __args__, opts=opts, typ=GetPolicySetDefinitionResult) + return __ret__.apply(lambda __response__: GetPolicySetDefinitionResult( + description=pulumi.get(__response__, 'description'), + display_name=pulumi.get(__response__, 'display_name'), + id=pulumi.get(__response__, 'id'), + management_group_name=pulumi.get(__response__, 'management_group_name'), + metadata=pulumi.get(__response__, 'metadata'), + name=pulumi.get(__response__, 'name'), + parameters=pulumi.get(__response__, 'parameters'), + policy_definition_groups=pulumi.get(__response__, 'policy_definition_groups'), + policy_definition_references=pulumi.get(__response__, 'policy_definition_references'), + policy_definitions=pulumi.get(__response__, 'policy_definitions'), + policy_type=pulumi.get(__response__, 'policy_type'))) diff --git a/sdk/python/pulumi_azure/policy/get_virtual_machine_configuration_assignment.py b/sdk/python/pulumi_azure/policy/get_virtual_machine_configuration_assignment.py index 8b64f12ccb..4ae9486fd4 100644 --- a/sdk/python/pulumi_azure/policy/get_virtual_machine_configuration_assignment.py +++ b/sdk/python/pulumi_azure/policy/get_virtual_machine_configuration_assignment.py @@ -190,9 +190,6 @@ def get_virtual_machine_configuration_assignment(name: Optional[str] = None, name=pulumi.get(__ret__, 'name'), resource_group_name=pulumi.get(__ret__, 'resource_group_name'), virtual_machine_name=pulumi.get(__ret__, 'virtual_machine_name')) - - -@_utilities.lift_output_func(get_virtual_machine_configuration_assignment) def get_virtual_machine_configuration_assignment_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, virtual_machine_name: Optional[pulumi.Input[str]] = None, @@ -217,4 +214,20 @@ def get_virtual_machine_configuration_assignment_output(name: Optional[pulumi.In :param str resource_group_name: Specifies the Name of the Resource Group where the Guest Configuration Assignment exists. :param str virtual_machine_name: Only retrieve Policy Set Definitions from this Management Group. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + __args__['virtualMachineName'] = virtual_machine_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:policy/getVirtualMachineConfigurationAssignment:getVirtualMachineConfigurationAssignment', __args__, opts=opts, typ=GetVirtualMachineConfigurationAssignmentResult) + return __ret__.apply(lambda __response__: GetVirtualMachineConfigurationAssignmentResult( + assignment_hash=pulumi.get(__response__, 'assignment_hash'), + compliance_status=pulumi.get(__response__, 'compliance_status'), + content_hash=pulumi.get(__response__, 'content_hash'), + content_uri=pulumi.get(__response__, 'content_uri'), + id=pulumi.get(__response__, 'id'), + last_compliance_status_checked=pulumi.get(__response__, 'last_compliance_status_checked'), + latest_report_id=pulumi.get(__response__, 'latest_report_id'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + virtual_machine_name=pulumi.get(__response__, 'virtual_machine_name'))) diff --git a/sdk/python/pulumi_azure/portal/azurerm_portal_dashboard.py b/sdk/python/pulumi_azure/portal/azurerm_portal_dashboard.py index 14f51bef4a..da1729d173 100644 --- a/sdk/python/pulumi_azure/portal/azurerm_portal_dashboard.py +++ b/sdk/python/pulumi_azure/portal/azurerm_portal_dashboard.py @@ -153,9 +153,6 @@ def azurerm_portal_dashboard(dashboard_properties: Optional[str] = None, name=pulumi.get(__ret__, 'name'), resource_group_name=pulumi.get(__ret__, 'resource_group_name'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(azurerm_portal_dashboard) def azurerm_portal_dashboard_output(dashboard_properties: Optional[pulumi.Input[Optional[str]]] = None, display_name: Optional[pulumi.Input[Optional[str]]] = None, name: Optional[pulumi.Input[Optional[str]]] = None, @@ -181,4 +178,18 @@ def azurerm_portal_dashboard_output(dashboard_properties: Optional[pulumi.Input[ :param str name: Specifies the name of the shared Azure Portal Dashboard. :param str resource_group_name: Specifies the name of the resource group the shared Azure Portal Dashboard is located in. """ - ... + __args__ = dict() + __args__['dashboardProperties'] = dashboard_properties + __args__['displayName'] = display_name + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:portal/azurerm_portal_dashboard:azurerm_portal_dashboard', __args__, opts=opts, typ=Azurerm_portal_dashboardResult) + return __ret__.apply(lambda __response__: Azurerm_portal_dashboardResult( + dashboard_properties=pulumi.get(__response__, 'dashboard_properties'), + display_name=pulumi.get(__response__, 'display_name'), + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_azure/postgresql/get_flexible_server.py b/sdk/python/pulumi_azure/postgresql/get_flexible_server.py index 186e49c436..e4ecb828e0 100644 --- a/sdk/python/pulumi_azure/postgresql/get_flexible_server.py +++ b/sdk/python/pulumi_azure/postgresql/get_flexible_server.py @@ -241,9 +241,6 @@ def get_flexible_server(name: Optional[str] = None, storage_mb=pulumi.get(__ret__, 'storage_mb'), tags=pulumi.get(__ret__, 'tags'), version=pulumi.get(__ret__, 'version')) - - -@_utilities.lift_output_func(get_flexible_server) def get_flexible_server_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFlexibleServerResult]: @@ -265,4 +262,23 @@ def get_flexible_server_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of this PostgreSQL Flexible Server. :param str resource_group_name: The name of the Resource Group where the PostgreSQL Flexible Server exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:postgresql/getFlexibleServer:getFlexibleServer', __args__, opts=opts, typ=GetFlexibleServerResult) + return __ret__.apply(lambda __response__: GetFlexibleServerResult( + administrator_login=pulumi.get(__response__, 'administrator_login'), + auto_grow_enabled=pulumi.get(__response__, 'auto_grow_enabled'), + backup_retention_days=pulumi.get(__response__, 'backup_retention_days'), + delegated_subnet_id=pulumi.get(__response__, 'delegated_subnet_id'), + fqdn=pulumi.get(__response__, 'fqdn'), + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + public_network_access_enabled=pulumi.get(__response__, 'public_network_access_enabled'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + sku_name=pulumi.get(__response__, 'sku_name'), + storage_mb=pulumi.get(__response__, 'storage_mb'), + tags=pulumi.get(__response__, 'tags'), + version=pulumi.get(__response__, 'version'))) diff --git a/sdk/python/pulumi_azure/postgresql/get_server.py b/sdk/python/pulumi_azure/postgresql/get_server.py index 2918cc5349..5a02470ad6 100644 --- a/sdk/python/pulumi_azure/postgresql/get_server.py +++ b/sdk/python/pulumi_azure/postgresql/get_server.py @@ -190,9 +190,6 @@ def get_server(name: Optional[str] = None, sku_name=pulumi.get(__ret__, 'sku_name'), tags=pulumi.get(__ret__, 'tags'), version=pulumi.get(__ret__, 'version')) - - -@_utilities.lift_output_func(get_server) def get_server_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetServerResult]: @@ -214,4 +211,19 @@ def get_server_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of the PostgreSQL Server. :param str resource_group_name: Specifies the name of the Resource Group where the PostgreSQL Server exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:postgresql/getServer:getServer', __args__, opts=opts, typ=GetServerResult) + return __ret__.apply(lambda __response__: GetServerResult( + administrator_login=pulumi.get(__response__, 'administrator_login'), + fqdn=pulumi.get(__response__, 'fqdn'), + id=pulumi.get(__response__, 'id'), + identities=pulumi.get(__response__, 'identities'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + sku_name=pulumi.get(__response__, 'sku_name'), + tags=pulumi.get(__response__, 'tags'), + version=pulumi.get(__response__, 'version'))) diff --git a/sdk/python/pulumi_azure/privatedns/get_a_record.py b/sdk/python/pulumi_azure/privatedns/get_a_record.py index c01935d051..6d3ad287aa 100644 --- a/sdk/python/pulumi_azure/privatedns/get_a_record.py +++ b/sdk/python/pulumi_azure/privatedns/get_a_record.py @@ -162,9 +162,6 @@ def get_a_record(name: Optional[str] = None, tags=pulumi.get(__ret__, 'tags'), ttl=pulumi.get(__ret__, 'ttl'), zone_name=pulumi.get(__ret__, 'zone_name')) - - -@_utilities.lift_output_func(get_a_record) def get_a_record_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, zone_name: Optional[pulumi.Input[str]] = None, @@ -187,4 +184,18 @@ def get_a_record_output(name: Optional[pulumi.Input[str]] = None, :param str resource_group_name: Specifies the resource group where the Private DNS Zone (parent resource) exists. :param str zone_name: Specifies the Private DNS Zone where the resource exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + __args__['zoneName'] = zone_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:privatedns/getARecord:getARecord', __args__, opts=opts, typ=GetARecordResult) + return __ret__.apply(lambda __response__: GetARecordResult( + fqdn=pulumi.get(__response__, 'fqdn'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + records=pulumi.get(__response__, 'records'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + tags=pulumi.get(__response__, 'tags'), + ttl=pulumi.get(__response__, 'ttl'), + zone_name=pulumi.get(__response__, 'zone_name'))) diff --git a/sdk/python/pulumi_azure/privatedns/get_aaaa_record.py b/sdk/python/pulumi_azure/privatedns/get_aaaa_record.py index acbeb0e525..2d4bf746c3 100644 --- a/sdk/python/pulumi_azure/privatedns/get_aaaa_record.py +++ b/sdk/python/pulumi_azure/privatedns/get_aaaa_record.py @@ -163,9 +163,6 @@ def get_aaaa_record(name: Optional[str] = None, tags=pulumi.get(__ret__, 'tags'), ttl=pulumi.get(__ret__, 'ttl'), zone_name=pulumi.get(__ret__, 'zone_name')) - - -@_utilities.lift_output_func(get_aaaa_record) def get_aaaa_record_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, zone_name: Optional[pulumi.Input[str]] = None, @@ -189,4 +186,18 @@ def get_aaaa_record_output(name: Optional[pulumi.Input[str]] = None, :param str resource_group_name: Specifies the resource group where the Private DNS Zone (parent resource) exists. :param str zone_name: Specifies the Private DNS Zone where the resource exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + __args__['zoneName'] = zone_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:privatedns/getAAAARecord:getAAAARecord', __args__, opts=opts, typ=GetAAAARecordResult) + return __ret__.apply(lambda __response__: GetAAAARecordResult( + fqdn=pulumi.get(__response__, 'fqdn'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + records=pulumi.get(__response__, 'records'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + tags=pulumi.get(__response__, 'tags'), + ttl=pulumi.get(__response__, 'ttl'), + zone_name=pulumi.get(__response__, 'zone_name'))) diff --git a/sdk/python/pulumi_azure/privatedns/get_cname_record.py b/sdk/python/pulumi_azure/privatedns/get_cname_record.py index 92d3236057..d3a721efe1 100644 --- a/sdk/python/pulumi_azure/privatedns/get_cname_record.py +++ b/sdk/python/pulumi_azure/privatedns/get_cname_record.py @@ -173,9 +173,6 @@ def get_cname_record(name: Optional[str] = None, target_resource_id=pulumi.get(__ret__, 'target_resource_id'), ttl=pulumi.get(__ret__, 'ttl'), zone_name=pulumi.get(__ret__, 'zone_name')) - - -@_utilities.lift_output_func(get_cname_record) def get_cname_record_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, zone_name: Optional[pulumi.Input[str]] = None, @@ -199,4 +196,19 @@ def get_cname_record_output(name: Optional[pulumi.Input[str]] = None, :param str resource_group_name: Specifies the resource group where the Private DNS Zone (parent resource) exists. :param str zone_name: Specifies the Private DNS Zone where the resource exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + __args__['zoneName'] = zone_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:privatedns/getCnameRecord:getCnameRecord', __args__, opts=opts, typ=GetCnameRecordResult) + return __ret__.apply(lambda __response__: GetCnameRecordResult( + fqdn=pulumi.get(__response__, 'fqdn'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + record=pulumi.get(__response__, 'record'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + tags=pulumi.get(__response__, 'tags'), + target_resource_id=pulumi.get(__response__, 'target_resource_id'), + ttl=pulumi.get(__response__, 'ttl'), + zone_name=pulumi.get(__response__, 'zone_name'))) diff --git a/sdk/python/pulumi_azure/privatedns/get_dns_zone.py b/sdk/python/pulumi_azure/privatedns/get_dns_zone.py index f2eff5930a..fe6fb9584f 100644 --- a/sdk/python/pulumi_azure/privatedns/get_dns_zone.py +++ b/sdk/python/pulumi_azure/privatedns/get_dns_zone.py @@ -168,9 +168,6 @@ def get_dns_zone(name: Optional[str] = None, number_of_record_sets=pulumi.get(__ret__, 'number_of_record_sets'), resource_group_name=pulumi.get(__ret__, 'resource_group_name'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_dns_zone) def get_dns_zone_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[Optional[str]]] = None, tags: Optional[pulumi.Input[Optional[Mapping[str, str]]]] = None, @@ -196,4 +193,18 @@ def get_dns_zone_output(name: Optional[pulumi.Input[str]] = None, DNS Zones in your subscription that matches `name` will be returned. :param Mapping[str, str] tags: A mapping of tags for the zone. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + __args__['tags'] = tags + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:privatedns/getDnsZone:getDnsZone', __args__, opts=opts, typ=GetDnsZoneResult) + return __ret__.apply(lambda __response__: GetDnsZoneResult( + id=pulumi.get(__response__, 'id'), + max_number_of_record_sets=pulumi.get(__response__, 'max_number_of_record_sets'), + max_number_of_virtual_network_links=pulumi.get(__response__, 'max_number_of_virtual_network_links'), + max_number_of_virtual_network_links_with_registration=pulumi.get(__response__, 'max_number_of_virtual_network_links_with_registration'), + name=pulumi.get(__response__, 'name'), + number_of_record_sets=pulumi.get(__response__, 'number_of_record_sets'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_azure/privatedns/get_mx_record.py b/sdk/python/pulumi_azure/privatedns/get_mx_record.py index 5b3d95fdd5..d16ccf9366 100644 --- a/sdk/python/pulumi_azure/privatedns/get_mx_record.py +++ b/sdk/python/pulumi_azure/privatedns/get_mx_record.py @@ -164,9 +164,6 @@ def get_mx_record(name: Optional[str] = None, tags=pulumi.get(__ret__, 'tags'), ttl=pulumi.get(__ret__, 'ttl'), zone_name=pulumi.get(__ret__, 'zone_name')) - - -@_utilities.lift_output_func(get_mx_record) def get_mx_record_output(name: Optional[pulumi.Input[Optional[str]]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, zone_name: Optional[pulumi.Input[str]] = None, @@ -190,4 +187,18 @@ def get_mx_record_output(name: Optional[pulumi.Input[Optional[str]]] = None, :param str resource_group_name: Specifies the resource group where the Private DNS Zone (parent resource) exists. :param str zone_name: Specifies the Private DNS Zone where the resource exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + __args__['zoneName'] = zone_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:privatedns/getMxRecord:getMxRecord', __args__, opts=opts, typ=GetMxRecordResult) + return __ret__.apply(lambda __response__: GetMxRecordResult( + fqdn=pulumi.get(__response__, 'fqdn'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + records=pulumi.get(__response__, 'records'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + tags=pulumi.get(__response__, 'tags'), + ttl=pulumi.get(__response__, 'ttl'), + zone_name=pulumi.get(__response__, 'zone_name'))) diff --git a/sdk/python/pulumi_azure/privatedns/get_ptr_record.py b/sdk/python/pulumi_azure/privatedns/get_ptr_record.py index 1f0f3879ac..94763db2f2 100644 --- a/sdk/python/pulumi_azure/privatedns/get_ptr_record.py +++ b/sdk/python/pulumi_azure/privatedns/get_ptr_record.py @@ -163,9 +163,6 @@ def get_ptr_record(name: Optional[str] = None, tags=pulumi.get(__ret__, 'tags'), ttl=pulumi.get(__ret__, 'ttl'), zone_name=pulumi.get(__ret__, 'zone_name')) - - -@_utilities.lift_output_func(get_ptr_record) def get_ptr_record_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, zone_name: Optional[pulumi.Input[str]] = None, @@ -189,4 +186,18 @@ def get_ptr_record_output(name: Optional[pulumi.Input[str]] = None, :param str resource_group_name: Specifies the resource group where the Private DNS Zone (parent resource) exists. :param str zone_name: Specifies the Private DNS Zone where the resource exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + __args__['zoneName'] = zone_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:privatedns/getPtrRecord:getPtrRecord', __args__, opts=opts, typ=GetPtrRecordResult) + return __ret__.apply(lambda __response__: GetPtrRecordResult( + fqdn=pulumi.get(__response__, 'fqdn'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + records=pulumi.get(__response__, 'records'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + tags=pulumi.get(__response__, 'tags'), + ttl=pulumi.get(__response__, 'ttl'), + zone_name=pulumi.get(__response__, 'zone_name'))) diff --git a/sdk/python/pulumi_azure/privatedns/get_resolver.py b/sdk/python/pulumi_azure/privatedns/get_resolver.py index 3fc996a0e2..8a9fb4eb98 100644 --- a/sdk/python/pulumi_azure/privatedns/get_resolver.py +++ b/sdk/python/pulumi_azure/privatedns/get_resolver.py @@ -136,9 +136,6 @@ def get_resolver(name: Optional[str] = None, resource_group_name=pulumi.get(__ret__, 'resource_group_name'), tags=pulumi.get(__ret__, 'tags'), virtual_network_id=pulumi.get(__ret__, 'virtual_network_id')) - - -@_utilities.lift_output_func(get_resolver) def get_resolver_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetResolverResult]: @@ -159,4 +156,15 @@ def get_resolver_output(name: Optional[pulumi.Input[str]] = None, :param str name: Name of the Private DNS Resolver. :param str resource_group_name: Name of the Resource Group where the Private DNS Resolver exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:privatedns/getResolver:getResolver', __args__, opts=opts, typ=GetResolverResult) + return __ret__.apply(lambda __response__: GetResolverResult( + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + tags=pulumi.get(__response__, 'tags'), + virtual_network_id=pulumi.get(__response__, 'virtual_network_id'))) diff --git a/sdk/python/pulumi_azure/privatedns/get_resolver_dns_forwarding_ruleset.py b/sdk/python/pulumi_azure/privatedns/get_resolver_dns_forwarding_ruleset.py index 1a88c020d2..4ec5cec6b3 100644 --- a/sdk/python/pulumi_azure/privatedns/get_resolver_dns_forwarding_ruleset.py +++ b/sdk/python/pulumi_azure/privatedns/get_resolver_dns_forwarding_ruleset.py @@ -136,9 +136,6 @@ def get_resolver_dns_forwarding_ruleset(name: Optional[str] = None, private_dns_resolver_outbound_endpoint_ids=pulumi.get(__ret__, 'private_dns_resolver_outbound_endpoint_ids'), resource_group_name=pulumi.get(__ret__, 'resource_group_name'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_resolver_dns_forwarding_ruleset) def get_resolver_dns_forwarding_ruleset_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetResolverDnsForwardingRulesetResult]: @@ -159,4 +156,15 @@ def get_resolver_dns_forwarding_ruleset_output(name: Optional[pulumi.Input[str]] :param str name: Name of the existing Private DNS Resolver Dns Forwarding Ruleset. :param str resource_group_name: Name of the Resource Group where the Private DNS Resolver Dns Forwarding Ruleset exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:privatedns/getResolverDnsForwardingRuleset:getResolverDnsForwardingRuleset', __args__, opts=opts, typ=GetResolverDnsForwardingRulesetResult) + return __ret__.apply(lambda __response__: GetResolverDnsForwardingRulesetResult( + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + private_dns_resolver_outbound_endpoint_ids=pulumi.get(__response__, 'private_dns_resolver_outbound_endpoint_ids'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_azure/privatedns/get_resolver_forwarding_rule.py b/sdk/python/pulumi_azure/privatedns/get_resolver_forwarding_rule.py index 1697ffa6a2..87b6a5fac2 100644 --- a/sdk/python/pulumi_azure/privatedns/get_resolver_forwarding_rule.py +++ b/sdk/python/pulumi_azure/privatedns/get_resolver_forwarding_rule.py @@ -150,9 +150,6 @@ def get_resolver_forwarding_rule(dns_forwarding_ruleset_id: Optional[str] = None metadata=pulumi.get(__ret__, 'metadata'), name=pulumi.get(__ret__, 'name'), target_dns_servers=pulumi.get(__ret__, 'target_dns_servers')) - - -@_utilities.lift_output_func(get_resolver_forwarding_rule) def get_resolver_forwarding_rule_output(dns_forwarding_ruleset_id: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetResolverForwardingRuleResult]: @@ -173,4 +170,16 @@ def get_resolver_forwarding_rule_output(dns_forwarding_ruleset_id: Optional[pulu :param str dns_forwarding_ruleset_id: ID of the Private DNS Resolver Forwarding Ruleset. :param str name: Name of the Private DNS Resolver Forwarding Rule. """ - ... + __args__ = dict() + __args__['dnsForwardingRulesetId'] = dns_forwarding_ruleset_id + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:privatedns/getResolverForwardingRule:getResolverForwardingRule', __args__, opts=opts, typ=GetResolverForwardingRuleResult) + return __ret__.apply(lambda __response__: GetResolverForwardingRuleResult( + dns_forwarding_ruleset_id=pulumi.get(__response__, 'dns_forwarding_ruleset_id'), + domain_name=pulumi.get(__response__, 'domain_name'), + enabled=pulumi.get(__response__, 'enabled'), + id=pulumi.get(__response__, 'id'), + metadata=pulumi.get(__response__, 'metadata'), + name=pulumi.get(__response__, 'name'), + target_dns_servers=pulumi.get(__response__, 'target_dns_servers'))) diff --git a/sdk/python/pulumi_azure/privatedns/get_resolver_inbound_endpoint.py b/sdk/python/pulumi_azure/privatedns/get_resolver_inbound_endpoint.py index 56e6cf7225..4c4b794689 100644 --- a/sdk/python/pulumi_azure/privatedns/get_resolver_inbound_endpoint.py +++ b/sdk/python/pulumi_azure/privatedns/get_resolver_inbound_endpoint.py @@ -137,9 +137,6 @@ def get_resolver_inbound_endpoint(name: Optional[str] = None, name=pulumi.get(__ret__, 'name'), private_dns_resolver_id=pulumi.get(__ret__, 'private_dns_resolver_id'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_resolver_inbound_endpoint) def get_resolver_inbound_endpoint_output(name: Optional[pulumi.Input[str]] = None, private_dns_resolver_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetResolverInboundEndpointResult]: @@ -160,4 +157,15 @@ def get_resolver_inbound_endpoint_output(name: Optional[pulumi.Input[str]] = Non :param str name: Name of the Private DNS Resolver Inbound Endpoint. :param str private_dns_resolver_id: ID of the Private DNS Resolver. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['privateDnsResolverId'] = private_dns_resolver_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:privatedns/getResolverInboundEndpoint:getResolverInboundEndpoint', __args__, opts=opts, typ=GetResolverInboundEndpointResult) + return __ret__.apply(lambda __response__: GetResolverInboundEndpointResult( + id=pulumi.get(__response__, 'id'), + ip_configurations=pulumi.get(__response__, 'ip_configurations'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + private_dns_resolver_id=pulumi.get(__response__, 'private_dns_resolver_id'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_azure/privatedns/get_resolver_outbound_endpoint.py b/sdk/python/pulumi_azure/privatedns/get_resolver_outbound_endpoint.py index 185ce9b054..6c78b122ec 100644 --- a/sdk/python/pulumi_azure/privatedns/get_resolver_outbound_endpoint.py +++ b/sdk/python/pulumi_azure/privatedns/get_resolver_outbound_endpoint.py @@ -136,9 +136,6 @@ def get_resolver_outbound_endpoint(name: Optional[str] = None, private_dns_resolver_id=pulumi.get(__ret__, 'private_dns_resolver_id'), subnet_id=pulumi.get(__ret__, 'subnet_id'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_resolver_outbound_endpoint) def get_resolver_outbound_endpoint_output(name: Optional[pulumi.Input[str]] = None, private_dns_resolver_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetResolverOutboundEndpointResult]: @@ -159,4 +156,15 @@ def get_resolver_outbound_endpoint_output(name: Optional[pulumi.Input[str]] = No :param str name: Name of the Private DNS Resolver Outbound Endpoint. :param str private_dns_resolver_id: ID of the Private DNS Resolver Outbound Endpoint. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['privateDnsResolverId'] = private_dns_resolver_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:privatedns/getResolverOutboundEndpoint:getResolverOutboundEndpoint', __args__, opts=opts, typ=GetResolverOutboundEndpointResult) + return __ret__.apply(lambda __response__: GetResolverOutboundEndpointResult( + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + private_dns_resolver_id=pulumi.get(__response__, 'private_dns_resolver_id'), + subnet_id=pulumi.get(__response__, 'subnet_id'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_azure/privatedns/get_resolver_virtual_network_link.py b/sdk/python/pulumi_azure/privatedns/get_resolver_virtual_network_link.py index 2fffd29f72..cc8458b04f 100644 --- a/sdk/python/pulumi_azure/privatedns/get_resolver_virtual_network_link.py +++ b/sdk/python/pulumi_azure/privatedns/get_resolver_virtual_network_link.py @@ -123,9 +123,6 @@ def get_resolver_virtual_network_link(dns_forwarding_ruleset_id: Optional[str] = metadata=pulumi.get(__ret__, 'metadata'), name=pulumi.get(__ret__, 'name'), virtual_network_id=pulumi.get(__ret__, 'virtual_network_id')) - - -@_utilities.lift_output_func(get_resolver_virtual_network_link) def get_resolver_virtual_network_link_output(dns_forwarding_ruleset_id: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetResolverVirtualNetworkLinkResult]: @@ -146,4 +143,14 @@ def get_resolver_virtual_network_link_output(dns_forwarding_ruleset_id: Optional :param str dns_forwarding_ruleset_id: ID of the Private DNS Resolver DNS Forwarding Ruleset. :param str name: Name of the Private DNS Resolver Virtual Network Link. """ - ... + __args__ = dict() + __args__['dnsForwardingRulesetId'] = dns_forwarding_ruleset_id + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:privatedns/getResolverVirtualNetworkLink:getResolverVirtualNetworkLink', __args__, opts=opts, typ=GetResolverVirtualNetworkLinkResult) + return __ret__.apply(lambda __response__: GetResolverVirtualNetworkLinkResult( + dns_forwarding_ruleset_id=pulumi.get(__response__, 'dns_forwarding_ruleset_id'), + id=pulumi.get(__response__, 'id'), + metadata=pulumi.get(__response__, 'metadata'), + name=pulumi.get(__response__, 'name'), + virtual_network_id=pulumi.get(__response__, 'virtual_network_id'))) diff --git a/sdk/python/pulumi_azure/privatedns/get_soa_record.py b/sdk/python/pulumi_azure/privatedns/get_soa_record.py index 43cafddb8c..6a3e61256a 100644 --- a/sdk/python/pulumi_azure/privatedns/get_soa_record.py +++ b/sdk/python/pulumi_azure/privatedns/get_soa_record.py @@ -243,9 +243,6 @@ def get_soa_record(name: Optional[str] = None, tags=pulumi.get(__ret__, 'tags'), ttl=pulumi.get(__ret__, 'ttl'), zone_name=pulumi.get(__ret__, 'zone_name')) - - -@_utilities.lift_output_func(get_soa_record) def get_soa_record_output(name: Optional[pulumi.Input[Optional[str]]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, zone_name: Optional[pulumi.Input[str]] = None, @@ -268,4 +265,24 @@ def get_soa_record_output(name: Optional[pulumi.Input[Optional[str]]] = None, :param str resource_group_name: Specifies the resource group where the Private DNS Zone (parent resource) exists. :param str zone_name: Specifies the Private DNS Zone where the resource exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + __args__['zoneName'] = zone_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:privatedns/getSoaRecord:getSoaRecord', __args__, opts=opts, typ=GetSoaRecordResult) + return __ret__.apply(lambda __response__: GetSoaRecordResult( + email=pulumi.get(__response__, 'email'), + expire_time=pulumi.get(__response__, 'expire_time'), + fqdn=pulumi.get(__response__, 'fqdn'), + host_name=pulumi.get(__response__, 'host_name'), + id=pulumi.get(__response__, 'id'), + minimum_ttl=pulumi.get(__response__, 'minimum_ttl'), + name=pulumi.get(__response__, 'name'), + refresh_time=pulumi.get(__response__, 'refresh_time'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + retry_time=pulumi.get(__response__, 'retry_time'), + serial_number=pulumi.get(__response__, 'serial_number'), + tags=pulumi.get(__response__, 'tags'), + ttl=pulumi.get(__response__, 'ttl'), + zone_name=pulumi.get(__response__, 'zone_name'))) diff --git a/sdk/python/pulumi_azure/privatedns/get_srv_record.py b/sdk/python/pulumi_azure/privatedns/get_srv_record.py index 380273241a..248602cdd9 100644 --- a/sdk/python/pulumi_azure/privatedns/get_srv_record.py +++ b/sdk/python/pulumi_azure/privatedns/get_srv_record.py @@ -164,9 +164,6 @@ def get_srv_record(name: Optional[str] = None, tags=pulumi.get(__ret__, 'tags'), ttl=pulumi.get(__ret__, 'ttl'), zone_name=pulumi.get(__ret__, 'zone_name')) - - -@_utilities.lift_output_func(get_srv_record) def get_srv_record_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, zone_name: Optional[pulumi.Input[str]] = None, @@ -190,4 +187,18 @@ def get_srv_record_output(name: Optional[pulumi.Input[str]] = None, :param str resource_group_name: Specifies the resource group where the Private DNS Zone (parent resource) exists. :param str zone_name: Specifies the Private DNS Zone where the resource exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + __args__['zoneName'] = zone_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:privatedns/getSrvRecord:getSrvRecord', __args__, opts=opts, typ=GetSrvRecordResult) + return __ret__.apply(lambda __response__: GetSrvRecordResult( + fqdn=pulumi.get(__response__, 'fqdn'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + records=pulumi.get(__response__, 'records'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + tags=pulumi.get(__response__, 'tags'), + ttl=pulumi.get(__response__, 'ttl'), + zone_name=pulumi.get(__response__, 'zone_name'))) diff --git a/sdk/python/pulumi_azure/privatedns/get_txt_record.py b/sdk/python/pulumi_azure/privatedns/get_txt_record.py index e879afefc2..c7ad066c6c 100644 --- a/sdk/python/pulumi_azure/privatedns/get_txt_record.py +++ b/sdk/python/pulumi_azure/privatedns/get_txt_record.py @@ -164,9 +164,6 @@ def get_txt_record(name: Optional[str] = None, tags=pulumi.get(__ret__, 'tags'), ttl=pulumi.get(__ret__, 'ttl'), zone_name=pulumi.get(__ret__, 'zone_name')) - - -@_utilities.lift_output_func(get_txt_record) def get_txt_record_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, zone_name: Optional[pulumi.Input[str]] = None, @@ -190,4 +187,18 @@ def get_txt_record_output(name: Optional[pulumi.Input[str]] = None, :param str resource_group_name: Specifies the resource group where the Private DNS Zone (parent resource) exists. :param str zone_name: Specifies the Private DNS Zone where the resource exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + __args__['zoneName'] = zone_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:privatedns/getTxtRecord:getTxtRecord', __args__, opts=opts, typ=GetTxtRecordResult) + return __ret__.apply(lambda __response__: GetTxtRecordResult( + fqdn=pulumi.get(__response__, 'fqdn'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + records=pulumi.get(__response__, 'records'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + tags=pulumi.get(__response__, 'tags'), + ttl=pulumi.get(__response__, 'ttl'), + zone_name=pulumi.get(__response__, 'zone_name'))) diff --git a/sdk/python/pulumi_azure/privatedns/get_zone_virtual_network_link.py b/sdk/python/pulumi_azure/privatedns/get_zone_virtual_network_link.py index f57e6342eb..5c7032a201 100644 --- a/sdk/python/pulumi_azure/privatedns/get_zone_virtual_network_link.py +++ b/sdk/python/pulumi_azure/privatedns/get_zone_virtual_network_link.py @@ -151,9 +151,6 @@ def get_zone_virtual_network_link(name: Optional[str] = None, resource_group_name=pulumi.get(__ret__, 'resource_group_name'), tags=pulumi.get(__ret__, 'tags'), virtual_network_id=pulumi.get(__ret__, 'virtual_network_id')) - - -@_utilities.lift_output_func(get_zone_virtual_network_link) def get_zone_virtual_network_link_output(name: Optional[pulumi.Input[str]] = None, private_dns_zone_name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, @@ -178,4 +175,17 @@ def get_zone_virtual_network_link_output(name: Optional[pulumi.Input[str]] = Non :param str private_dns_zone_name: The name of the Private DNS zone (without a terminating dot). :param str resource_group_name: Specifies the resource group where the Private DNS Zone exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['privateDnsZoneName'] = private_dns_zone_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:privatedns/getZoneVirtualNetworkLink:getZoneVirtualNetworkLink', __args__, opts=opts, typ=GetZoneVirtualNetworkLinkResult) + return __ret__.apply(lambda __response__: GetZoneVirtualNetworkLinkResult( + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + private_dns_zone_name=pulumi.get(__response__, 'private_dns_zone_name'), + registration_enabled=pulumi.get(__response__, 'registration_enabled'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + tags=pulumi.get(__response__, 'tags'), + virtual_network_id=pulumi.get(__response__, 'virtual_network_id'))) diff --git a/sdk/python/pulumi_azure/privatelink/get_endpoint_connection.py b/sdk/python/pulumi_azure/privatelink/get_endpoint_connection.py index 6d45f0d6db..6156829de4 100644 --- a/sdk/python/pulumi_azure/privatelink/get_endpoint_connection.py +++ b/sdk/python/pulumi_azure/privatelink/get_endpoint_connection.py @@ -135,9 +135,6 @@ def get_endpoint_connection(name: Optional[str] = None, network_interfaces=pulumi.get(__ret__, 'network_interfaces'), private_service_connections=pulumi.get(__ret__, 'private_service_connections'), resource_group_name=pulumi.get(__ret__, 'resource_group_name')) - - -@_utilities.lift_output_func(get_endpoint_connection) def get_endpoint_connection_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetEndpointConnectionResult]: @@ -159,4 +156,15 @@ def get_endpoint_connection_output(name: Optional[pulumi.Input[str]] = None, :param str name: Specifies the Name of the private endpoint. :param str resource_group_name: Specifies the Name of the Resource Group within which the private endpoint exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:privatelink/getEndpointConnection:getEndpointConnection', __args__, opts=opts, typ=GetEndpointConnectionResult) + return __ret__.apply(lambda __response__: GetEndpointConnectionResult( + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + network_interfaces=pulumi.get(__response__, 'network_interfaces'), + private_service_connections=pulumi.get(__response__, 'private_service_connections'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'))) diff --git a/sdk/python/pulumi_azure/privatelink/get_service.py b/sdk/python/pulumi_azure/privatelink/get_service.py index 6e97a25a99..bf569bcae6 100644 --- a/sdk/python/pulumi_azure/privatelink/get_service.py +++ b/sdk/python/pulumi_azure/privatelink/get_service.py @@ -206,9 +206,6 @@ def get_service(name: Optional[str] = None, resource_group_name=pulumi.get(__ret__, 'resource_group_name'), tags=pulumi.get(__ret__, 'tags'), visibility_subscription_ids=pulumi.get(__ret__, 'visibility_subscription_ids')) - - -@_utilities.lift_output_func(get_service) def get_service_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetServiceResult]: @@ -230,4 +227,20 @@ def get_service_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of the private link service. :param str resource_group_name: The name of the resource group in which the private link service resides. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:privatelink/getService:getService', __args__, opts=opts, typ=GetServiceResult) + return __ret__.apply(lambda __response__: GetServiceResult( + alias=pulumi.get(__response__, 'alias'), + auto_approval_subscription_ids=pulumi.get(__response__, 'auto_approval_subscription_ids'), + enable_proxy_protocol=pulumi.get(__response__, 'enable_proxy_protocol'), + id=pulumi.get(__response__, 'id'), + load_balancer_frontend_ip_configuration_ids=pulumi.get(__response__, 'load_balancer_frontend_ip_configuration_ids'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + nat_ip_configurations=pulumi.get(__response__, 'nat_ip_configurations'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + tags=pulumi.get(__response__, 'tags'), + visibility_subscription_ids=pulumi.get(__response__, 'visibility_subscription_ids'))) diff --git a/sdk/python/pulumi_azure/privatelink/get_service_endpoint_connections.py b/sdk/python/pulumi_azure/privatelink/get_service_endpoint_connections.py index 946168e742..faabb50982 100644 --- a/sdk/python/pulumi_azure/privatelink/get_service_endpoint_connections.py +++ b/sdk/python/pulumi_azure/privatelink/get_service_endpoint_connections.py @@ -132,9 +132,6 @@ def get_service_endpoint_connections(resource_group_name: Optional[str] = None, resource_group_name=pulumi.get(__ret__, 'resource_group_name'), service_id=pulumi.get(__ret__, 'service_id'), service_name=pulumi.get(__ret__, 'service_name')) - - -@_utilities.lift_output_func(get_service_endpoint_connections) def get_service_endpoint_connections_output(resource_group_name: Optional[pulumi.Input[str]] = None, service_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetServiceEndpointConnectionsResult]: @@ -156,4 +153,15 @@ def get_service_endpoint_connections_output(resource_group_name: Optional[pulumi :param str resource_group_name: The name of the resource group in which the private link service resides. :param str service_id: The resource ID of the private link service. """ - ... + __args__ = dict() + __args__['resourceGroupName'] = resource_group_name + __args__['serviceId'] = service_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:privatelink/getServiceEndpointConnections:getServiceEndpointConnections', __args__, opts=opts, typ=GetServiceEndpointConnectionsResult) + return __ret__.apply(lambda __response__: GetServiceEndpointConnectionsResult( + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + private_endpoint_connections=pulumi.get(__response__, 'private_endpoint_connections'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + service_id=pulumi.get(__response__, 'service_id'), + service_name=pulumi.get(__response__, 'service_name'))) diff --git a/sdk/python/pulumi_azure/proximity/get_placement_group.py b/sdk/python/pulumi_azure/proximity/get_placement_group.py index 192ad466b2..ed2b602be0 100644 --- a/sdk/python/pulumi_azure/proximity/get_placement_group.py +++ b/sdk/python/pulumi_azure/proximity/get_placement_group.py @@ -118,9 +118,6 @@ def get_placement_group(name: Optional[str] = None, name=pulumi.get(__ret__, 'name'), resource_group_name=pulumi.get(__ret__, 'resource_group_name'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_placement_group) def get_placement_group_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPlacementGroupResult]: @@ -142,4 +139,14 @@ def get_placement_group_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of the Proximity Placement Group. :param str resource_group_name: The name of the resource group in which the Proximity Placement Group exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:proximity/getPlacementGroup:getPlacementGroup', __args__, opts=opts, typ=GetPlacementGroupResult) + return __ret__.apply(lambda __response__: GetPlacementGroupResult( + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_azure/recoveryservices/get_vault.py b/sdk/python/pulumi_azure/recoveryservices/get_vault.py index 5e8566eedf..f0014cab93 100644 --- a/sdk/python/pulumi_azure/recoveryservices/get_vault.py +++ b/sdk/python/pulumi_azure/recoveryservices/get_vault.py @@ -150,9 +150,6 @@ def get_vault(name: Optional[str] = None, resource_group_name=pulumi.get(__ret__, 'resource_group_name'), sku=pulumi.get(__ret__, 'sku'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_vault) def get_vault_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetVaultResult]: @@ -173,4 +170,16 @@ def get_vault_output(name: Optional[pulumi.Input[str]] = None, :param str name: Specifies the name of the Recovery Services Vault. :param str resource_group_name: The name of the resource group in which the Recovery Services Vault resides. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:recoveryservices/getVault:getVault', __args__, opts=opts, typ=GetVaultResult) + return __ret__.apply(lambda __response__: GetVaultResult( + id=pulumi.get(__response__, 'id'), + identities=pulumi.get(__response__, 'identities'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + sku=pulumi.get(__response__, 'sku'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_azure/redis/get_cache.py b/sdk/python/pulumi_azure/redis/get_cache.py index 0c18d71e4f..f85dfe7ea0 100644 --- a/sdk/python/pulumi_azure/redis/get_cache.py +++ b/sdk/python/pulumi_azure/redis/get_cache.py @@ -361,9 +361,6 @@ def get_cache(name: Optional[str] = None, subnet_id=pulumi.get(__ret__, 'subnet_id'), tags=pulumi.get(__ret__, 'tags'), zones=pulumi.get(__ret__, 'zones')) - - -@_utilities.lift_output_func(get_cache) def get_cache_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCacheResult]: @@ -386,4 +383,33 @@ def get_cache_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of the Redis cache :param str resource_group_name: The name of the resource group the Redis cache instance is located in. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:redis/getCache:getCache', __args__, opts=opts, typ=GetCacheResult) + return __ret__.apply(lambda __response__: GetCacheResult( + access_keys_authentication_enabled=pulumi.get(__response__, 'access_keys_authentication_enabled'), + capacity=pulumi.get(__response__, 'capacity'), + family=pulumi.get(__response__, 'family'), + hostname=pulumi.get(__response__, 'hostname'), + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + minimum_tls_version=pulumi.get(__response__, 'minimum_tls_version'), + name=pulumi.get(__response__, 'name'), + non_ssl_port_enabled=pulumi.get(__response__, 'non_ssl_port_enabled'), + patch_schedules=pulumi.get(__response__, 'patch_schedules'), + port=pulumi.get(__response__, 'port'), + primary_access_key=pulumi.get(__response__, 'primary_access_key'), + primary_connection_string=pulumi.get(__response__, 'primary_connection_string'), + private_static_ip_address=pulumi.get(__response__, 'private_static_ip_address'), + redis_configurations=pulumi.get(__response__, 'redis_configurations'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + secondary_access_key=pulumi.get(__response__, 'secondary_access_key'), + secondary_connection_string=pulumi.get(__response__, 'secondary_connection_string'), + shard_count=pulumi.get(__response__, 'shard_count'), + sku_name=pulumi.get(__response__, 'sku_name'), + ssl_port=pulumi.get(__response__, 'ssl_port'), + subnet_id=pulumi.get(__response__, 'subnet_id'), + tags=pulumi.get(__response__, 'tags'), + zones=pulumi.get(__response__, 'zones'))) diff --git a/sdk/python/pulumi_azure/redis/get_enterprise_database.py b/sdk/python/pulumi_azure/redis/get_enterprise_database.py index dbe609faf6..70172dfcca 100644 --- a/sdk/python/pulumi_azure/redis/get_enterprise_database.py +++ b/sdk/python/pulumi_azure/redis/get_enterprise_database.py @@ -145,9 +145,6 @@ def get_enterprise_database(cluster_id: Optional[str] = None, name=pulumi.get(__ret__, 'name'), primary_access_key=pulumi.get(__ret__, 'primary_access_key'), secondary_access_key=pulumi.get(__ret__, 'secondary_access_key')) - - -@_utilities.lift_output_func(get_enterprise_database) def get_enterprise_database_output(cluster_id: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetEnterpriseDatabaseResult]: @@ -158,4 +155,16 @@ def get_enterprise_database_output(cluster_id: Optional[pulumi.Input[str]] = Non :param str cluster_id: The resource ID of Redis Enterprise Cluster which hosts the Redis Enterprise Database instance. :param str name: The name of the Redis Enterprise Database. """ - ... + __args__ = dict() + __args__['clusterId'] = cluster_id + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:redis/getEnterpriseDatabase:getEnterpriseDatabase', __args__, opts=opts, typ=GetEnterpriseDatabaseResult) + return __ret__.apply(lambda __response__: GetEnterpriseDatabaseResult( + cluster_id=pulumi.get(__response__, 'cluster_id'), + id=pulumi.get(__response__, 'id'), + linked_database_group_nickname=pulumi.get(__response__, 'linked_database_group_nickname'), + linked_database_ids=pulumi.get(__response__, 'linked_database_ids'), + name=pulumi.get(__response__, 'name'), + primary_access_key=pulumi.get(__response__, 'primary_access_key'), + secondary_access_key=pulumi.get(__response__, 'secondary_access_key'))) diff --git a/sdk/python/pulumi_azure/role/get_role_definition.py b/sdk/python/pulumi_azure/role/get_role_definition.py index 6da40c38ab..9566d20545 100644 --- a/sdk/python/pulumi_azure/role/get_role_definition.py +++ b/sdk/python/pulumi_azure/role/get_role_definition.py @@ -180,9 +180,6 @@ def get_role_definition(name: Optional[str] = None, role_definition_id=pulumi.get(__ret__, 'role_definition_id'), scope=pulumi.get(__ret__, 'scope'), type=pulumi.get(__ret__, 'type')) - - -@_utilities.lift_output_func(get_role_definition) def get_role_definition_output(name: Optional[pulumi.Input[Optional[str]]] = None, role_definition_id: Optional[pulumi.Input[Optional[str]]] = None, scope: Optional[pulumi.Input[Optional[str]]] = None, @@ -220,4 +217,18 @@ def get_role_definition_output(name: Optional[pulumi.Input[Optional[str]]] = Non > **Note:** One of `name` or `role_definition_id` must be specified. """ pulumi.log.warn("""get_role_definition is deprecated: azure.role.getRoleDefinition has been deprecated in favor of azure.authorization.getRoleDefinition""") - ... + __args__ = dict() + __args__['name'] = name + __args__['roleDefinitionId'] = role_definition_id + __args__['scope'] = scope + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:role/getRoleDefinition:getRoleDefinition', __args__, opts=opts, typ=GetRoleDefinitionResult) + return __ret__.apply(lambda __response__: GetRoleDefinitionResult( + assignable_scopes=pulumi.get(__response__, 'assignable_scopes'), + description=pulumi.get(__response__, 'description'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + permissions=pulumi.get(__response__, 'permissions'), + role_definition_id=pulumi.get(__response__, 'role_definition_id'), + scope=pulumi.get(__response__, 'scope'), + type=pulumi.get(__response__, 'type'))) diff --git a/sdk/python/pulumi_azure/search/get_service.py b/sdk/python/pulumi_azure/search/get_service.py index 827b5cafec..9ca2a0653b 100644 --- a/sdk/python/pulumi_azure/search/get_service.py +++ b/sdk/python/pulumi_azure/search/get_service.py @@ -208,9 +208,6 @@ def get_service(name: Optional[str] = None, resource_group_name=pulumi.get(__ret__, 'resource_group_name'), secondary_key=pulumi.get(__ret__, 'secondary_key'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_service) def get_service_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetServiceResult]: @@ -234,4 +231,20 @@ def get_service_output(name: Optional[pulumi.Input[str]] = None, :param str name: The Name of the Search Service. :param str resource_group_name: The name of the Resource Group where the Search Service exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:search/getService:getService', __args__, opts=opts, typ=GetServiceResult) + return __ret__.apply(lambda __response__: GetServiceResult( + id=pulumi.get(__response__, 'id'), + identities=pulumi.get(__response__, 'identities'), + name=pulumi.get(__response__, 'name'), + partition_count=pulumi.get(__response__, 'partition_count'), + primary_key=pulumi.get(__response__, 'primary_key'), + public_network_access_enabled=pulumi.get(__response__, 'public_network_access_enabled'), + query_keys=pulumi.get(__response__, 'query_keys'), + replica_count=pulumi.get(__response__, 'replica_count'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + secondary_key=pulumi.get(__response__, 'secondary_key'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_azure/sentinel/get_alert_rule.py b/sdk/python/pulumi_azure/sentinel/get_alert_rule.py index 4ff7de7195..005439ca51 100644 --- a/sdk/python/pulumi_azure/sentinel/get_alert_rule.py +++ b/sdk/python/pulumi_azure/sentinel/get_alert_rule.py @@ -100,9 +100,6 @@ def get_alert_rule(log_analytics_workspace_id: Optional[str] = None, id=pulumi.get(__ret__, 'id'), log_analytics_workspace_id=pulumi.get(__ret__, 'log_analytics_workspace_id'), name=pulumi.get(__ret__, 'name')) - - -@_utilities.lift_output_func(get_alert_rule) def get_alert_rule_output(log_analytics_workspace_id: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAlertRuleResult]: @@ -126,4 +123,12 @@ def get_alert_rule_output(log_analytics_workspace_id: Optional[pulumi.Input[str] :param str log_analytics_workspace_id: The ID of the Log Analytics Workspace this Sentinel Alert Rule belongs to. :param str name: The name which should be used for this Sentinel Alert Rule. """ - ... + __args__ = dict() + __args__['logAnalyticsWorkspaceId'] = log_analytics_workspace_id + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:sentinel/getAlertRule:getAlertRule', __args__, opts=opts, typ=GetAlertRuleResult) + return __ret__.apply(lambda __response__: GetAlertRuleResult( + id=pulumi.get(__response__, 'id'), + log_analytics_workspace_id=pulumi.get(__response__, 'log_analytics_workspace_id'), + name=pulumi.get(__response__, 'name'))) diff --git a/sdk/python/pulumi_azure/sentinel/get_alert_rule_anomaly.py b/sdk/python/pulumi_azure/sentinel/get_alert_rule_anomaly.py index d7df84a5b4..2576b59f73 100644 --- a/sdk/python/pulumi_azure/sentinel/get_alert_rule_anomaly.py +++ b/sdk/python/pulumi_azure/sentinel/get_alert_rule_anomaly.py @@ -307,9 +307,6 @@ def get_alert_rule_anomaly(display_name: Optional[str] = None, tactics=pulumi.get(__ret__, 'tactics'), techniques=pulumi.get(__ret__, 'techniques'), threshold_observations=pulumi.get(__ret__, 'threshold_observations')) - - -@_utilities.lift_output_func(get_alert_rule_anomaly) def get_alert_rule_anomaly_output(display_name: Optional[pulumi.Input[Optional[str]]] = None, log_analytics_workspace_id: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[Optional[str]]] = None, @@ -346,4 +343,28 @@ def get_alert_rule_anomaly_output(display_name: Optional[pulumi.Input[Optional[s :param str log_analytics_workspace_id: The ID of the Log Analytics Workspace. :param str name: The guid of this Sentinel Alert Rule Template. Either `display_name` or `name` have to be specified. """ - ... + __args__ = dict() + __args__['displayName'] = display_name + __args__['logAnalyticsWorkspaceId'] = log_analytics_workspace_id + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:sentinel/getAlertRuleAnomaly:getAlertRuleAnomaly', __args__, opts=opts, typ=GetAlertRuleAnomalyResult) + return __ret__.apply(lambda __response__: GetAlertRuleAnomalyResult( + anomaly_settings_version=pulumi.get(__response__, 'anomaly_settings_version'), + anomaly_version=pulumi.get(__response__, 'anomaly_version'), + description=pulumi.get(__response__, 'description'), + display_name=pulumi.get(__response__, 'display_name'), + enabled=pulumi.get(__response__, 'enabled'), + frequency=pulumi.get(__response__, 'frequency'), + id=pulumi.get(__response__, 'id'), + log_analytics_workspace_id=pulumi.get(__response__, 'log_analytics_workspace_id'), + mode=pulumi.get(__response__, 'mode'), + multi_select_observations=pulumi.get(__response__, 'multi_select_observations'), + name=pulumi.get(__response__, 'name'), + prioritized_exclude_observations=pulumi.get(__response__, 'prioritized_exclude_observations'), + required_data_connectors=pulumi.get(__response__, 'required_data_connectors'), + settings_definition_id=pulumi.get(__response__, 'settings_definition_id'), + single_select_observations=pulumi.get(__response__, 'single_select_observations'), + tactics=pulumi.get(__response__, 'tactics'), + techniques=pulumi.get(__response__, 'techniques'), + threshold_observations=pulumi.get(__response__, 'threshold_observations'))) diff --git a/sdk/python/pulumi_azure/sentinel/get_alert_rule_template.py b/sdk/python/pulumi_azure/sentinel/get_alert_rule_template.py index 154442f284..3925e09b14 100644 --- a/sdk/python/pulumi_azure/sentinel/get_alert_rule_template.py +++ b/sdk/python/pulumi_azure/sentinel/get_alert_rule_template.py @@ -153,9 +153,6 @@ def get_alert_rule_template(display_name: Optional[str] = None, nrt_templates=pulumi.get(__ret__, 'nrt_templates'), scheduled_templates=pulumi.get(__ret__, 'scheduled_templates'), security_incident_templates=pulumi.get(__ret__, 'security_incident_templates')) - - -@_utilities.lift_output_func(get_alert_rule_template) def get_alert_rule_template_output(display_name: Optional[pulumi.Input[Optional[str]]] = None, log_analytics_workspace_id: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[Optional[str]]] = None, @@ -181,4 +178,17 @@ def get_alert_rule_template_output(display_name: Optional[pulumi.Input[Optional[ :param str log_analytics_workspace_id: The ID of the Log Analytics Workspace. :param str name: The name of this Sentinel Alert Rule Template. Either `display_name` or `name` have to be specified. """ - ... + __args__ = dict() + __args__['displayName'] = display_name + __args__['logAnalyticsWorkspaceId'] = log_analytics_workspace_id + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:sentinel/getAlertRuleTemplate:getAlertRuleTemplate', __args__, opts=opts, typ=GetAlertRuleTemplateResult) + return __ret__.apply(lambda __response__: GetAlertRuleTemplateResult( + display_name=pulumi.get(__response__, 'display_name'), + id=pulumi.get(__response__, 'id'), + log_analytics_workspace_id=pulumi.get(__response__, 'log_analytics_workspace_id'), + name=pulumi.get(__response__, 'name'), + nrt_templates=pulumi.get(__response__, 'nrt_templates'), + scheduled_templates=pulumi.get(__response__, 'scheduled_templates'), + security_incident_templates=pulumi.get(__response__, 'security_incident_templates'))) diff --git a/sdk/python/pulumi_azure/servicebus/get_namespace.py b/sdk/python/pulumi_azure/servicebus/get_namespace.py index 8cabc89f2e..c2b207bca8 100644 --- a/sdk/python/pulumi_azure/servicebus/get_namespace.py +++ b/sdk/python/pulumi_azure/servicebus/get_namespace.py @@ -230,9 +230,6 @@ def get_namespace(name: Optional[str] = None, resource_group_name=pulumi.get(__ret__, 'resource_group_name'), sku=pulumi.get(__ret__, 'sku'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_namespace) def get_namespace_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetNamespaceResult]: @@ -254,4 +251,22 @@ def get_namespace_output(name: Optional[pulumi.Input[str]] = None, :param str name: Specifies the name of the ServiceBus Namespace. :param str resource_group_name: Specifies the name of the Resource Group where the ServiceBus Namespace exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:servicebus/getNamespace:getNamespace', __args__, opts=opts, typ=GetNamespaceResult) + return __ret__.apply(lambda __response__: GetNamespaceResult( + capacity=pulumi.get(__response__, 'capacity'), + default_primary_connection_string=pulumi.get(__response__, 'default_primary_connection_string'), + default_primary_key=pulumi.get(__response__, 'default_primary_key'), + default_secondary_connection_string=pulumi.get(__response__, 'default_secondary_connection_string'), + default_secondary_key=pulumi.get(__response__, 'default_secondary_key'), + endpoint=pulumi.get(__response__, 'endpoint'), + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + premium_messaging_partitions=pulumi.get(__response__, 'premium_messaging_partitions'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + sku=pulumi.get(__response__, 'sku'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_azure/servicebus/get_namespace_authorization_rule.py b/sdk/python/pulumi_azure/servicebus/get_namespace_authorization_rule.py index 4a1db8a3e7..d471a44c9c 100644 --- a/sdk/python/pulumi_azure/servicebus/get_namespace_authorization_rule.py +++ b/sdk/python/pulumi_azure/servicebus/get_namespace_authorization_rule.py @@ -202,9 +202,6 @@ def get_namespace_authorization_rule(name: Optional[str] = None, secondary_connection_string=pulumi.get(__ret__, 'secondary_connection_string'), secondary_connection_string_alias=pulumi.get(__ret__, 'secondary_connection_string_alias'), secondary_key=pulumi.get(__ret__, 'secondary_key')) - - -@_utilities.lift_output_func(get_namespace_authorization_rule) def get_namespace_authorization_rule_output(name: Optional[pulumi.Input[str]] = None, namespace_id: Optional[pulumi.Input[Optional[str]]] = None, namespace_name: Optional[pulumi.Input[Optional[str]]] = None, @@ -228,4 +225,22 @@ def get_namespace_authorization_rule_output(name: Optional[pulumi.Input[str]] = :param str name: Specifies the name of the ServiceBus Namespace Authorization Rule. :param str namespace_id: Specifies the ID of the ServiceBus Namespace where the Service Bus Namespace Authorization Rule exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['namespaceId'] = namespace_id + __args__['namespaceName'] = namespace_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:servicebus/getNamespaceAuthorizationRule:getNamespaceAuthorizationRule', __args__, opts=opts, typ=GetNamespaceAuthorizationRuleResult) + return __ret__.apply(lambda __response__: GetNamespaceAuthorizationRuleResult( + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + namespace_id=pulumi.get(__response__, 'namespace_id'), + namespace_name=pulumi.get(__response__, 'namespace_name'), + primary_connection_string=pulumi.get(__response__, 'primary_connection_string'), + primary_connection_string_alias=pulumi.get(__response__, 'primary_connection_string_alias'), + primary_key=pulumi.get(__response__, 'primary_key'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + secondary_connection_string=pulumi.get(__response__, 'secondary_connection_string'), + secondary_connection_string_alias=pulumi.get(__response__, 'secondary_connection_string_alias'), + secondary_key=pulumi.get(__response__, 'secondary_key'))) diff --git a/sdk/python/pulumi_azure/servicebus/get_namespace_disaster_recovery_config.py b/sdk/python/pulumi_azure/servicebus/get_namespace_disaster_recovery_config.py index 66ed5fb0fd..dc239fe49a 100644 --- a/sdk/python/pulumi_azure/servicebus/get_namespace_disaster_recovery_config.py +++ b/sdk/python/pulumi_azure/servicebus/get_namespace_disaster_recovery_config.py @@ -171,9 +171,6 @@ def get_namespace_disaster_recovery_config(alias_authorization_rule_id: Optional primary_connection_string_alias=pulumi.get(__ret__, 'primary_connection_string_alias'), resource_group_name=pulumi.get(__ret__, 'resource_group_name'), secondary_connection_string_alias=pulumi.get(__ret__, 'secondary_connection_string_alias')) - - -@_utilities.lift_output_func(get_namespace_disaster_recovery_config) def get_namespace_disaster_recovery_config_output(alias_authorization_rule_id: Optional[pulumi.Input[Optional[str]]] = None, name: Optional[pulumi.Input[str]] = None, namespace_id: Optional[pulumi.Input[Optional[str]]] = None, @@ -183,4 +180,23 @@ def get_namespace_disaster_recovery_config_output(alias_authorization_rule_id: O """ Use this data source to access information about an existing resource. """ - ... + __args__ = dict() + __args__['aliasAuthorizationRuleId'] = alias_authorization_rule_id + __args__['name'] = name + __args__['namespaceId'] = namespace_id + __args__['namespaceName'] = namespace_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:servicebus/getNamespaceDisasterRecoveryConfig:getNamespaceDisasterRecoveryConfig', __args__, opts=opts, typ=GetNamespaceDisasterRecoveryConfigResult) + return __ret__.apply(lambda __response__: GetNamespaceDisasterRecoveryConfigResult( + alias_authorization_rule_id=pulumi.get(__response__, 'alias_authorization_rule_id'), + default_primary_key=pulumi.get(__response__, 'default_primary_key'), + default_secondary_key=pulumi.get(__response__, 'default_secondary_key'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + namespace_id=pulumi.get(__response__, 'namespace_id'), + namespace_name=pulumi.get(__response__, 'namespace_name'), + partner_namespace_id=pulumi.get(__response__, 'partner_namespace_id'), + primary_connection_string_alias=pulumi.get(__response__, 'primary_connection_string_alias'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + secondary_connection_string_alias=pulumi.get(__response__, 'secondary_connection_string_alias'))) diff --git a/sdk/python/pulumi_azure/servicebus/get_queue.py b/sdk/python/pulumi_azure/servicebus/get_queue.py index 167fadf8ef..a71b32c9b1 100644 --- a/sdk/python/pulumi_azure/servicebus/get_queue.py +++ b/sdk/python/pulumi_azure/servicebus/get_queue.py @@ -319,9 +319,6 @@ def get_queue(name: Optional[str] = None, requires_session=pulumi.get(__ret__, 'requires_session'), resource_group_name=pulumi.get(__ret__, 'resource_group_name'), status=pulumi.get(__ret__, 'status')) - - -@_utilities.lift_output_func(get_queue) def get_queue_output(name: Optional[pulumi.Input[str]] = None, namespace_id: Optional[pulumi.Input[Optional[str]]] = None, namespace_name: Optional[pulumi.Input[Optional[str]]] = None, @@ -345,4 +342,31 @@ def get_queue_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of this Service Bus Queue. :param str namespace_id: The ID of the ServiceBus Namespace where the Service Bus Queue exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['namespaceId'] = namespace_id + __args__['namespaceName'] = namespace_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:servicebus/getQueue:getQueue', __args__, opts=opts, typ=GetQueueResult) + return __ret__.apply(lambda __response__: GetQueueResult( + auto_delete_on_idle=pulumi.get(__response__, 'auto_delete_on_idle'), + dead_lettering_on_message_expiration=pulumi.get(__response__, 'dead_lettering_on_message_expiration'), + default_message_ttl=pulumi.get(__response__, 'default_message_ttl'), + duplicate_detection_history_time_window=pulumi.get(__response__, 'duplicate_detection_history_time_window'), + enable_batched_operations=pulumi.get(__response__, 'enable_batched_operations'), + enable_express=pulumi.get(__response__, 'enable_express'), + enable_partitioning=pulumi.get(__response__, 'enable_partitioning'), + forward_dead_lettered_messages_to=pulumi.get(__response__, 'forward_dead_lettered_messages_to'), + forward_to=pulumi.get(__response__, 'forward_to'), + id=pulumi.get(__response__, 'id'), + lock_duration=pulumi.get(__response__, 'lock_duration'), + max_delivery_count=pulumi.get(__response__, 'max_delivery_count'), + max_size_in_megabytes=pulumi.get(__response__, 'max_size_in_megabytes'), + name=pulumi.get(__response__, 'name'), + namespace_id=pulumi.get(__response__, 'namespace_id'), + namespace_name=pulumi.get(__response__, 'namespace_name'), + requires_duplicate_detection=pulumi.get(__response__, 'requires_duplicate_detection'), + requires_session=pulumi.get(__response__, 'requires_session'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + status=pulumi.get(__response__, 'status'))) diff --git a/sdk/python/pulumi_azure/servicebus/get_queue_authorization_rule.py b/sdk/python/pulumi_azure/servicebus/get_queue_authorization_rule.py index 778dc17a0d..b8cf1c1aa1 100644 --- a/sdk/python/pulumi_azure/servicebus/get_queue_authorization_rule.py +++ b/sdk/python/pulumi_azure/servicebus/get_queue_authorization_rule.py @@ -246,9 +246,6 @@ def get_queue_authorization_rule(name: Optional[str] = None, secondary_connection_string_alias=pulumi.get(__ret__, 'secondary_connection_string_alias'), secondary_key=pulumi.get(__ret__, 'secondary_key'), send=pulumi.get(__ret__, 'send')) - - -@_utilities.lift_output_func(get_queue_authorization_rule) def get_queue_authorization_rule_output(name: Optional[pulumi.Input[str]] = None, namespace_name: Optional[pulumi.Input[Optional[str]]] = None, queue_id: Optional[pulumi.Input[Optional[str]]] = None, @@ -277,4 +274,27 @@ def get_queue_authorization_rule_output(name: Optional[pulumi.Input[str]] = None :param str queue_name: The name of the ServiceBus Queue. :param str resource_group_name: The name of the Resource Group where the ServiceBus Queue Authorisation Rule exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['namespaceName'] = namespace_name + __args__['queueId'] = queue_id + __args__['queueName'] = queue_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:servicebus/getQueueAuthorizationRule:getQueueAuthorizationRule', __args__, opts=opts, typ=GetQueueAuthorizationRuleResult) + return __ret__.apply(lambda __response__: GetQueueAuthorizationRuleResult( + id=pulumi.get(__response__, 'id'), + listen=pulumi.get(__response__, 'listen'), + manage=pulumi.get(__response__, 'manage'), + name=pulumi.get(__response__, 'name'), + namespace_name=pulumi.get(__response__, 'namespace_name'), + primary_connection_string=pulumi.get(__response__, 'primary_connection_string'), + primary_connection_string_alias=pulumi.get(__response__, 'primary_connection_string_alias'), + primary_key=pulumi.get(__response__, 'primary_key'), + queue_id=pulumi.get(__response__, 'queue_id'), + queue_name=pulumi.get(__response__, 'queue_name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + secondary_connection_string=pulumi.get(__response__, 'secondary_connection_string'), + secondary_connection_string_alias=pulumi.get(__response__, 'secondary_connection_string_alias'), + secondary_key=pulumi.get(__response__, 'secondary_key'), + send=pulumi.get(__response__, 'send'))) diff --git a/sdk/python/pulumi_azure/servicebus/get_subscription.py b/sdk/python/pulumi_azure/servicebus/get_subscription.py index 8e3a39b1f1..2eb1ca87fd 100644 --- a/sdk/python/pulumi_azure/servicebus/get_subscription.py +++ b/sdk/python/pulumi_azure/servicebus/get_subscription.py @@ -267,9 +267,6 @@ def get_subscription(name: Optional[str] = None, resource_group_name=pulumi.get(__ret__, 'resource_group_name'), topic_id=pulumi.get(__ret__, 'topic_id'), topic_name=pulumi.get(__ret__, 'topic_name')) - - -@_utilities.lift_output_func(get_subscription) def get_subscription_output(name: Optional[pulumi.Input[str]] = None, namespace_name: Optional[pulumi.Input[Optional[str]]] = None, resource_group_name: Optional[pulumi.Input[Optional[str]]] = None, @@ -294,4 +291,28 @@ def get_subscription_output(name: Optional[pulumi.Input[str]] = None, :param str name: Specifies the name of the ServiceBus Subscription. :param str topic_id: The ID of the ServiceBus Topic where the Service Bus Subscription exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['namespaceName'] = namespace_name + __args__['resourceGroupName'] = resource_group_name + __args__['topicId'] = topic_id + __args__['topicName'] = topic_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:servicebus/getSubscription:getSubscription', __args__, opts=opts, typ=GetSubscriptionResult) + return __ret__.apply(lambda __response__: GetSubscriptionResult( + auto_delete_on_idle=pulumi.get(__response__, 'auto_delete_on_idle'), + dead_lettering_on_filter_evaluation_error=pulumi.get(__response__, 'dead_lettering_on_filter_evaluation_error'), + dead_lettering_on_message_expiration=pulumi.get(__response__, 'dead_lettering_on_message_expiration'), + default_message_ttl=pulumi.get(__response__, 'default_message_ttl'), + enable_batched_operations=pulumi.get(__response__, 'enable_batched_operations'), + forward_dead_lettered_messages_to=pulumi.get(__response__, 'forward_dead_lettered_messages_to'), + forward_to=pulumi.get(__response__, 'forward_to'), + id=pulumi.get(__response__, 'id'), + lock_duration=pulumi.get(__response__, 'lock_duration'), + max_delivery_count=pulumi.get(__response__, 'max_delivery_count'), + name=pulumi.get(__response__, 'name'), + namespace_name=pulumi.get(__response__, 'namespace_name'), + requires_session=pulumi.get(__response__, 'requires_session'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + topic_id=pulumi.get(__response__, 'topic_id'), + topic_name=pulumi.get(__response__, 'topic_name'))) diff --git a/sdk/python/pulumi_azure/servicebus/get_topic.py b/sdk/python/pulumi_azure/servicebus/get_topic.py index d54f83c012..f780802731 100644 --- a/sdk/python/pulumi_azure/servicebus/get_topic.py +++ b/sdk/python/pulumi_azure/servicebus/get_topic.py @@ -254,9 +254,6 @@ def get_topic(name: Optional[str] = None, resource_group_name=pulumi.get(__ret__, 'resource_group_name'), status=pulumi.get(__ret__, 'status'), support_ordering=pulumi.get(__ret__, 'support_ordering')) - - -@_utilities.lift_output_func(get_topic) def get_topic_output(name: Optional[pulumi.Input[str]] = None, namespace_id: Optional[pulumi.Input[Optional[str]]] = None, namespace_name: Optional[pulumi.Input[Optional[str]]] = None, @@ -280,4 +277,26 @@ def get_topic_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of this Service Bus Topic. :param str namespace_id: The ID of the ServiceBus Namespace where the Service Bus Topic exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['namespaceId'] = namespace_id + __args__['namespaceName'] = namespace_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:servicebus/getTopic:getTopic', __args__, opts=opts, typ=GetTopicResult) + return __ret__.apply(lambda __response__: GetTopicResult( + auto_delete_on_idle=pulumi.get(__response__, 'auto_delete_on_idle'), + default_message_ttl=pulumi.get(__response__, 'default_message_ttl'), + duplicate_detection_history_time_window=pulumi.get(__response__, 'duplicate_detection_history_time_window'), + enable_batched_operations=pulumi.get(__response__, 'enable_batched_operations'), + enable_express=pulumi.get(__response__, 'enable_express'), + enable_partitioning=pulumi.get(__response__, 'enable_partitioning'), + id=pulumi.get(__response__, 'id'), + max_size_in_megabytes=pulumi.get(__response__, 'max_size_in_megabytes'), + name=pulumi.get(__response__, 'name'), + namespace_id=pulumi.get(__response__, 'namespace_id'), + namespace_name=pulumi.get(__response__, 'namespace_name'), + requires_duplicate_detection=pulumi.get(__response__, 'requires_duplicate_detection'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + status=pulumi.get(__response__, 'status'), + support_ordering=pulumi.get(__response__, 'support_ordering'))) diff --git a/sdk/python/pulumi_azure/servicebus/get_topic_authorization_rule.py b/sdk/python/pulumi_azure/servicebus/get_topic_authorization_rule.py index 8519e094ea..960465d525 100644 --- a/sdk/python/pulumi_azure/servicebus/get_topic_authorization_rule.py +++ b/sdk/python/pulumi_azure/servicebus/get_topic_authorization_rule.py @@ -258,9 +258,6 @@ def get_topic_authorization_rule(name: Optional[str] = None, send=pulumi.get(__ret__, 'send'), topic_id=pulumi.get(__ret__, 'topic_id'), topic_name=pulumi.get(__ret__, 'topic_name')) - - -@_utilities.lift_output_func(get_topic_authorization_rule) def get_topic_authorization_rule_output(name: Optional[pulumi.Input[str]] = None, namespace_name: Optional[pulumi.Input[Optional[str]]] = None, queue_name: Optional[pulumi.Input[Optional[str]]] = None, @@ -290,4 +287,29 @@ def get_topic_authorization_rule_output(name: Optional[pulumi.Input[str]] = None :param str resource_group_name: The name of the resource group in which the ServiceBus Namespace exists. :param str topic_name: The name of the ServiceBus Topic. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['namespaceName'] = namespace_name + __args__['queueName'] = queue_name + __args__['resourceGroupName'] = resource_group_name + __args__['topicId'] = topic_id + __args__['topicName'] = topic_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:servicebus/getTopicAuthorizationRule:getTopicAuthorizationRule', __args__, opts=opts, typ=GetTopicAuthorizationRuleResult) + return __ret__.apply(lambda __response__: GetTopicAuthorizationRuleResult( + id=pulumi.get(__response__, 'id'), + listen=pulumi.get(__response__, 'listen'), + manage=pulumi.get(__response__, 'manage'), + name=pulumi.get(__response__, 'name'), + namespace_name=pulumi.get(__response__, 'namespace_name'), + primary_connection_string=pulumi.get(__response__, 'primary_connection_string'), + primary_connection_string_alias=pulumi.get(__response__, 'primary_connection_string_alias'), + primary_key=pulumi.get(__response__, 'primary_key'), + queue_name=pulumi.get(__response__, 'queue_name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + secondary_connection_string=pulumi.get(__response__, 'secondary_connection_string'), + secondary_connection_string_alias=pulumi.get(__response__, 'secondary_connection_string_alias'), + secondary_key=pulumi.get(__response__, 'secondary_key'), + send=pulumi.get(__response__, 'send'), + topic_id=pulumi.get(__response__, 'topic_id'), + topic_name=pulumi.get(__response__, 'topic_name'))) diff --git a/sdk/python/pulumi_azure/signalr/get_service.py b/sdk/python/pulumi_azure/signalr/get_service.py index 5a19bc6b8b..6363916cf2 100644 --- a/sdk/python/pulumi_azure/signalr/get_service.py +++ b/sdk/python/pulumi_azure/signalr/get_service.py @@ -289,9 +289,6 @@ def get_service(name: Optional[str] = None, serverless_connection_timeout_in_seconds=pulumi.get(__ret__, 'serverless_connection_timeout_in_seconds'), tags=pulumi.get(__ret__, 'tags'), tls_client_cert_enabled=pulumi.get(__ret__, 'tls_client_cert_enabled')) - - -@_utilities.lift_output_func(get_service) def get_service_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetServiceResult]: @@ -312,4 +309,27 @@ def get_service_output(name: Optional[pulumi.Input[str]] = None, :param str name: Specifies the name of the SignalR service. :param str resource_group_name: Specifies the name of the resource group the SignalR service is located in. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:signalr/getService:getService', __args__, opts=opts, typ=GetServiceResult) + return __ret__.apply(lambda __response__: GetServiceResult( + aad_auth_enabled=pulumi.get(__response__, 'aad_auth_enabled'), + hostname=pulumi.get(__response__, 'hostname'), + id=pulumi.get(__response__, 'id'), + ip_address=pulumi.get(__response__, 'ip_address'), + local_auth_enabled=pulumi.get(__response__, 'local_auth_enabled'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + primary_access_key=pulumi.get(__response__, 'primary_access_key'), + primary_connection_string=pulumi.get(__response__, 'primary_connection_string'), + public_network_access_enabled=pulumi.get(__response__, 'public_network_access_enabled'), + public_port=pulumi.get(__response__, 'public_port'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + secondary_access_key=pulumi.get(__response__, 'secondary_access_key'), + secondary_connection_string=pulumi.get(__response__, 'secondary_connection_string'), + server_port=pulumi.get(__response__, 'server_port'), + serverless_connection_timeout_in_seconds=pulumi.get(__response__, 'serverless_connection_timeout_in_seconds'), + tags=pulumi.get(__response__, 'tags'), + tls_client_cert_enabled=pulumi.get(__response__, 'tls_client_cert_enabled'))) diff --git a/sdk/python/pulumi_azure/siterecovery/get_fabric.py b/sdk/python/pulumi_azure/siterecovery/get_fabric.py index 4b865b915a..3c90b0dade 100644 --- a/sdk/python/pulumi_azure/siterecovery/get_fabric.py +++ b/sdk/python/pulumi_azure/siterecovery/get_fabric.py @@ -124,9 +124,6 @@ def get_fabric(name: Optional[str] = None, name=pulumi.get(__ret__, 'name'), recovery_vault_name=pulumi.get(__ret__, 'recovery_vault_name'), resource_group_name=pulumi.get(__ret__, 'resource_group_name')) - - -@_utilities.lift_output_func(get_fabric) def get_fabric_output(name: Optional[pulumi.Input[str]] = None, recovery_vault_name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, @@ -150,4 +147,15 @@ def get_fabric_output(name: Optional[pulumi.Input[str]] = None, :param str recovery_vault_name: The name of the Recovery Services Vault that the Site Recovery Replication Fabric is associated witth. :param str resource_group_name: The name of the resource group in which the associated Recovery Services Vault resides. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['recoveryVaultName'] = recovery_vault_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:siterecovery/getFabric:getFabric', __args__, opts=opts, typ=GetFabricResult) + return __ret__.apply(lambda __response__: GetFabricResult( + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + recovery_vault_name=pulumi.get(__response__, 'recovery_vault_name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'))) diff --git a/sdk/python/pulumi_azure/siterecovery/get_protection_container.py b/sdk/python/pulumi_azure/siterecovery/get_protection_container.py index 844ad4cedd..f4ba801c6d 100644 --- a/sdk/python/pulumi_azure/siterecovery/get_protection_container.py +++ b/sdk/python/pulumi_azure/siterecovery/get_protection_container.py @@ -125,9 +125,6 @@ def get_protection_container(name: Optional[str] = None, recovery_fabric_name=pulumi.get(__ret__, 'recovery_fabric_name'), recovery_vault_name=pulumi.get(__ret__, 'recovery_vault_name'), resource_group_name=pulumi.get(__ret__, 'resource_group_name')) - - -@_utilities.lift_output_func(get_protection_container) def get_protection_container_output(name: Optional[pulumi.Input[str]] = None, recovery_fabric_name: Optional[pulumi.Input[str]] = None, recovery_vault_name: Optional[pulumi.Input[str]] = None, @@ -154,4 +151,16 @@ def get_protection_container_output(name: Optional[pulumi.Input[str]] = None, :param str recovery_vault_name: The name of the Recovery Services Vault that the protection container is associated witth. :param str resource_group_name: The name of the resource group in which the associated protection container resides. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['recoveryFabricName'] = recovery_fabric_name + __args__['recoveryVaultName'] = recovery_vault_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:siterecovery/getProtectionContainer:getProtectionContainer', __args__, opts=opts, typ=GetProtectionContainerResult) + return __ret__.apply(lambda __response__: GetProtectionContainerResult( + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + recovery_fabric_name=pulumi.get(__response__, 'recovery_fabric_name'), + recovery_vault_name=pulumi.get(__response__, 'recovery_vault_name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'))) diff --git a/sdk/python/pulumi_azure/siterecovery/get_replication_policy.py b/sdk/python/pulumi_azure/siterecovery/get_replication_policy.py index 9ef7bfb23a..4324e5b2a3 100644 --- a/sdk/python/pulumi_azure/siterecovery/get_replication_policy.py +++ b/sdk/python/pulumi_azure/siterecovery/get_replication_policy.py @@ -137,9 +137,6 @@ def get_replication_policy(name: Optional[str] = None, recovery_point_retention_in_minutes=pulumi.get(__ret__, 'recovery_point_retention_in_minutes'), recovery_vault_name=pulumi.get(__ret__, 'recovery_vault_name'), resource_group_name=pulumi.get(__ret__, 'resource_group_name')) - - -@_utilities.lift_output_func(get_replication_policy) def get_replication_policy_output(name: Optional[pulumi.Input[str]] = None, recovery_vault_name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, @@ -163,4 +160,16 @@ def get_replication_policy_output(name: Optional[pulumi.Input[str]] = None, :param str recovery_vault_name: The name of the Recovery Services Vault that the Azure Site Recovery replication policy is associated witth. :param str resource_group_name: The name of the resource group in which the associated Azure Site Recovery replication policy resides. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['recoveryVaultName'] = recovery_vault_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:siterecovery/getReplicationPolicy:getReplicationPolicy', __args__, opts=opts, typ=GetReplicationPolicyResult) + return __ret__.apply(lambda __response__: GetReplicationPolicyResult( + application_consistent_snapshot_frequency_in_minutes=pulumi.get(__response__, 'application_consistent_snapshot_frequency_in_minutes'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + recovery_point_retention_in_minutes=pulumi.get(__response__, 'recovery_point_retention_in_minutes'), + recovery_vault_name=pulumi.get(__response__, 'recovery_vault_name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'))) diff --git a/sdk/python/pulumi_azure/siterecovery/get_replication_recovery_plan.py b/sdk/python/pulumi_azure/siterecovery/get_replication_recovery_plan.py index 96a74911f7..2d1ed0ac9a 100644 --- a/sdk/python/pulumi_azure/siterecovery/get_replication_recovery_plan.py +++ b/sdk/python/pulumi_azure/siterecovery/get_replication_recovery_plan.py @@ -162,9 +162,6 @@ def get_replication_recovery_plan(name: Optional[str] = None, recovery_vault_id=pulumi.get(__ret__, 'recovery_vault_id'), source_recovery_fabric_id=pulumi.get(__ret__, 'source_recovery_fabric_id'), target_recovery_fabric_id=pulumi.get(__ret__, 'target_recovery_fabric_id')) - - -@_utilities.lift_output_func(get_replication_recovery_plan) def get_replication_recovery_plan_output(name: Optional[pulumi.Input[str]] = None, recovery_vault_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetReplicationRecoveryPlanResult]: @@ -187,4 +184,17 @@ def get_replication_recovery_plan_output(name: Optional[pulumi.Input[str]] = Non :param str name: The name of the Replication Plan. :param str recovery_vault_id: The ID of the vault that should be updated. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['recoveryVaultId'] = recovery_vault_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:siterecovery/getReplicationRecoveryPlan:getReplicationRecoveryPlan', __args__, opts=opts, typ=GetReplicationRecoveryPlanResult) + return __ret__.apply(lambda __response__: GetReplicationRecoveryPlanResult( + azure_to_azure_settings=pulumi.get(__response__, 'azure_to_azure_settings'), + failover_deployment_model=pulumi.get(__response__, 'failover_deployment_model'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + recovery_groups=pulumi.get(__response__, 'recovery_groups'), + recovery_vault_id=pulumi.get(__response__, 'recovery_vault_id'), + source_recovery_fabric_id=pulumi.get(__response__, 'source_recovery_fabric_id'), + target_recovery_fabric_id=pulumi.get(__response__, 'target_recovery_fabric_id'))) diff --git a/sdk/python/pulumi_azure/stack/get_hci_cluster.py b/sdk/python/pulumi_azure/stack/get_hci_cluster.py index 46b288f455..bb1397498b 100644 --- a/sdk/python/pulumi_azure/stack/get_hci_cluster.py +++ b/sdk/python/pulumi_azure/stack/get_hci_cluster.py @@ -218,9 +218,6 @@ def get_hci_cluster(name: Optional[str] = None, service_endpoint=pulumi.get(__ret__, 'service_endpoint'), tags=pulumi.get(__ret__, 'tags'), tenant_id=pulumi.get(__ret__, 'tenant_id')) - - -@_utilities.lift_output_func(get_hci_cluster) def get_hci_cluster_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetHciClusterResult]: @@ -244,4 +241,21 @@ def get_hci_cluster_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of the Azure Stack HCI Cluster. :param str resource_group_name: The name of the Resource Group where the Azure Stack HCI Cluster exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:stack/getHciCluster:getHciCluster', __args__, opts=opts, typ=GetHciClusterResult) + return __ret__.apply(lambda __response__: GetHciClusterResult( + automanage_configuration_id=pulumi.get(__response__, 'automanage_configuration_id'), + client_id=pulumi.get(__response__, 'client_id'), + cloud_id=pulumi.get(__response__, 'cloud_id'), + id=pulumi.get(__response__, 'id'), + identities=pulumi.get(__response__, 'identities'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + resource_provider_object_id=pulumi.get(__response__, 'resource_provider_object_id'), + service_endpoint=pulumi.get(__response__, 'service_endpoint'), + tags=pulumi.get(__response__, 'tags'), + tenant_id=pulumi.get(__response__, 'tenant_id'))) diff --git a/sdk/python/pulumi_azure/storage/get_account.py b/sdk/python/pulumi_azure/storage/get_account.py index ab9d640da3..fc05b31771 100644 --- a/sdk/python/pulumi_azure/storage/get_account.py +++ b/sdk/python/pulumi_azure/storage/get_account.py @@ -1276,9 +1276,6 @@ def get_account(min_tls_version: Optional[str] = None, secondary_web_microsoft_host=pulumi.get(__ret__, 'secondary_web_microsoft_host'), table_encryption_key_type=pulumi.get(__ret__, 'table_encryption_key_type'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_account) def get_account_output(min_tls_version: Optional[pulumi.Input[Optional[str]]] = None, name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[Optional[str]]] = None, @@ -1302,4 +1299,103 @@ def get_account_output(min_tls_version: Optional[pulumi.Input[Optional[str]]] = :param str name: Specifies the name of the Storage Account :param str resource_group_name: Specifies the name of the resource group the Storage Account is located in. """ - ... + __args__ = dict() + __args__['minTlsVersion'] = min_tls_version + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:storage/getAccount:getAccount', __args__, opts=opts, typ=GetAccountResult) + return __ret__.apply(lambda __response__: GetAccountResult( + access_tier=pulumi.get(__response__, 'access_tier'), + account_kind=pulumi.get(__response__, 'account_kind'), + account_replication_type=pulumi.get(__response__, 'account_replication_type'), + account_tier=pulumi.get(__response__, 'account_tier'), + allow_nested_items_to_be_public=pulumi.get(__response__, 'allow_nested_items_to_be_public'), + azure_files_authentications=pulumi.get(__response__, 'azure_files_authentications'), + custom_domains=pulumi.get(__response__, 'custom_domains'), + dns_endpoint_type=pulumi.get(__response__, 'dns_endpoint_type'), + https_traffic_only_enabled=pulumi.get(__response__, 'https_traffic_only_enabled'), + id=pulumi.get(__response__, 'id'), + identities=pulumi.get(__response__, 'identities'), + infrastructure_encryption_enabled=pulumi.get(__response__, 'infrastructure_encryption_enabled'), + is_hns_enabled=pulumi.get(__response__, 'is_hns_enabled'), + location=pulumi.get(__response__, 'location'), + min_tls_version=pulumi.get(__response__, 'min_tls_version'), + name=pulumi.get(__response__, 'name'), + nfsv3_enabled=pulumi.get(__response__, 'nfsv3_enabled'), + primary_access_key=pulumi.get(__response__, 'primary_access_key'), + primary_blob_connection_string=pulumi.get(__response__, 'primary_blob_connection_string'), + primary_blob_endpoint=pulumi.get(__response__, 'primary_blob_endpoint'), + primary_blob_host=pulumi.get(__response__, 'primary_blob_host'), + primary_blob_internet_endpoint=pulumi.get(__response__, 'primary_blob_internet_endpoint'), + primary_blob_internet_host=pulumi.get(__response__, 'primary_blob_internet_host'), + primary_blob_microsoft_endpoint=pulumi.get(__response__, 'primary_blob_microsoft_endpoint'), + primary_blob_microsoft_host=pulumi.get(__response__, 'primary_blob_microsoft_host'), + primary_connection_string=pulumi.get(__response__, 'primary_connection_string'), + primary_dfs_endpoint=pulumi.get(__response__, 'primary_dfs_endpoint'), + primary_dfs_host=pulumi.get(__response__, 'primary_dfs_host'), + primary_dfs_internet_endpoint=pulumi.get(__response__, 'primary_dfs_internet_endpoint'), + primary_dfs_internet_host=pulumi.get(__response__, 'primary_dfs_internet_host'), + primary_dfs_microsoft_endpoint=pulumi.get(__response__, 'primary_dfs_microsoft_endpoint'), + primary_dfs_microsoft_host=pulumi.get(__response__, 'primary_dfs_microsoft_host'), + primary_file_endpoint=pulumi.get(__response__, 'primary_file_endpoint'), + primary_file_host=pulumi.get(__response__, 'primary_file_host'), + primary_file_internet_endpoint=pulumi.get(__response__, 'primary_file_internet_endpoint'), + primary_file_internet_host=pulumi.get(__response__, 'primary_file_internet_host'), + primary_file_microsoft_endpoint=pulumi.get(__response__, 'primary_file_microsoft_endpoint'), + primary_file_microsoft_host=pulumi.get(__response__, 'primary_file_microsoft_host'), + primary_location=pulumi.get(__response__, 'primary_location'), + primary_queue_endpoint=pulumi.get(__response__, 'primary_queue_endpoint'), + primary_queue_host=pulumi.get(__response__, 'primary_queue_host'), + primary_queue_microsoft_endpoint=pulumi.get(__response__, 'primary_queue_microsoft_endpoint'), + primary_queue_microsoft_host=pulumi.get(__response__, 'primary_queue_microsoft_host'), + primary_table_endpoint=pulumi.get(__response__, 'primary_table_endpoint'), + primary_table_host=pulumi.get(__response__, 'primary_table_host'), + primary_table_microsoft_endpoint=pulumi.get(__response__, 'primary_table_microsoft_endpoint'), + primary_table_microsoft_host=pulumi.get(__response__, 'primary_table_microsoft_host'), + primary_web_endpoint=pulumi.get(__response__, 'primary_web_endpoint'), + primary_web_host=pulumi.get(__response__, 'primary_web_host'), + primary_web_internet_endpoint=pulumi.get(__response__, 'primary_web_internet_endpoint'), + primary_web_internet_host=pulumi.get(__response__, 'primary_web_internet_host'), + primary_web_microsoft_endpoint=pulumi.get(__response__, 'primary_web_microsoft_endpoint'), + primary_web_microsoft_host=pulumi.get(__response__, 'primary_web_microsoft_host'), + queue_encryption_key_type=pulumi.get(__response__, 'queue_encryption_key_type'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + secondary_access_key=pulumi.get(__response__, 'secondary_access_key'), + secondary_blob_connection_string=pulumi.get(__response__, 'secondary_blob_connection_string'), + secondary_blob_endpoint=pulumi.get(__response__, 'secondary_blob_endpoint'), + secondary_blob_host=pulumi.get(__response__, 'secondary_blob_host'), + secondary_blob_internet_endpoint=pulumi.get(__response__, 'secondary_blob_internet_endpoint'), + secondary_blob_internet_host=pulumi.get(__response__, 'secondary_blob_internet_host'), + secondary_blob_microsoft_endpoint=pulumi.get(__response__, 'secondary_blob_microsoft_endpoint'), + secondary_blob_microsoft_host=pulumi.get(__response__, 'secondary_blob_microsoft_host'), + secondary_connection_string=pulumi.get(__response__, 'secondary_connection_string'), + secondary_dfs_endpoint=pulumi.get(__response__, 'secondary_dfs_endpoint'), + secondary_dfs_host=pulumi.get(__response__, 'secondary_dfs_host'), + secondary_dfs_internet_endpoint=pulumi.get(__response__, 'secondary_dfs_internet_endpoint'), + secondary_dfs_internet_host=pulumi.get(__response__, 'secondary_dfs_internet_host'), + secondary_dfs_microsoft_endpoint=pulumi.get(__response__, 'secondary_dfs_microsoft_endpoint'), + secondary_dfs_microsoft_host=pulumi.get(__response__, 'secondary_dfs_microsoft_host'), + secondary_file_endpoint=pulumi.get(__response__, 'secondary_file_endpoint'), + secondary_file_host=pulumi.get(__response__, 'secondary_file_host'), + secondary_file_internet_endpoint=pulumi.get(__response__, 'secondary_file_internet_endpoint'), + secondary_file_internet_host=pulumi.get(__response__, 'secondary_file_internet_host'), + secondary_file_microsoft_endpoint=pulumi.get(__response__, 'secondary_file_microsoft_endpoint'), + secondary_file_microsoft_host=pulumi.get(__response__, 'secondary_file_microsoft_host'), + secondary_location=pulumi.get(__response__, 'secondary_location'), + secondary_queue_endpoint=pulumi.get(__response__, 'secondary_queue_endpoint'), + secondary_queue_host=pulumi.get(__response__, 'secondary_queue_host'), + secondary_queue_microsoft_endpoint=pulumi.get(__response__, 'secondary_queue_microsoft_endpoint'), + secondary_queue_microsoft_host=pulumi.get(__response__, 'secondary_queue_microsoft_host'), + secondary_table_endpoint=pulumi.get(__response__, 'secondary_table_endpoint'), + secondary_table_host=pulumi.get(__response__, 'secondary_table_host'), + secondary_table_microsoft_endpoint=pulumi.get(__response__, 'secondary_table_microsoft_endpoint'), + secondary_table_microsoft_host=pulumi.get(__response__, 'secondary_table_microsoft_host'), + secondary_web_endpoint=pulumi.get(__response__, 'secondary_web_endpoint'), + secondary_web_host=pulumi.get(__response__, 'secondary_web_host'), + secondary_web_internet_endpoint=pulumi.get(__response__, 'secondary_web_internet_endpoint'), + secondary_web_internet_host=pulumi.get(__response__, 'secondary_web_internet_host'), + secondary_web_microsoft_endpoint=pulumi.get(__response__, 'secondary_web_microsoft_endpoint'), + secondary_web_microsoft_host=pulumi.get(__response__, 'secondary_web_microsoft_host'), + table_encryption_key_type=pulumi.get(__response__, 'table_encryption_key_type'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_azure/storage/get_account_blob_container_sas.py b/sdk/python/pulumi_azure/storage/get_account_blob_container_sas.py index a006f4bde3..f53eaadd22 100644 --- a/sdk/python/pulumi_azure/storage/get_account_blob_container_sas.py +++ b/sdk/python/pulumi_azure/storage/get_account_blob_container_sas.py @@ -277,9 +277,6 @@ def get_account_blob_container_sas(cache_control: Optional[str] = None, permissions=pulumi.get(__ret__, 'permissions'), sas=pulumi.get(__ret__, 'sas'), start=pulumi.get(__ret__, 'start')) - - -@_utilities.lift_output_func(get_account_blob_container_sas) def get_account_blob_container_sas_output(cache_control: Optional[pulumi.Input[Optional[str]]] = None, connection_string: Optional[pulumi.Input[str]] = None, container_name: Optional[pulumi.Input[str]] = None, @@ -355,4 +352,33 @@ def get_account_blob_container_sas_output(cache_control: Optional[pulumi.Input[O :param Union['GetAccountBlobContainerSASPermissionsArgs', 'GetAccountBlobContainerSASPermissionsArgsDict'] permissions: A `permissions` block as defined below. :param str start: The starting time and date of validity of this SAS. Must be a valid ISO-8601 format time/date string. """ - ... + __args__ = dict() + __args__['cacheControl'] = cache_control + __args__['connectionString'] = connection_string + __args__['containerName'] = container_name + __args__['contentDisposition'] = content_disposition + __args__['contentEncoding'] = content_encoding + __args__['contentLanguage'] = content_language + __args__['contentType'] = content_type + __args__['expiry'] = expiry + __args__['httpsOnly'] = https_only + __args__['ipAddress'] = ip_address + __args__['permissions'] = permissions + __args__['start'] = start + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:storage/getAccountBlobContainerSAS:getAccountBlobContainerSAS', __args__, opts=opts, typ=GetAccountBlobContainerSASResult) + return __ret__.apply(lambda __response__: GetAccountBlobContainerSASResult( + cache_control=pulumi.get(__response__, 'cache_control'), + connection_string=pulumi.get(__response__, 'connection_string'), + container_name=pulumi.get(__response__, 'container_name'), + content_disposition=pulumi.get(__response__, 'content_disposition'), + content_encoding=pulumi.get(__response__, 'content_encoding'), + content_language=pulumi.get(__response__, 'content_language'), + content_type=pulumi.get(__response__, 'content_type'), + expiry=pulumi.get(__response__, 'expiry'), + https_only=pulumi.get(__response__, 'https_only'), + id=pulumi.get(__response__, 'id'), + ip_address=pulumi.get(__response__, 'ip_address'), + permissions=pulumi.get(__response__, 'permissions'), + sas=pulumi.get(__response__, 'sas'), + start=pulumi.get(__response__, 'start'))) diff --git a/sdk/python/pulumi_azure/storage/get_account_sas.py b/sdk/python/pulumi_azure/storage/get_account_sas.py index 359fcc822c..d0c143ed14 100644 --- a/sdk/python/pulumi_azure/storage/get_account_sas.py +++ b/sdk/python/pulumi_azure/storage/get_account_sas.py @@ -249,9 +249,6 @@ def get_account_sas(connection_string: Optional[str] = None, services=pulumi.get(__ret__, 'services'), signed_version=pulumi.get(__ret__, 'signed_version'), start=pulumi.get(__ret__, 'start')) - - -@_utilities.lift_output_func(get_account_sas) def get_account_sas_output(connection_string: Optional[pulumi.Input[str]] = None, expiry: Optional[pulumi.Input[str]] = None, https_only: Optional[pulumi.Input[Optional[bool]]] = None, @@ -332,4 +329,27 @@ def get_account_sas_output(connection_string: Optional[pulumi.Input[str]] = None :param str signed_version: Specifies the signed storage service version to use to authorize requests made with this account SAS. Defaults to `2017-07-29`. :param str start: The starting time and date of validity of this SAS. Must be a valid ISO-8601 format time/date string. """ - ... + __args__ = dict() + __args__['connectionString'] = connection_string + __args__['expiry'] = expiry + __args__['httpsOnly'] = https_only + __args__['ipAddresses'] = ip_addresses + __args__['permissions'] = permissions + __args__['resourceTypes'] = resource_types + __args__['services'] = services + __args__['signedVersion'] = signed_version + __args__['start'] = start + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:storage/getAccountSAS:getAccountSAS', __args__, opts=opts, typ=GetAccountSASResult) + return __ret__.apply(lambda __response__: GetAccountSASResult( + connection_string=pulumi.get(__response__, 'connection_string'), + expiry=pulumi.get(__response__, 'expiry'), + https_only=pulumi.get(__response__, 'https_only'), + id=pulumi.get(__response__, 'id'), + ip_addresses=pulumi.get(__response__, 'ip_addresses'), + permissions=pulumi.get(__response__, 'permissions'), + resource_types=pulumi.get(__response__, 'resource_types'), + sas=pulumi.get(__response__, 'sas'), + services=pulumi.get(__response__, 'services'), + signed_version=pulumi.get(__response__, 'signed_version'), + start=pulumi.get(__response__, 'start'))) diff --git a/sdk/python/pulumi_azure/storage/get_blob.py b/sdk/python/pulumi_azure/storage/get_blob.py index 1468e1ae7f..9eb4410506 100644 --- a/sdk/python/pulumi_azure/storage/get_blob.py +++ b/sdk/python/pulumi_azure/storage/get_blob.py @@ -205,9 +205,6 @@ def get_blob(metadata: Optional[Mapping[str, str]] = None, storage_container_name=pulumi.get(__ret__, 'storage_container_name'), type=pulumi.get(__ret__, 'type'), url=pulumi.get(__ret__, 'url')) - - -@_utilities.lift_output_func(get_blob) def get_blob_output(metadata: Optional[pulumi.Input[Optional[Mapping[str, str]]]] = None, name: Optional[pulumi.Input[str]] = None, storage_account_name: Optional[pulumi.Input[str]] = None, @@ -233,4 +230,22 @@ def get_blob_output(metadata: Optional[pulumi.Input[Optional[Mapping[str, str]]] :param str storage_account_name: The name of the Storage Account where the Container exists. :param str storage_container_name: The name of the Storage Container where the Blob exists. """ - ... + __args__ = dict() + __args__['metadata'] = metadata + __args__['name'] = name + __args__['storageAccountName'] = storage_account_name + __args__['storageContainerName'] = storage_container_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:storage/getBlob:getBlob', __args__, opts=opts, typ=GetBlobResult) + return __ret__.apply(lambda __response__: GetBlobResult( + access_tier=pulumi.get(__response__, 'access_tier'), + content_md5=pulumi.get(__response__, 'content_md5'), + content_type=pulumi.get(__response__, 'content_type'), + encryption_scope=pulumi.get(__response__, 'encryption_scope'), + id=pulumi.get(__response__, 'id'), + metadata=pulumi.get(__response__, 'metadata'), + name=pulumi.get(__response__, 'name'), + storage_account_name=pulumi.get(__response__, 'storage_account_name'), + storage_container_name=pulumi.get(__response__, 'storage_container_name'), + type=pulumi.get(__response__, 'type'), + url=pulumi.get(__response__, 'url'))) diff --git a/sdk/python/pulumi_azure/storage/get_containers.py b/sdk/python/pulumi_azure/storage/get_containers.py index 84383de0d8..94d7951d4d 100644 --- a/sdk/python/pulumi_azure/storage/get_containers.py +++ b/sdk/python/pulumi_azure/storage/get_containers.py @@ -111,9 +111,6 @@ def get_containers(name_prefix: Optional[str] = None, id=pulumi.get(__ret__, 'id'), name_prefix=pulumi.get(__ret__, 'name_prefix'), storage_account_id=pulumi.get(__ret__, 'storage_account_id')) - - -@_utilities.lift_output_func(get_containers) def get_containers_output(name_prefix: Optional[pulumi.Input[Optional[str]]] = None, storage_account_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetContainersResult]: @@ -134,4 +131,13 @@ def get_containers_output(name_prefix: Optional[pulumi.Input[Optional[str]]] = N :param str name_prefix: A prefix match used for the Storage Container `name` field. :param str storage_account_id: The ID of the Storage Account that the Storage Containers reside in. """ - ... + __args__ = dict() + __args__['namePrefix'] = name_prefix + __args__['storageAccountId'] = storage_account_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:storage/getContainers:getContainers', __args__, opts=opts, typ=GetContainersResult) + return __ret__.apply(lambda __response__: GetContainersResult( + containers=pulumi.get(__response__, 'containers'), + id=pulumi.get(__response__, 'id'), + name_prefix=pulumi.get(__response__, 'name_prefix'), + storage_account_id=pulumi.get(__response__, 'storage_account_id'))) diff --git a/sdk/python/pulumi_azure/storage/get_encryption_scope.py b/sdk/python/pulumi_azure/storage/get_encryption_scope.py index 7a47866454..e8d4dabb03 100644 --- a/sdk/python/pulumi_azure/storage/get_encryption_scope.py +++ b/sdk/python/pulumi_azure/storage/get_encryption_scope.py @@ -126,9 +126,6 @@ def get_encryption_scope(name: Optional[str] = None, name=pulumi.get(__ret__, 'name'), source=pulumi.get(__ret__, 'source'), storage_account_id=pulumi.get(__ret__, 'storage_account_id')) - - -@_utilities.lift_output_func(get_encryption_scope) def get_encryption_scope_output(name: Optional[pulumi.Input[str]] = None, storage_account_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetEncryptionScopeResult]: @@ -152,4 +149,14 @@ def get_encryption_scope_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of this Storage Encryption Scope. :param str storage_account_id: The ID of the Storage Account where this Storage Encryption Scope exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['storageAccountId'] = storage_account_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:storage/getEncryptionScope:getEncryptionScope', __args__, opts=opts, typ=GetEncryptionScopeResult) + return __ret__.apply(lambda __response__: GetEncryptionScopeResult( + id=pulumi.get(__response__, 'id'), + key_vault_key_id=pulumi.get(__response__, 'key_vault_key_id'), + name=pulumi.get(__response__, 'name'), + source=pulumi.get(__response__, 'source'), + storage_account_id=pulumi.get(__response__, 'storage_account_id'))) diff --git a/sdk/python/pulumi_azure/storage/get_policy.py b/sdk/python/pulumi_azure/storage/get_policy.py index 20839a5bec..42a1cb5167 100644 --- a/sdk/python/pulumi_azure/storage/get_policy.py +++ b/sdk/python/pulumi_azure/storage/get_policy.py @@ -99,9 +99,6 @@ def get_policy(storage_account_id: Optional[str] = None, id=pulumi.get(__ret__, 'id'), rules=pulumi.get(__ret__, 'rules'), storage_account_id=pulumi.get(__ret__, 'storage_account_id')) - - -@_utilities.lift_output_func(get_policy) def get_policy_output(storage_account_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPolicyResult]: """ @@ -121,4 +118,11 @@ def get_policy_output(storage_account_id: Optional[pulumi.Input[str]] = None, :param str storage_account_id: Specifies the id of the storage account to retrieve the management policy for. """ - ... + __args__ = dict() + __args__['storageAccountId'] = storage_account_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:storage/getPolicy:getPolicy', __args__, opts=opts, typ=GetPolicyResult) + return __ret__.apply(lambda __response__: GetPolicyResult( + id=pulumi.get(__response__, 'id'), + rules=pulumi.get(__response__, 'rules'), + storage_account_id=pulumi.get(__response__, 'storage_account_id'))) diff --git a/sdk/python/pulumi_azure/storage/get_queue.py b/sdk/python/pulumi_azure/storage/get_queue.py index bb6ee3de36..7f0f2aaf45 100644 --- a/sdk/python/pulumi_azure/storage/get_queue.py +++ b/sdk/python/pulumi_azure/storage/get_queue.py @@ -126,9 +126,6 @@ def get_queue(metadata: Optional[Mapping[str, str]] = None, name=pulumi.get(__ret__, 'name'), resource_manager_id=pulumi.get(__ret__, 'resource_manager_id'), storage_account_name=pulumi.get(__ret__, 'storage_account_name')) - - -@_utilities.lift_output_func(get_queue) def get_queue_output(metadata: Optional[pulumi.Input[Optional[Mapping[str, str]]]] = None, name: Optional[pulumi.Input[str]] = None, storage_account_name: Optional[pulumi.Input[str]] = None, @@ -151,4 +148,15 @@ def get_queue_output(metadata: Optional[pulumi.Input[Optional[Mapping[str, str]] :param str name: The name of the Queue. :param str storage_account_name: The name of the Storage Account where the Queue exists. """ - ... + __args__ = dict() + __args__['metadata'] = metadata + __args__['name'] = name + __args__['storageAccountName'] = storage_account_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:storage/getQueue:getQueue', __args__, opts=opts, typ=GetQueueResult) + return __ret__.apply(lambda __response__: GetQueueResult( + id=pulumi.get(__response__, 'id'), + metadata=pulumi.get(__response__, 'metadata'), + name=pulumi.get(__response__, 'name'), + resource_manager_id=pulumi.get(__response__, 'resource_manager_id'), + storage_account_name=pulumi.get(__response__, 'storage_account_name'))) diff --git a/sdk/python/pulumi_azure/storage/get_share.py b/sdk/python/pulumi_azure/storage/get_share.py index 9e6af8b7ca..0c4a34e8b5 100644 --- a/sdk/python/pulumi_azure/storage/get_share.py +++ b/sdk/python/pulumi_azure/storage/get_share.py @@ -157,9 +157,6 @@ def get_share(acls: Optional[Sequence[Union['GetShareAclArgs', 'GetShareAclArgsD quota=pulumi.get(__ret__, 'quota'), resource_manager_id=pulumi.get(__ret__, 'resource_manager_id'), storage_account_name=pulumi.get(__ret__, 'storage_account_name')) - - -@_utilities.lift_output_func(get_share) def get_share_output(acls: Optional[pulumi.Input[Optional[Sequence[Union['GetShareAclArgs', 'GetShareAclArgsDict']]]]] = None, metadata: Optional[pulumi.Input[Optional[Mapping[str, str]]]] = None, name: Optional[pulumi.Input[str]] = None, @@ -187,4 +184,18 @@ def get_share_output(acls: Optional[pulumi.Input[Optional[Sequence[Union['GetSha :param str name: The name of the share. :param str storage_account_name: The name of the storage account. """ - ... + __args__ = dict() + __args__['acls'] = acls + __args__['metadata'] = metadata + __args__['name'] = name + __args__['storageAccountName'] = storage_account_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:storage/getShare:getShare', __args__, opts=opts, typ=GetShareResult) + return __ret__.apply(lambda __response__: GetShareResult( + acls=pulumi.get(__response__, 'acls'), + id=pulumi.get(__response__, 'id'), + metadata=pulumi.get(__response__, 'metadata'), + name=pulumi.get(__response__, 'name'), + quota=pulumi.get(__response__, 'quota'), + resource_manager_id=pulumi.get(__response__, 'resource_manager_id'), + storage_account_name=pulumi.get(__response__, 'storage_account_name'))) diff --git a/sdk/python/pulumi_azure/storage/get_storage_container.py b/sdk/python/pulumi_azure/storage/get_storage_container.py index dc0d65686f..0c50836528 100644 --- a/sdk/python/pulumi_azure/storage/get_storage_container.py +++ b/sdk/python/pulumi_azure/storage/get_storage_container.py @@ -191,9 +191,6 @@ def get_storage_container(metadata: Optional[Mapping[str, str]] = None, name=pulumi.get(__ret__, 'name'), resource_manager_id=pulumi.get(__ret__, 'resource_manager_id'), storage_account_name=pulumi.get(__ret__, 'storage_account_name')) - - -@_utilities.lift_output_func(get_storage_container) def get_storage_container_output(metadata: Optional[pulumi.Input[Optional[Mapping[str, str]]]] = None, name: Optional[pulumi.Input[str]] = None, storage_account_name: Optional[pulumi.Input[str]] = None, @@ -216,4 +213,20 @@ def get_storage_container_output(metadata: Optional[pulumi.Input[Optional[Mappin :param str name: The name of the Container. :param str storage_account_name: The name of the Storage Account where the Container exists. """ - ... + __args__ = dict() + __args__['metadata'] = metadata + __args__['name'] = name + __args__['storageAccountName'] = storage_account_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:storage/getStorageContainer:getStorageContainer', __args__, opts=opts, typ=GetStorageContainerResult) + return __ret__.apply(lambda __response__: GetStorageContainerResult( + container_access_type=pulumi.get(__response__, 'container_access_type'), + default_encryption_scope=pulumi.get(__response__, 'default_encryption_scope'), + encryption_scope_override_enabled=pulumi.get(__response__, 'encryption_scope_override_enabled'), + has_immutability_policy=pulumi.get(__response__, 'has_immutability_policy'), + has_legal_hold=pulumi.get(__response__, 'has_legal_hold'), + id=pulumi.get(__response__, 'id'), + metadata=pulumi.get(__response__, 'metadata'), + name=pulumi.get(__response__, 'name'), + resource_manager_id=pulumi.get(__response__, 'resource_manager_id'), + storage_account_name=pulumi.get(__response__, 'storage_account_name'))) diff --git a/sdk/python/pulumi_azure/storage/get_sync.py b/sdk/python/pulumi_azure/storage/get_sync.py index b1e3e46634..f9900a03af 100644 --- a/sdk/python/pulumi_azure/storage/get_sync.py +++ b/sdk/python/pulumi_azure/storage/get_sync.py @@ -137,9 +137,6 @@ def get_sync(name: Optional[str] = None, name=pulumi.get(__ret__, 'name'), resource_group_name=pulumi.get(__ret__, 'resource_group_name'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_sync) def get_sync_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSyncResult]: @@ -161,4 +158,15 @@ def get_sync_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of this Storage Sync. :param str resource_group_name: The name of the Resource Group where the Storage Sync exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:storage/getSync:getSync', __args__, opts=opts, typ=GetSyncResult) + return __ret__.apply(lambda __response__: GetSyncResult( + id=pulumi.get(__response__, 'id'), + incoming_traffic_policy=pulumi.get(__response__, 'incoming_traffic_policy'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_azure/storage/get_sync_group.py b/sdk/python/pulumi_azure/storage/get_sync_group.py index 6d0d92787d..a5ee848e2b 100644 --- a/sdk/python/pulumi_azure/storage/get_sync_group.py +++ b/sdk/python/pulumi_azure/storage/get_sync_group.py @@ -98,9 +98,6 @@ def get_sync_group(name: Optional[str] = None, id=pulumi.get(__ret__, 'id'), name=pulumi.get(__ret__, 'name'), storage_sync_id=pulumi.get(__ret__, 'storage_sync_id')) - - -@_utilities.lift_output_func(get_sync_group) def get_sync_group_output(name: Optional[pulumi.Input[str]] = None, storage_sync_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSyncGroupResult]: @@ -122,4 +119,12 @@ def get_sync_group_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of this Storage Sync Group. :param str storage_sync_id: The resource ID of the Storage Sync where this Storage Sync Group is. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['storageSyncId'] = storage_sync_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:storage/getSyncGroup:getSyncGroup', __args__, opts=opts, typ=GetSyncGroupResult) + return __ret__.apply(lambda __response__: GetSyncGroupResult( + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + storage_sync_id=pulumi.get(__response__, 'storage_sync_id'))) diff --git a/sdk/python/pulumi_azure/storage/get_table.py b/sdk/python/pulumi_azure/storage/get_table.py index 3b36cb4396..b587717ad3 100644 --- a/sdk/python/pulumi_azure/storage/get_table.py +++ b/sdk/python/pulumi_azure/storage/get_table.py @@ -124,9 +124,6 @@ def get_table(name: Optional[str] = None, name=pulumi.get(__ret__, 'name'), resource_manager_id=pulumi.get(__ret__, 'resource_manager_id'), storage_account_name=pulumi.get(__ret__, 'storage_account_name')) - - -@_utilities.lift_output_func(get_table) def get_table_output(name: Optional[pulumi.Input[str]] = None, storage_account_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetTableResult]: @@ -147,4 +144,14 @@ def get_table_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of the Table. :param str storage_account_name: The name of the Storage Account where the Table exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['storageAccountName'] = storage_account_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:storage/getTable:getTable', __args__, opts=opts, typ=GetTableResult) + return __ret__.apply(lambda __response__: GetTableResult( + acls=pulumi.get(__response__, 'acls'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + resource_manager_id=pulumi.get(__response__, 'resource_manager_id'), + storage_account_name=pulumi.get(__response__, 'storage_account_name'))) diff --git a/sdk/python/pulumi_azure/storage/get_table_entities.py b/sdk/python/pulumi_azure/storage/get_table_entities.py index 9350eb8f49..748459cdf1 100644 --- a/sdk/python/pulumi_azure/storage/get_table_entities.py +++ b/sdk/python/pulumi_azure/storage/get_table_entities.py @@ -124,9 +124,6 @@ def get_table_entities(filter: Optional[str] = None, items=pulumi.get(__ret__, 'items'), selects=pulumi.get(__ret__, 'selects'), storage_table_id=pulumi.get(__ret__, 'storage_table_id')) - - -@_utilities.lift_output_func(get_table_entities) def get_table_entities_output(filter: Optional[pulumi.Input[str]] = None, selects: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, storage_table_id: Optional[pulumi.Input[str]] = None, @@ -149,4 +146,15 @@ def get_table_entities_output(filter: Optional[pulumi.Input[str]] = None, :param Sequence[str] selects: A list of properties to select from the returned Storage Table Entities. :param str storage_table_id: The Storage Table ID where the entities exist. """ - ... + __args__ = dict() + __args__['filter'] = filter + __args__['selects'] = selects + __args__['storageTableId'] = storage_table_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:storage/getTableEntities:getTableEntities', __args__, opts=opts, typ=GetTableEntitiesResult) + return __ret__.apply(lambda __response__: GetTableEntitiesResult( + filter=pulumi.get(__response__, 'filter'), + id=pulumi.get(__response__, 'id'), + items=pulumi.get(__response__, 'items'), + selects=pulumi.get(__response__, 'selects'), + storage_table_id=pulumi.get(__response__, 'storage_table_id'))) diff --git a/sdk/python/pulumi_azure/storage/get_table_entity.py b/sdk/python/pulumi_azure/storage/get_table_entity.py index bce60ddb41..8dc5cde413 100644 --- a/sdk/python/pulumi_azure/storage/get_table_entity.py +++ b/sdk/python/pulumi_azure/storage/get_table_entity.py @@ -124,9 +124,6 @@ def get_table_entity(partition_key: Optional[str] = None, partition_key=pulumi.get(__ret__, 'partition_key'), row_key=pulumi.get(__ret__, 'row_key'), storage_table_id=pulumi.get(__ret__, 'storage_table_id')) - - -@_utilities.lift_output_func(get_table_entity) def get_table_entity_output(partition_key: Optional[pulumi.Input[str]] = None, row_key: Optional[pulumi.Input[str]] = None, storage_table_id: Optional[pulumi.Input[str]] = None, @@ -150,4 +147,15 @@ def get_table_entity_output(partition_key: Optional[pulumi.Input[str]] = None, :param str row_key: The key for the row where the entity will be retrieved. :param str storage_table_id: The Storage Table ID where the entity exists. """ - ... + __args__ = dict() + __args__['partitionKey'] = partition_key + __args__['rowKey'] = row_key + __args__['storageTableId'] = storage_table_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:storage/getTableEntity:getTableEntity', __args__, opts=opts, typ=GetTableEntityResult) + return __ret__.apply(lambda __response__: GetTableEntityResult( + entity=pulumi.get(__response__, 'entity'), + id=pulumi.get(__response__, 'id'), + partition_key=pulumi.get(__response__, 'partition_key'), + row_key=pulumi.get(__response__, 'row_key'), + storage_table_id=pulumi.get(__response__, 'storage_table_id'))) diff --git a/sdk/python/pulumi_azure/streamanalytics/get_job.py b/sdk/python/pulumi_azure/streamanalytics/get_job.py index 44807d7bd6..fb7146b0ef 100644 --- a/sdk/python/pulumi_azure/streamanalytics/get_job.py +++ b/sdk/python/pulumi_azure/streamanalytics/get_job.py @@ -294,9 +294,6 @@ def get_job(name: Optional[str] = None, start_time=pulumi.get(__ret__, 'start_time'), streaming_units=pulumi.get(__ret__, 'streaming_units'), transformation_query=pulumi.get(__ret__, 'transformation_query')) - - -@_utilities.lift_output_func(get_job) def get_job_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetJobResult]: @@ -318,4 +315,27 @@ def get_job_output(name: Optional[pulumi.Input[str]] = None, :param str name: Specifies the name of the Stream Analytics Job. :param str resource_group_name: Specifies the name of the resource group the Stream Analytics Job is located in. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:streamanalytics/getJob:getJob', __args__, opts=opts, typ=GetJobResult) + return __ret__.apply(lambda __response__: GetJobResult( + compatibility_level=pulumi.get(__response__, 'compatibility_level'), + data_locale=pulumi.get(__response__, 'data_locale'), + events_late_arrival_max_delay_in_seconds=pulumi.get(__response__, 'events_late_arrival_max_delay_in_seconds'), + events_out_of_order_max_delay_in_seconds=pulumi.get(__response__, 'events_out_of_order_max_delay_in_seconds'), + events_out_of_order_policy=pulumi.get(__response__, 'events_out_of_order_policy'), + id=pulumi.get(__response__, 'id'), + identities=pulumi.get(__response__, 'identities'), + job_id=pulumi.get(__response__, 'job_id'), + last_output_time=pulumi.get(__response__, 'last_output_time'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + output_error_policy=pulumi.get(__response__, 'output_error_policy'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + sku_name=pulumi.get(__response__, 'sku_name'), + start_mode=pulumi.get(__response__, 'start_mode'), + start_time=pulumi.get(__response__, 'start_time'), + streaming_units=pulumi.get(__response__, 'streaming_units'), + transformation_query=pulumi.get(__response__, 'transformation_query'))) diff --git a/sdk/python/pulumi_azure/synapse/get_workspace.py b/sdk/python/pulumi_azure/synapse/get_workspace.py index 635cc2062a..557acbfac9 100644 --- a/sdk/python/pulumi_azure/synapse/get_workspace.py +++ b/sdk/python/pulumi_azure/synapse/get_workspace.py @@ -151,9 +151,6 @@ def get_workspace(name: Optional[str] = None, name=pulumi.get(__ret__, 'name'), resource_group_name=pulumi.get(__ret__, 'resource_group_name'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_workspace) def get_workspace_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetWorkspaceResult]: @@ -175,4 +172,16 @@ def get_workspace_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of this Synapse Workspace. :param str resource_group_name: The name of the Resource Group where the Synapse Workspace exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:synapse/getWorkspace:getWorkspace', __args__, opts=opts, typ=GetWorkspaceResult) + return __ret__.apply(lambda __response__: GetWorkspaceResult( + connectivity_endpoints=pulumi.get(__response__, 'connectivity_endpoints'), + id=pulumi.get(__response__, 'id'), + identities=pulumi.get(__response__, 'identities'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_azure/systemcenter/get_virtual_machine_manager_inventory_items.py b/sdk/python/pulumi_azure/systemcenter/get_virtual_machine_manager_inventory_items.py index d8a4bdf79b..a33acff81f 100644 --- a/sdk/python/pulumi_azure/systemcenter/get_virtual_machine_manager_inventory_items.py +++ b/sdk/python/pulumi_azure/systemcenter/get_virtual_machine_manager_inventory_items.py @@ -111,9 +111,6 @@ def get_virtual_machine_manager_inventory_items(inventory_type: Optional[str] = inventory_items=pulumi.get(__ret__, 'inventory_items'), inventory_type=pulumi.get(__ret__, 'inventory_type'), system_center_virtual_machine_manager_server_id=pulumi.get(__ret__, 'system_center_virtual_machine_manager_server_id')) - - -@_utilities.lift_output_func(get_virtual_machine_manager_inventory_items) def get_virtual_machine_manager_inventory_items_output(inventory_type: Optional[pulumi.Input[str]] = None, system_center_virtual_machine_manager_server_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetVirtualMachineManagerInventoryItemsResult]: @@ -134,4 +131,13 @@ def get_virtual_machine_manager_inventory_items_output(inventory_type: Optional[ :param str inventory_type: The inventory type of the System Center Virtual Machine Manager Inventory Item. Possible values are `Cloud`, `VirtualMachine`, `VirtualMachineTemplate` and `VirtualNetwork`. :param str system_center_virtual_machine_manager_server_id: The ID of the System Center Virtual Machine Manager Server. """ - ... + __args__ = dict() + __args__['inventoryType'] = inventory_type + __args__['systemCenterVirtualMachineManagerServerId'] = system_center_virtual_machine_manager_server_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:systemcenter/getVirtualMachineManagerInventoryItems:getVirtualMachineManagerInventoryItems', __args__, opts=opts, typ=GetVirtualMachineManagerInventoryItemsResult) + return __ret__.apply(lambda __response__: GetVirtualMachineManagerInventoryItemsResult( + id=pulumi.get(__response__, 'id'), + inventory_items=pulumi.get(__response__, 'inventory_items'), + inventory_type=pulumi.get(__response__, 'inventory_type'), + system_center_virtual_machine_manager_server_id=pulumi.get(__response__, 'system_center_virtual_machine_manager_server_id'))) diff --git a/sdk/python/pulumi_azure/trafficmanager/get_geographical_location.py b/sdk/python/pulumi_azure/trafficmanager/get_geographical_location.py index 972dd4e5eb..6a31233ec2 100644 --- a/sdk/python/pulumi_azure/trafficmanager/get_geographical_location.py +++ b/sdk/python/pulumi_azure/trafficmanager/get_geographical_location.py @@ -89,9 +89,6 @@ def get_geographical_location(name: Optional[str] = None, return AwaitableGetGeographicalLocationResult( id=pulumi.get(__ret__, 'id'), name=pulumi.get(__ret__, 'name')) - - -@_utilities.lift_output_func(get_geographical_location) def get_geographical_location_output(name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetGeographicalLocationResult]: """ @@ -113,4 +110,10 @@ def get_geographical_location_output(name: Optional[pulumi.Input[str]] = None, :param str name: Specifies the name of the Location, for example `World`, `Europe` or `Germany`. """ pulumi.log.warn("""get_geographical_location is deprecated: azure.trafficmanager.getGeographicalLocation has been deprecated in favor of azure.network.getTrafficManager""") - ... + __args__ = dict() + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:trafficmanager/getGeographicalLocation:getGeographicalLocation', __args__, opts=opts, typ=GetGeographicalLocationResult) + return __ret__.apply(lambda __response__: GetGeographicalLocationResult( + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'))) diff --git a/sdk/python/pulumi_azure/waf/get_firewall_policy.py b/sdk/python/pulumi_azure/waf/get_firewall_policy.py index 39f6875d0e..5e5e4180d0 100644 --- a/sdk/python/pulumi_azure/waf/get_firewall_policy.py +++ b/sdk/python/pulumi_azure/waf/get_firewall_policy.py @@ -120,9 +120,6 @@ def get_firewall_policy(name: Optional[str] = None, name=pulumi.get(__ret__, 'name'), resource_group_name=pulumi.get(__ret__, 'resource_group_name'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_firewall_policy) def get_firewall_policy_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, tags: Optional[pulumi.Input[Optional[Mapping[str, str]]]] = None, @@ -145,4 +142,15 @@ def get_firewall_policy_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of the Web Application Firewall Policy :param str resource_group_name: The name of the Resource Group where the Web Application Firewall Policy exists. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + __args__['tags'] = tags + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:waf/getFirewallPolicy:getFirewallPolicy', __args__, opts=opts, typ=GetFirewallPolicyResult) + return __ret__.apply(lambda __response__: GetFirewallPolicyResult( + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_azure/webpubsub/get_private_link_resource.py b/sdk/python/pulumi_azure/webpubsub/get_private_link_resource.py index 4031cf088f..baa72ae5b8 100644 --- a/sdk/python/pulumi_azure/webpubsub/get_private_link_resource.py +++ b/sdk/python/pulumi_azure/webpubsub/get_private_link_resource.py @@ -106,9 +106,6 @@ def get_private_link_resource(web_pubsub_id: Optional[str] = None, id=pulumi.get(__ret__, 'id'), shared_private_link_resource_types=pulumi.get(__ret__, 'shared_private_link_resource_types'), web_pubsub_id=pulumi.get(__ret__, 'web_pubsub_id')) - - -@_utilities.lift_output_func(get_private_link_resource) def get_private_link_resource_output(web_pubsub_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPrivateLinkResourceResult]: """ @@ -135,4 +132,11 @@ def get_private_link_resource_output(web_pubsub_id: Optional[pulumi.Input[str]] :param str web_pubsub_id: The ID of an existing Web Pubsub Resource which Private Link Resource should be retrieved for. """ - ... + __args__ = dict() + __args__['webPubsubId'] = web_pubsub_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:webpubsub/getPrivateLinkResource:getPrivateLinkResource', __args__, opts=opts, typ=GetPrivateLinkResourceResult) + return __ret__.apply(lambda __response__: GetPrivateLinkResourceResult( + id=pulumi.get(__response__, 'id'), + shared_private_link_resource_types=pulumi.get(__response__, 'shared_private_link_resource_types'), + web_pubsub_id=pulumi.get(__response__, 'web_pubsub_id'))) diff --git a/sdk/python/pulumi_azure/webpubsub/get_service.py b/sdk/python/pulumi_azure/webpubsub/get_service.py index 781542258f..551bfd76a5 100644 --- a/sdk/python/pulumi_azure/webpubsub/get_service.py +++ b/sdk/python/pulumi_azure/webpubsub/get_service.py @@ -291,9 +291,6 @@ def get_service(name: Optional[str] = None, tags=pulumi.get(__ret__, 'tags'), tls_client_cert_enabled=pulumi.get(__ret__, 'tls_client_cert_enabled'), version=pulumi.get(__ret__, 'version')) - - -@_utilities.lift_output_func(get_service) def get_service_output(name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetServiceResult]: @@ -314,4 +311,29 @@ def get_service_output(name: Optional[pulumi.Input[str]] = None, :param str name: Specifies the name of the Web Pubsub service. :param str resource_group_name: Specifies the name of the resource group the Web Pubsub service is located in. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure:webpubsub/getService:getService', __args__, opts=opts, typ=GetServiceResult) + return __ret__.apply(lambda __response__: GetServiceResult( + aad_auth_enabled=pulumi.get(__response__, 'aad_auth_enabled'), + capacity=pulumi.get(__response__, 'capacity'), + external_ip=pulumi.get(__response__, 'external_ip'), + hostname=pulumi.get(__response__, 'hostname'), + id=pulumi.get(__response__, 'id'), + local_auth_enabled=pulumi.get(__response__, 'local_auth_enabled'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + primary_access_key=pulumi.get(__response__, 'primary_access_key'), + primary_connection_string=pulumi.get(__response__, 'primary_connection_string'), + public_network_access_enabled=pulumi.get(__response__, 'public_network_access_enabled'), + public_port=pulumi.get(__response__, 'public_port'), + resource_group_name=pulumi.get(__response__, 'resource_group_name'), + secondary_access_key=pulumi.get(__response__, 'secondary_access_key'), + secondary_connection_string=pulumi.get(__response__, 'secondary_connection_string'), + server_port=pulumi.get(__response__, 'server_port'), + sku=pulumi.get(__response__, 'sku'), + tags=pulumi.get(__response__, 'tags'), + tls_client_cert_enabled=pulumi.get(__response__, 'tls_client_cert_enabled'), + version=pulumi.get(__response__, 'version'))) diff --git a/sdk/python/pyproject.toml b/sdk/python/pyproject.toml index 99b23cb104..c85a50de82 100644 --- a/sdk/python/pyproject.toml +++ b/sdk/python/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "pulumi_azure" description = "A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates." - dependencies = ["parver>=0.2.1", "pulumi>=3.0.0,<4.0.0", "semver>=2.8.1", "typing-extensions>=4.11; python_version < \"3.11\""] + dependencies = ["parver>=0.2.1", "pulumi>=3.134.1,<4.0.0", "semver>=2.8.1", "typing-extensions>=4.11; python_version < \"3.11\""] keywords = ["pulumi", "azure"] readme = "README.md" requires-python = ">=3.8"