pulumi-azure-native 3.0.0a1743504154__py3-none-any.whl → 3.1.0a1744013012__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 +4 -0
- pulumi_azure_native/monitor/__init__.py +9 -0
- pulumi_azure_native/monitor/_enums.py +101 -0
- pulumi_azure_native/monitor/_inputs.py +2120 -548
- pulumi_azure_native/monitor/autoscale_setting.py +397 -0
- pulumi_azure_native/monitor/diagnostic_setting.py +444 -0
- pulumi_azure_native/monitor/get_autoscale_setting.py +189 -0
- pulumi_azure_native/monitor/get_diagnostic_setting.py +273 -0
- pulumi_azure_native/monitor/get_management_group_diagnostic_setting.py +245 -0
- pulumi_azure_native/monitor/get_subscription_diagnostic_setting.py +239 -0
- pulumi_azure_native/monitor/list_diagnostic_settings_category.py +85 -0
- pulumi_azure_native/monitor/management_group_diagnostic_setting.py +386 -0
- pulumi_azure_native/monitor/outputs.py +1406 -9
- pulumi_azure_native/monitor/subscription_diagnostic_setting.py +365 -0
- pulumi_azure_native/pulumi-plugin.json +1 -1
- {pulumi_azure_native-3.0.0a1743504154.dist-info → pulumi_azure_native-3.1.0a1744013012.dist-info}/METADATA +1 -1
- {pulumi_azure_native-3.0.0a1743504154.dist-info → pulumi_azure_native-3.1.0a1744013012.dist-info}/RECORD +19 -10
- {pulumi_azure_native-3.0.0a1743504154.dist-info → pulumi_azure_native-3.1.0a1744013012.dist-info}/WHEEL +0 -0
- {pulumi_azure_native-3.0.0a1743504154.dist-info → pulumi_azure_native-3.1.0a1744013012.dist-info}/top_level.txt +0 -0
|
@@ -22,6 +22,9 @@ __all__ = [
|
|
|
22
22
|
'ActionsResponse',
|
|
23
23
|
'ArmRoleReceiverResponse',
|
|
24
24
|
'AutomationRunbookReceiverResponse',
|
|
25
|
+
'AutoscaleNotificationResponse',
|
|
26
|
+
'AutoscaleProfileResponse',
|
|
27
|
+
'AutoscaleSettingResponse',
|
|
25
28
|
'AzureAppPushReceiverResponse',
|
|
26
29
|
'AzureFunctionReceiverResponse',
|
|
27
30
|
'AzureMonitorWorkspaceLogsApiConfigResponse',
|
|
@@ -32,7 +35,9 @@ __all__ = [
|
|
|
32
35
|
'ConcurrencyConfigurationResponse',
|
|
33
36
|
'ConditionResponse',
|
|
34
37
|
'ConditionResponseFailingPeriods',
|
|
38
|
+
'DiagnosticSettingsCategoryResourceResponse',
|
|
35
39
|
'DimensionResponse',
|
|
40
|
+
'EmailNotificationResponse',
|
|
36
41
|
'EmailReceiverResponse',
|
|
37
42
|
'EventHubReceiverResponse',
|
|
38
43
|
'ExporterResponse',
|
|
@@ -44,8 +49,12 @@ __all__ = [
|
|
|
44
49
|
'JsonArrayMapperResponse',
|
|
45
50
|
'JsonMapperDestinationFieldResponse',
|
|
46
51
|
'JsonMapperSourceFieldResponse',
|
|
52
|
+
'LogSettingsResponse',
|
|
47
53
|
'LogicAppReceiverResponse',
|
|
48
54
|
'ManagedServiceIdentityResponse',
|
|
55
|
+
'ManagementGroupLogSettingsResponse',
|
|
56
|
+
'MetricSettingsResponse',
|
|
57
|
+
'MetricTriggerResponse',
|
|
49
58
|
'MetricsResponse',
|
|
50
59
|
'NetworkingConfigurationResponse',
|
|
51
60
|
'NetworkingRouteResponse',
|
|
@@ -53,26 +62,37 @@ __all__ = [
|
|
|
53
62
|
'PersistenceConfigurationsResponse',
|
|
54
63
|
'PipelineGroupPropertiesResponse',
|
|
55
64
|
'PipelineResponse',
|
|
65
|
+
'PredictiveAutoscalePolicyResponse',
|
|
56
66
|
'PrivateEndpointConnectionResponse',
|
|
57
67
|
'PrivateEndpointResponse',
|
|
58
68
|
'PrivateLinkServiceConnectionStateResponse',
|
|
59
69
|
'ProcessorResponse',
|
|
60
70
|
'ReceiverResponse',
|
|
61
71
|
'RecordMapResponse',
|
|
72
|
+
'RecurrenceResponse',
|
|
73
|
+
'RecurrentScheduleResponse',
|
|
62
74
|
'ResourceMapResponse',
|
|
75
|
+
'RetentionPolicyResponse',
|
|
63
76
|
'RuleResolveConfigurationResponse',
|
|
77
|
+
'ScaleActionResponse',
|
|
78
|
+
'ScaleCapacityResponse',
|
|
79
|
+
'ScaleRuleMetricDimensionResponse',
|
|
80
|
+
'ScaleRuleResponse',
|
|
64
81
|
'ScheduledQueryRuleCriteriaResponse',
|
|
65
82
|
'SchemaMapResponse',
|
|
66
83
|
'ScopeMapResponse',
|
|
67
84
|
'ServiceResponse',
|
|
68
85
|
'SmsReceiverResponse',
|
|
86
|
+
'SubscriptionLogSettingsResponse',
|
|
69
87
|
'SyslogReceiverResponse',
|
|
70
88
|
'SystemDataResponse',
|
|
71
89
|
'TcpExporterResponse',
|
|
90
|
+
'TimeWindowResponse',
|
|
72
91
|
'UdpReceiverResponse',
|
|
73
92
|
'UserAssignedIdentityResponse',
|
|
74
93
|
'UserIdentityPropertiesResponse',
|
|
75
94
|
'VoiceReceiverResponse',
|
|
95
|
+
'WebhookNotificationResponse',
|
|
76
96
|
'WebhookReceiverResponse',
|
|
77
97
|
]
|
|
78
98
|
|
|
@@ -476,6 +496,254 @@ class AutomationRunbookReceiverResponse(dict):
|
|
|
476
496
|
return pulumi.get(self, "use_common_alert_schema")
|
|
477
497
|
|
|
478
498
|
|
|
499
|
+
@pulumi.output_type
|
|
500
|
+
class AutoscaleNotificationResponse(dict):
|
|
501
|
+
"""
|
|
502
|
+
Autoscale notification.
|
|
503
|
+
"""
|
|
504
|
+
def __init__(__self__, *,
|
|
505
|
+
operation: str,
|
|
506
|
+
email: Optional['outputs.EmailNotificationResponse'] = None,
|
|
507
|
+
webhooks: Optional[Sequence['outputs.WebhookNotificationResponse']] = None):
|
|
508
|
+
"""
|
|
509
|
+
Autoscale notification.
|
|
510
|
+
:param str operation: the operation associated with the notification and its value must be "scale"
|
|
511
|
+
:param 'EmailNotificationResponse' email: the email notification.
|
|
512
|
+
:param Sequence['WebhookNotificationResponse'] webhooks: the collection of webhook notifications.
|
|
513
|
+
"""
|
|
514
|
+
pulumi.set(__self__, "operation", operation)
|
|
515
|
+
if email is not None:
|
|
516
|
+
pulumi.set(__self__, "email", email)
|
|
517
|
+
if webhooks is not None:
|
|
518
|
+
pulumi.set(__self__, "webhooks", webhooks)
|
|
519
|
+
|
|
520
|
+
@property
|
|
521
|
+
@pulumi.getter
|
|
522
|
+
def operation(self) -> str:
|
|
523
|
+
"""
|
|
524
|
+
the operation associated with the notification and its value must be "scale"
|
|
525
|
+
"""
|
|
526
|
+
return pulumi.get(self, "operation")
|
|
527
|
+
|
|
528
|
+
@property
|
|
529
|
+
@pulumi.getter
|
|
530
|
+
def email(self) -> Optional['outputs.EmailNotificationResponse']:
|
|
531
|
+
"""
|
|
532
|
+
the email notification.
|
|
533
|
+
"""
|
|
534
|
+
return pulumi.get(self, "email")
|
|
535
|
+
|
|
536
|
+
@property
|
|
537
|
+
@pulumi.getter
|
|
538
|
+
def webhooks(self) -> Optional[Sequence['outputs.WebhookNotificationResponse']]:
|
|
539
|
+
"""
|
|
540
|
+
the collection of webhook notifications.
|
|
541
|
+
"""
|
|
542
|
+
return pulumi.get(self, "webhooks")
|
|
543
|
+
|
|
544
|
+
|
|
545
|
+
@pulumi.output_type
|
|
546
|
+
class AutoscaleProfileResponse(dict):
|
|
547
|
+
"""
|
|
548
|
+
Autoscale profile.
|
|
549
|
+
"""
|
|
550
|
+
@staticmethod
|
|
551
|
+
def __key_warning(key: str):
|
|
552
|
+
suggest = None
|
|
553
|
+
if key == "fixedDate":
|
|
554
|
+
suggest = "fixed_date"
|
|
555
|
+
|
|
556
|
+
if suggest:
|
|
557
|
+
pulumi.log.warn(f"Key '{key}' not found in AutoscaleProfileResponse. Access the value via the '{suggest}' property getter instead.")
|
|
558
|
+
|
|
559
|
+
def __getitem__(self, key: str) -> Any:
|
|
560
|
+
AutoscaleProfileResponse.__key_warning(key)
|
|
561
|
+
return super().__getitem__(key)
|
|
562
|
+
|
|
563
|
+
def get(self, key: str, default = None) -> Any:
|
|
564
|
+
AutoscaleProfileResponse.__key_warning(key)
|
|
565
|
+
return super().get(key, default)
|
|
566
|
+
|
|
567
|
+
def __init__(__self__, *,
|
|
568
|
+
capacity: 'outputs.ScaleCapacityResponse',
|
|
569
|
+
name: str,
|
|
570
|
+
rules: Sequence['outputs.ScaleRuleResponse'],
|
|
571
|
+
fixed_date: Optional['outputs.TimeWindowResponse'] = None,
|
|
572
|
+
recurrence: Optional['outputs.RecurrenceResponse'] = None):
|
|
573
|
+
"""
|
|
574
|
+
Autoscale profile.
|
|
575
|
+
:param 'ScaleCapacityResponse' capacity: the number of instances that can be used during this profile.
|
|
576
|
+
:param str name: the name of the profile.
|
|
577
|
+
:param Sequence['ScaleRuleResponse'] rules: the collection of rules that provide the triggers and parameters for the scaling action. A maximum of 10 rules can be specified.
|
|
578
|
+
:param 'TimeWindowResponse' fixed_date: the specific date-time for the profile. This element is not used if the Recurrence element is used.
|
|
579
|
+
:param 'RecurrenceResponse' recurrence: the repeating times at which this profile begins. This element is not used if the FixedDate element is used.
|
|
580
|
+
"""
|
|
581
|
+
pulumi.set(__self__, "capacity", capacity)
|
|
582
|
+
pulumi.set(__self__, "name", name)
|
|
583
|
+
pulumi.set(__self__, "rules", rules)
|
|
584
|
+
if fixed_date is not None:
|
|
585
|
+
pulumi.set(__self__, "fixed_date", fixed_date)
|
|
586
|
+
if recurrence is not None:
|
|
587
|
+
pulumi.set(__self__, "recurrence", recurrence)
|
|
588
|
+
|
|
589
|
+
@property
|
|
590
|
+
@pulumi.getter
|
|
591
|
+
def capacity(self) -> 'outputs.ScaleCapacityResponse':
|
|
592
|
+
"""
|
|
593
|
+
the number of instances that can be used during this profile.
|
|
594
|
+
"""
|
|
595
|
+
return pulumi.get(self, "capacity")
|
|
596
|
+
|
|
597
|
+
@property
|
|
598
|
+
@pulumi.getter
|
|
599
|
+
def name(self) -> str:
|
|
600
|
+
"""
|
|
601
|
+
the name of the profile.
|
|
602
|
+
"""
|
|
603
|
+
return pulumi.get(self, "name")
|
|
604
|
+
|
|
605
|
+
@property
|
|
606
|
+
@pulumi.getter
|
|
607
|
+
def rules(self) -> Sequence['outputs.ScaleRuleResponse']:
|
|
608
|
+
"""
|
|
609
|
+
the collection of rules that provide the triggers and parameters for the scaling action. A maximum of 10 rules can be specified.
|
|
610
|
+
"""
|
|
611
|
+
return pulumi.get(self, "rules")
|
|
612
|
+
|
|
613
|
+
@property
|
|
614
|
+
@pulumi.getter(name="fixedDate")
|
|
615
|
+
def fixed_date(self) -> Optional['outputs.TimeWindowResponse']:
|
|
616
|
+
"""
|
|
617
|
+
the specific date-time for the profile. This element is not used if the Recurrence element is used.
|
|
618
|
+
"""
|
|
619
|
+
return pulumi.get(self, "fixed_date")
|
|
620
|
+
|
|
621
|
+
@property
|
|
622
|
+
@pulumi.getter
|
|
623
|
+
def recurrence(self) -> Optional['outputs.RecurrenceResponse']:
|
|
624
|
+
"""
|
|
625
|
+
the repeating times at which this profile begins. This element is not used if the FixedDate element is used.
|
|
626
|
+
"""
|
|
627
|
+
return pulumi.get(self, "recurrence")
|
|
628
|
+
|
|
629
|
+
|
|
630
|
+
@pulumi.output_type
|
|
631
|
+
class AutoscaleSettingResponse(dict):
|
|
632
|
+
"""
|
|
633
|
+
A setting that contains all of the configuration for the automatic scaling of a resource.
|
|
634
|
+
"""
|
|
635
|
+
@staticmethod
|
|
636
|
+
def __key_warning(key: str):
|
|
637
|
+
suggest = None
|
|
638
|
+
if key == "predictiveAutoscalePolicy":
|
|
639
|
+
suggest = "predictive_autoscale_policy"
|
|
640
|
+
elif key == "targetResourceLocation":
|
|
641
|
+
suggest = "target_resource_location"
|
|
642
|
+
elif key == "targetResourceUri":
|
|
643
|
+
suggest = "target_resource_uri"
|
|
644
|
+
|
|
645
|
+
if suggest:
|
|
646
|
+
pulumi.log.warn(f"Key '{key}' not found in AutoscaleSettingResponse. Access the value via the '{suggest}' property getter instead.")
|
|
647
|
+
|
|
648
|
+
def __getitem__(self, key: str) -> Any:
|
|
649
|
+
AutoscaleSettingResponse.__key_warning(key)
|
|
650
|
+
return super().__getitem__(key)
|
|
651
|
+
|
|
652
|
+
def get(self, key: str, default = None) -> Any:
|
|
653
|
+
AutoscaleSettingResponse.__key_warning(key)
|
|
654
|
+
return super().get(key, default)
|
|
655
|
+
|
|
656
|
+
def __init__(__self__, *,
|
|
657
|
+
profiles: Sequence['outputs.AutoscaleProfileResponse'],
|
|
658
|
+
enabled: Optional[bool] = None,
|
|
659
|
+
name: Optional[str] = None,
|
|
660
|
+
notifications: Optional[Sequence['outputs.AutoscaleNotificationResponse']] = None,
|
|
661
|
+
predictive_autoscale_policy: Optional['outputs.PredictiveAutoscalePolicyResponse'] = None,
|
|
662
|
+
target_resource_location: Optional[str] = None,
|
|
663
|
+
target_resource_uri: Optional[str] = None):
|
|
664
|
+
"""
|
|
665
|
+
A setting that contains all of the configuration for the automatic scaling of a resource.
|
|
666
|
+
:param Sequence['AutoscaleProfileResponse'] profiles: the collection of automatic scaling profiles that specify different scaling parameters for different time periods. A maximum of 20 profiles can be specified.
|
|
667
|
+
:param bool enabled: the enabled flag. Specifies whether automatic scaling is enabled for the resource. The default value is 'false'.
|
|
668
|
+
:param str name: the name of the autoscale setting.
|
|
669
|
+
:param Sequence['AutoscaleNotificationResponse'] notifications: the collection of notifications.
|
|
670
|
+
:param 'PredictiveAutoscalePolicyResponse' predictive_autoscale_policy: the predictive autoscale policy mode.
|
|
671
|
+
:param str target_resource_location: the location of the resource that the autoscale setting should be added to.
|
|
672
|
+
:param str target_resource_uri: the resource identifier of the resource that the autoscale setting should be added to.
|
|
673
|
+
"""
|
|
674
|
+
pulumi.set(__self__, "profiles", profiles)
|
|
675
|
+
if enabled is None:
|
|
676
|
+
enabled = False
|
|
677
|
+
if enabled is not None:
|
|
678
|
+
pulumi.set(__self__, "enabled", enabled)
|
|
679
|
+
if name is not None:
|
|
680
|
+
pulumi.set(__self__, "name", name)
|
|
681
|
+
if notifications is not None:
|
|
682
|
+
pulumi.set(__self__, "notifications", notifications)
|
|
683
|
+
if predictive_autoscale_policy is not None:
|
|
684
|
+
pulumi.set(__self__, "predictive_autoscale_policy", predictive_autoscale_policy)
|
|
685
|
+
if target_resource_location is not None:
|
|
686
|
+
pulumi.set(__self__, "target_resource_location", target_resource_location)
|
|
687
|
+
if target_resource_uri is not None:
|
|
688
|
+
pulumi.set(__self__, "target_resource_uri", target_resource_uri)
|
|
689
|
+
|
|
690
|
+
@property
|
|
691
|
+
@pulumi.getter
|
|
692
|
+
def profiles(self) -> Sequence['outputs.AutoscaleProfileResponse']:
|
|
693
|
+
"""
|
|
694
|
+
the collection of automatic scaling profiles that specify different scaling parameters for different time periods. A maximum of 20 profiles can be specified.
|
|
695
|
+
"""
|
|
696
|
+
return pulumi.get(self, "profiles")
|
|
697
|
+
|
|
698
|
+
@property
|
|
699
|
+
@pulumi.getter
|
|
700
|
+
def enabled(self) -> Optional[bool]:
|
|
701
|
+
"""
|
|
702
|
+
the enabled flag. Specifies whether automatic scaling is enabled for the resource. The default value is 'false'.
|
|
703
|
+
"""
|
|
704
|
+
return pulumi.get(self, "enabled")
|
|
705
|
+
|
|
706
|
+
@property
|
|
707
|
+
@pulumi.getter
|
|
708
|
+
def name(self) -> Optional[str]:
|
|
709
|
+
"""
|
|
710
|
+
the name of the autoscale setting.
|
|
711
|
+
"""
|
|
712
|
+
return pulumi.get(self, "name")
|
|
713
|
+
|
|
714
|
+
@property
|
|
715
|
+
@pulumi.getter
|
|
716
|
+
def notifications(self) -> Optional[Sequence['outputs.AutoscaleNotificationResponse']]:
|
|
717
|
+
"""
|
|
718
|
+
the collection of notifications.
|
|
719
|
+
"""
|
|
720
|
+
return pulumi.get(self, "notifications")
|
|
721
|
+
|
|
722
|
+
@property
|
|
723
|
+
@pulumi.getter(name="predictiveAutoscalePolicy")
|
|
724
|
+
def predictive_autoscale_policy(self) -> Optional['outputs.PredictiveAutoscalePolicyResponse']:
|
|
725
|
+
"""
|
|
726
|
+
the predictive autoscale policy mode.
|
|
727
|
+
"""
|
|
728
|
+
return pulumi.get(self, "predictive_autoscale_policy")
|
|
729
|
+
|
|
730
|
+
@property
|
|
731
|
+
@pulumi.getter(name="targetResourceLocation")
|
|
732
|
+
def target_resource_location(self) -> Optional[str]:
|
|
733
|
+
"""
|
|
734
|
+
the location of the resource that the autoscale setting should be added to.
|
|
735
|
+
"""
|
|
736
|
+
return pulumi.get(self, "target_resource_location")
|
|
737
|
+
|
|
738
|
+
@property
|
|
739
|
+
@pulumi.getter(name="targetResourceUri")
|
|
740
|
+
def target_resource_uri(self) -> Optional[str]:
|
|
741
|
+
"""
|
|
742
|
+
the resource identifier of the resource that the autoscale setting should be added to.
|
|
743
|
+
"""
|
|
744
|
+
return pulumi.get(self, "target_resource_uri")
|
|
745
|
+
|
|
746
|
+
|
|
479
747
|
@pulumi.output_type
|
|
480
748
|
class AzureAppPushReceiverResponse(dict):
|
|
481
749
|
"""
|
|
@@ -1197,6 +1465,85 @@ class ConditionResponseFailingPeriods(dict):
|
|
|
1197
1465
|
return pulumi.get(self, "number_of_evaluation_periods")
|
|
1198
1466
|
|
|
1199
1467
|
|
|
1468
|
+
@pulumi.output_type
|
|
1469
|
+
class DiagnosticSettingsCategoryResourceResponse(dict):
|
|
1470
|
+
"""
|
|
1471
|
+
The diagnostic settings category resource.
|
|
1472
|
+
"""
|
|
1473
|
+
def __init__(__self__, *,
|
|
1474
|
+
id: str,
|
|
1475
|
+
name: str,
|
|
1476
|
+
system_data: 'outputs.SystemDataResponse',
|
|
1477
|
+
type: str,
|
|
1478
|
+
category_groups: Optional[Sequence[str]] = None,
|
|
1479
|
+
category_type: Optional[str] = None):
|
|
1480
|
+
"""
|
|
1481
|
+
The diagnostic settings category resource.
|
|
1482
|
+
:param str id: Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
|
|
1483
|
+
:param str name: The name of the resource
|
|
1484
|
+
:param 'SystemDataResponse' system_data: The system metadata related to this resource.
|
|
1485
|
+
:param str type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
|
|
1486
|
+
:param Sequence[str] category_groups: the collection of what category groups are supported.
|
|
1487
|
+
:param str category_type: The type of the diagnostic settings category.
|
|
1488
|
+
"""
|
|
1489
|
+
pulumi.set(__self__, "id", id)
|
|
1490
|
+
pulumi.set(__self__, "name", name)
|
|
1491
|
+
pulumi.set(__self__, "system_data", system_data)
|
|
1492
|
+
pulumi.set(__self__, "type", type)
|
|
1493
|
+
if category_groups is not None:
|
|
1494
|
+
pulumi.set(__self__, "category_groups", category_groups)
|
|
1495
|
+
if category_type is not None:
|
|
1496
|
+
pulumi.set(__self__, "category_type", category_type)
|
|
1497
|
+
|
|
1498
|
+
@property
|
|
1499
|
+
@pulumi.getter
|
|
1500
|
+
def id(self) -> str:
|
|
1501
|
+
"""
|
|
1502
|
+
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
|
|
1503
|
+
"""
|
|
1504
|
+
return pulumi.get(self, "id")
|
|
1505
|
+
|
|
1506
|
+
@property
|
|
1507
|
+
@pulumi.getter
|
|
1508
|
+
def name(self) -> str:
|
|
1509
|
+
"""
|
|
1510
|
+
The name of the resource
|
|
1511
|
+
"""
|
|
1512
|
+
return pulumi.get(self, "name")
|
|
1513
|
+
|
|
1514
|
+
@property
|
|
1515
|
+
@pulumi.getter(name="systemData")
|
|
1516
|
+
def system_data(self) -> 'outputs.SystemDataResponse':
|
|
1517
|
+
"""
|
|
1518
|
+
The system metadata related to this resource.
|
|
1519
|
+
"""
|
|
1520
|
+
return pulumi.get(self, "system_data")
|
|
1521
|
+
|
|
1522
|
+
@property
|
|
1523
|
+
@pulumi.getter
|
|
1524
|
+
def type(self) -> str:
|
|
1525
|
+
"""
|
|
1526
|
+
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
|
|
1527
|
+
"""
|
|
1528
|
+
return pulumi.get(self, "type")
|
|
1529
|
+
|
|
1530
|
+
@property
|
|
1531
|
+
@pulumi.getter(name="categoryGroups")
|
|
1532
|
+
def category_groups(self) -> Optional[Sequence[str]]:
|
|
1533
|
+
"""
|
|
1534
|
+
the collection of what category groups are supported.
|
|
1535
|
+
"""
|
|
1536
|
+
return pulumi.get(self, "category_groups")
|
|
1537
|
+
|
|
1538
|
+
@property
|
|
1539
|
+
@pulumi.getter(name="categoryType")
|
|
1540
|
+
def category_type(self) -> Optional[str]:
|
|
1541
|
+
"""
|
|
1542
|
+
The type of the diagnostic settings category.
|
|
1543
|
+
"""
|
|
1544
|
+
return pulumi.get(self, "category_type")
|
|
1545
|
+
|
|
1546
|
+
|
|
1200
1547
|
@pulumi.output_type
|
|
1201
1548
|
class DimensionResponse(dict):
|
|
1202
1549
|
"""
|
|
@@ -1241,6 +1588,78 @@ class DimensionResponse(dict):
|
|
|
1241
1588
|
return pulumi.get(self, "values")
|
|
1242
1589
|
|
|
1243
1590
|
|
|
1591
|
+
@pulumi.output_type
|
|
1592
|
+
class EmailNotificationResponse(dict):
|
|
1593
|
+
"""
|
|
1594
|
+
Email notification of an autoscale event.
|
|
1595
|
+
"""
|
|
1596
|
+
@staticmethod
|
|
1597
|
+
def __key_warning(key: str):
|
|
1598
|
+
suggest = None
|
|
1599
|
+
if key == "customEmails":
|
|
1600
|
+
suggest = "custom_emails"
|
|
1601
|
+
elif key == "sendToSubscriptionAdministrator":
|
|
1602
|
+
suggest = "send_to_subscription_administrator"
|
|
1603
|
+
elif key == "sendToSubscriptionCoAdministrators":
|
|
1604
|
+
suggest = "send_to_subscription_co_administrators"
|
|
1605
|
+
|
|
1606
|
+
if suggest:
|
|
1607
|
+
pulumi.log.warn(f"Key '{key}' not found in EmailNotificationResponse. Access the value via the '{suggest}' property getter instead.")
|
|
1608
|
+
|
|
1609
|
+
def __getitem__(self, key: str) -> Any:
|
|
1610
|
+
EmailNotificationResponse.__key_warning(key)
|
|
1611
|
+
return super().__getitem__(key)
|
|
1612
|
+
|
|
1613
|
+
def get(self, key: str, default = None) -> Any:
|
|
1614
|
+
EmailNotificationResponse.__key_warning(key)
|
|
1615
|
+
return super().get(key, default)
|
|
1616
|
+
|
|
1617
|
+
def __init__(__self__, *,
|
|
1618
|
+
custom_emails: Optional[Sequence[str]] = None,
|
|
1619
|
+
send_to_subscription_administrator: Optional[bool] = None,
|
|
1620
|
+
send_to_subscription_co_administrators: Optional[bool] = None):
|
|
1621
|
+
"""
|
|
1622
|
+
Email notification of an autoscale event.
|
|
1623
|
+
:param Sequence[str] custom_emails: the custom e-mails list. This value can be null or empty, in which case this attribute will be ignored.
|
|
1624
|
+
:param bool send_to_subscription_administrator: a value indicating whether to send email to subscription administrator.
|
|
1625
|
+
:param bool send_to_subscription_co_administrators: a value indicating whether to send email to subscription co-administrators.
|
|
1626
|
+
"""
|
|
1627
|
+
if custom_emails is not None:
|
|
1628
|
+
pulumi.set(__self__, "custom_emails", custom_emails)
|
|
1629
|
+
if send_to_subscription_administrator is None:
|
|
1630
|
+
send_to_subscription_administrator = False
|
|
1631
|
+
if send_to_subscription_administrator is not None:
|
|
1632
|
+
pulumi.set(__self__, "send_to_subscription_administrator", send_to_subscription_administrator)
|
|
1633
|
+
if send_to_subscription_co_administrators is None:
|
|
1634
|
+
send_to_subscription_co_administrators = False
|
|
1635
|
+
if send_to_subscription_co_administrators is not None:
|
|
1636
|
+
pulumi.set(__self__, "send_to_subscription_co_administrators", send_to_subscription_co_administrators)
|
|
1637
|
+
|
|
1638
|
+
@property
|
|
1639
|
+
@pulumi.getter(name="customEmails")
|
|
1640
|
+
def custom_emails(self) -> Optional[Sequence[str]]:
|
|
1641
|
+
"""
|
|
1642
|
+
the custom e-mails list. This value can be null or empty, in which case this attribute will be ignored.
|
|
1643
|
+
"""
|
|
1644
|
+
return pulumi.get(self, "custom_emails")
|
|
1645
|
+
|
|
1646
|
+
@property
|
|
1647
|
+
@pulumi.getter(name="sendToSubscriptionAdministrator")
|
|
1648
|
+
def send_to_subscription_administrator(self) -> Optional[bool]:
|
|
1649
|
+
"""
|
|
1650
|
+
a value indicating whether to send email to subscription administrator.
|
|
1651
|
+
"""
|
|
1652
|
+
return pulumi.get(self, "send_to_subscription_administrator")
|
|
1653
|
+
|
|
1654
|
+
@property
|
|
1655
|
+
@pulumi.getter(name="sendToSubscriptionCoAdministrators")
|
|
1656
|
+
def send_to_subscription_co_administrators(self) -> Optional[bool]:
|
|
1657
|
+
"""
|
|
1658
|
+
a value indicating whether to send email to subscription co-administrators.
|
|
1659
|
+
"""
|
|
1660
|
+
return pulumi.get(self, "send_to_subscription_co_administrators")
|
|
1661
|
+
|
|
1662
|
+
|
|
1244
1663
|
@pulumi.output_type
|
|
1245
1664
|
class EmailReceiverResponse(dict):
|
|
1246
1665
|
"""
|
|
@@ -1992,6 +2411,83 @@ class JsonMapperSourceFieldResponse(dict):
|
|
|
1992
2411
|
return pulumi.get(self, "field_name")
|
|
1993
2412
|
|
|
1994
2413
|
|
|
2414
|
+
@pulumi.output_type
|
|
2415
|
+
class LogSettingsResponse(dict):
|
|
2416
|
+
"""
|
|
2417
|
+
Part of MultiTenantDiagnosticSettings. Specifies the settings for a particular log.
|
|
2418
|
+
"""
|
|
2419
|
+
@staticmethod
|
|
2420
|
+
def __key_warning(key: str):
|
|
2421
|
+
suggest = None
|
|
2422
|
+
if key == "categoryGroup":
|
|
2423
|
+
suggest = "category_group"
|
|
2424
|
+
elif key == "retentionPolicy":
|
|
2425
|
+
suggest = "retention_policy"
|
|
2426
|
+
|
|
2427
|
+
if suggest:
|
|
2428
|
+
pulumi.log.warn(f"Key '{key}' not found in LogSettingsResponse. Access the value via the '{suggest}' property getter instead.")
|
|
2429
|
+
|
|
2430
|
+
def __getitem__(self, key: str) -> Any:
|
|
2431
|
+
LogSettingsResponse.__key_warning(key)
|
|
2432
|
+
return super().__getitem__(key)
|
|
2433
|
+
|
|
2434
|
+
def get(self, key: str, default = None) -> Any:
|
|
2435
|
+
LogSettingsResponse.__key_warning(key)
|
|
2436
|
+
return super().get(key, default)
|
|
2437
|
+
|
|
2438
|
+
def __init__(__self__, *,
|
|
2439
|
+
enabled: bool,
|
|
2440
|
+
category: Optional[str] = None,
|
|
2441
|
+
category_group: Optional[str] = None,
|
|
2442
|
+
retention_policy: Optional['outputs.RetentionPolicyResponse'] = None):
|
|
2443
|
+
"""
|
|
2444
|
+
Part of MultiTenantDiagnosticSettings. Specifies the settings for a particular log.
|
|
2445
|
+
:param bool enabled: a value indicating whether this log is enabled.
|
|
2446
|
+
:param str category: Name of a Diagnostic Log category for a resource type this setting is applied to. To obtain the list of Diagnostic Log categories for a resource, first perform a GET diagnostic settings operation.
|
|
2447
|
+
:param str category_group: Name of a Diagnostic Log category group for a resource type this setting is applied to. To obtain the list of Diagnostic Log categories for a resource, first perform a GET diagnostic settings operation.
|
|
2448
|
+
:param 'RetentionPolicyResponse' retention_policy: the retention policy for this log.
|
|
2449
|
+
"""
|
|
2450
|
+
pulumi.set(__self__, "enabled", enabled)
|
|
2451
|
+
if category is not None:
|
|
2452
|
+
pulumi.set(__self__, "category", category)
|
|
2453
|
+
if category_group is not None:
|
|
2454
|
+
pulumi.set(__self__, "category_group", category_group)
|
|
2455
|
+
if retention_policy is not None:
|
|
2456
|
+
pulumi.set(__self__, "retention_policy", retention_policy)
|
|
2457
|
+
|
|
2458
|
+
@property
|
|
2459
|
+
@pulumi.getter
|
|
2460
|
+
def enabled(self) -> bool:
|
|
2461
|
+
"""
|
|
2462
|
+
a value indicating whether this log is enabled.
|
|
2463
|
+
"""
|
|
2464
|
+
return pulumi.get(self, "enabled")
|
|
2465
|
+
|
|
2466
|
+
@property
|
|
2467
|
+
@pulumi.getter
|
|
2468
|
+
def category(self) -> Optional[str]:
|
|
2469
|
+
"""
|
|
2470
|
+
Name of a Diagnostic Log category for a resource type this setting is applied to. To obtain the list of Diagnostic Log categories for a resource, first perform a GET diagnostic settings operation.
|
|
2471
|
+
"""
|
|
2472
|
+
return pulumi.get(self, "category")
|
|
2473
|
+
|
|
2474
|
+
@property
|
|
2475
|
+
@pulumi.getter(name="categoryGroup")
|
|
2476
|
+
def category_group(self) -> Optional[str]:
|
|
2477
|
+
"""
|
|
2478
|
+
Name of a Diagnostic Log category group for a resource type this setting is applied to. To obtain the list of Diagnostic Log categories for a resource, first perform a GET diagnostic settings operation.
|
|
2479
|
+
"""
|
|
2480
|
+
return pulumi.get(self, "category_group")
|
|
2481
|
+
|
|
2482
|
+
@property
|
|
2483
|
+
@pulumi.getter(name="retentionPolicy")
|
|
2484
|
+
def retention_policy(self) -> Optional['outputs.RetentionPolicyResponse']:
|
|
2485
|
+
"""
|
|
2486
|
+
the retention policy for this log.
|
|
2487
|
+
"""
|
|
2488
|
+
return pulumi.get(self, "retention_policy")
|
|
2489
|
+
|
|
2490
|
+
|
|
1995
2491
|
@pulumi.output_type
|
|
1996
2492
|
class LogicAppReceiverResponse(dict):
|
|
1997
2493
|
"""
|
|
@@ -2163,27 +2659,345 @@ class ManagedServiceIdentityResponse(dict):
|
|
|
2163
2659
|
|
|
2164
2660
|
|
|
2165
2661
|
@pulumi.output_type
|
|
2166
|
-
class
|
|
2662
|
+
class ManagementGroupLogSettingsResponse(dict):
|
|
2167
2663
|
"""
|
|
2168
|
-
|
|
2664
|
+
Part of Management Group diagnostic setting. Specifies the settings for a particular log.
|
|
2169
2665
|
"""
|
|
2170
2666
|
@staticmethod
|
|
2171
2667
|
def __key_warning(key: str):
|
|
2172
2668
|
suggest = None
|
|
2173
|
-
if key == "
|
|
2174
|
-
suggest = "
|
|
2175
|
-
elif key == "prometheusQueryEndpoint":
|
|
2176
|
-
suggest = "prometheus_query_endpoint"
|
|
2669
|
+
if key == "categoryGroup":
|
|
2670
|
+
suggest = "category_group"
|
|
2177
2671
|
|
|
2178
2672
|
if suggest:
|
|
2179
|
-
pulumi.log.warn(f"Key '{key}' not found in
|
|
2673
|
+
pulumi.log.warn(f"Key '{key}' not found in ManagementGroupLogSettingsResponse. Access the value via the '{suggest}' property getter instead.")
|
|
2180
2674
|
|
|
2181
2675
|
def __getitem__(self, key: str) -> Any:
|
|
2182
|
-
|
|
2676
|
+
ManagementGroupLogSettingsResponse.__key_warning(key)
|
|
2183
2677
|
return super().__getitem__(key)
|
|
2184
2678
|
|
|
2185
2679
|
def get(self, key: str, default = None) -> Any:
|
|
2186
|
-
|
|
2680
|
+
ManagementGroupLogSettingsResponse.__key_warning(key)
|
|
2681
|
+
return super().get(key, default)
|
|
2682
|
+
|
|
2683
|
+
def __init__(__self__, *,
|
|
2684
|
+
enabled: bool,
|
|
2685
|
+
category: Optional[str] = None,
|
|
2686
|
+
category_group: Optional[str] = None):
|
|
2687
|
+
"""
|
|
2688
|
+
Part of Management Group diagnostic setting. Specifies the settings for a particular log.
|
|
2689
|
+
:param bool enabled: a value indicating whether this log is enabled.
|
|
2690
|
+
:param str category: Name of a Management Group Diagnostic Log category for a resource type this setting is applied to.
|
|
2691
|
+
:param str category_group: Name of a Management Group Diagnostic Log category group for a resource type this setting is applied to.
|
|
2692
|
+
"""
|
|
2693
|
+
pulumi.set(__self__, "enabled", enabled)
|
|
2694
|
+
if category is not None:
|
|
2695
|
+
pulumi.set(__self__, "category", category)
|
|
2696
|
+
if category_group is not None:
|
|
2697
|
+
pulumi.set(__self__, "category_group", category_group)
|
|
2698
|
+
|
|
2699
|
+
@property
|
|
2700
|
+
@pulumi.getter
|
|
2701
|
+
def enabled(self) -> bool:
|
|
2702
|
+
"""
|
|
2703
|
+
a value indicating whether this log is enabled.
|
|
2704
|
+
"""
|
|
2705
|
+
return pulumi.get(self, "enabled")
|
|
2706
|
+
|
|
2707
|
+
@property
|
|
2708
|
+
@pulumi.getter
|
|
2709
|
+
def category(self) -> Optional[str]:
|
|
2710
|
+
"""
|
|
2711
|
+
Name of a Management Group Diagnostic Log category for a resource type this setting is applied to.
|
|
2712
|
+
"""
|
|
2713
|
+
return pulumi.get(self, "category")
|
|
2714
|
+
|
|
2715
|
+
@property
|
|
2716
|
+
@pulumi.getter(name="categoryGroup")
|
|
2717
|
+
def category_group(self) -> Optional[str]:
|
|
2718
|
+
"""
|
|
2719
|
+
Name of a Management Group Diagnostic Log category group for a resource type this setting is applied to.
|
|
2720
|
+
"""
|
|
2721
|
+
return pulumi.get(self, "category_group")
|
|
2722
|
+
|
|
2723
|
+
|
|
2724
|
+
@pulumi.output_type
|
|
2725
|
+
class MetricSettingsResponse(dict):
|
|
2726
|
+
"""
|
|
2727
|
+
Part of MultiTenantDiagnosticSettings. Specifies the settings for a particular metric.
|
|
2728
|
+
"""
|
|
2729
|
+
@staticmethod
|
|
2730
|
+
def __key_warning(key: str):
|
|
2731
|
+
suggest = None
|
|
2732
|
+
if key == "retentionPolicy":
|
|
2733
|
+
suggest = "retention_policy"
|
|
2734
|
+
elif key == "timeGrain":
|
|
2735
|
+
suggest = "time_grain"
|
|
2736
|
+
|
|
2737
|
+
if suggest:
|
|
2738
|
+
pulumi.log.warn(f"Key '{key}' not found in MetricSettingsResponse. Access the value via the '{suggest}' property getter instead.")
|
|
2739
|
+
|
|
2740
|
+
def __getitem__(self, key: str) -> Any:
|
|
2741
|
+
MetricSettingsResponse.__key_warning(key)
|
|
2742
|
+
return super().__getitem__(key)
|
|
2743
|
+
|
|
2744
|
+
def get(self, key: str, default = None) -> Any:
|
|
2745
|
+
MetricSettingsResponse.__key_warning(key)
|
|
2746
|
+
return super().get(key, default)
|
|
2747
|
+
|
|
2748
|
+
def __init__(__self__, *,
|
|
2749
|
+
enabled: bool,
|
|
2750
|
+
category: Optional[str] = None,
|
|
2751
|
+
retention_policy: Optional['outputs.RetentionPolicyResponse'] = None,
|
|
2752
|
+
time_grain: Optional[str] = None):
|
|
2753
|
+
"""
|
|
2754
|
+
Part of MultiTenantDiagnosticSettings. Specifies the settings for a particular metric.
|
|
2755
|
+
:param bool enabled: a value indicating whether this category is enabled.
|
|
2756
|
+
:param str category: Name of a Diagnostic Metric category for a resource type this setting is applied to. To obtain the list of Diagnostic metric categories for a resource, first perform a GET diagnostic settings operation.
|
|
2757
|
+
:param 'RetentionPolicyResponse' retention_policy: the retention policy for this category.
|
|
2758
|
+
:param str time_grain: the timegrain of the metric in ISO8601 format.
|
|
2759
|
+
"""
|
|
2760
|
+
pulumi.set(__self__, "enabled", enabled)
|
|
2761
|
+
if category is not None:
|
|
2762
|
+
pulumi.set(__self__, "category", category)
|
|
2763
|
+
if retention_policy is not None:
|
|
2764
|
+
pulumi.set(__self__, "retention_policy", retention_policy)
|
|
2765
|
+
if time_grain is not None:
|
|
2766
|
+
pulumi.set(__self__, "time_grain", time_grain)
|
|
2767
|
+
|
|
2768
|
+
@property
|
|
2769
|
+
@pulumi.getter
|
|
2770
|
+
def enabled(self) -> bool:
|
|
2771
|
+
"""
|
|
2772
|
+
a value indicating whether this category is enabled.
|
|
2773
|
+
"""
|
|
2774
|
+
return pulumi.get(self, "enabled")
|
|
2775
|
+
|
|
2776
|
+
@property
|
|
2777
|
+
@pulumi.getter
|
|
2778
|
+
def category(self) -> Optional[str]:
|
|
2779
|
+
"""
|
|
2780
|
+
Name of a Diagnostic Metric category for a resource type this setting is applied to. To obtain the list of Diagnostic metric categories for a resource, first perform a GET diagnostic settings operation.
|
|
2781
|
+
"""
|
|
2782
|
+
return pulumi.get(self, "category")
|
|
2783
|
+
|
|
2784
|
+
@property
|
|
2785
|
+
@pulumi.getter(name="retentionPolicy")
|
|
2786
|
+
def retention_policy(self) -> Optional['outputs.RetentionPolicyResponse']:
|
|
2787
|
+
"""
|
|
2788
|
+
the retention policy for this category.
|
|
2789
|
+
"""
|
|
2790
|
+
return pulumi.get(self, "retention_policy")
|
|
2791
|
+
|
|
2792
|
+
@property
|
|
2793
|
+
@pulumi.getter(name="timeGrain")
|
|
2794
|
+
def time_grain(self) -> Optional[str]:
|
|
2795
|
+
"""
|
|
2796
|
+
the timegrain of the metric in ISO8601 format.
|
|
2797
|
+
"""
|
|
2798
|
+
return pulumi.get(self, "time_grain")
|
|
2799
|
+
|
|
2800
|
+
|
|
2801
|
+
@pulumi.output_type
|
|
2802
|
+
class MetricTriggerResponse(dict):
|
|
2803
|
+
"""
|
|
2804
|
+
The trigger that results in a scaling action.
|
|
2805
|
+
"""
|
|
2806
|
+
@staticmethod
|
|
2807
|
+
def __key_warning(key: str):
|
|
2808
|
+
suggest = None
|
|
2809
|
+
if key == "metricName":
|
|
2810
|
+
suggest = "metric_name"
|
|
2811
|
+
elif key == "metricResourceUri":
|
|
2812
|
+
suggest = "metric_resource_uri"
|
|
2813
|
+
elif key == "timeAggregation":
|
|
2814
|
+
suggest = "time_aggregation"
|
|
2815
|
+
elif key == "timeGrain":
|
|
2816
|
+
suggest = "time_grain"
|
|
2817
|
+
elif key == "timeWindow":
|
|
2818
|
+
suggest = "time_window"
|
|
2819
|
+
elif key == "dividePerInstance":
|
|
2820
|
+
suggest = "divide_per_instance"
|
|
2821
|
+
elif key == "metricNamespace":
|
|
2822
|
+
suggest = "metric_namespace"
|
|
2823
|
+
elif key == "metricResourceLocation":
|
|
2824
|
+
suggest = "metric_resource_location"
|
|
2825
|
+
|
|
2826
|
+
if suggest:
|
|
2827
|
+
pulumi.log.warn(f"Key '{key}' not found in MetricTriggerResponse. Access the value via the '{suggest}' property getter instead.")
|
|
2828
|
+
|
|
2829
|
+
def __getitem__(self, key: str) -> Any:
|
|
2830
|
+
MetricTriggerResponse.__key_warning(key)
|
|
2831
|
+
return super().__getitem__(key)
|
|
2832
|
+
|
|
2833
|
+
def get(self, key: str, default = None) -> Any:
|
|
2834
|
+
MetricTriggerResponse.__key_warning(key)
|
|
2835
|
+
return super().get(key, default)
|
|
2836
|
+
|
|
2837
|
+
def __init__(__self__, *,
|
|
2838
|
+
metric_name: str,
|
|
2839
|
+
metric_resource_uri: str,
|
|
2840
|
+
operator: str,
|
|
2841
|
+
statistic: str,
|
|
2842
|
+
threshold: float,
|
|
2843
|
+
time_aggregation: str,
|
|
2844
|
+
time_grain: str,
|
|
2845
|
+
time_window: str,
|
|
2846
|
+
dimensions: Optional[Sequence['outputs.ScaleRuleMetricDimensionResponse']] = None,
|
|
2847
|
+
divide_per_instance: Optional[bool] = None,
|
|
2848
|
+
metric_namespace: Optional[str] = None,
|
|
2849
|
+
metric_resource_location: Optional[str] = None):
|
|
2850
|
+
"""
|
|
2851
|
+
The trigger that results in a scaling action.
|
|
2852
|
+
:param str metric_name: the name of the metric that defines what the rule monitors.
|
|
2853
|
+
:param str metric_resource_uri: the resource identifier of the resource the rule monitors.
|
|
2854
|
+
:param str operator: the operator that is used to compare the metric data and the threshold.
|
|
2855
|
+
:param str statistic: the metric statistic type. How the metrics from multiple instances are combined.
|
|
2856
|
+
:param float threshold: the threshold of the metric that triggers the scale action.
|
|
2857
|
+
:param str time_aggregation: time aggregation type. How the data that is collected should be combined over time. The default value is Average.
|
|
2858
|
+
:param str time_grain: the granularity of metrics the rule monitors. Must be one of the predefined values returned from metric definitions for the metric. Must be between 12 hours and 1 minute.
|
|
2859
|
+
:param str time_window: the range of time in which instance data is collected. This value must be greater than the delay in metric collection, which can vary from resource-to-resource. Must be between 12 hours and 5 minutes.
|
|
2860
|
+
:param Sequence['ScaleRuleMetricDimensionResponse'] dimensions: List of dimension conditions. For example: [{"DimensionName":"AppName","Operator":"Equals","Values":["App1"]},{"DimensionName":"Deployment","Operator":"Equals","Values":["default"]}].
|
|
2861
|
+
:param bool divide_per_instance: a value indicating whether metric should divide per instance.
|
|
2862
|
+
:param str metric_namespace: the namespace of the metric that defines what the rule monitors.
|
|
2863
|
+
:param str metric_resource_location: the location of the resource the rule monitors.
|
|
2864
|
+
"""
|
|
2865
|
+
pulumi.set(__self__, "metric_name", metric_name)
|
|
2866
|
+
pulumi.set(__self__, "metric_resource_uri", metric_resource_uri)
|
|
2867
|
+
pulumi.set(__self__, "operator", operator)
|
|
2868
|
+
pulumi.set(__self__, "statistic", statistic)
|
|
2869
|
+
pulumi.set(__self__, "threshold", threshold)
|
|
2870
|
+
pulumi.set(__self__, "time_aggregation", time_aggregation)
|
|
2871
|
+
pulumi.set(__self__, "time_grain", time_grain)
|
|
2872
|
+
pulumi.set(__self__, "time_window", time_window)
|
|
2873
|
+
if dimensions is not None:
|
|
2874
|
+
pulumi.set(__self__, "dimensions", dimensions)
|
|
2875
|
+
if divide_per_instance is not None:
|
|
2876
|
+
pulumi.set(__self__, "divide_per_instance", divide_per_instance)
|
|
2877
|
+
if metric_namespace is not None:
|
|
2878
|
+
pulumi.set(__self__, "metric_namespace", metric_namespace)
|
|
2879
|
+
if metric_resource_location is not None:
|
|
2880
|
+
pulumi.set(__self__, "metric_resource_location", metric_resource_location)
|
|
2881
|
+
|
|
2882
|
+
@property
|
|
2883
|
+
@pulumi.getter(name="metricName")
|
|
2884
|
+
def metric_name(self) -> str:
|
|
2885
|
+
"""
|
|
2886
|
+
the name of the metric that defines what the rule monitors.
|
|
2887
|
+
"""
|
|
2888
|
+
return pulumi.get(self, "metric_name")
|
|
2889
|
+
|
|
2890
|
+
@property
|
|
2891
|
+
@pulumi.getter(name="metricResourceUri")
|
|
2892
|
+
def metric_resource_uri(self) -> str:
|
|
2893
|
+
"""
|
|
2894
|
+
the resource identifier of the resource the rule monitors.
|
|
2895
|
+
"""
|
|
2896
|
+
return pulumi.get(self, "metric_resource_uri")
|
|
2897
|
+
|
|
2898
|
+
@property
|
|
2899
|
+
@pulumi.getter
|
|
2900
|
+
def operator(self) -> str:
|
|
2901
|
+
"""
|
|
2902
|
+
the operator that is used to compare the metric data and the threshold.
|
|
2903
|
+
"""
|
|
2904
|
+
return pulumi.get(self, "operator")
|
|
2905
|
+
|
|
2906
|
+
@property
|
|
2907
|
+
@pulumi.getter
|
|
2908
|
+
def statistic(self) -> str:
|
|
2909
|
+
"""
|
|
2910
|
+
the metric statistic type. How the metrics from multiple instances are combined.
|
|
2911
|
+
"""
|
|
2912
|
+
return pulumi.get(self, "statistic")
|
|
2913
|
+
|
|
2914
|
+
@property
|
|
2915
|
+
@pulumi.getter
|
|
2916
|
+
def threshold(self) -> float:
|
|
2917
|
+
"""
|
|
2918
|
+
the threshold of the metric that triggers the scale action.
|
|
2919
|
+
"""
|
|
2920
|
+
return pulumi.get(self, "threshold")
|
|
2921
|
+
|
|
2922
|
+
@property
|
|
2923
|
+
@pulumi.getter(name="timeAggregation")
|
|
2924
|
+
def time_aggregation(self) -> str:
|
|
2925
|
+
"""
|
|
2926
|
+
time aggregation type. How the data that is collected should be combined over time. The default value is Average.
|
|
2927
|
+
"""
|
|
2928
|
+
return pulumi.get(self, "time_aggregation")
|
|
2929
|
+
|
|
2930
|
+
@property
|
|
2931
|
+
@pulumi.getter(name="timeGrain")
|
|
2932
|
+
def time_grain(self) -> str:
|
|
2933
|
+
"""
|
|
2934
|
+
the granularity of metrics the rule monitors. Must be one of the predefined values returned from metric definitions for the metric. Must be between 12 hours and 1 minute.
|
|
2935
|
+
"""
|
|
2936
|
+
return pulumi.get(self, "time_grain")
|
|
2937
|
+
|
|
2938
|
+
@property
|
|
2939
|
+
@pulumi.getter(name="timeWindow")
|
|
2940
|
+
def time_window(self) -> str:
|
|
2941
|
+
"""
|
|
2942
|
+
the range of time in which instance data is collected. This value must be greater than the delay in metric collection, which can vary from resource-to-resource. Must be between 12 hours and 5 minutes.
|
|
2943
|
+
"""
|
|
2944
|
+
return pulumi.get(self, "time_window")
|
|
2945
|
+
|
|
2946
|
+
@property
|
|
2947
|
+
@pulumi.getter
|
|
2948
|
+
def dimensions(self) -> Optional[Sequence['outputs.ScaleRuleMetricDimensionResponse']]:
|
|
2949
|
+
"""
|
|
2950
|
+
List of dimension conditions. For example: [{"DimensionName":"AppName","Operator":"Equals","Values":["App1"]},{"DimensionName":"Deployment","Operator":"Equals","Values":["default"]}].
|
|
2951
|
+
"""
|
|
2952
|
+
return pulumi.get(self, "dimensions")
|
|
2953
|
+
|
|
2954
|
+
@property
|
|
2955
|
+
@pulumi.getter(name="dividePerInstance")
|
|
2956
|
+
def divide_per_instance(self) -> Optional[bool]:
|
|
2957
|
+
"""
|
|
2958
|
+
a value indicating whether metric should divide per instance.
|
|
2959
|
+
"""
|
|
2960
|
+
return pulumi.get(self, "divide_per_instance")
|
|
2961
|
+
|
|
2962
|
+
@property
|
|
2963
|
+
@pulumi.getter(name="metricNamespace")
|
|
2964
|
+
def metric_namespace(self) -> Optional[str]:
|
|
2965
|
+
"""
|
|
2966
|
+
the namespace of the metric that defines what the rule monitors.
|
|
2967
|
+
"""
|
|
2968
|
+
return pulumi.get(self, "metric_namespace")
|
|
2969
|
+
|
|
2970
|
+
@property
|
|
2971
|
+
@pulumi.getter(name="metricResourceLocation")
|
|
2972
|
+
def metric_resource_location(self) -> Optional[str]:
|
|
2973
|
+
"""
|
|
2974
|
+
the location of the resource the rule monitors.
|
|
2975
|
+
"""
|
|
2976
|
+
return pulumi.get(self, "metric_resource_location")
|
|
2977
|
+
|
|
2978
|
+
|
|
2979
|
+
@pulumi.output_type
|
|
2980
|
+
class MetricsResponse(dict):
|
|
2981
|
+
"""
|
|
2982
|
+
Information about metrics for the workspace
|
|
2983
|
+
"""
|
|
2984
|
+
@staticmethod
|
|
2985
|
+
def __key_warning(key: str):
|
|
2986
|
+
suggest = None
|
|
2987
|
+
if key == "internalId":
|
|
2988
|
+
suggest = "internal_id"
|
|
2989
|
+
elif key == "prometheusQueryEndpoint":
|
|
2990
|
+
suggest = "prometheus_query_endpoint"
|
|
2991
|
+
|
|
2992
|
+
if suggest:
|
|
2993
|
+
pulumi.log.warn(f"Key '{key}' not found in MetricsResponse. Access the value via the '{suggest}' property getter instead.")
|
|
2994
|
+
|
|
2995
|
+
def __getitem__(self, key: str) -> Any:
|
|
2996
|
+
MetricsResponse.__key_warning(key)
|
|
2997
|
+
return super().__getitem__(key)
|
|
2998
|
+
|
|
2999
|
+
def get(self, key: str, default = None) -> Any:
|
|
3000
|
+
MetricsResponse.__key_warning(key)
|
|
2187
3001
|
return super().get(key, default)
|
|
2188
3002
|
|
|
2189
3003
|
def __init__(__self__, *,
|
|
@@ -2571,6 +3385,59 @@ class PipelineResponse(dict):
|
|
|
2571
3385
|
return pulumi.get(self, "processors")
|
|
2572
3386
|
|
|
2573
3387
|
|
|
3388
|
+
@pulumi.output_type
|
|
3389
|
+
class PredictiveAutoscalePolicyResponse(dict):
|
|
3390
|
+
"""
|
|
3391
|
+
The parameters for enabling predictive autoscale.
|
|
3392
|
+
"""
|
|
3393
|
+
@staticmethod
|
|
3394
|
+
def __key_warning(key: str):
|
|
3395
|
+
suggest = None
|
|
3396
|
+
if key == "scaleMode":
|
|
3397
|
+
suggest = "scale_mode"
|
|
3398
|
+
elif key == "scaleLookAheadTime":
|
|
3399
|
+
suggest = "scale_look_ahead_time"
|
|
3400
|
+
|
|
3401
|
+
if suggest:
|
|
3402
|
+
pulumi.log.warn(f"Key '{key}' not found in PredictiveAutoscalePolicyResponse. Access the value via the '{suggest}' property getter instead.")
|
|
3403
|
+
|
|
3404
|
+
def __getitem__(self, key: str) -> Any:
|
|
3405
|
+
PredictiveAutoscalePolicyResponse.__key_warning(key)
|
|
3406
|
+
return super().__getitem__(key)
|
|
3407
|
+
|
|
3408
|
+
def get(self, key: str, default = None) -> Any:
|
|
3409
|
+
PredictiveAutoscalePolicyResponse.__key_warning(key)
|
|
3410
|
+
return super().get(key, default)
|
|
3411
|
+
|
|
3412
|
+
def __init__(__self__, *,
|
|
3413
|
+
scale_mode: str,
|
|
3414
|
+
scale_look_ahead_time: Optional[str] = None):
|
|
3415
|
+
"""
|
|
3416
|
+
The parameters for enabling predictive autoscale.
|
|
3417
|
+
:param str scale_mode: the predictive autoscale mode
|
|
3418
|
+
:param str scale_look_ahead_time: the amount of time to specify by which instances are launched in advance. It must be between 1 minute and 60 minutes in ISO 8601 format.
|
|
3419
|
+
"""
|
|
3420
|
+
pulumi.set(__self__, "scale_mode", scale_mode)
|
|
3421
|
+
if scale_look_ahead_time is not None:
|
|
3422
|
+
pulumi.set(__self__, "scale_look_ahead_time", scale_look_ahead_time)
|
|
3423
|
+
|
|
3424
|
+
@property
|
|
3425
|
+
@pulumi.getter(name="scaleMode")
|
|
3426
|
+
def scale_mode(self) -> str:
|
|
3427
|
+
"""
|
|
3428
|
+
the predictive autoscale mode
|
|
3429
|
+
"""
|
|
3430
|
+
return pulumi.get(self, "scale_mode")
|
|
3431
|
+
|
|
3432
|
+
@property
|
|
3433
|
+
@pulumi.getter(name="scaleLookAheadTime")
|
|
3434
|
+
def scale_look_ahead_time(self) -> Optional[str]:
|
|
3435
|
+
"""
|
|
3436
|
+
the amount of time to specify by which instances are launched in advance. It must be between 1 minute and 60 minutes in ISO 8601 format.
|
|
3437
|
+
"""
|
|
3438
|
+
return pulumi.get(self, "scale_look_ahead_time")
|
|
3439
|
+
|
|
3440
|
+
|
|
2574
3441
|
@pulumi.output_type
|
|
2575
3442
|
class PrivateEndpointConnectionResponse(dict):
|
|
2576
3443
|
"""
|
|
@@ -2948,6 +3815,111 @@ class RecordMapResponse(dict):
|
|
|
2948
3815
|
return pulumi.get(self, "to")
|
|
2949
3816
|
|
|
2950
3817
|
|
|
3818
|
+
@pulumi.output_type
|
|
3819
|
+
class RecurrenceResponse(dict):
|
|
3820
|
+
"""
|
|
3821
|
+
The repeating times at which this profile begins. This element is not used if the FixedDate element is used.
|
|
3822
|
+
"""
|
|
3823
|
+
def __init__(__self__, *,
|
|
3824
|
+
frequency: str,
|
|
3825
|
+
schedule: 'outputs.RecurrentScheduleResponse'):
|
|
3826
|
+
"""
|
|
3827
|
+
The repeating times at which this profile begins. This element is not used if the FixedDate element is used.
|
|
3828
|
+
:param str frequency: the recurrence frequency. How often the schedule profile should take effect. This value must be Week, meaning each week will have the same set of profiles. For example, to set a daily schedule, set **schedule** to every day of the week. The frequency property specifies that the schedule is repeated weekly.
|
|
3829
|
+
:param 'RecurrentScheduleResponse' schedule: the scheduling constraints for when the profile begins.
|
|
3830
|
+
"""
|
|
3831
|
+
pulumi.set(__self__, "frequency", frequency)
|
|
3832
|
+
pulumi.set(__self__, "schedule", schedule)
|
|
3833
|
+
|
|
3834
|
+
@property
|
|
3835
|
+
@pulumi.getter
|
|
3836
|
+
def frequency(self) -> str:
|
|
3837
|
+
"""
|
|
3838
|
+
the recurrence frequency. How often the schedule profile should take effect. This value must be Week, meaning each week will have the same set of profiles. For example, to set a daily schedule, set **schedule** to every day of the week. The frequency property specifies that the schedule is repeated weekly.
|
|
3839
|
+
"""
|
|
3840
|
+
return pulumi.get(self, "frequency")
|
|
3841
|
+
|
|
3842
|
+
@property
|
|
3843
|
+
@pulumi.getter
|
|
3844
|
+
def schedule(self) -> 'outputs.RecurrentScheduleResponse':
|
|
3845
|
+
"""
|
|
3846
|
+
the scheduling constraints for when the profile begins.
|
|
3847
|
+
"""
|
|
3848
|
+
return pulumi.get(self, "schedule")
|
|
3849
|
+
|
|
3850
|
+
|
|
3851
|
+
@pulumi.output_type
|
|
3852
|
+
class RecurrentScheduleResponse(dict):
|
|
3853
|
+
"""
|
|
3854
|
+
The scheduling constraints for when the profile begins.
|
|
3855
|
+
"""
|
|
3856
|
+
@staticmethod
|
|
3857
|
+
def __key_warning(key: str):
|
|
3858
|
+
suggest = None
|
|
3859
|
+
if key == "timeZone":
|
|
3860
|
+
suggest = "time_zone"
|
|
3861
|
+
|
|
3862
|
+
if suggest:
|
|
3863
|
+
pulumi.log.warn(f"Key '{key}' not found in RecurrentScheduleResponse. Access the value via the '{suggest}' property getter instead.")
|
|
3864
|
+
|
|
3865
|
+
def __getitem__(self, key: str) -> Any:
|
|
3866
|
+
RecurrentScheduleResponse.__key_warning(key)
|
|
3867
|
+
return super().__getitem__(key)
|
|
3868
|
+
|
|
3869
|
+
def get(self, key: str, default = None) -> Any:
|
|
3870
|
+
RecurrentScheduleResponse.__key_warning(key)
|
|
3871
|
+
return super().get(key, default)
|
|
3872
|
+
|
|
3873
|
+
def __init__(__self__, *,
|
|
3874
|
+
days: Sequence[str],
|
|
3875
|
+
hours: Sequence[int],
|
|
3876
|
+
minutes: Sequence[int],
|
|
3877
|
+
time_zone: str):
|
|
3878
|
+
"""
|
|
3879
|
+
The scheduling constraints for when the profile begins.
|
|
3880
|
+
:param Sequence[str] days: the collection of days that the profile takes effect on. Possible values are Sunday through Saturday.
|
|
3881
|
+
:param Sequence[int] hours: A collection of hours that the profile takes effect on. Values supported are 0 to 23 on the 24-hour clock (AM/PM times are not supported).
|
|
3882
|
+
:param Sequence[int] minutes: A collection of minutes at which the profile takes effect at.
|
|
3883
|
+
:param str time_zone: the timezone for the hours of the profile. Some examples of valid time zones are: Dateline Standard Time, UTC-11, Hawaiian Standard Time, Alaskan Standard Time, Pacific Standard Time (Mexico), Pacific Standard Time, US Mountain Standard Time, Mountain Standard Time (Mexico), Mountain Standard Time, Central America Standard Time, Central Standard Time, Central Standard Time (Mexico), Canada Central Standard Time, SA Pacific Standard Time, Eastern Standard Time, US Eastern Standard Time, Venezuela Standard Time, Paraguay Standard Time, Atlantic Standard Time, Central Brazilian Standard Time, SA Western Standard Time, Pacific SA Standard Time, Newfoundland Standard Time, E. South America Standard Time, Argentina Standard Time, SA Eastern Standard Time, Greenland Standard Time, Montevideo Standard Time, Bahia Standard Time, UTC-02, Mid-Atlantic Standard Time, Azores Standard Time, Cape Verde Standard Time, Morocco Standard Time, UTC, GMT Standard Time, Greenwich Standard Time, W. Europe Standard Time, Central Europe Standard Time, Romance Standard Time, Central European Standard Time, W. Central Africa Standard Time, Namibia Standard Time, Jordan Standard Time, GTB Standard Time, Middle East Standard Time, Egypt Standard Time, Syria Standard Time, E. Europe Standard Time, South Africa Standard Time, FLE Standard Time, Turkey Standard Time, Israel Standard Time, Kaliningrad Standard Time, Libya Standard Time, Arabic Standard Time, Arab Standard Time, Belarus Standard Time, Russian Standard Time, E. Africa Standard Time, Iran Standard Time, Arabian Standard Time, Azerbaijan Standard Time, Russia Time Zone 3, Mauritius Standard Time, Georgian Standard Time, Caucasus Standard Time, Afghanistan Standard Time, West Asia Standard Time, Ekaterinburg Standard Time, Pakistan Standard Time, India Standard Time, Sri Lanka Standard Time, Nepal Standard Time, Central Asia Standard Time, Bangladesh Standard Time, N. Central Asia Standard Time, Myanmar Standard Time, SE Asia Standard Time, North Asia Standard Time, China Standard Time, North Asia East Standard Time, Singapore Standard Time, W. Australia Standard Time, Taipei Standard Time, Ulaanbaatar Standard Time, Tokyo Standard Time, Korea Standard Time, Yakutsk Standard Time, Cen. Australia Standard Time, AUS Central Standard Time, E. Australia Standard Time, AUS Eastern Standard Time, West Pacific Standard Time, Tasmania Standard Time, Magadan Standard Time, Vladivostok Standard Time, Russia Time Zone 10, Central Pacific Standard Time, Russia Time Zone 11, New Zealand Standard Time, UTC+12, Fiji Standard Time, Kamchatka Standard Time, Tonga Standard Time, Samoa Standard Time, Line Islands Standard Time
|
|
3884
|
+
"""
|
|
3885
|
+
pulumi.set(__self__, "days", days)
|
|
3886
|
+
pulumi.set(__self__, "hours", hours)
|
|
3887
|
+
pulumi.set(__self__, "minutes", minutes)
|
|
3888
|
+
pulumi.set(__self__, "time_zone", time_zone)
|
|
3889
|
+
|
|
3890
|
+
@property
|
|
3891
|
+
@pulumi.getter
|
|
3892
|
+
def days(self) -> Sequence[str]:
|
|
3893
|
+
"""
|
|
3894
|
+
the collection of days that the profile takes effect on. Possible values are Sunday through Saturday.
|
|
3895
|
+
"""
|
|
3896
|
+
return pulumi.get(self, "days")
|
|
3897
|
+
|
|
3898
|
+
@property
|
|
3899
|
+
@pulumi.getter
|
|
3900
|
+
def hours(self) -> Sequence[int]:
|
|
3901
|
+
"""
|
|
3902
|
+
A collection of hours that the profile takes effect on. Values supported are 0 to 23 on the 24-hour clock (AM/PM times are not supported).
|
|
3903
|
+
"""
|
|
3904
|
+
return pulumi.get(self, "hours")
|
|
3905
|
+
|
|
3906
|
+
@property
|
|
3907
|
+
@pulumi.getter
|
|
3908
|
+
def minutes(self) -> Sequence[int]:
|
|
3909
|
+
"""
|
|
3910
|
+
A collection of minutes at which the profile takes effect at.
|
|
3911
|
+
"""
|
|
3912
|
+
return pulumi.get(self, "minutes")
|
|
3913
|
+
|
|
3914
|
+
@property
|
|
3915
|
+
@pulumi.getter(name="timeZone")
|
|
3916
|
+
def time_zone(self) -> str:
|
|
3917
|
+
"""
|
|
3918
|
+
the timezone for the hours of the profile. Some examples of valid time zones are: Dateline Standard Time, UTC-11, Hawaiian Standard Time, Alaskan Standard Time, Pacific Standard Time (Mexico), Pacific Standard Time, US Mountain Standard Time, Mountain Standard Time (Mexico), Mountain Standard Time, Central America Standard Time, Central Standard Time, Central Standard Time (Mexico), Canada Central Standard Time, SA Pacific Standard Time, Eastern Standard Time, US Eastern Standard Time, Venezuela Standard Time, Paraguay Standard Time, Atlantic Standard Time, Central Brazilian Standard Time, SA Western Standard Time, Pacific SA Standard Time, Newfoundland Standard Time, E. South America Standard Time, Argentina Standard Time, SA Eastern Standard Time, Greenland Standard Time, Montevideo Standard Time, Bahia Standard Time, UTC-02, Mid-Atlantic Standard Time, Azores Standard Time, Cape Verde Standard Time, Morocco Standard Time, UTC, GMT Standard Time, Greenwich Standard Time, W. Europe Standard Time, Central Europe Standard Time, Romance Standard Time, Central European Standard Time, W. Central Africa Standard Time, Namibia Standard Time, Jordan Standard Time, GTB Standard Time, Middle East Standard Time, Egypt Standard Time, Syria Standard Time, E. Europe Standard Time, South Africa Standard Time, FLE Standard Time, Turkey Standard Time, Israel Standard Time, Kaliningrad Standard Time, Libya Standard Time, Arabic Standard Time, Arab Standard Time, Belarus Standard Time, Russian Standard Time, E. Africa Standard Time, Iran Standard Time, Arabian Standard Time, Azerbaijan Standard Time, Russia Time Zone 3, Mauritius Standard Time, Georgian Standard Time, Caucasus Standard Time, Afghanistan Standard Time, West Asia Standard Time, Ekaterinburg Standard Time, Pakistan Standard Time, India Standard Time, Sri Lanka Standard Time, Nepal Standard Time, Central Asia Standard Time, Bangladesh Standard Time, N. Central Asia Standard Time, Myanmar Standard Time, SE Asia Standard Time, North Asia Standard Time, China Standard Time, North Asia East Standard Time, Singapore Standard Time, W. Australia Standard Time, Taipei Standard Time, Ulaanbaatar Standard Time, Tokyo Standard Time, Korea Standard Time, Yakutsk Standard Time, Cen. Australia Standard Time, AUS Central Standard Time, E. Australia Standard Time, AUS Eastern Standard Time, West Pacific Standard Time, Tasmania Standard Time, Magadan Standard Time, Vladivostok Standard Time, Russia Time Zone 10, Central Pacific Standard Time, Russia Time Zone 11, New Zealand Standard Time, UTC+12, Fiji Standard Time, Kamchatka Standard Time, Tonga Standard Time, Samoa Standard Time, Line Islands Standard Time
|
|
3919
|
+
"""
|
|
3920
|
+
return pulumi.get(self, "time_zone")
|
|
3921
|
+
|
|
3922
|
+
|
|
2951
3923
|
@pulumi.output_type
|
|
2952
3924
|
class ResourceMapResponse(dict):
|
|
2953
3925
|
"""
|
|
@@ -2998,6 +3970,39 @@ class ResourceMapResponse(dict):
|
|
|
2998
3970
|
return pulumi.get(self, "to")
|
|
2999
3971
|
|
|
3000
3972
|
|
|
3973
|
+
@pulumi.output_type
|
|
3974
|
+
class RetentionPolicyResponse(dict):
|
|
3975
|
+
"""
|
|
3976
|
+
Specifies the retention policy for the log.
|
|
3977
|
+
"""
|
|
3978
|
+
def __init__(__self__, *,
|
|
3979
|
+
days: int,
|
|
3980
|
+
enabled: bool):
|
|
3981
|
+
"""
|
|
3982
|
+
Specifies the retention policy for the log.
|
|
3983
|
+
:param int days: the number of days for the retention in days. A value of 0 will retain the events indefinitely.
|
|
3984
|
+
:param bool enabled: a value indicating whether the retention policy is enabled.
|
|
3985
|
+
"""
|
|
3986
|
+
pulumi.set(__self__, "days", days)
|
|
3987
|
+
pulumi.set(__self__, "enabled", enabled)
|
|
3988
|
+
|
|
3989
|
+
@property
|
|
3990
|
+
@pulumi.getter
|
|
3991
|
+
def days(self) -> int:
|
|
3992
|
+
"""
|
|
3993
|
+
the number of days for the retention in days. A value of 0 will retain the events indefinitely.
|
|
3994
|
+
"""
|
|
3995
|
+
return pulumi.get(self, "days")
|
|
3996
|
+
|
|
3997
|
+
@property
|
|
3998
|
+
@pulumi.getter
|
|
3999
|
+
def enabled(self) -> bool:
|
|
4000
|
+
"""
|
|
4001
|
+
a value indicating whether the retention policy is enabled.
|
|
4002
|
+
"""
|
|
4003
|
+
return pulumi.get(self, "enabled")
|
|
4004
|
+
|
|
4005
|
+
|
|
3001
4006
|
@pulumi.output_type
|
|
3002
4007
|
class RuleResolveConfigurationResponse(dict):
|
|
3003
4008
|
"""
|
|
@@ -3052,6 +4057,221 @@ class RuleResolveConfigurationResponse(dict):
|
|
|
3052
4057
|
return pulumi.get(self, "time_to_resolve")
|
|
3053
4058
|
|
|
3054
4059
|
|
|
4060
|
+
@pulumi.output_type
|
|
4061
|
+
class ScaleActionResponse(dict):
|
|
4062
|
+
"""
|
|
4063
|
+
The parameters for the scaling action.
|
|
4064
|
+
"""
|
|
4065
|
+
def __init__(__self__, *,
|
|
4066
|
+
cooldown: str,
|
|
4067
|
+
direction: str,
|
|
4068
|
+
type: str,
|
|
4069
|
+
value: Optional[str] = None):
|
|
4070
|
+
"""
|
|
4071
|
+
The parameters for the scaling action.
|
|
4072
|
+
:param str cooldown: the amount of time to wait since the last scaling action before this action occurs. It must be between 1 week and 1 minute in ISO 8601 format.
|
|
4073
|
+
:param str direction: the scale direction. Whether the scaling action increases or decreases the number of instances.
|
|
4074
|
+
:param str type: the type of action that should occur when the scale rule fires.
|
|
4075
|
+
:param str value: the number of instances that are involved in the scaling action. This value must be 1 or greater. The default value is 1.
|
|
4076
|
+
"""
|
|
4077
|
+
pulumi.set(__self__, "cooldown", cooldown)
|
|
4078
|
+
pulumi.set(__self__, "direction", direction)
|
|
4079
|
+
pulumi.set(__self__, "type", type)
|
|
4080
|
+
if value is None:
|
|
4081
|
+
value = '1'
|
|
4082
|
+
if value is not None:
|
|
4083
|
+
pulumi.set(__self__, "value", value)
|
|
4084
|
+
|
|
4085
|
+
@property
|
|
4086
|
+
@pulumi.getter
|
|
4087
|
+
def cooldown(self) -> str:
|
|
4088
|
+
"""
|
|
4089
|
+
the amount of time to wait since the last scaling action before this action occurs. It must be between 1 week and 1 minute in ISO 8601 format.
|
|
4090
|
+
"""
|
|
4091
|
+
return pulumi.get(self, "cooldown")
|
|
4092
|
+
|
|
4093
|
+
@property
|
|
4094
|
+
@pulumi.getter
|
|
4095
|
+
def direction(self) -> str:
|
|
4096
|
+
"""
|
|
4097
|
+
the scale direction. Whether the scaling action increases or decreases the number of instances.
|
|
4098
|
+
"""
|
|
4099
|
+
return pulumi.get(self, "direction")
|
|
4100
|
+
|
|
4101
|
+
@property
|
|
4102
|
+
@pulumi.getter
|
|
4103
|
+
def type(self) -> str:
|
|
4104
|
+
"""
|
|
4105
|
+
the type of action that should occur when the scale rule fires.
|
|
4106
|
+
"""
|
|
4107
|
+
return pulumi.get(self, "type")
|
|
4108
|
+
|
|
4109
|
+
@property
|
|
4110
|
+
@pulumi.getter
|
|
4111
|
+
def value(self) -> Optional[str]:
|
|
4112
|
+
"""
|
|
4113
|
+
the number of instances that are involved in the scaling action. This value must be 1 or greater. The default value is 1.
|
|
4114
|
+
"""
|
|
4115
|
+
return pulumi.get(self, "value")
|
|
4116
|
+
|
|
4117
|
+
|
|
4118
|
+
@pulumi.output_type
|
|
4119
|
+
class ScaleCapacityResponse(dict):
|
|
4120
|
+
"""
|
|
4121
|
+
The number of instances that can be used during this profile.
|
|
4122
|
+
"""
|
|
4123
|
+
def __init__(__self__, *,
|
|
4124
|
+
default: str,
|
|
4125
|
+
maximum: str,
|
|
4126
|
+
minimum: str):
|
|
4127
|
+
"""
|
|
4128
|
+
The number of instances that can be used during this profile.
|
|
4129
|
+
:param str default: the number of instances that will be set if metrics are not available for evaluation. The default is only used if the current instance count is lower than the default.
|
|
4130
|
+
:param str maximum: the maximum number of instances for the resource. The actual maximum number of instances is limited by the cores that are available in the subscription.
|
|
4131
|
+
:param str minimum: the minimum number of instances for the resource.
|
|
4132
|
+
"""
|
|
4133
|
+
pulumi.set(__self__, "default", default)
|
|
4134
|
+
pulumi.set(__self__, "maximum", maximum)
|
|
4135
|
+
pulumi.set(__self__, "minimum", minimum)
|
|
4136
|
+
|
|
4137
|
+
@property
|
|
4138
|
+
@pulumi.getter
|
|
4139
|
+
def default(self) -> str:
|
|
4140
|
+
"""
|
|
4141
|
+
the number of instances that will be set if metrics are not available for evaluation. The default is only used if the current instance count is lower than the default.
|
|
4142
|
+
"""
|
|
4143
|
+
return pulumi.get(self, "default")
|
|
4144
|
+
|
|
4145
|
+
@property
|
|
4146
|
+
@pulumi.getter
|
|
4147
|
+
def maximum(self) -> str:
|
|
4148
|
+
"""
|
|
4149
|
+
the maximum number of instances for the resource. The actual maximum number of instances is limited by the cores that are available in the subscription.
|
|
4150
|
+
"""
|
|
4151
|
+
return pulumi.get(self, "maximum")
|
|
4152
|
+
|
|
4153
|
+
@property
|
|
4154
|
+
@pulumi.getter
|
|
4155
|
+
def minimum(self) -> str:
|
|
4156
|
+
"""
|
|
4157
|
+
the minimum number of instances for the resource.
|
|
4158
|
+
"""
|
|
4159
|
+
return pulumi.get(self, "minimum")
|
|
4160
|
+
|
|
4161
|
+
|
|
4162
|
+
@pulumi.output_type
|
|
4163
|
+
class ScaleRuleMetricDimensionResponse(dict):
|
|
4164
|
+
"""
|
|
4165
|
+
Specifies an auto scale rule metric dimension.
|
|
4166
|
+
"""
|
|
4167
|
+
@staticmethod
|
|
4168
|
+
def __key_warning(key: str):
|
|
4169
|
+
suggest = None
|
|
4170
|
+
if key == "dimensionName":
|
|
4171
|
+
suggest = "dimension_name"
|
|
4172
|
+
|
|
4173
|
+
if suggest:
|
|
4174
|
+
pulumi.log.warn(f"Key '{key}' not found in ScaleRuleMetricDimensionResponse. Access the value via the '{suggest}' property getter instead.")
|
|
4175
|
+
|
|
4176
|
+
def __getitem__(self, key: str) -> Any:
|
|
4177
|
+
ScaleRuleMetricDimensionResponse.__key_warning(key)
|
|
4178
|
+
return super().__getitem__(key)
|
|
4179
|
+
|
|
4180
|
+
def get(self, key: str, default = None) -> Any:
|
|
4181
|
+
ScaleRuleMetricDimensionResponse.__key_warning(key)
|
|
4182
|
+
return super().get(key, default)
|
|
4183
|
+
|
|
4184
|
+
def __init__(__self__, *,
|
|
4185
|
+
dimension_name: str,
|
|
4186
|
+
operator: str,
|
|
4187
|
+
values: Sequence[str]):
|
|
4188
|
+
"""
|
|
4189
|
+
Specifies an auto scale rule metric dimension.
|
|
4190
|
+
:param str dimension_name: Name of the dimension.
|
|
4191
|
+
:param str operator: the dimension operator. Only 'Equals' and 'NotEquals' are supported. 'Equals' being equal to any of the values. 'NotEquals' being not equal to all of the values
|
|
4192
|
+
:param Sequence[str] values: list of dimension values. For example: ["App1","App2"].
|
|
4193
|
+
"""
|
|
4194
|
+
pulumi.set(__self__, "dimension_name", dimension_name)
|
|
4195
|
+
pulumi.set(__self__, "operator", operator)
|
|
4196
|
+
pulumi.set(__self__, "values", values)
|
|
4197
|
+
|
|
4198
|
+
@property
|
|
4199
|
+
@pulumi.getter(name="dimensionName")
|
|
4200
|
+
def dimension_name(self) -> str:
|
|
4201
|
+
"""
|
|
4202
|
+
Name of the dimension.
|
|
4203
|
+
"""
|
|
4204
|
+
return pulumi.get(self, "dimension_name")
|
|
4205
|
+
|
|
4206
|
+
@property
|
|
4207
|
+
@pulumi.getter
|
|
4208
|
+
def operator(self) -> str:
|
|
4209
|
+
"""
|
|
4210
|
+
the dimension operator. Only 'Equals' and 'NotEquals' are supported. 'Equals' being equal to any of the values. 'NotEquals' being not equal to all of the values
|
|
4211
|
+
"""
|
|
4212
|
+
return pulumi.get(self, "operator")
|
|
4213
|
+
|
|
4214
|
+
@property
|
|
4215
|
+
@pulumi.getter
|
|
4216
|
+
def values(self) -> Sequence[str]:
|
|
4217
|
+
"""
|
|
4218
|
+
list of dimension values. For example: ["App1","App2"].
|
|
4219
|
+
"""
|
|
4220
|
+
return pulumi.get(self, "values")
|
|
4221
|
+
|
|
4222
|
+
|
|
4223
|
+
@pulumi.output_type
|
|
4224
|
+
class ScaleRuleResponse(dict):
|
|
4225
|
+
"""
|
|
4226
|
+
A rule that provide the triggers and parameters for the scaling action.
|
|
4227
|
+
"""
|
|
4228
|
+
@staticmethod
|
|
4229
|
+
def __key_warning(key: str):
|
|
4230
|
+
suggest = None
|
|
4231
|
+
if key == "metricTrigger":
|
|
4232
|
+
suggest = "metric_trigger"
|
|
4233
|
+
elif key == "scaleAction":
|
|
4234
|
+
suggest = "scale_action"
|
|
4235
|
+
|
|
4236
|
+
if suggest:
|
|
4237
|
+
pulumi.log.warn(f"Key '{key}' not found in ScaleRuleResponse. Access the value via the '{suggest}' property getter instead.")
|
|
4238
|
+
|
|
4239
|
+
def __getitem__(self, key: str) -> Any:
|
|
4240
|
+
ScaleRuleResponse.__key_warning(key)
|
|
4241
|
+
return super().__getitem__(key)
|
|
4242
|
+
|
|
4243
|
+
def get(self, key: str, default = None) -> Any:
|
|
4244
|
+
ScaleRuleResponse.__key_warning(key)
|
|
4245
|
+
return super().get(key, default)
|
|
4246
|
+
|
|
4247
|
+
def __init__(__self__, *,
|
|
4248
|
+
metric_trigger: 'outputs.MetricTriggerResponse',
|
|
4249
|
+
scale_action: 'outputs.ScaleActionResponse'):
|
|
4250
|
+
"""
|
|
4251
|
+
A rule that provide the triggers and parameters for the scaling action.
|
|
4252
|
+
:param 'MetricTriggerResponse' metric_trigger: the trigger that results in a scaling action.
|
|
4253
|
+
:param 'ScaleActionResponse' scale_action: the parameters for the scaling action.
|
|
4254
|
+
"""
|
|
4255
|
+
pulumi.set(__self__, "metric_trigger", metric_trigger)
|
|
4256
|
+
pulumi.set(__self__, "scale_action", scale_action)
|
|
4257
|
+
|
|
4258
|
+
@property
|
|
4259
|
+
@pulumi.getter(name="metricTrigger")
|
|
4260
|
+
def metric_trigger(self) -> 'outputs.MetricTriggerResponse':
|
|
4261
|
+
"""
|
|
4262
|
+
the trigger that results in a scaling action.
|
|
4263
|
+
"""
|
|
4264
|
+
return pulumi.get(self, "metric_trigger")
|
|
4265
|
+
|
|
4266
|
+
@property
|
|
4267
|
+
@pulumi.getter(name="scaleAction")
|
|
4268
|
+
def scale_action(self) -> 'outputs.ScaleActionResponse':
|
|
4269
|
+
"""
|
|
4270
|
+
the parameters for the scaling action.
|
|
4271
|
+
"""
|
|
4272
|
+
return pulumi.get(self, "scale_action")
|
|
4273
|
+
|
|
4274
|
+
|
|
3055
4275
|
@pulumi.output_type
|
|
3056
4276
|
class ScheduledQueryRuleCriteriaResponse(dict):
|
|
3057
4277
|
"""
|
|
@@ -3317,6 +4537,69 @@ class SmsReceiverResponse(dict):
|
|
|
3317
4537
|
return pulumi.get(self, "status")
|
|
3318
4538
|
|
|
3319
4539
|
|
|
4540
|
+
@pulumi.output_type
|
|
4541
|
+
class SubscriptionLogSettingsResponse(dict):
|
|
4542
|
+
"""
|
|
4543
|
+
Part of Subscription diagnostic setting. Specifies the settings for a particular log.
|
|
4544
|
+
"""
|
|
4545
|
+
@staticmethod
|
|
4546
|
+
def __key_warning(key: str):
|
|
4547
|
+
suggest = None
|
|
4548
|
+
if key == "categoryGroup":
|
|
4549
|
+
suggest = "category_group"
|
|
4550
|
+
|
|
4551
|
+
if suggest:
|
|
4552
|
+
pulumi.log.warn(f"Key '{key}' not found in SubscriptionLogSettingsResponse. Access the value via the '{suggest}' property getter instead.")
|
|
4553
|
+
|
|
4554
|
+
def __getitem__(self, key: str) -> Any:
|
|
4555
|
+
SubscriptionLogSettingsResponse.__key_warning(key)
|
|
4556
|
+
return super().__getitem__(key)
|
|
4557
|
+
|
|
4558
|
+
def get(self, key: str, default = None) -> Any:
|
|
4559
|
+
SubscriptionLogSettingsResponse.__key_warning(key)
|
|
4560
|
+
return super().get(key, default)
|
|
4561
|
+
|
|
4562
|
+
def __init__(__self__, *,
|
|
4563
|
+
enabled: bool,
|
|
4564
|
+
category: Optional[str] = None,
|
|
4565
|
+
category_group: Optional[str] = None):
|
|
4566
|
+
"""
|
|
4567
|
+
Part of Subscription diagnostic setting. Specifies the settings for a particular log.
|
|
4568
|
+
:param bool enabled: a value indicating whether this log is enabled.
|
|
4569
|
+
:param str category: Name of a Subscription Diagnostic Log category for a resource type this setting is applied to.
|
|
4570
|
+
:param str category_group: Name of a Subscription Diagnostic Log category group for a resource type this setting is applied to.
|
|
4571
|
+
"""
|
|
4572
|
+
pulumi.set(__self__, "enabled", enabled)
|
|
4573
|
+
if category is not None:
|
|
4574
|
+
pulumi.set(__self__, "category", category)
|
|
4575
|
+
if category_group is not None:
|
|
4576
|
+
pulumi.set(__self__, "category_group", category_group)
|
|
4577
|
+
|
|
4578
|
+
@property
|
|
4579
|
+
@pulumi.getter
|
|
4580
|
+
def enabled(self) -> bool:
|
|
4581
|
+
"""
|
|
4582
|
+
a value indicating whether this log is enabled.
|
|
4583
|
+
"""
|
|
4584
|
+
return pulumi.get(self, "enabled")
|
|
4585
|
+
|
|
4586
|
+
@property
|
|
4587
|
+
@pulumi.getter
|
|
4588
|
+
def category(self) -> Optional[str]:
|
|
4589
|
+
"""
|
|
4590
|
+
Name of a Subscription Diagnostic Log category for a resource type this setting is applied to.
|
|
4591
|
+
"""
|
|
4592
|
+
return pulumi.get(self, "category")
|
|
4593
|
+
|
|
4594
|
+
@property
|
|
4595
|
+
@pulumi.getter(name="categoryGroup")
|
|
4596
|
+
def category_group(self) -> Optional[str]:
|
|
4597
|
+
"""
|
|
4598
|
+
Name of a Subscription Diagnostic Log category group for a resource type this setting is applied to.
|
|
4599
|
+
"""
|
|
4600
|
+
return pulumi.get(self, "category_group")
|
|
4601
|
+
|
|
4602
|
+
|
|
3320
4603
|
@pulumi.output_type
|
|
3321
4604
|
class SyslogReceiverResponse(dict):
|
|
3322
4605
|
"""
|
|
@@ -3485,6 +4768,68 @@ class TcpExporterResponse(dict):
|
|
|
3485
4768
|
return pulumi.get(self, "url")
|
|
3486
4769
|
|
|
3487
4770
|
|
|
4771
|
+
@pulumi.output_type
|
|
4772
|
+
class TimeWindowResponse(dict):
|
|
4773
|
+
"""
|
|
4774
|
+
A specific date-time for the profile.
|
|
4775
|
+
"""
|
|
4776
|
+
@staticmethod
|
|
4777
|
+
def __key_warning(key: str):
|
|
4778
|
+
suggest = None
|
|
4779
|
+
if key == "timeZone":
|
|
4780
|
+
suggest = "time_zone"
|
|
4781
|
+
|
|
4782
|
+
if suggest:
|
|
4783
|
+
pulumi.log.warn(f"Key '{key}' not found in TimeWindowResponse. Access the value via the '{suggest}' property getter instead.")
|
|
4784
|
+
|
|
4785
|
+
def __getitem__(self, key: str) -> Any:
|
|
4786
|
+
TimeWindowResponse.__key_warning(key)
|
|
4787
|
+
return super().__getitem__(key)
|
|
4788
|
+
|
|
4789
|
+
def get(self, key: str, default = None) -> Any:
|
|
4790
|
+
TimeWindowResponse.__key_warning(key)
|
|
4791
|
+
return super().get(key, default)
|
|
4792
|
+
|
|
4793
|
+
def __init__(__self__, *,
|
|
4794
|
+
end: str,
|
|
4795
|
+
start: str,
|
|
4796
|
+
time_zone: Optional[str] = None):
|
|
4797
|
+
"""
|
|
4798
|
+
A specific date-time for the profile.
|
|
4799
|
+
:param str end: the end time for the profile in ISO 8601 format.
|
|
4800
|
+
:param str start: the start time for the profile in ISO 8601 format.
|
|
4801
|
+
:param str time_zone: the timezone of the start and end times for the profile. Some examples of valid time zones are: Dateline Standard Time, UTC-11, Hawaiian Standard Time, Alaskan Standard Time, Pacific Standard Time (Mexico), Pacific Standard Time, US Mountain Standard Time, Mountain Standard Time (Mexico), Mountain Standard Time, Central America Standard Time, Central Standard Time, Central Standard Time (Mexico), Canada Central Standard Time, SA Pacific Standard Time, Eastern Standard Time, US Eastern Standard Time, Venezuela Standard Time, Paraguay Standard Time, Atlantic Standard Time, Central Brazilian Standard Time, SA Western Standard Time, Pacific SA Standard Time, Newfoundland Standard Time, E. South America Standard Time, Argentina Standard Time, SA Eastern Standard Time, Greenland Standard Time, Montevideo Standard Time, Bahia Standard Time, UTC-02, Mid-Atlantic Standard Time, Azores Standard Time, Cape Verde Standard Time, Morocco Standard Time, UTC, GMT Standard Time, Greenwich Standard Time, W. Europe Standard Time, Central Europe Standard Time, Romance Standard Time, Central European Standard Time, W. Central Africa Standard Time, Namibia Standard Time, Jordan Standard Time, GTB Standard Time, Middle East Standard Time, Egypt Standard Time, Syria Standard Time, E. Europe Standard Time, South Africa Standard Time, FLE Standard Time, Turkey Standard Time, Israel Standard Time, Kaliningrad Standard Time, Libya Standard Time, Arabic Standard Time, Arab Standard Time, Belarus Standard Time, Russian Standard Time, E. Africa Standard Time, Iran Standard Time, Arabian Standard Time, Azerbaijan Standard Time, Russia Time Zone 3, Mauritius Standard Time, Georgian Standard Time, Caucasus Standard Time, Afghanistan Standard Time, West Asia Standard Time, Ekaterinburg Standard Time, Pakistan Standard Time, India Standard Time, Sri Lanka Standard Time, Nepal Standard Time, Central Asia Standard Time, Bangladesh Standard Time, N. Central Asia Standard Time, Myanmar Standard Time, SE Asia Standard Time, North Asia Standard Time, China Standard Time, North Asia East Standard Time, Singapore Standard Time, W. Australia Standard Time, Taipei Standard Time, Ulaanbaatar Standard Time, Tokyo Standard Time, Korea Standard Time, Yakutsk Standard Time, Cen. Australia Standard Time, AUS Central Standard Time, E. Australia Standard Time, AUS Eastern Standard Time, West Pacific Standard Time, Tasmania Standard Time, Magadan Standard Time, Vladivostok Standard Time, Russia Time Zone 10, Central Pacific Standard Time, Russia Time Zone 11, New Zealand Standard Time, UTC+12, Fiji Standard Time, Kamchatka Standard Time, Tonga Standard Time, Samoa Standard Time, Line Islands Standard Time
|
|
4802
|
+
"""
|
|
4803
|
+
pulumi.set(__self__, "end", end)
|
|
4804
|
+
pulumi.set(__self__, "start", start)
|
|
4805
|
+
if time_zone is not None:
|
|
4806
|
+
pulumi.set(__self__, "time_zone", time_zone)
|
|
4807
|
+
|
|
4808
|
+
@property
|
|
4809
|
+
@pulumi.getter
|
|
4810
|
+
def end(self) -> str:
|
|
4811
|
+
"""
|
|
4812
|
+
the end time for the profile in ISO 8601 format.
|
|
4813
|
+
"""
|
|
4814
|
+
return pulumi.get(self, "end")
|
|
4815
|
+
|
|
4816
|
+
@property
|
|
4817
|
+
@pulumi.getter
|
|
4818
|
+
def start(self) -> str:
|
|
4819
|
+
"""
|
|
4820
|
+
the start time for the profile in ISO 8601 format.
|
|
4821
|
+
"""
|
|
4822
|
+
return pulumi.get(self, "start")
|
|
4823
|
+
|
|
4824
|
+
@property
|
|
4825
|
+
@pulumi.getter(name="timeZone")
|
|
4826
|
+
def time_zone(self) -> Optional[str]:
|
|
4827
|
+
"""
|
|
4828
|
+
the timezone of the start and end times for the profile. Some examples of valid time zones are: Dateline Standard Time, UTC-11, Hawaiian Standard Time, Alaskan Standard Time, Pacific Standard Time (Mexico), Pacific Standard Time, US Mountain Standard Time, Mountain Standard Time (Mexico), Mountain Standard Time, Central America Standard Time, Central Standard Time, Central Standard Time (Mexico), Canada Central Standard Time, SA Pacific Standard Time, Eastern Standard Time, US Eastern Standard Time, Venezuela Standard Time, Paraguay Standard Time, Atlantic Standard Time, Central Brazilian Standard Time, SA Western Standard Time, Pacific SA Standard Time, Newfoundland Standard Time, E. South America Standard Time, Argentina Standard Time, SA Eastern Standard Time, Greenland Standard Time, Montevideo Standard Time, Bahia Standard Time, UTC-02, Mid-Atlantic Standard Time, Azores Standard Time, Cape Verde Standard Time, Morocco Standard Time, UTC, GMT Standard Time, Greenwich Standard Time, W. Europe Standard Time, Central Europe Standard Time, Romance Standard Time, Central European Standard Time, W. Central Africa Standard Time, Namibia Standard Time, Jordan Standard Time, GTB Standard Time, Middle East Standard Time, Egypt Standard Time, Syria Standard Time, E. Europe Standard Time, South Africa Standard Time, FLE Standard Time, Turkey Standard Time, Israel Standard Time, Kaliningrad Standard Time, Libya Standard Time, Arabic Standard Time, Arab Standard Time, Belarus Standard Time, Russian Standard Time, E. Africa Standard Time, Iran Standard Time, Arabian Standard Time, Azerbaijan Standard Time, Russia Time Zone 3, Mauritius Standard Time, Georgian Standard Time, Caucasus Standard Time, Afghanistan Standard Time, West Asia Standard Time, Ekaterinburg Standard Time, Pakistan Standard Time, India Standard Time, Sri Lanka Standard Time, Nepal Standard Time, Central Asia Standard Time, Bangladesh Standard Time, N. Central Asia Standard Time, Myanmar Standard Time, SE Asia Standard Time, North Asia Standard Time, China Standard Time, North Asia East Standard Time, Singapore Standard Time, W. Australia Standard Time, Taipei Standard Time, Ulaanbaatar Standard Time, Tokyo Standard Time, Korea Standard Time, Yakutsk Standard Time, Cen. Australia Standard Time, AUS Central Standard Time, E. Australia Standard Time, AUS Eastern Standard Time, West Pacific Standard Time, Tasmania Standard Time, Magadan Standard Time, Vladivostok Standard Time, Russia Time Zone 10, Central Pacific Standard Time, Russia Time Zone 11, New Zealand Standard Time, UTC+12, Fiji Standard Time, Kamchatka Standard Time, Tonga Standard Time, Samoa Standard Time, Line Islands Standard Time
|
|
4829
|
+
"""
|
|
4830
|
+
return pulumi.get(self, "time_zone")
|
|
4831
|
+
|
|
4832
|
+
|
|
3488
4833
|
@pulumi.output_type
|
|
3489
4834
|
class UdpReceiverResponse(dict):
|
|
3490
4835
|
"""
|
|
@@ -3733,6 +5078,58 @@ class VoiceReceiverResponse(dict):
|
|
|
3733
5078
|
return pulumi.get(self, "phone_number")
|
|
3734
5079
|
|
|
3735
5080
|
|
|
5081
|
+
@pulumi.output_type
|
|
5082
|
+
class WebhookNotificationResponse(dict):
|
|
5083
|
+
"""
|
|
5084
|
+
Webhook notification of an autoscale event.
|
|
5085
|
+
"""
|
|
5086
|
+
@staticmethod
|
|
5087
|
+
def __key_warning(key: str):
|
|
5088
|
+
suggest = None
|
|
5089
|
+
if key == "serviceUri":
|
|
5090
|
+
suggest = "service_uri"
|
|
5091
|
+
|
|
5092
|
+
if suggest:
|
|
5093
|
+
pulumi.log.warn(f"Key '{key}' not found in WebhookNotificationResponse. Access the value via the '{suggest}' property getter instead.")
|
|
5094
|
+
|
|
5095
|
+
def __getitem__(self, key: str) -> Any:
|
|
5096
|
+
WebhookNotificationResponse.__key_warning(key)
|
|
5097
|
+
return super().__getitem__(key)
|
|
5098
|
+
|
|
5099
|
+
def get(self, key: str, default = None) -> Any:
|
|
5100
|
+
WebhookNotificationResponse.__key_warning(key)
|
|
5101
|
+
return super().get(key, default)
|
|
5102
|
+
|
|
5103
|
+
def __init__(__self__, *,
|
|
5104
|
+
properties: Optional[Mapping[str, str]] = None,
|
|
5105
|
+
service_uri: Optional[str] = None):
|
|
5106
|
+
"""
|
|
5107
|
+
Webhook notification of an autoscale event.
|
|
5108
|
+
:param Mapping[str, str] properties: a property bag of settings. This value can be empty.
|
|
5109
|
+
:param str service_uri: the service address to receive the notification.
|
|
5110
|
+
"""
|
|
5111
|
+
if properties is not None:
|
|
5112
|
+
pulumi.set(__self__, "properties", properties)
|
|
5113
|
+
if service_uri is not None:
|
|
5114
|
+
pulumi.set(__self__, "service_uri", service_uri)
|
|
5115
|
+
|
|
5116
|
+
@property
|
|
5117
|
+
@pulumi.getter
|
|
5118
|
+
def properties(self) -> Optional[Mapping[str, str]]:
|
|
5119
|
+
"""
|
|
5120
|
+
a property bag of settings. This value can be empty.
|
|
5121
|
+
"""
|
|
5122
|
+
return pulumi.get(self, "properties")
|
|
5123
|
+
|
|
5124
|
+
@property
|
|
5125
|
+
@pulumi.getter(name="serviceUri")
|
|
5126
|
+
def service_uri(self) -> Optional[str]:
|
|
5127
|
+
"""
|
|
5128
|
+
the service address to receive the notification.
|
|
5129
|
+
"""
|
|
5130
|
+
return pulumi.get(self, "service_uri")
|
|
5131
|
+
|
|
5132
|
+
|
|
3736
5133
|
@pulumi.output_type
|
|
3737
5134
|
class WebhookReceiverResponse(dict):
|
|
3738
5135
|
"""
|