pulumi-azure-native 2.39.1a1714476289__py3-none-any.whl → 2.40.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-azure-native might be problematic. Click here for more details.
- pulumi_azure_native/__init__.py +59 -1
- pulumi_azure_native/cache/__init__.py +3 -0
- pulumi_azure_native/cache/database.py +3 -3
- pulumi_azure_native/cache/enterprise_private_endpoint_connection.py +3 -3
- pulumi_azure_native/cache/get_database.py +2 -2
- pulumi_azure_native/cache/get_enterprise_private_endpoint_connection.py +2 -2
- pulumi_azure_native/cache/get_redis_enterprise.py +2 -2
- pulumi_azure_native/cache/list_database_keys.py +2 -2
- pulumi_azure_native/cache/redis_enterprise.py +3 -3
- pulumi_azure_native/cache/v20201001preview/redis_enterprise.py +1 -1
- pulumi_azure_native/cache/v20230301preview/database.py +1 -1
- pulumi_azure_native/cache/v20230301preview/enterprise_private_endpoint_connection.py +1 -1
- pulumi_azure_native/cache/v20230301preview/redis_enterprise.py +1 -1
- pulumi_azure_native/cache/v20230701/database.py +1 -1
- pulumi_azure_native/cache/v20230701/enterprise_private_endpoint_connection.py +1 -1
- pulumi_azure_native/cache/v20230701/redis_enterprise.py +1 -1
- pulumi_azure_native/cache/v20230801preview/database.py +1 -1
- pulumi_azure_native/cache/v20230801preview/enterprise_private_endpoint_connection.py +1 -1
- pulumi_azure_native/cache/v20230801preview/redis_enterprise.py +1 -1
- pulumi_azure_native/cache/v20231001preview/database.py +1 -1
- pulumi_azure_native/cache/v20231001preview/enterprise_private_endpoint_connection.py +1 -1
- pulumi_azure_native/cache/v20231001preview/redis_enterprise.py +1 -1
- pulumi_azure_native/cache/v20231101/database.py +1 -1
- pulumi_azure_native/cache/v20231101/enterprise_private_endpoint_connection.py +1 -1
- pulumi_azure_native/cache/v20231101/redis_enterprise.py +1 -1
- pulumi_azure_native/cache/v20240201/database.py +1 -1
- pulumi_azure_native/cache/v20240201/enterprise_private_endpoint_connection.py +1 -1
- pulumi_azure_native/cache/v20240201/redis_enterprise.py +1 -1
- pulumi_azure_native/cache/v20240301preview/__init__.py +17 -0
- pulumi_azure_native/cache/v20240301preview/_enums.py +124 -0
- pulumi_azure_native/cache/v20240301preview/_inputs.py +438 -0
- pulumi_azure_native/cache/v20240301preview/database.py +439 -0
- pulumi_azure_native/cache/v20240301preview/enterprise_private_endpoint_connection.py +227 -0
- pulumi_azure_native/cache/v20240301preview/get_database.py +253 -0
- pulumi_azure_native/cache/v20240301preview/get_enterprise_private_endpoint_connection.py +149 -0
- pulumi_azure_native/cache/v20240301preview/get_redis_enterprise.py +261 -0
- pulumi_azure_native/cache/v20240301preview/list_database_keys.py +96 -0
- pulumi_azure_native/cache/v20240301preview/outputs.py +740 -0
- pulumi_azure_native/cache/v20240301preview/redis_enterprise.py +410 -0
- pulumi_azure_native/containerservice/__init__.py +5 -0
- pulumi_azure_native/containerservice/_enums.py +23 -0
- pulumi_azure_native/containerservice/_inputs.py +98 -0
- pulumi_azure_native/containerservice/agent_pool.py +3 -3
- pulumi_azure_native/containerservice/get_agent_pool.py +2 -2
- pulumi_azure_native/containerservice/get_load_balancer.py +203 -0
- pulumi_azure_native/containerservice/get_maintenance_configuration.py +2 -2
- pulumi_azure_native/containerservice/get_managed_cluster.py +2 -2
- pulumi_azure_native/containerservice/get_managed_cluster_snapshot.py +2 -2
- pulumi_azure_native/containerservice/get_private_endpoint_connection.py +2 -2
- pulumi_azure_native/containerservice/get_snapshot.py +2 -2
- pulumi_azure_native/containerservice/get_trusted_access_role_binding.py +2 -2
- pulumi_azure_native/containerservice/list_managed_cluster_admin_credentials.py +2 -2
- pulumi_azure_native/containerservice/list_managed_cluster_monitoring_user_credentials.py +2 -2
- pulumi_azure_native/containerservice/list_managed_cluster_user_credentials.py +2 -2
- pulumi_azure_native/containerservice/load_balancer.py +365 -0
- pulumi_azure_native/containerservice/maintenance_configuration.py +3 -3
- pulumi_azure_native/containerservice/managed_cluster.py +3 -3
- pulumi_azure_native/containerservice/managed_cluster_snapshot.py +3 -3
- pulumi_azure_native/containerservice/outputs.py +103 -0
- pulumi_azure_native/containerservice/private_endpoint_connection.py +3 -3
- pulumi_azure_native/containerservice/snapshot.py +3 -3
- pulumi_azure_native/containerservice/trusted_access_role_binding.py +3 -3
- pulumi_azure_native/containerservice/v20190601/managed_cluster.py +1 -1
- pulumi_azure_native/containerservice/v20200601/agent_pool.py +1 -1
- pulumi_azure_native/containerservice/v20210201/agent_pool.py +1 -1
- pulumi_azure_native/containerservice/v20210501/managed_cluster.py +1 -1
- pulumi_azure_native/containerservice/v20210801/agent_pool.py +1 -1
- pulumi_azure_native/containerservice/v20220402preview/agent_pool.py +1 -1
- pulumi_azure_native/containerservice/v20230401/agent_pool.py +1 -1
- pulumi_azure_native/containerservice/v20230401/maintenance_configuration.py +1 -1
- pulumi_azure_native/containerservice/v20230401/managed_cluster.py +1 -1
- pulumi_azure_native/containerservice/v20230401/private_endpoint_connection.py +1 -1
- pulumi_azure_native/containerservice/v20230401/snapshot.py +1 -1
- pulumi_azure_native/containerservice/v20230502preview/agent_pool.py +1 -1
- pulumi_azure_native/containerservice/v20230502preview/maintenance_configuration.py +1 -1
- pulumi_azure_native/containerservice/v20230502preview/managed_cluster.py +1 -1
- pulumi_azure_native/containerservice/v20230502preview/managed_cluster_snapshot.py +1 -1
- pulumi_azure_native/containerservice/v20230502preview/private_endpoint_connection.py +1 -1
- pulumi_azure_native/containerservice/v20230502preview/snapshot.py +1 -1
- pulumi_azure_native/containerservice/v20230502preview/trusted_access_role_binding.py +1 -1
- pulumi_azure_native/containerservice/v20230601/agent_pool.py +1 -1
- pulumi_azure_native/containerservice/v20230601/maintenance_configuration.py +1 -1
- pulumi_azure_native/containerservice/v20230601/managed_cluster.py +1 -1
- pulumi_azure_native/containerservice/v20230601/private_endpoint_connection.py +1 -1
- pulumi_azure_native/containerservice/v20230601/snapshot.py +1 -1
- pulumi_azure_native/containerservice/v20230602preview/agent_pool.py +1 -1
- pulumi_azure_native/containerservice/v20230602preview/maintenance_configuration.py +1 -1
- pulumi_azure_native/containerservice/v20230602preview/managed_cluster.py +1 -1
- pulumi_azure_native/containerservice/v20230602preview/managed_cluster_snapshot.py +1 -1
- pulumi_azure_native/containerservice/v20230602preview/private_endpoint_connection.py +1 -1
- pulumi_azure_native/containerservice/v20230602preview/snapshot.py +1 -1
- pulumi_azure_native/containerservice/v20230602preview/trusted_access_role_binding.py +1 -1
- pulumi_azure_native/containerservice/v20230701/agent_pool.py +1 -1
- pulumi_azure_native/containerservice/v20230701/maintenance_configuration.py +1 -1
- pulumi_azure_native/containerservice/v20230701/managed_cluster.py +1 -1
- pulumi_azure_native/containerservice/v20230701/private_endpoint_connection.py +1 -1
- pulumi_azure_native/containerservice/v20230701/snapshot.py +1 -1
- pulumi_azure_native/containerservice/v20230702preview/agent_pool.py +1 -1
- pulumi_azure_native/containerservice/v20230702preview/maintenance_configuration.py +1 -1
- pulumi_azure_native/containerservice/v20230702preview/managed_cluster.py +1 -1
- pulumi_azure_native/containerservice/v20230702preview/managed_cluster_snapshot.py +1 -1
- pulumi_azure_native/containerservice/v20230702preview/private_endpoint_connection.py +1 -1
- pulumi_azure_native/containerservice/v20230702preview/snapshot.py +1 -1
- pulumi_azure_native/containerservice/v20230702preview/trusted_access_role_binding.py +1 -1
- pulumi_azure_native/containerservice/v20230801/agent_pool.py +1 -1
- pulumi_azure_native/containerservice/v20230801/maintenance_configuration.py +1 -1
- pulumi_azure_native/containerservice/v20230801/managed_cluster.py +1 -1
- pulumi_azure_native/containerservice/v20230801/private_endpoint_connection.py +1 -1
- pulumi_azure_native/containerservice/v20230801/snapshot.py +1 -1
- pulumi_azure_native/containerservice/v20230802preview/agent_pool.py +1 -1
- pulumi_azure_native/containerservice/v20230802preview/maintenance_configuration.py +1 -1
- pulumi_azure_native/containerservice/v20230802preview/managed_cluster.py +1 -1
- pulumi_azure_native/containerservice/v20230802preview/managed_cluster_snapshot.py +1 -1
- pulumi_azure_native/containerservice/v20230802preview/private_endpoint_connection.py +1 -1
- pulumi_azure_native/containerservice/v20230802preview/snapshot.py +1 -1
- pulumi_azure_native/containerservice/v20230802preview/trusted_access_role_binding.py +1 -1
- pulumi_azure_native/containerservice/v20230901/agent_pool.py +1 -1
- pulumi_azure_native/containerservice/v20230901/maintenance_configuration.py +1 -1
- pulumi_azure_native/containerservice/v20230901/managed_cluster.py +1 -1
- pulumi_azure_native/containerservice/v20230901/private_endpoint_connection.py +1 -1
- pulumi_azure_native/containerservice/v20230901/snapshot.py +1 -1
- pulumi_azure_native/containerservice/v20230901/trusted_access_role_binding.py +1 -1
- pulumi_azure_native/containerservice/v20230902preview/agent_pool.py +1 -1
- pulumi_azure_native/containerservice/v20230902preview/maintenance_configuration.py +1 -1
- pulumi_azure_native/containerservice/v20230902preview/managed_cluster.py +1 -1
- pulumi_azure_native/containerservice/v20230902preview/managed_cluster_snapshot.py +1 -1
- pulumi_azure_native/containerservice/v20230902preview/private_endpoint_connection.py +1 -1
- pulumi_azure_native/containerservice/v20230902preview/snapshot.py +1 -1
- pulumi_azure_native/containerservice/v20230902preview/trusted_access_role_binding.py +1 -1
- pulumi_azure_native/containerservice/v20231001/agent_pool.py +1 -1
- pulumi_azure_native/containerservice/v20231001/maintenance_configuration.py +1 -1
- pulumi_azure_native/containerservice/v20231001/managed_cluster.py +1 -1
- pulumi_azure_native/containerservice/v20231001/private_endpoint_connection.py +1 -1
- pulumi_azure_native/containerservice/v20231001/snapshot.py +1 -1
- pulumi_azure_native/containerservice/v20231001/trusted_access_role_binding.py +1 -1
- pulumi_azure_native/containerservice/v20231002preview/agent_pool.py +1 -1
- pulumi_azure_native/containerservice/v20231002preview/maintenance_configuration.py +1 -1
- pulumi_azure_native/containerservice/v20231002preview/managed_cluster.py +1 -1
- pulumi_azure_native/containerservice/v20231002preview/managed_cluster_snapshot.py +1 -1
- pulumi_azure_native/containerservice/v20231002preview/private_endpoint_connection.py +1 -1
- pulumi_azure_native/containerservice/v20231002preview/snapshot.py +1 -1
- pulumi_azure_native/containerservice/v20231002preview/trusted_access_role_binding.py +1 -1
- pulumi_azure_native/containerservice/v20231101/agent_pool.py +1 -1
- pulumi_azure_native/containerservice/v20231101/maintenance_configuration.py +1 -1
- pulumi_azure_native/containerservice/v20231101/managed_cluster.py +1 -1
- pulumi_azure_native/containerservice/v20231101/private_endpoint_connection.py +1 -1
- pulumi_azure_native/containerservice/v20231101/snapshot.py +1 -1
- pulumi_azure_native/containerservice/v20231101/trusted_access_role_binding.py +1 -1
- pulumi_azure_native/containerservice/v20231102preview/agent_pool.py +1 -1
- pulumi_azure_native/containerservice/v20231102preview/maintenance_configuration.py +1 -1
- pulumi_azure_native/containerservice/v20231102preview/managed_cluster.py +1 -1
- pulumi_azure_native/containerservice/v20231102preview/managed_cluster_snapshot.py +1 -1
- pulumi_azure_native/containerservice/v20231102preview/private_endpoint_connection.py +1 -1
- pulumi_azure_native/containerservice/v20231102preview/snapshot.py +1 -1
- pulumi_azure_native/containerservice/v20231102preview/trusted_access_role_binding.py +1 -1
- pulumi_azure_native/containerservice/v20240101/agent_pool.py +1 -1
- pulumi_azure_native/containerservice/v20240101/maintenance_configuration.py +1 -1
- pulumi_azure_native/containerservice/v20240101/managed_cluster.py +1 -1
- pulumi_azure_native/containerservice/v20240101/private_endpoint_connection.py +1 -1
- pulumi_azure_native/containerservice/v20240101/snapshot.py +1 -1
- pulumi_azure_native/containerservice/v20240101/trusted_access_role_binding.py +1 -1
- pulumi_azure_native/containerservice/v20240102preview/agent_pool.py +1 -1
- pulumi_azure_native/containerservice/v20240102preview/maintenance_configuration.py +1 -1
- pulumi_azure_native/containerservice/v20240102preview/managed_cluster.py +1 -1
- pulumi_azure_native/containerservice/v20240102preview/managed_cluster_snapshot.py +1 -1
- pulumi_azure_native/containerservice/v20240102preview/private_endpoint_connection.py +1 -1
- pulumi_azure_native/containerservice/v20240102preview/snapshot.py +1 -1
- pulumi_azure_native/containerservice/v20240102preview/trusted_access_role_binding.py +1 -1
- pulumi_azure_native/containerservice/v20240201/agent_pool.py +1 -1
- pulumi_azure_native/containerservice/v20240201/maintenance_configuration.py +1 -1
- pulumi_azure_native/containerservice/v20240201/managed_cluster.py +1 -1
- pulumi_azure_native/containerservice/v20240201/private_endpoint_connection.py +1 -1
- pulumi_azure_native/containerservice/v20240201/snapshot.py +1 -1
- pulumi_azure_native/containerservice/v20240201/trusted_access_role_binding.py +1 -1
- pulumi_azure_native/containerservice/v20240202preview/agent_pool.py +1 -1
- pulumi_azure_native/containerservice/v20240202preview/maintenance_configuration.py +1 -1
- pulumi_azure_native/containerservice/v20240202preview/managed_cluster.py +1 -1
- pulumi_azure_native/containerservice/v20240202preview/managed_cluster_snapshot.py +1 -1
- pulumi_azure_native/containerservice/v20240202preview/private_endpoint_connection.py +1 -1
- pulumi_azure_native/containerservice/v20240202preview/snapshot.py +1 -1
- pulumi_azure_native/containerservice/v20240202preview/trusted_access_role_binding.py +1 -1
- pulumi_azure_native/containerservice/v20240302preview/__init__.py +29 -0
- pulumi_azure_native/containerservice/v20240302preview/_enums.py +840 -0
- pulumi_azure_native/containerservice/v20240302preview/_inputs.py +6966 -0
- pulumi_azure_native/containerservice/v20240302preview/agent_pool.py +1686 -0
- pulumi_azure_native/containerservice/v20240302preview/get_agent_pool.py +812 -0
- pulumi_azure_native/containerservice/v20240302preview/get_load_balancer.py +201 -0
- pulumi_azure_native/containerservice/v20240302preview/get_maintenance_configuration.py +162 -0
- pulumi_azure_native/containerservice/v20240302preview/get_managed_cluster.py +833 -0
- pulumi_azure_native/containerservice/v20240302preview/get_managed_cluster_snapshot.py +183 -0
- pulumi_azure_native/containerservice/v20240302preview/get_private_endpoint_connection.py +149 -0
- pulumi_azure_native/containerservice/v20240302preview/get_snapshot.py +248 -0
- pulumi_azure_native/containerservice/v20240302preview/get_trusted_access_role_binding.py +162 -0
- pulumi_azure_native/containerservice/v20240302preview/list_managed_cluster_admin_credentials.py +84 -0
- pulumi_azure_native/containerservice/v20240302preview/list_managed_cluster_monitoring_user_credentials.py +84 -0
- pulumi_azure_native/containerservice/v20240302preview/list_managed_cluster_user_credentials.py +89 -0
- pulumi_azure_native/containerservice/v20240302preview/load_balancer.py +363 -0
- pulumi_azure_native/containerservice/v20240302preview/maintenance_configuration.py +274 -0
- pulumi_azure_native/containerservice/v20240302preview/managed_cluster.py +1590 -0
- pulumi_azure_native/containerservice/v20240302preview/managed_cluster_snapshot.py +292 -0
- pulumi_azure_native/containerservice/v20240302preview/outputs.py +8118 -0
- pulumi_azure_native/containerservice/v20240302preview/private_endpoint_connection.py +246 -0
- pulumi_azure_native/containerservice/v20240302preview/snapshot.py +342 -0
- pulumi_azure_native/containerservice/v20240302preview/trusted_access_role_binding.py +255 -0
- pulumi_azure_native/monitor/__init__.py +7 -0
- pulumi_azure_native/monitor/_enums.py +140 -0
- pulumi_azure_native/monitor/_inputs.py +1122 -0
- pulumi_azure_native/monitor/azure_monitor_workspace.py +5 -1
- pulumi_azure_native/monitor/get_azure_monitor_workspace.py +4 -0
- pulumi_azure_native/monitor/get_pipeline_group.py +250 -0
- pulumi_azure_native/monitor/outputs.py +1338 -182
- pulumi_azure_native/monitor/pipeline_group.py +443 -0
- pulumi_azure_native/monitor/v20230403/azure_monitor_workspace.py +1 -1
- pulumi_azure_native/monitor/v20231001preview/__init__.py +14 -0
- pulumi_azure_native/monitor/v20231001preview/_enums.py +140 -0
- pulumi_azure_native/monitor/v20231001preview/_inputs.py +1122 -0
- pulumi_azure_native/monitor/v20231001preview/azure_monitor_workspace.py +282 -0
- pulumi_azure_native/monitor/v20231001preview/get_azure_monitor_workspace.py +222 -0
- pulumi_azure_native/monitor/v20231001preview/get_pipeline_group.py +248 -0
- pulumi_azure_native/monitor/v20231001preview/outputs.py +1641 -0
- pulumi_azure_native/monitor/v20231001preview/pipeline_group.py +441 -0
- pulumi_azure_native/portalservices/__init__.py +18 -0
- pulumi_azure_native/portalservices/copilot_setting.py +165 -0
- pulumi_azure_native/portalservices/get_copilot_setting.py +132 -0
- pulumi_azure_native/portalservices/outputs.py +125 -0
- pulumi_azure_native/portalservices/v20240401preview/__init__.py +10 -0
- pulumi_azure_native/portalservices/v20240401preview/copilot_setting.py +163 -0
- pulumi_azure_native/portalservices/v20240401preview/get_copilot_setting.py +130 -0
- pulumi_azure_native/portalservices/v20240401preview/outputs.py +125 -0
- pulumi_azure_native/resources/_inputs.py +2 -2
- pulumi_azure_native/resources/deployment_stack_at_management_group.py +5 -1
- pulumi_azure_native/resources/deployment_stack_at_resource_group.py +5 -1
- pulumi_azure_native/resources/deployment_stack_at_subscription.py +5 -1
- pulumi_azure_native/resources/get_deployment_stack_at_management_group.py +4 -0
- pulumi_azure_native/resources/get_deployment_stack_at_resource_group.py +4 -0
- pulumi_azure_native/resources/get_deployment_stack_at_subscription.py +4 -0
- pulumi_azure_native/resources/outputs.py +2 -2
- pulumi_azure_native/resources/v20220801preview/_inputs.py +2 -2
- pulumi_azure_native/resources/v20220801preview/deployment_stack_at_management_group.py +1 -1
- pulumi_azure_native/resources/v20220801preview/deployment_stack_at_resource_group.py +1 -1
- pulumi_azure_native/resources/v20220801preview/deployment_stack_at_subscription.py +1 -1
- pulumi_azure_native/resources/v20220801preview/outputs.py +2 -2
- pulumi_azure_native/resources/v20240301/__init__.py +6 -0
- pulumi_azure_native/resources/v20240301/_enums.py +28 -0
- pulumi_azure_native/resources/v20240301/_inputs.py +302 -4
- pulumi_azure_native/resources/v20240301/deployment_stack_at_management_group.py +589 -0
- pulumi_azure_native/resources/v20240301/deployment_stack_at_resource_group.py +589 -0
- pulumi_azure_native/resources/v20240301/deployment_stack_at_subscription.py +568 -0
- pulumi_azure_native/resources/v20240301/get_deployment_stack_at_management_group.py +365 -0
- pulumi_azure_native/resources/v20240301/get_deployment_stack_at_resource_group.py +365 -0
- pulumi_azure_native/resources/v20240301/get_deployment_stack_at_subscription.py +360 -0
- pulumi_azure_native/resources/v20240301/outputs.py +677 -4
- {pulumi_azure_native-2.39.1a1714476289.dist-info → pulumi_azure_native-2.40.0.dist-info}/METADATA +1 -1
- {pulumi_azure_native-2.39.1a1714476289.dist-info → pulumi_azure_native-2.40.0.dist-info}/RECORD +256 -194
- {pulumi_azure_native-2.39.1a1714476289.dist-info → pulumi_azure_native-2.40.0.dist-info}/WHEEL +0 -0
- {pulumi_azure_native-2.39.1a1714476289.dist-info → pulumi_azure_native-2.40.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
import copy
|
|
6
|
+
import warnings
|
|
7
|
+
import pulumi
|
|
8
|
+
import pulumi.runtime
|
|
9
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
10
|
+
from .. import _utilities
|
|
11
|
+
from . import outputs
|
|
12
|
+
|
|
13
|
+
__all__ = [
|
|
14
|
+
'GetCopilotSettingResult',
|
|
15
|
+
'AwaitableGetCopilotSettingResult',
|
|
16
|
+
'get_copilot_setting',
|
|
17
|
+
'get_copilot_setting_output',
|
|
18
|
+
]
|
|
19
|
+
|
|
20
|
+
@pulumi.output_type
|
|
21
|
+
class GetCopilotSettingResult:
|
|
22
|
+
"""
|
|
23
|
+
The copilot settings tenant resource definition.
|
|
24
|
+
"""
|
|
25
|
+
def __init__(__self__, access_control_enabled=None, id=None, name=None, provisioning_state=None, system_data=None, type=None):
|
|
26
|
+
if access_control_enabled and not isinstance(access_control_enabled, bool):
|
|
27
|
+
raise TypeError("Expected argument 'access_control_enabled' to be a bool")
|
|
28
|
+
pulumi.set(__self__, "access_control_enabled", access_control_enabled)
|
|
29
|
+
if id and not isinstance(id, str):
|
|
30
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
31
|
+
pulumi.set(__self__, "id", id)
|
|
32
|
+
if name and not isinstance(name, str):
|
|
33
|
+
raise TypeError("Expected argument 'name' to be a str")
|
|
34
|
+
pulumi.set(__self__, "name", name)
|
|
35
|
+
if provisioning_state and not isinstance(provisioning_state, str):
|
|
36
|
+
raise TypeError("Expected argument 'provisioning_state' to be a str")
|
|
37
|
+
pulumi.set(__self__, "provisioning_state", provisioning_state)
|
|
38
|
+
if system_data and not isinstance(system_data, dict):
|
|
39
|
+
raise TypeError("Expected argument 'system_data' to be a dict")
|
|
40
|
+
pulumi.set(__self__, "system_data", system_data)
|
|
41
|
+
if type and not isinstance(type, str):
|
|
42
|
+
raise TypeError("Expected argument 'type' to be a str")
|
|
43
|
+
pulumi.set(__self__, "type", type)
|
|
44
|
+
|
|
45
|
+
@property
|
|
46
|
+
@pulumi.getter(name="accessControlEnabled")
|
|
47
|
+
def access_control_enabled(self) -> bool:
|
|
48
|
+
"""
|
|
49
|
+
Boolean indicating if role-based access control is enabled for copilot in this tenant.
|
|
50
|
+
"""
|
|
51
|
+
return pulumi.get(self, "access_control_enabled")
|
|
52
|
+
|
|
53
|
+
@property
|
|
54
|
+
@pulumi.getter
|
|
55
|
+
def id(self) -> str:
|
|
56
|
+
"""
|
|
57
|
+
Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
|
|
58
|
+
"""
|
|
59
|
+
return pulumi.get(self, "id")
|
|
60
|
+
|
|
61
|
+
@property
|
|
62
|
+
@pulumi.getter
|
|
63
|
+
def name(self) -> str:
|
|
64
|
+
"""
|
|
65
|
+
The name of the resource
|
|
66
|
+
"""
|
|
67
|
+
return pulumi.get(self, "name")
|
|
68
|
+
|
|
69
|
+
@property
|
|
70
|
+
@pulumi.getter(name="provisioningState")
|
|
71
|
+
def provisioning_state(self) -> str:
|
|
72
|
+
"""
|
|
73
|
+
The status of the last provisioning operation performed on the resource.
|
|
74
|
+
"""
|
|
75
|
+
return pulumi.get(self, "provisioning_state")
|
|
76
|
+
|
|
77
|
+
@property
|
|
78
|
+
@pulumi.getter(name="systemData")
|
|
79
|
+
def system_data(self) -> 'outputs.SystemDataResponse':
|
|
80
|
+
"""
|
|
81
|
+
Azure Resource Manager metadata containing createdBy and modifiedBy information.
|
|
82
|
+
"""
|
|
83
|
+
return pulumi.get(self, "system_data")
|
|
84
|
+
|
|
85
|
+
@property
|
|
86
|
+
@pulumi.getter
|
|
87
|
+
def type(self) -> str:
|
|
88
|
+
"""
|
|
89
|
+
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
|
|
90
|
+
"""
|
|
91
|
+
return pulumi.get(self, "type")
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
class AwaitableGetCopilotSettingResult(GetCopilotSettingResult):
|
|
95
|
+
# pylint: disable=using-constant-test
|
|
96
|
+
def __await__(self):
|
|
97
|
+
if False:
|
|
98
|
+
yield self
|
|
99
|
+
return GetCopilotSettingResult(
|
|
100
|
+
access_control_enabled=self.access_control_enabled,
|
|
101
|
+
id=self.id,
|
|
102
|
+
name=self.name,
|
|
103
|
+
provisioning_state=self.provisioning_state,
|
|
104
|
+
system_data=self.system_data,
|
|
105
|
+
type=self.type)
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
def get_copilot_setting(opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetCopilotSettingResult:
|
|
109
|
+
"""
|
|
110
|
+
Get a CopilotSettingsResource
|
|
111
|
+
Azure REST API version: 2024-04-01-preview.
|
|
112
|
+
"""
|
|
113
|
+
__args__ = dict()
|
|
114
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
115
|
+
__ret__ = pulumi.runtime.invoke('azure-native:portalservices:getCopilotSetting', __args__, opts=opts, typ=GetCopilotSettingResult).value
|
|
116
|
+
|
|
117
|
+
return AwaitableGetCopilotSettingResult(
|
|
118
|
+
access_control_enabled=pulumi.get(__ret__, 'access_control_enabled'),
|
|
119
|
+
id=pulumi.get(__ret__, 'id'),
|
|
120
|
+
name=pulumi.get(__ret__, 'name'),
|
|
121
|
+
provisioning_state=pulumi.get(__ret__, 'provisioning_state'),
|
|
122
|
+
system_data=pulumi.get(__ret__, 'system_data'),
|
|
123
|
+
type=pulumi.get(__ret__, 'type'))
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
@_utilities.lift_output_func(get_copilot_setting)
|
|
127
|
+
def get_copilot_setting_output(opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCopilotSettingResult]:
|
|
128
|
+
"""
|
|
129
|
+
Get a CopilotSettingsResource
|
|
130
|
+
Azure REST API version: 2024-04-01-preview.
|
|
131
|
+
"""
|
|
132
|
+
...
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
import copy
|
|
6
|
+
import warnings
|
|
7
|
+
import pulumi
|
|
8
|
+
import pulumi.runtime
|
|
9
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
10
|
+
from .. import _utilities
|
|
11
|
+
|
|
12
|
+
__all__ = [
|
|
13
|
+
'SystemDataResponse',
|
|
14
|
+
]
|
|
15
|
+
|
|
16
|
+
@pulumi.output_type
|
|
17
|
+
class SystemDataResponse(dict):
|
|
18
|
+
"""
|
|
19
|
+
Metadata pertaining to creation and last modification of the resource.
|
|
20
|
+
"""
|
|
21
|
+
@staticmethod
|
|
22
|
+
def __key_warning(key: str):
|
|
23
|
+
suggest = None
|
|
24
|
+
if key == "createdAt":
|
|
25
|
+
suggest = "created_at"
|
|
26
|
+
elif key == "createdBy":
|
|
27
|
+
suggest = "created_by"
|
|
28
|
+
elif key == "createdByType":
|
|
29
|
+
suggest = "created_by_type"
|
|
30
|
+
elif key == "lastModifiedAt":
|
|
31
|
+
suggest = "last_modified_at"
|
|
32
|
+
elif key == "lastModifiedBy":
|
|
33
|
+
suggest = "last_modified_by"
|
|
34
|
+
elif key == "lastModifiedByType":
|
|
35
|
+
suggest = "last_modified_by_type"
|
|
36
|
+
|
|
37
|
+
if suggest:
|
|
38
|
+
pulumi.log.warn(f"Key '{key}' not found in SystemDataResponse. Access the value via the '{suggest}' property getter instead.")
|
|
39
|
+
|
|
40
|
+
def __getitem__(self, key: str) -> Any:
|
|
41
|
+
SystemDataResponse.__key_warning(key)
|
|
42
|
+
return super().__getitem__(key)
|
|
43
|
+
|
|
44
|
+
def get(self, key: str, default = None) -> Any:
|
|
45
|
+
SystemDataResponse.__key_warning(key)
|
|
46
|
+
return super().get(key, default)
|
|
47
|
+
|
|
48
|
+
def __init__(__self__, *,
|
|
49
|
+
created_at: Optional[str] = None,
|
|
50
|
+
created_by: Optional[str] = None,
|
|
51
|
+
created_by_type: Optional[str] = None,
|
|
52
|
+
last_modified_at: Optional[str] = None,
|
|
53
|
+
last_modified_by: Optional[str] = None,
|
|
54
|
+
last_modified_by_type: Optional[str] = None):
|
|
55
|
+
"""
|
|
56
|
+
Metadata pertaining to creation and last modification of the resource.
|
|
57
|
+
:param str created_at: The timestamp of resource creation (UTC).
|
|
58
|
+
:param str created_by: The identity that created the resource.
|
|
59
|
+
:param str created_by_type: The type of identity that created the resource.
|
|
60
|
+
:param str last_modified_at: The timestamp of resource last modification (UTC)
|
|
61
|
+
:param str last_modified_by: The identity that last modified the resource.
|
|
62
|
+
:param str last_modified_by_type: The type of identity that last modified the resource.
|
|
63
|
+
"""
|
|
64
|
+
if created_at is not None:
|
|
65
|
+
pulumi.set(__self__, "created_at", created_at)
|
|
66
|
+
if created_by is not None:
|
|
67
|
+
pulumi.set(__self__, "created_by", created_by)
|
|
68
|
+
if created_by_type is not None:
|
|
69
|
+
pulumi.set(__self__, "created_by_type", created_by_type)
|
|
70
|
+
if last_modified_at is not None:
|
|
71
|
+
pulumi.set(__self__, "last_modified_at", last_modified_at)
|
|
72
|
+
if last_modified_by is not None:
|
|
73
|
+
pulumi.set(__self__, "last_modified_by", last_modified_by)
|
|
74
|
+
if last_modified_by_type is not None:
|
|
75
|
+
pulumi.set(__self__, "last_modified_by_type", last_modified_by_type)
|
|
76
|
+
|
|
77
|
+
@property
|
|
78
|
+
@pulumi.getter(name="createdAt")
|
|
79
|
+
def created_at(self) -> Optional[str]:
|
|
80
|
+
"""
|
|
81
|
+
The timestamp of resource creation (UTC).
|
|
82
|
+
"""
|
|
83
|
+
return pulumi.get(self, "created_at")
|
|
84
|
+
|
|
85
|
+
@property
|
|
86
|
+
@pulumi.getter(name="createdBy")
|
|
87
|
+
def created_by(self) -> Optional[str]:
|
|
88
|
+
"""
|
|
89
|
+
The identity that created the resource.
|
|
90
|
+
"""
|
|
91
|
+
return pulumi.get(self, "created_by")
|
|
92
|
+
|
|
93
|
+
@property
|
|
94
|
+
@pulumi.getter(name="createdByType")
|
|
95
|
+
def created_by_type(self) -> Optional[str]:
|
|
96
|
+
"""
|
|
97
|
+
The type of identity that created the resource.
|
|
98
|
+
"""
|
|
99
|
+
return pulumi.get(self, "created_by_type")
|
|
100
|
+
|
|
101
|
+
@property
|
|
102
|
+
@pulumi.getter(name="lastModifiedAt")
|
|
103
|
+
def last_modified_at(self) -> Optional[str]:
|
|
104
|
+
"""
|
|
105
|
+
The timestamp of resource last modification (UTC)
|
|
106
|
+
"""
|
|
107
|
+
return pulumi.get(self, "last_modified_at")
|
|
108
|
+
|
|
109
|
+
@property
|
|
110
|
+
@pulumi.getter(name="lastModifiedBy")
|
|
111
|
+
def last_modified_by(self) -> Optional[str]:
|
|
112
|
+
"""
|
|
113
|
+
The identity that last modified the resource.
|
|
114
|
+
"""
|
|
115
|
+
return pulumi.get(self, "last_modified_by")
|
|
116
|
+
|
|
117
|
+
@property
|
|
118
|
+
@pulumi.getter(name="lastModifiedByType")
|
|
119
|
+
def last_modified_by_type(self) -> Optional[str]:
|
|
120
|
+
"""
|
|
121
|
+
The type of identity that last modified the resource.
|
|
122
|
+
"""
|
|
123
|
+
return pulumi.get(self, "last_modified_by_type")
|
|
124
|
+
|
|
125
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
from ... import _utilities
|
|
6
|
+
import typing
|
|
7
|
+
# Export this package's modules as members:
|
|
8
|
+
from .copilot_setting import *
|
|
9
|
+
from .get_copilot_setting import *
|
|
10
|
+
from . import outputs
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
import copy
|
|
6
|
+
import warnings
|
|
7
|
+
import pulumi
|
|
8
|
+
import pulumi.runtime
|
|
9
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
10
|
+
from ... import _utilities
|
|
11
|
+
from . import outputs
|
|
12
|
+
|
|
13
|
+
__all__ = ['CopilotSettingArgs', 'CopilotSetting']
|
|
14
|
+
|
|
15
|
+
@pulumi.input_type
|
|
16
|
+
class CopilotSettingArgs:
|
|
17
|
+
def __init__(__self__, *,
|
|
18
|
+
access_control_enabled: pulumi.Input[bool]):
|
|
19
|
+
"""
|
|
20
|
+
The set of arguments for constructing a CopilotSetting resource.
|
|
21
|
+
:param pulumi.Input[bool] access_control_enabled: Boolean indicating if role-based access control is enabled for copilot in this tenant.
|
|
22
|
+
"""
|
|
23
|
+
pulumi.set(__self__, "access_control_enabled", access_control_enabled)
|
|
24
|
+
|
|
25
|
+
@property
|
|
26
|
+
@pulumi.getter(name="accessControlEnabled")
|
|
27
|
+
def access_control_enabled(self) -> pulumi.Input[bool]:
|
|
28
|
+
"""
|
|
29
|
+
Boolean indicating if role-based access control is enabled for copilot in this tenant.
|
|
30
|
+
"""
|
|
31
|
+
return pulumi.get(self, "access_control_enabled")
|
|
32
|
+
|
|
33
|
+
@access_control_enabled.setter
|
|
34
|
+
def access_control_enabled(self, value: pulumi.Input[bool]):
|
|
35
|
+
pulumi.set(self, "access_control_enabled", value)
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
class CopilotSetting(pulumi.CustomResource):
|
|
39
|
+
@overload
|
|
40
|
+
def __init__(__self__,
|
|
41
|
+
resource_name: str,
|
|
42
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
43
|
+
access_control_enabled: Optional[pulumi.Input[bool]] = None,
|
|
44
|
+
__props__=None):
|
|
45
|
+
"""
|
|
46
|
+
The copilot settings tenant resource definition.
|
|
47
|
+
|
|
48
|
+
:param str resource_name: The name of the resource.
|
|
49
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
50
|
+
:param pulumi.Input[bool] access_control_enabled: Boolean indicating if role-based access control is enabled for copilot in this tenant.
|
|
51
|
+
"""
|
|
52
|
+
...
|
|
53
|
+
@overload
|
|
54
|
+
def __init__(__self__,
|
|
55
|
+
resource_name: str,
|
|
56
|
+
args: CopilotSettingArgs,
|
|
57
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
|
58
|
+
"""
|
|
59
|
+
The copilot settings tenant resource definition.
|
|
60
|
+
|
|
61
|
+
:param str resource_name: The name of the resource.
|
|
62
|
+
:param CopilotSettingArgs args: The arguments to use to populate this resource's properties.
|
|
63
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
64
|
+
"""
|
|
65
|
+
...
|
|
66
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
|
67
|
+
resource_args, opts = _utilities.get_resource_args_opts(CopilotSettingArgs, pulumi.ResourceOptions, *args, **kwargs)
|
|
68
|
+
if resource_args is not None:
|
|
69
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
70
|
+
else:
|
|
71
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
|
72
|
+
|
|
73
|
+
def _internal_init(__self__,
|
|
74
|
+
resource_name: str,
|
|
75
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
76
|
+
access_control_enabled: Optional[pulumi.Input[bool]] = None,
|
|
77
|
+
__props__=None):
|
|
78
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
79
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
|
80
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
|
81
|
+
if opts.id is None:
|
|
82
|
+
if __props__ is not None:
|
|
83
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
84
|
+
__props__ = CopilotSettingArgs.__new__(CopilotSettingArgs)
|
|
85
|
+
|
|
86
|
+
if access_control_enabled is None and not opts.urn:
|
|
87
|
+
raise TypeError("Missing required property 'access_control_enabled'")
|
|
88
|
+
__props__.__dict__["access_control_enabled"] = access_control_enabled
|
|
89
|
+
__props__.__dict__["name"] = None
|
|
90
|
+
__props__.__dict__["provisioning_state"] = None
|
|
91
|
+
__props__.__dict__["system_data"] = None
|
|
92
|
+
__props__.__dict__["type"] = None
|
|
93
|
+
alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:portalservices:CopilotSetting")])
|
|
94
|
+
opts = pulumi.ResourceOptions.merge(opts, alias_opts)
|
|
95
|
+
super(CopilotSetting, __self__).__init__(
|
|
96
|
+
'azure-native:portalservices/v20240401preview:CopilotSetting',
|
|
97
|
+
resource_name,
|
|
98
|
+
__props__,
|
|
99
|
+
opts)
|
|
100
|
+
|
|
101
|
+
@staticmethod
|
|
102
|
+
def get(resource_name: str,
|
|
103
|
+
id: pulumi.Input[str],
|
|
104
|
+
opts: Optional[pulumi.ResourceOptions] = None) -> 'CopilotSetting':
|
|
105
|
+
"""
|
|
106
|
+
Get an existing CopilotSetting resource's state with the given name, id, and optional extra
|
|
107
|
+
properties used to qualify the lookup.
|
|
108
|
+
|
|
109
|
+
:param str resource_name: The unique name of the resulting resource.
|
|
110
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
111
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
112
|
+
"""
|
|
113
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
114
|
+
|
|
115
|
+
__props__ = CopilotSettingArgs.__new__(CopilotSettingArgs)
|
|
116
|
+
|
|
117
|
+
__props__.__dict__["access_control_enabled"] = None
|
|
118
|
+
__props__.__dict__["name"] = None
|
|
119
|
+
__props__.__dict__["provisioning_state"] = None
|
|
120
|
+
__props__.__dict__["system_data"] = None
|
|
121
|
+
__props__.__dict__["type"] = None
|
|
122
|
+
return CopilotSetting(resource_name, opts=opts, __props__=__props__)
|
|
123
|
+
|
|
124
|
+
@property
|
|
125
|
+
@pulumi.getter(name="accessControlEnabled")
|
|
126
|
+
def access_control_enabled(self) -> pulumi.Output[bool]:
|
|
127
|
+
"""
|
|
128
|
+
Boolean indicating if role-based access control is enabled for copilot in this tenant.
|
|
129
|
+
"""
|
|
130
|
+
return pulumi.get(self, "access_control_enabled")
|
|
131
|
+
|
|
132
|
+
@property
|
|
133
|
+
@pulumi.getter
|
|
134
|
+
def name(self) -> pulumi.Output[str]:
|
|
135
|
+
"""
|
|
136
|
+
The name of the resource
|
|
137
|
+
"""
|
|
138
|
+
return pulumi.get(self, "name")
|
|
139
|
+
|
|
140
|
+
@property
|
|
141
|
+
@pulumi.getter(name="provisioningState")
|
|
142
|
+
def provisioning_state(self) -> pulumi.Output[str]:
|
|
143
|
+
"""
|
|
144
|
+
The status of the last provisioning operation performed on the resource.
|
|
145
|
+
"""
|
|
146
|
+
return pulumi.get(self, "provisioning_state")
|
|
147
|
+
|
|
148
|
+
@property
|
|
149
|
+
@pulumi.getter(name="systemData")
|
|
150
|
+
def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']:
|
|
151
|
+
"""
|
|
152
|
+
Azure Resource Manager metadata containing createdBy and modifiedBy information.
|
|
153
|
+
"""
|
|
154
|
+
return pulumi.get(self, "system_data")
|
|
155
|
+
|
|
156
|
+
@property
|
|
157
|
+
@pulumi.getter
|
|
158
|
+
def type(self) -> pulumi.Output[str]:
|
|
159
|
+
"""
|
|
160
|
+
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
|
|
161
|
+
"""
|
|
162
|
+
return pulumi.get(self, "type")
|
|
163
|
+
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
import copy
|
|
6
|
+
import warnings
|
|
7
|
+
import pulumi
|
|
8
|
+
import pulumi.runtime
|
|
9
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
10
|
+
from ... import _utilities
|
|
11
|
+
from . import outputs
|
|
12
|
+
|
|
13
|
+
__all__ = [
|
|
14
|
+
'GetCopilotSettingResult',
|
|
15
|
+
'AwaitableGetCopilotSettingResult',
|
|
16
|
+
'get_copilot_setting',
|
|
17
|
+
'get_copilot_setting_output',
|
|
18
|
+
]
|
|
19
|
+
|
|
20
|
+
@pulumi.output_type
|
|
21
|
+
class GetCopilotSettingResult:
|
|
22
|
+
"""
|
|
23
|
+
The copilot settings tenant resource definition.
|
|
24
|
+
"""
|
|
25
|
+
def __init__(__self__, access_control_enabled=None, id=None, name=None, provisioning_state=None, system_data=None, type=None):
|
|
26
|
+
if access_control_enabled and not isinstance(access_control_enabled, bool):
|
|
27
|
+
raise TypeError("Expected argument 'access_control_enabled' to be a bool")
|
|
28
|
+
pulumi.set(__self__, "access_control_enabled", access_control_enabled)
|
|
29
|
+
if id and not isinstance(id, str):
|
|
30
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
31
|
+
pulumi.set(__self__, "id", id)
|
|
32
|
+
if name and not isinstance(name, str):
|
|
33
|
+
raise TypeError("Expected argument 'name' to be a str")
|
|
34
|
+
pulumi.set(__self__, "name", name)
|
|
35
|
+
if provisioning_state and not isinstance(provisioning_state, str):
|
|
36
|
+
raise TypeError("Expected argument 'provisioning_state' to be a str")
|
|
37
|
+
pulumi.set(__self__, "provisioning_state", provisioning_state)
|
|
38
|
+
if system_data and not isinstance(system_data, dict):
|
|
39
|
+
raise TypeError("Expected argument 'system_data' to be a dict")
|
|
40
|
+
pulumi.set(__self__, "system_data", system_data)
|
|
41
|
+
if type and not isinstance(type, str):
|
|
42
|
+
raise TypeError("Expected argument 'type' to be a str")
|
|
43
|
+
pulumi.set(__self__, "type", type)
|
|
44
|
+
|
|
45
|
+
@property
|
|
46
|
+
@pulumi.getter(name="accessControlEnabled")
|
|
47
|
+
def access_control_enabled(self) -> bool:
|
|
48
|
+
"""
|
|
49
|
+
Boolean indicating if role-based access control is enabled for copilot in this tenant.
|
|
50
|
+
"""
|
|
51
|
+
return pulumi.get(self, "access_control_enabled")
|
|
52
|
+
|
|
53
|
+
@property
|
|
54
|
+
@pulumi.getter
|
|
55
|
+
def id(self) -> str:
|
|
56
|
+
"""
|
|
57
|
+
Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
|
|
58
|
+
"""
|
|
59
|
+
return pulumi.get(self, "id")
|
|
60
|
+
|
|
61
|
+
@property
|
|
62
|
+
@pulumi.getter
|
|
63
|
+
def name(self) -> str:
|
|
64
|
+
"""
|
|
65
|
+
The name of the resource
|
|
66
|
+
"""
|
|
67
|
+
return pulumi.get(self, "name")
|
|
68
|
+
|
|
69
|
+
@property
|
|
70
|
+
@pulumi.getter(name="provisioningState")
|
|
71
|
+
def provisioning_state(self) -> str:
|
|
72
|
+
"""
|
|
73
|
+
The status of the last provisioning operation performed on the resource.
|
|
74
|
+
"""
|
|
75
|
+
return pulumi.get(self, "provisioning_state")
|
|
76
|
+
|
|
77
|
+
@property
|
|
78
|
+
@pulumi.getter(name="systemData")
|
|
79
|
+
def system_data(self) -> 'outputs.SystemDataResponse':
|
|
80
|
+
"""
|
|
81
|
+
Azure Resource Manager metadata containing createdBy and modifiedBy information.
|
|
82
|
+
"""
|
|
83
|
+
return pulumi.get(self, "system_data")
|
|
84
|
+
|
|
85
|
+
@property
|
|
86
|
+
@pulumi.getter
|
|
87
|
+
def type(self) -> str:
|
|
88
|
+
"""
|
|
89
|
+
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
|
|
90
|
+
"""
|
|
91
|
+
return pulumi.get(self, "type")
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
class AwaitableGetCopilotSettingResult(GetCopilotSettingResult):
|
|
95
|
+
# pylint: disable=using-constant-test
|
|
96
|
+
def __await__(self):
|
|
97
|
+
if False:
|
|
98
|
+
yield self
|
|
99
|
+
return GetCopilotSettingResult(
|
|
100
|
+
access_control_enabled=self.access_control_enabled,
|
|
101
|
+
id=self.id,
|
|
102
|
+
name=self.name,
|
|
103
|
+
provisioning_state=self.provisioning_state,
|
|
104
|
+
system_data=self.system_data,
|
|
105
|
+
type=self.type)
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
def get_copilot_setting(opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetCopilotSettingResult:
|
|
109
|
+
"""
|
|
110
|
+
Get a CopilotSettingsResource
|
|
111
|
+
"""
|
|
112
|
+
__args__ = dict()
|
|
113
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
114
|
+
__ret__ = pulumi.runtime.invoke('azure-native:portalservices/v20240401preview:getCopilotSetting', __args__, opts=opts, typ=GetCopilotSettingResult).value
|
|
115
|
+
|
|
116
|
+
return AwaitableGetCopilotSettingResult(
|
|
117
|
+
access_control_enabled=pulumi.get(__ret__, 'access_control_enabled'),
|
|
118
|
+
id=pulumi.get(__ret__, 'id'),
|
|
119
|
+
name=pulumi.get(__ret__, 'name'),
|
|
120
|
+
provisioning_state=pulumi.get(__ret__, 'provisioning_state'),
|
|
121
|
+
system_data=pulumi.get(__ret__, 'system_data'),
|
|
122
|
+
type=pulumi.get(__ret__, 'type'))
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
@_utilities.lift_output_func(get_copilot_setting)
|
|
126
|
+
def get_copilot_setting_output(opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCopilotSettingResult]:
|
|
127
|
+
"""
|
|
128
|
+
Get a CopilotSettingsResource
|
|
129
|
+
"""
|
|
130
|
+
...
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
import copy
|
|
6
|
+
import warnings
|
|
7
|
+
import pulumi
|
|
8
|
+
import pulumi.runtime
|
|
9
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
10
|
+
from ... import _utilities
|
|
11
|
+
|
|
12
|
+
__all__ = [
|
|
13
|
+
'SystemDataResponse',
|
|
14
|
+
]
|
|
15
|
+
|
|
16
|
+
@pulumi.output_type
|
|
17
|
+
class SystemDataResponse(dict):
|
|
18
|
+
"""
|
|
19
|
+
Metadata pertaining to creation and last modification of the resource.
|
|
20
|
+
"""
|
|
21
|
+
@staticmethod
|
|
22
|
+
def __key_warning(key: str):
|
|
23
|
+
suggest = None
|
|
24
|
+
if key == "createdAt":
|
|
25
|
+
suggest = "created_at"
|
|
26
|
+
elif key == "createdBy":
|
|
27
|
+
suggest = "created_by"
|
|
28
|
+
elif key == "createdByType":
|
|
29
|
+
suggest = "created_by_type"
|
|
30
|
+
elif key == "lastModifiedAt":
|
|
31
|
+
suggest = "last_modified_at"
|
|
32
|
+
elif key == "lastModifiedBy":
|
|
33
|
+
suggest = "last_modified_by"
|
|
34
|
+
elif key == "lastModifiedByType":
|
|
35
|
+
suggest = "last_modified_by_type"
|
|
36
|
+
|
|
37
|
+
if suggest:
|
|
38
|
+
pulumi.log.warn(f"Key '{key}' not found in SystemDataResponse. Access the value via the '{suggest}' property getter instead.")
|
|
39
|
+
|
|
40
|
+
def __getitem__(self, key: str) -> Any:
|
|
41
|
+
SystemDataResponse.__key_warning(key)
|
|
42
|
+
return super().__getitem__(key)
|
|
43
|
+
|
|
44
|
+
def get(self, key: str, default = None) -> Any:
|
|
45
|
+
SystemDataResponse.__key_warning(key)
|
|
46
|
+
return super().get(key, default)
|
|
47
|
+
|
|
48
|
+
def __init__(__self__, *,
|
|
49
|
+
created_at: Optional[str] = None,
|
|
50
|
+
created_by: Optional[str] = None,
|
|
51
|
+
created_by_type: Optional[str] = None,
|
|
52
|
+
last_modified_at: Optional[str] = None,
|
|
53
|
+
last_modified_by: Optional[str] = None,
|
|
54
|
+
last_modified_by_type: Optional[str] = None):
|
|
55
|
+
"""
|
|
56
|
+
Metadata pertaining to creation and last modification of the resource.
|
|
57
|
+
:param str created_at: The timestamp of resource creation (UTC).
|
|
58
|
+
:param str created_by: The identity that created the resource.
|
|
59
|
+
:param str created_by_type: The type of identity that created the resource.
|
|
60
|
+
:param str last_modified_at: The timestamp of resource last modification (UTC)
|
|
61
|
+
:param str last_modified_by: The identity that last modified the resource.
|
|
62
|
+
:param str last_modified_by_type: The type of identity that last modified the resource.
|
|
63
|
+
"""
|
|
64
|
+
if created_at is not None:
|
|
65
|
+
pulumi.set(__self__, "created_at", created_at)
|
|
66
|
+
if created_by is not None:
|
|
67
|
+
pulumi.set(__self__, "created_by", created_by)
|
|
68
|
+
if created_by_type is not None:
|
|
69
|
+
pulumi.set(__self__, "created_by_type", created_by_type)
|
|
70
|
+
if last_modified_at is not None:
|
|
71
|
+
pulumi.set(__self__, "last_modified_at", last_modified_at)
|
|
72
|
+
if last_modified_by is not None:
|
|
73
|
+
pulumi.set(__self__, "last_modified_by", last_modified_by)
|
|
74
|
+
if last_modified_by_type is not None:
|
|
75
|
+
pulumi.set(__self__, "last_modified_by_type", last_modified_by_type)
|
|
76
|
+
|
|
77
|
+
@property
|
|
78
|
+
@pulumi.getter(name="createdAt")
|
|
79
|
+
def created_at(self) -> Optional[str]:
|
|
80
|
+
"""
|
|
81
|
+
The timestamp of resource creation (UTC).
|
|
82
|
+
"""
|
|
83
|
+
return pulumi.get(self, "created_at")
|
|
84
|
+
|
|
85
|
+
@property
|
|
86
|
+
@pulumi.getter(name="createdBy")
|
|
87
|
+
def created_by(self) -> Optional[str]:
|
|
88
|
+
"""
|
|
89
|
+
The identity that created the resource.
|
|
90
|
+
"""
|
|
91
|
+
return pulumi.get(self, "created_by")
|
|
92
|
+
|
|
93
|
+
@property
|
|
94
|
+
@pulumi.getter(name="createdByType")
|
|
95
|
+
def created_by_type(self) -> Optional[str]:
|
|
96
|
+
"""
|
|
97
|
+
The type of identity that created the resource.
|
|
98
|
+
"""
|
|
99
|
+
return pulumi.get(self, "created_by_type")
|
|
100
|
+
|
|
101
|
+
@property
|
|
102
|
+
@pulumi.getter(name="lastModifiedAt")
|
|
103
|
+
def last_modified_at(self) -> Optional[str]:
|
|
104
|
+
"""
|
|
105
|
+
The timestamp of resource last modification (UTC)
|
|
106
|
+
"""
|
|
107
|
+
return pulumi.get(self, "last_modified_at")
|
|
108
|
+
|
|
109
|
+
@property
|
|
110
|
+
@pulumi.getter(name="lastModifiedBy")
|
|
111
|
+
def last_modified_by(self) -> Optional[str]:
|
|
112
|
+
"""
|
|
113
|
+
The identity that last modified the resource.
|
|
114
|
+
"""
|
|
115
|
+
return pulumi.get(self, "last_modified_by")
|
|
116
|
+
|
|
117
|
+
@property
|
|
118
|
+
@pulumi.getter(name="lastModifiedByType")
|
|
119
|
+
def last_modified_by_type(self) -> Optional[str]:
|
|
120
|
+
"""
|
|
121
|
+
The type of identity that last modified the resource.
|
|
122
|
+
"""
|
|
123
|
+
return pulumi.get(self, "last_modified_by_type")
|
|
124
|
+
|
|
125
|
+
|