diff --git a/sdk/dotnet/Metal/GetOrganization.cs b/sdk/dotnet/Metal/GetOrganization.cs index a8b74cd4..0301c3c1 100644 --- a/sdk/dotnet/Metal/GetOrganization.cs +++ b/sdk/dotnet/Metal/GetOrganization.cs @@ -139,7 +139,7 @@ public sealed class GetOrganizationResult public readonly string? Description; public readonly string Id; /// - /// Logo URL. + /// (Deprecated) Logo URL. /// public readonly string Logo; public readonly string Name; diff --git a/sdk/go/equinix/metal/getOrganization.go b/sdk/go/equinix/metal/getOrganization.go index 34abf032..3ed9796d 100644 --- a/sdk/go/equinix/metal/getOrganization.go +++ b/sdk/go/equinix/metal/getOrganization.go @@ -68,7 +68,9 @@ type LookupOrganizationResult struct { // Description string. Description *string `pulumi:"description"` Id string `pulumi:"id"` - // Logo URL. + // (Deprecated) Logo URL. + // + // Deprecated: Empty string is the only valid value. Support for this field has been removed from the API Logo string `pulumi:"logo"` Name string `pulumi:"name"` OrganizationId string `pulumi:"organizationId"` @@ -138,7 +140,9 @@ func (o LookupOrganizationResultOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v LookupOrganizationResult) string { return v.Id }).(pulumi.StringOutput) } -// Logo URL. +// (Deprecated) Logo URL. +// +// Deprecated: Empty string is the only valid value. Support for this field has been removed from the API func (o LookupOrganizationResultOutput) Logo() pulumi.StringOutput { return o.ApplyT(func(v LookupOrganizationResult) string { return v.Logo }).(pulumi.StringOutput) } diff --git a/sdk/go/equinix/metal/organization.go b/sdk/go/equinix/metal/organization.go index 2a02b634..33ea39e3 100644 --- a/sdk/go/equinix/metal/organization.go +++ b/sdk/go/equinix/metal/organization.go @@ -56,6 +56,8 @@ type Organization struct { // Description string. Description pulumi.StringOutput `pulumi:"description"` // Logo URL. + // + // Deprecated: The default (empty string) is the only valid value. Support for this field has been removed from the API Logo pulumi.StringOutput `pulumi:"logo"` // The name of the Organization. Name pulumi.StringOutput `pulumi:"name"` @@ -104,6 +106,8 @@ type organizationState struct { // Description string. Description *string `pulumi:"description"` // Logo URL. + // + // Deprecated: The default (empty string) is the only valid value. Support for this field has been removed from the API Logo *string `pulumi:"logo"` // The name of the Organization. Name *string `pulumi:"name"` @@ -123,6 +127,8 @@ type OrganizationState struct { // Description string. Description pulumi.StringPtrInput // Logo URL. + // + // Deprecated: The default (empty string) is the only valid value. Support for this field has been removed from the API Logo pulumi.StringPtrInput // The name of the Organization. Name pulumi.StringPtrInput @@ -144,6 +150,8 @@ type organizationArgs struct { // Description string. Description *string `pulumi:"description"` // Logo URL. + // + // Deprecated: The default (empty string) is the only valid value. Support for this field has been removed from the API Logo *string `pulumi:"logo"` // The name of the Organization. Name *string `pulumi:"name"` @@ -160,6 +168,8 @@ type OrganizationArgs struct { // Description string. Description pulumi.StringPtrInput // Logo URL. + // + // Deprecated: The default (empty string) is the only valid value. Support for this field has been removed from the API Logo pulumi.StringPtrInput // The name of the Organization. Name pulumi.StringPtrInput @@ -272,6 +282,8 @@ func (o OrganizationOutput) Description() pulumi.StringOutput { } // Logo URL. +// +// Deprecated: The default (empty string) is the only valid value. Support for this field has been removed from the API func (o OrganizationOutput) Logo() pulumi.StringOutput { return o.ApplyT(func(v *Organization) pulumi.StringOutput { return v.Logo }).(pulumi.StringOutput) } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/Organization.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/Organization.java index 7d3be318..cbce9a7b 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/metal/Organization.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/Organization.java @@ -107,7 +107,11 @@ public Output description() { /** * Logo URL. * + * @deprecated + * The default (empty string) is the only valid value. Support for this field has been removed from the API + * */ + @Deprecated /* The default (empty string) is the only valid value. Support for this field has been removed from the API */ @Export(name="logo", refs={String.class}, tree="[0]") private Output logo; diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/OrganizationArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/OrganizationArgs.java index 32ca9705..facfd6fa 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/metal/OrganizationArgs.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/OrganizationArgs.java @@ -49,14 +49,22 @@ public Optional> description() { /** * Logo URL. * + * @deprecated + * The default (empty string) is the only valid value. Support for this field has been removed from the API + * */ + @Deprecated /* The default (empty string) is the only valid value. Support for this field has been removed from the API */ @Import(name="logo") private @Nullable Output logo; /** * @return Logo URL. * + * @deprecated + * The default (empty string) is the only valid value. Support for this field has been removed from the API + * */ + @Deprecated /* The default (empty string) is the only valid value. Support for this field has been removed from the API */ public Optional> logo() { return Optional.ofNullable(this.logo); } @@ -182,7 +190,11 @@ public Builder description(String description) { * * @return builder * + * @deprecated + * The default (empty string) is the only valid value. Support for this field has been removed from the API + * */ + @Deprecated /* The default (empty string) is the only valid value. Support for this field has been removed from the API */ public Builder logo(@Nullable Output logo) { $.logo = logo; return this; @@ -193,7 +205,11 @@ public Builder logo(@Nullable Output logo) { * * @return builder * + * @deprecated + * The default (empty string) is the only valid value. Support for this field has been removed from the API + * */ + @Deprecated /* The default (empty string) is the only valid value. Support for this field has been removed from the API */ public Builder logo(String logo) { return logo(Output.of(logo)); } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/OrganizationState.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/OrganizationState.java index 810fc8a1..e58fe768 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/OrganizationState.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/OrganizationState.java @@ -64,14 +64,22 @@ public Optional> description() { /** * Logo URL. * + * @deprecated + * The default (empty string) is the only valid value. Support for this field has been removed from the API + * */ + @Deprecated /* The default (empty string) is the only valid value. Support for this field has been removed from the API */ @Import(name="logo") private @Nullable Output logo; /** * @return Logo URL. * + * @deprecated + * The default (empty string) is the only valid value. Support for this field has been removed from the API + * */ + @Deprecated /* The default (empty string) is the only valid value. Support for this field has been removed from the API */ public Optional> logo() { return Optional.ofNullable(this.logo); } @@ -235,7 +243,11 @@ public Builder description(String description) { * * @return builder * + * @deprecated + * The default (empty string) is the only valid value. Support for this field has been removed from the API + * */ + @Deprecated /* The default (empty string) is the only valid value. Support for this field has been removed from the API */ public Builder logo(@Nullable Output logo) { $.logo = logo; return this; @@ -246,7 +258,11 @@ public Builder logo(@Nullable Output logo) { * * @return builder * + * @deprecated + * The default (empty string) is the only valid value. Support for this field has been removed from the API + * */ + @Deprecated /* The default (empty string) is the only valid value. Support for this field has been removed from the API */ public Builder logo(String logo) { return logo(Output.of(logo)); } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetOrganizationResult.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetOrganizationResult.java index f65d6ca1..8bbdc5e0 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetOrganizationResult.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetOrganizationResult.java @@ -26,9 +26,13 @@ public final class GetOrganizationResult { private @Nullable String description; private String id; /** - * @return Logo URL. + * @return (Deprecated) Logo URL. + * + * @deprecated + * Empty string is the only valid value. Support for this field has been removed from the API * */ + @Deprecated /* Empty string is the only valid value. Support for this field has been removed from the API */ private String logo; private String name; private String organizationId; @@ -67,9 +71,13 @@ public String id() { return this.id; } /** - * @return Logo URL. + * @return (Deprecated) Logo URL. + * + * @deprecated + * Empty string is the only valid value. Support for this field has been removed from the API * */ + @Deprecated /* Empty string is the only valid value. Support for this field has been removed from the API */ public String logo() { return this.logo; } diff --git a/sdk/nodejs/metal/getOrganization.ts b/sdk/nodejs/metal/getOrganization.ts index d735216b..7497e419 100644 --- a/sdk/nodejs/metal/getOrganization.ts +++ b/sdk/nodejs/metal/getOrganization.ts @@ -67,7 +67,9 @@ export interface GetOrganizationResult { readonly description?: string; readonly id: string; /** - * Logo URL. + * (Deprecated) Logo URL. + * + * @deprecated Empty string is the only valid value. Support for this field has been removed from the API */ readonly logo: string; readonly name: string; diff --git a/sdk/nodejs/metal/organization.ts b/sdk/nodejs/metal/organization.ts index 3be72187..9cace63d 100644 --- a/sdk/nodejs/metal/organization.ts +++ b/sdk/nodejs/metal/organization.ts @@ -71,6 +71,8 @@ export class Organization extends pulumi.CustomResource { public readonly description!: pulumi.Output; /** * Logo URL. + * + * @deprecated The default (empty string) is the only valid value. Support for this field has been removed from the API */ public readonly logo!: pulumi.Output; /** @@ -145,6 +147,8 @@ export interface OrganizationState { description?: pulumi.Input; /** * Logo URL. + * + * @deprecated The default (empty string) is the only valid value. Support for this field has been removed from the API */ logo?: pulumi.Input; /** @@ -179,6 +183,8 @@ export interface OrganizationArgs { description?: pulumi.Input; /** * Logo URL. + * + * @deprecated The default (empty string) is the only valid value. Support for this field has been removed from the API */ logo?: pulumi.Input; /** diff --git a/sdk/python/pulumi_equinix/metal/get_organization.py b/sdk/python/pulumi_equinix/metal/get_organization.py index e0c63205..f57d40a9 100644 --- a/sdk/python/pulumi_equinix/metal/get_organization.py +++ b/sdk/python/pulumi_equinix/metal/get_organization.py @@ -74,9 +74,10 @@ def id(self) -> str: @property @pulumi.getter + @_utilities.deprecated("""Empty string is the only valid value. Support for this field has been removed from the API""") def logo(self) -> str: """ - Logo URL. + (Deprecated) Logo URL. """ return pulumi.get(self, "logo") diff --git a/sdk/python/pulumi_equinix/metal/organization.py b/sdk/python/pulumi_equinix/metal/organization.py index 0de202e4..39cda760 100644 --- a/sdk/python/pulumi_equinix/metal/organization.py +++ b/sdk/python/pulumi_equinix/metal/organization.py @@ -35,6 +35,9 @@ def __init__(__self__, *, pulumi.set(__self__, "address", address) if description is not None: pulumi.set(__self__, "description", description) + if logo is not None: + warnings.warn("""The default (empty string) is the only valid value. Support for this field has been removed from the API""", DeprecationWarning) + pulumi.log.warn("""logo is deprecated: The default (empty string) is the only valid value. Support for this field has been removed from the API""") if logo is not None: pulumi.set(__self__, "logo", logo) if name is not None: @@ -70,6 +73,7 @@ def description(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter + @_utilities.deprecated("""The default (empty string) is the only valid value. Support for this field has been removed from the API""") def logo(self) -> Optional[pulumi.Input[str]]: """ Logo URL. @@ -145,6 +149,9 @@ def __init__(__self__, *, pulumi.set(__self__, "created", created) if description is not None: pulumi.set(__self__, "description", description) + if logo is not None: + warnings.warn("""The default (empty string) is the only valid value. Support for this field has been removed from the API""", DeprecationWarning) + pulumi.log.warn("""logo is deprecated: The default (empty string) is the only valid value. Support for this field has been removed from the API""") if logo is not None: pulumi.set(__self__, "logo", logo) if name is not None: @@ -194,6 +201,7 @@ def description(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter + @_utilities.deprecated("""The default (empty string) is the only valid value. Support for this field has been removed from the API""") def logo(self) -> Optional[pulumi.Input[str]]: """ Logo URL. @@ -434,6 +442,7 @@ def description(self) -> pulumi.Output[str]: @property @pulumi.getter + @_utilities.deprecated("""The default (empty string) is the only valid value. Support for this field has been removed from the API""") def logo(self) -> pulumi.Output[str]: """ Logo URL.