Skip to content

Commit

Permalink
make build_sdks
Browse files Browse the repository at this point in the history
  • Loading branch information
pulumi-bot committed Nov 6, 2023
1 parent c2c8ee6 commit d254da0
Show file tree
Hide file tree
Showing 1,612 changed files with 290,240 additions and 43,964 deletions.
347 changes: 308 additions & 39 deletions sdk/python/pulumi_azure/_inputs.py

Large diffs are not rendered by default.

130 changes: 112 additions & 18 deletions sdk/python/pulumi_azure/aadb2c/directory.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload
from .. import _utilities

__all__ = ['DirectoryArgs', 'Directory']
Expand All @@ -31,16 +31,59 @@ def __init__(__self__, *,
:param pulumi.Input[str] display_name: The initial display name of the B2C tenant. Required when creating a new resource. Changing this forces a new AAD B2C Directory to be created.
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags which should be assigned to the AAD B2C Directory.
"""
pulumi.set(__self__, "data_residency_location", data_residency_location)
pulumi.set(__self__, "domain_name", domain_name)
pulumi.set(__self__, "resource_group_name", resource_group_name)
pulumi.set(__self__, "sku_name", sku_name)
DirectoryArgs._configure(
lambda key, value: pulumi.set(__self__, key, value),
data_residency_location=data_residency_location,
domain_name=domain_name,
resource_group_name=resource_group_name,
sku_name=sku_name,
country_code=country_code,
display_name=display_name,
tags=tags,
)
@staticmethod
def _configure(
_setter: Callable[[Any, Any], None],
data_residency_location: Optional[pulumi.Input[str]] = None,
domain_name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
sku_name: Optional[pulumi.Input[str]] = None,
country_code: Optional[pulumi.Input[str]] = None,
display_name: Optional[pulumi.Input[str]] = None,
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
opts: Optional[pulumi.ResourceOptions]=None,
**kwargs):
if data_residency_location is None and 'dataResidencyLocation' in kwargs:
data_residency_location = kwargs['dataResidencyLocation']
if data_residency_location is None:
raise TypeError("Missing 'data_residency_location' argument")
if domain_name is None and 'domainName' in kwargs:
domain_name = kwargs['domainName']
if domain_name is None:
raise TypeError("Missing 'domain_name' argument")
if resource_group_name is None and 'resourceGroupName' in kwargs:
resource_group_name = kwargs['resourceGroupName']
if resource_group_name is None:
raise TypeError("Missing 'resource_group_name' argument")
if sku_name is None and 'skuName' in kwargs:
sku_name = kwargs['skuName']
if sku_name is None:
raise TypeError("Missing 'sku_name' argument")
if country_code is None and 'countryCode' in kwargs:
country_code = kwargs['countryCode']
if display_name is None and 'displayName' in kwargs:
display_name = kwargs['displayName']

_setter("data_residency_location", data_residency_location)
_setter("domain_name", domain_name)
_setter("resource_group_name", resource_group_name)
_setter("sku_name", sku_name)
if country_code is not None:
pulumi.set(__self__, "country_code", country_code)
_setter("country_code", country_code)
if display_name is not None:
pulumi.set(__self__, "display_name", display_name)
_setter("display_name", display_name)
if tags is not None:
pulumi.set(__self__, "tags", tags)
_setter("tags", tags)

@property
@pulumi.getter(name="dataResidencyLocation")
Expand Down Expand Up @@ -153,26 +196,73 @@ def __init__(__self__, *,
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags which should be assigned to the AAD B2C Directory.
:param pulumi.Input[str] tenant_id: The Tenant ID for the AAD B2C tenant.
"""
_DirectoryState._configure(
lambda key, value: pulumi.set(__self__, key, value),
billing_type=billing_type,
country_code=country_code,
data_residency_location=data_residency_location,
display_name=display_name,
domain_name=domain_name,
effective_start_date=effective_start_date,
resource_group_name=resource_group_name,
sku_name=sku_name,
tags=tags,
tenant_id=tenant_id,
)
@staticmethod
def _configure(
_setter: Callable[[Any, Any], None],
billing_type: Optional[pulumi.Input[str]] = None,
country_code: Optional[pulumi.Input[str]] = None,
data_residency_location: Optional[pulumi.Input[str]] = None,
display_name: Optional[pulumi.Input[str]] = None,
domain_name: Optional[pulumi.Input[str]] = None,
effective_start_date: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
sku_name: Optional[pulumi.Input[str]] = None,
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
tenant_id: Optional[pulumi.Input[str]] = None,
opts: Optional[pulumi.ResourceOptions]=None,
**kwargs):
if billing_type is None and 'billingType' in kwargs:
billing_type = kwargs['billingType']
if country_code is None and 'countryCode' in kwargs:
country_code = kwargs['countryCode']
if data_residency_location is None and 'dataResidencyLocation' in kwargs:
data_residency_location = kwargs['dataResidencyLocation']
if display_name is None and 'displayName' in kwargs:
display_name = kwargs['displayName']
if domain_name is None and 'domainName' in kwargs:
domain_name = kwargs['domainName']
if effective_start_date is None and 'effectiveStartDate' in kwargs:
effective_start_date = kwargs['effectiveStartDate']
if resource_group_name is None and 'resourceGroupName' in kwargs:
resource_group_name = kwargs['resourceGroupName']
if sku_name is None and 'skuName' in kwargs:
sku_name = kwargs['skuName']
if tenant_id is None and 'tenantId' in kwargs:
tenant_id = kwargs['tenantId']

if billing_type is not None:
pulumi.set(__self__, "billing_type", billing_type)
_setter("billing_type", billing_type)
if country_code is not None:
pulumi.set(__self__, "country_code", country_code)
_setter("country_code", country_code)
if data_residency_location is not None:
pulumi.set(__self__, "data_residency_location", data_residency_location)
_setter("data_residency_location", data_residency_location)
if display_name is not None:
pulumi.set(__self__, "display_name", display_name)
_setter("display_name", display_name)
if domain_name is not None:
pulumi.set(__self__, "domain_name", domain_name)
_setter("domain_name", domain_name)
if effective_start_date is not None:
pulumi.set(__self__, "effective_start_date", effective_start_date)
_setter("effective_start_date", effective_start_date)
if resource_group_name is not None:
pulumi.set(__self__, "resource_group_name", resource_group_name)
_setter("resource_group_name", resource_group_name)
if sku_name is not None:
pulumi.set(__self__, "sku_name", sku_name)
_setter("sku_name", sku_name)
if tags is not None:
pulumi.set(__self__, "tags", tags)
_setter("tags", tags)
if tenant_id is not None:
pulumi.set(__self__, "tenant_id", tenant_id)
_setter("tenant_id", tenant_id)

@property
@pulumi.getter(name="billingType")
Expand Down Expand Up @@ -386,6 +476,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs):
if resource_args is not None:
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
else:
kwargs = kwargs or {}
def _setter(key, value):
kwargs[key] = value
DirectoryArgs._configure(_setter, **kwargs)
__self__._internal_init(resource_name, *args, **kwargs)

def _internal_init(__self__,
Expand Down
2 changes: 1 addition & 1 deletion sdk/python/pulumi_azure/aadb2c/get_directory.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload
from .. import _utilities

__all__ = [
Expand Down
2 changes: 1 addition & 1 deletion sdk/python/pulumi_azure/advisor/get_recommendations.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload
from .. import _utilities
from . import outputs

Expand Down
77 changes: 67 additions & 10 deletions sdk/python/pulumi_azure/advisor/outputs.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload
from .. import _utilities

__all__ = [
Expand Down Expand Up @@ -36,15 +36,72 @@ def __init__(__self__, *,
:param Sequence[str] suppression_names: A list of Advisor Suppression names of the Advisor Recommendation.
:param str updated_time: The most recent time that Advisor checked the validity of the recommendation..
"""
pulumi.set(__self__, "category", category)
pulumi.set(__self__, "description", description)
pulumi.set(__self__, "impact", impact)
pulumi.set(__self__, "recommendation_name", recommendation_name)
pulumi.set(__self__, "recommendation_type_id", recommendation_type_id)
pulumi.set(__self__, "resource_name", resource_name)
pulumi.set(__self__, "resource_type", resource_type)
pulumi.set(__self__, "suppression_names", suppression_names)
pulumi.set(__self__, "updated_time", updated_time)
GetRecommendationsRecommendationResult._configure(
lambda key, value: pulumi.set(__self__, key, value),
category=category,
description=description,
impact=impact,
recommendation_name=recommendation_name,
recommendation_type_id=recommendation_type_id,
resource_name=resource_name,
resource_type=resource_type,
suppression_names=suppression_names,
updated_time=updated_time,
)
@staticmethod
def _configure(
_setter: Callable[[Any, Any], None],
category: Optional[str] = None,
description: Optional[str] = None,
impact: Optional[str] = None,
recommendation_name: Optional[str] = None,
recommendation_type_id: Optional[str] = None,
resource_name: Optional[str] = None,
resource_type: Optional[str] = None,
suppression_names: Optional[Sequence[str]] = None,
updated_time: Optional[str] = None,
opts: Optional[pulumi.ResourceOptions]=None,
**kwargs):
if category is None:
raise TypeError("Missing 'category' argument")
if description is None:
raise TypeError("Missing 'description' argument")
if impact is None:
raise TypeError("Missing 'impact' argument")
if recommendation_name is None and 'recommendationName' in kwargs:
recommendation_name = kwargs['recommendationName']
if recommendation_name is None:
raise TypeError("Missing 'recommendation_name' argument")
if recommendation_type_id is None and 'recommendationTypeId' in kwargs:
recommendation_type_id = kwargs['recommendationTypeId']
if recommendation_type_id is None:
raise TypeError("Missing 'recommendation_type_id' argument")
if resource_name is None and 'resourceName' in kwargs:
resource_name = kwargs['resourceName']
if resource_name is None:
raise TypeError("Missing 'resource_name' argument")
if resource_type is None and 'resourceType' in kwargs:
resource_type = kwargs['resourceType']
if resource_type is None:
raise TypeError("Missing 'resource_type' argument")
if suppression_names is None and 'suppressionNames' in kwargs:
suppression_names = kwargs['suppressionNames']
if suppression_names is None:
raise TypeError("Missing 'suppression_names' argument")
if updated_time is None and 'updatedTime' in kwargs:
updated_time = kwargs['updatedTime']
if updated_time is None:
raise TypeError("Missing 'updated_time' argument")

_setter("category", category)
_setter("description", description)
_setter("impact", impact)
_setter("recommendation_name", recommendation_name)
_setter("recommendation_type_id", recommendation_type_id)
_setter("resource_name", resource_name)
_setter("resource_type", resource_type)
_setter("suppression_names", suppression_names)
_setter("updated_time", updated_time)

@property
@pulumi.getter
Expand Down
33 changes: 29 additions & 4 deletions sdk/python/pulumi_azure/analysisservices/_inputs.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload
from .. import _utilities

__all__ = [
Expand All @@ -24,9 +24,34 @@ def __init__(__self__, *,
:param pulumi.Input[str] range_end: End of the firewall rule range as IPv4 address.
:param pulumi.Input[str] range_start: Start of the firewall rule range as IPv4 address.
"""
pulumi.set(__self__, "name", name)
pulumi.set(__self__, "range_end", range_end)
pulumi.set(__self__, "range_start", range_start)
ServerIpv4FirewallRuleArgs._configure(
lambda key, value: pulumi.set(__self__, key, value),
name=name,
range_end=range_end,
range_start=range_start,
)
@staticmethod
def _configure(
_setter: Callable[[Any, Any], None],
name: Optional[pulumi.Input[str]] = None,
range_end: Optional[pulumi.Input[str]] = None,
range_start: Optional[pulumi.Input[str]] = None,
opts: Optional[pulumi.ResourceOptions]=None,
**kwargs):
if name is None:
raise TypeError("Missing 'name' argument")
if range_end is None and 'rangeEnd' in kwargs:
range_end = kwargs['rangeEnd']
if range_end is None:
raise TypeError("Missing 'range_end' argument")
if range_start is None and 'rangeStart' in kwargs:
range_start = kwargs['rangeStart']
if range_start is None:
raise TypeError("Missing 'range_start' argument")

_setter("name", name)
_setter("range_end", range_end)
_setter("range_start", range_start)

@property
@pulumi.getter
Expand Down
33 changes: 29 additions & 4 deletions sdk/python/pulumi_azure/analysisservices/outputs.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload
from .. import _utilities

__all__ = [
Expand Down Expand Up @@ -43,9 +43,34 @@ def __init__(__self__, *,
:param str range_end: End of the firewall rule range as IPv4 address.
:param str range_start: Start of the firewall rule range as IPv4 address.
"""
pulumi.set(__self__, "name", name)
pulumi.set(__self__, "range_end", range_end)
pulumi.set(__self__, "range_start", range_start)
ServerIpv4FirewallRule._configure(
lambda key, value: pulumi.set(__self__, key, value),
name=name,
range_end=range_end,
range_start=range_start,
)
@staticmethod
def _configure(
_setter: Callable[[Any, Any], None],
name: Optional[str] = None,
range_end: Optional[str] = None,
range_start: Optional[str] = None,
opts: Optional[pulumi.ResourceOptions]=None,
**kwargs):
if name is None:
raise TypeError("Missing 'name' argument")
if range_end is None and 'rangeEnd' in kwargs:
range_end = kwargs['rangeEnd']
if range_end is None:
raise TypeError("Missing 'range_end' argument")
if range_start is None and 'rangeStart' in kwargs:
range_start = kwargs['rangeStart']
if range_start is None:
raise TypeError("Missing 'range_start' argument")

_setter("name", name)
_setter("range_end", range_end)
_setter("range_start", range_start)

@property
@pulumi.getter
Expand Down
Loading

0 comments on commit d254da0

Please sign in to comment.