Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update github.com/cloudy-sky-software/pulumi-provider-framework digest to 5f58d8d #334

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions provider/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ go 1.22.7
toolchain go1.23.3

require (
github.com/cloudy-sky-software/pulschema v0.0.0-20241120014159-fa183f68a3c5
github.com/cloudy-sky-software/pulumi-provider-framework v0.0.0-20241120051723-2c967749a968
github.com/cloudy-sky-software/pulschema v0.0.0-20241123044824-9aa847cf8e33
github.com/cloudy-sky-software/pulumi-provider-framework v0.0.0-20241123081406-5f58d8dc6567
github.com/getkin/kin-openapi v0.128.0
github.com/pulumi/pulumi/pkg/v3 v3.140.0
github.com/pulumi/pulumi/sdk/v3 v3.140.0
github.com/pulumi/pulumi/pkg/v3 v3.141.0
github.com/pulumi/pulumi/sdk/v3 v3.141.0
)

require github.com/stretchr/testify v1.9.0
Expand Down
16 changes: 8 additions & 8 deletions provider/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,10 @@ github.com/cheggaaa/pb v1.0.29/go.mod h1:W40334L7FMC5JKWldsTWbdGjLo0RxUKK73K+TuP
github.com/cloudflare/circl v1.3.3/go.mod h1:5XYMA4rFBvNIrhs50XuiBJ15vF2pZn4nnUKZrLbUZFA=
github.com/cloudflare/circl v1.3.7 h1:qlCDlTPz2n9fu58M0Nh1J/JzcFpfgkFHHX3O35r5vcU=
github.com/cloudflare/circl v1.3.7/go.mod h1:sRTcRWXGLrKw6yIGJ+l7amYJFfAXbZG0kBSc8r4zxgA=
github.com/cloudy-sky-software/pulschema v0.0.0-20241120014159-fa183f68a3c5 h1:xesm1f2t0LNIYgeSuZ94Jnf9+rMMBp6Exuq91QQTyn4=
github.com/cloudy-sky-software/pulschema v0.0.0-20241120014159-fa183f68a3c5/go.mod h1:yxdfKBrxJwdDAGLULwjjpTFI+UfktssqBXMsuw1K3bo=
github.com/cloudy-sky-software/pulumi-provider-framework v0.0.0-20241120051723-2c967749a968 h1:ylvWX+ZOTdmdazVg6L9FdyQvZBF6EYx7fHlCLnxvVY0=
github.com/cloudy-sky-software/pulumi-provider-framework v0.0.0-20241120051723-2c967749a968/go.mod h1:Cro0qH3jL3F64vBkujjNoVXHYu2TQBwQnZxqfLaS+VQ=
github.com/cloudy-sky-software/pulschema v0.0.0-20241123044824-9aa847cf8e33 h1:fjbDWH4TaB2cFI7MOQpGuVTzKso96sfvVhBHdL1IynM=
github.com/cloudy-sky-software/pulschema v0.0.0-20241123044824-9aa847cf8e33/go.mod h1:8Nvm3RRW0QaC4l+jipDX2+1Hd8q6VmLb2iFjjVjiRkA=
github.com/cloudy-sky-software/pulumi-provider-framework v0.0.0-20241123081406-5f58d8dc6567 h1:/dPld6rv1GuZlJkrHbZmr/7qB3lgMzdS7n4zRGyfZI4=
github.com/cloudy-sky-software/pulumi-provider-framework v0.0.0-20241123081406-5f58d8dc6567/go.mod h1:A0A4CMOoWInx6tZFJ0so/DlVWGmfTrRgWndhPSqqnPI=
github.com/containerd/console v1.0.4 h1:F2g4+oChYvBTsASRTz8NP6iIAi97J3TtSAsLbIFn4ro=
github.com/containerd/console v1.0.4/go.mod h1:YynlIjWYF8myEu6sdkwKIvGQq+cOckRm6So2avqoYAk=
github.com/cpuguy83/go-md2man/v2 v2.0.3/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
Expand Down Expand Up @@ -305,10 +305,10 @@ github.com/pulumi/esc v0.10.0 h1:jzBKzkLVW0mePeanDRfqSQoCJ5yrkux0jIwAkUxpRKE=
github.com/pulumi/esc v0.10.0/go.mod h1:2Bfa+FWj/xl8CKqRTWbWgDX0SOD4opdQgvYSURTGK2c=
github.com/pulumi/inflector v0.1.1 h1:dvlxlWtXwOJTUUtcYDvwnl6Mpg33prhK+7mzeF+SobA=
github.com/pulumi/inflector v0.1.1/go.mod h1:HUFCjcPTz96YtTuUlwG3i3EZG4WlniBvR9bd+iJxCUY=
github.com/pulumi/pulumi/pkg/v3 v3.140.0 h1:/bvHa19HY/6qHWvuAOVII8qr72MDGGczBWlPYlPo3j0=
github.com/pulumi/pulumi/pkg/v3 v3.140.0/go.mod h1:rcTtSyisd7BzZTugNk/s9zlYgX9S0S10+pha3Tko6yM=
github.com/pulumi/pulumi/sdk/v3 v3.140.0 h1:+Z/RBvdYg7tBNkBwk4p/FzlV7niBT3TbLAICq/Y0LDU=
github.com/pulumi/pulumi/sdk/v3 v3.140.0/go.mod h1:PvKsX88co8XuwuPdzolMvew5lZV+4JmZfkeSjj7A6dI=
github.com/pulumi/pulumi/pkg/v3 v3.141.0 h1:sKpF4pQnRpo5fIbyzbXStYcVT7DQ2GChV2Wg4uNL7S4=
github.com/pulumi/pulumi/pkg/v3 v3.141.0/go.mod h1:JZeSWa/JxveTIabsVqwPLlsD+WqX7Zv2XmHs3McBOGw=
github.com/pulumi/pulumi/sdk/v3 v3.141.0 h1:ojJlof5h2ZoqxSgpEKXJzW1efUtHAKdzdqj6v5R2wTA=
github.com/pulumi/pulumi/sdk/v3 v3.141.0/go.mod h1:PvKsX88co8XuwuPdzolMvew5lZV+4JmZfkeSjj7A6dI=
github.com/rivo/uniseg v0.1.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc=
github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc=
github.com/rivo/uniseg v0.4.7 h1:WUdvkW8uEhrYfLC4ZzdpI2ztxP1I582+49Oc5Mq64VQ=
Expand Down
2 changes: 1 addition & 1 deletion sdk/nodejs/device/getDevice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export function getDevice(args: GetDeviceArgs, opts?: pulumi.InvokeOptions): Pro
export interface GetDeviceArgs {
id: string;
}
export function getDeviceOutput(args: GetDeviceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<outputs.device.Device> {
export function getDeviceOutput(args: GetDeviceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<outputs.device.Device> {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("tailscale-native:device:getDevice", {
"id": args.id,
Expand Down
2 changes: 1 addition & 1 deletion sdk/nodejs/device/getRoutesConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export function getRoutesConfig(args: GetRoutesConfigArgs, opts?: pulumi.InvokeO
export interface GetRoutesConfigArgs {
id: string;
}
export function getRoutesConfigOutput(args: GetRoutesConfigOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<outputs.device.DeviceRoutes> {
export function getRoutesConfigOutput(args: GetRoutesConfigOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<outputs.device.DeviceRoutes> {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("tailscale-native:device:getRoutesConfig", {
"id": args.id,
Expand Down
2 changes: 1 addition & 1 deletion sdk/nodejs/tailnet/getAcl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export interface GetAclArgs {
*/
tailnet: string;
}
export function getAclOutput(args: GetAclOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<outputs.tailnet.Acl> {
export function getAclOutput(args: GetAclOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<outputs.tailnet.Acl> {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("tailscale-native:tailnet:getAcl", {
"tailnet": args.tailnet,
Expand Down
2 changes: 1 addition & 1 deletion sdk/nodejs/tailnet/getDNSPreferencesConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export interface GetDNSPreferencesConfigArgs {
*/
tailnet: string;
}
export function getDNSPreferencesConfigOutput(args: GetDNSPreferencesConfigOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<outputs.tailnet.NameServersPreference> {
export function getDNSPreferencesConfigOutput(args: GetDNSPreferencesConfigOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<outputs.tailnet.NameServersPreference> {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("tailscale-native:tailnet:getDNSPreferencesConfig", {
"tailnet": args.tailnet,
Expand Down
2 changes: 1 addition & 1 deletion sdk/nodejs/tailnet/getKey.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export interface GetKeyArgs {
*/
tailnet: string;
}
export function getKeyOutput(args: GetKeyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<outputs.tailnet.AuthKey> {
export function getKeyOutput(args: GetKeyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<outputs.tailnet.AuthKey> {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("tailscale-native:tailnet:getKey", {
"id": args.id,
Expand Down
2 changes: 1 addition & 1 deletion sdk/nodejs/tailnet/getNameServersConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export interface GetNameServersConfigArgs {
*/
tailnet: string;
}
export function getNameServersConfigOutput(args: GetNameServersConfigOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<outputs.tailnet.NameServers> {
export function getNameServersConfigOutput(args: GetNameServersConfigOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<outputs.tailnet.NameServers> {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("tailscale-native:tailnet:getNameServersConfig", {
"tailnet": args.tailnet,
Expand Down
2 changes: 1 addition & 1 deletion sdk/nodejs/tailnet/listDevices.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export interface ListDevicesArgs {
*/
tailnet: string;
}
export function listDevicesOutput(args: ListDevicesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<outputs.tailnet.ListDevicesProperties> {
export function listDevicesOutput(args: ListDevicesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<outputs.tailnet.ListDevicesProperties> {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("tailscale-native:tailnet:listDevices", {
"tailnet": args.tailnet,
Expand Down
2 changes: 1 addition & 1 deletion sdk/nodejs/tailnet/listKeys.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export interface ListKeysArgs {
export interface ListKeysResult {
readonly items: outputs.tailnet.AuthKey[];
}
export function listKeysOutput(args: ListKeysOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<ListKeysResult> {
export function listKeysOutput(args: ListKeysOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<ListKeysResult> {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("tailscale-native:tailnet:listKeys", {
"tailnet": args.tailnet,
Expand Down
2 changes: 1 addition & 1 deletion sdk/nodejs/tailnet/listSearchPaths.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export interface ListSearchPathsArgs {
*/
tailnet: string;
}
export function listSearchPathsOutput(args: ListSearchPathsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<outputs.tailnet.DnsSearchPaths> {
export function listSearchPathsOutput(args: ListSearchPathsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<outputs.tailnet.DnsSearchPaths> {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("tailscale-native:tailnet:listSearchPaths", {
"tailnet": args.tailnet,
Expand Down
4 changes: 2 additions & 2 deletions sdk/python/pulumi_tailscale_native/device/get_device.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,13 +247,13 @@ def get_device(id: Optional[str] = None,
update_available=pulumi.get(__ret__, 'update_available'),
user=pulumi.get(__ret__, 'user'))
def get_device_output(id: Optional[pulumi.Input[str]] = None,
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[Device]:
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[Device]:
"""
Use this data source to access information about an existing resource.
"""
__args__ = dict()
__args__['id'] = id
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
__ret__ = pulumi.runtime.invoke_output('tailscale-native:device:getDevice', __args__, opts=opts, typ=Device)
return __ret__.apply(lambda __response__: Device(
addresses=pulumi.get(__response__, 'addresses'),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,13 @@ def get_routes_config(id: Optional[str] = None,
advertised_routes=pulumi.get(__ret__, 'advertised_routes'),
enabled_routes=pulumi.get(__ret__, 'enabled_routes'))
def get_routes_config_output(id: Optional[pulumi.Input[str]] = None,
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[DeviceRoutes]:
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[DeviceRoutes]:
"""
Use this data source to access information about an existing resource.
"""
__args__ = dict()
__args__['id'] = id
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
__ret__ = pulumi.runtime.invoke_output('tailscale-native:device:getRoutesConfig', __args__, opts=opts, typ=DeviceRoutes)
return __ret__.apply(lambda __response__: DeviceRoutes(
advertised_routes=pulumi.get(__response__, 'advertised_routes'),
Expand Down
4 changes: 2 additions & 2 deletions sdk/python/pulumi_tailscale_native/tailnet/get_acl.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,15 +130,15 @@ def get_acl(tailnet: Optional[str] = None,
tag_owners=pulumi.get(__ret__, 'tag_owners'),
tests=pulumi.get(__ret__, 'tests'))
def get_acl_output(tailnet: Optional[pulumi.Input[str]] = None,
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[Acl]:
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[Acl]:
"""
Use this data source to access information about an existing resource.

:param str tailnet: For paid plans, your domain is your tailnet. For solo plans, the tailnet is the email you signed up with. So `[email protected]` has the tailnet `[email protected]` since `@gmail.com` is a shared email host. Alternatively, you can specify the value "-" to refer to the default tailnet of the authenticated user making the API call.
"""
__args__ = dict()
__args__['tailnet'] = tailnet
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
__ret__ = pulumi.runtime.invoke_output('tailscale-native:tailnet:getAcl', __args__, opts=opts, typ=Acl)
return __ret__.apply(lambda __response__: Acl(
acls=pulumi.get(__response__, 'acls'),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,15 @@ def get_dns_preferences_config(tailnet: Optional[str] = None,
return AwaitableNameServersPreference(
magic_dns=pulumi.get(__ret__, 'magic_dns'))
def get_dns_preferences_config_output(tailnet: Optional[pulumi.Input[str]] = None,
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[NameServersPreference]:
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[NameServersPreference]:
"""
Use this data source to access information about an existing resource.

:param str tailnet: For paid plans, your domain is your tailnet. For solo plans, the tailnet is the email you signed up with. So `[email protected]` has the tailnet `[email protected]` since `@gmail.com` is a shared email host. Alternatively, you can specify the value "-" to refer to the default tailnet of the authenticated user making the API call.
"""
__args__ = dict()
__args__['tailnet'] = tailnet
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
__ret__ = pulumi.runtime.invoke_output('tailscale-native:tailnet:getDNSPreferencesConfig', __args__, opts=opts, typ=NameServersPreference)
return __ret__.apply(lambda __response__: NameServersPreference(
magic_dns=pulumi.get(__response__, 'magic_dns')))
4 changes: 2 additions & 2 deletions sdk/python/pulumi_tailscale_native/tailnet/get_key.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def get_key(id: Optional[str] = None,
key=pulumi.get(__ret__, 'key'))
def get_key_output(id: Optional[pulumi.Input[str]] = None,
tailnet: Optional[pulumi.Input[str]] = None,
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[AuthKey]:
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[AuthKey]:
"""
Use this data source to access information about an existing resource.

Expand All @@ -90,7 +90,7 @@ def get_key_output(id: Optional[pulumi.Input[str]] = None,
__args__ = dict()
__args__['id'] = id
__args__['tailnet'] = tailnet
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
__ret__ = pulumi.runtime.invoke_output('tailscale-native:tailnet:getKey', __args__, opts=opts, typ=AuthKey)
return __ret__.apply(lambda __response__: AuthKey(
created=pulumi.get(__response__, 'created'),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,15 +68,15 @@ def get_name_servers_config(tailnet: Optional[str] = None,
dns=pulumi.get(__ret__, 'dns'),
magic_dns=pulumi.get(__ret__, 'magic_dns'))
def get_name_servers_config_output(tailnet: Optional[pulumi.Input[str]] = None,
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[NameServers]:
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[NameServers]:
"""
Use this data source to access information about an existing resource.

:param str tailnet: For paid plans, your domain is your tailnet. For solo plans, the tailnet is the email you signed up with. So `[email protected]` has the tailnet `[email protected]` since `@gmail.com` is a shared email host. Alternatively, you can specify the value "-" to refer to the default tailnet of the authenticated user making the API call.
"""
__args__ = dict()
__args__['tailnet'] = tailnet
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
__ret__ = pulumi.runtime.invoke_output('tailscale-native:tailnet:getNameServersConfig', __args__, opts=opts, typ=NameServers)
return __ret__.apply(lambda __response__: NameServers(
dns=pulumi.get(__response__, 'dns'),
Expand Down
4 changes: 2 additions & 2 deletions sdk/python/pulumi_tailscale_native/tailnet/list_devices.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,15 @@ def list_devices(tailnet: Optional[str] = None,
return AwaitableListDevicesProperties(
devices=pulumi.get(__ret__, 'devices'))
def list_devices_output(tailnet: Optional[pulumi.Input[str]] = None,
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[ListDevicesProperties]:
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[ListDevicesProperties]:
"""
Use this data source to access information about an existing resource.

:param str tailnet: For paid plans, your domain is your tailnet. For solo plans, the tailnet is the email you signed up with. So `[email protected]` has the tailnet `[email protected]` since `@gmail.com` is a shared email host. Alternatively, you can specify the value "-" to refer to the default tailnet of the authenticated user making the API call.
"""
__args__ = dict()
__args__['tailnet'] = tailnet
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
__ret__ = pulumi.runtime.invoke_output('tailscale-native:tailnet:listDevices', __args__, opts=opts, typ=ListDevicesProperties)
return __ret__.apply(lambda __response__: ListDevicesProperties(
devices=pulumi.get(__response__, 'devices')))
4 changes: 2 additions & 2 deletions sdk/python/pulumi_tailscale_native/tailnet/list_keys.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,15 @@ def list_keys(tailnet: Optional[str] = None,
return AwaitableListKeysResult(
items=pulumi.get(__ret__, 'items'))
def list_keys_output(tailnet: Optional[pulumi.Input[str]] = None,
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[ListKeysResult]:
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[ListKeysResult]:
"""
Use this data source to access information about an existing resource.

:param str tailnet: For paid plans, your domain is your tailnet. For solo plans, the tailnet is the email you signed up with. So `[email protected]` has the tailnet `[email protected]` since `@gmail.com` is a shared email host. Alternatively, you can specify the value "-" to refer to the default tailnet of the authenticated user making the API call.
"""
__args__ = dict()
__args__['tailnet'] = tailnet
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
__ret__ = pulumi.runtime.invoke_output('tailscale-native:tailnet:listKeys', __args__, opts=opts, typ=ListKeysResult)
return __ret__.apply(lambda __response__: ListKeysResult(
items=pulumi.get(__response__, 'items')))
Loading