Skip to content

Commit

Permalink
make build_sdks
Browse files Browse the repository at this point in the history
  • Loading branch information
web-flow authored Aug 21, 2024
1 parent e924732 commit 834290e
Show file tree
Hide file tree
Showing 11 changed files with 85 additions and 7 deletions.
2 changes: 1 addition & 1 deletion sdk/dotnet/Metal/GetOrganization.cs
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ public sealed class GetOrganizationResult
public readonly string? Description;
public readonly string Id;
/// <summary>
/// Logo URL.
/// (Deprecated) Logo URL.
/// </summary>
public readonly string Logo;
public readonly string Name;
Expand Down
8 changes: 6 additions & 2 deletions sdk/go/equinix/metal/getOrganization.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions sdk/go/equinix/metal/organization.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,11 @@ public Output<String> 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<String> logo;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,22 @@ public Optional<Output<String>> 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<String> 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<Output<String>> logo() {
return Optional.ofNullable(this.logo);
}
Expand Down Expand Up @@ -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<String> logo) {
$.logo = logo;
return this;
Expand All @@ -193,7 +205,11 @@ public Builder logo(@Nullable Output<String> 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));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,22 @@ public Optional<Output<String>> 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<String> 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<Output<String>> logo() {
return Optional.ofNullable(this.logo);
}
Expand Down Expand Up @@ -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<String> logo) {
$.logo = logo;
return this;
Expand All @@ -246,7 +258,11 @@ public Builder logo(@Nullable Output<String> 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));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
}
Expand Down
4 changes: 3 additions & 1 deletion sdk/nodejs/metal/getOrganization.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
6 changes: 6 additions & 0 deletions sdk/nodejs/metal/organization.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ export class Organization extends pulumi.CustomResource {
public readonly description!: pulumi.Output<string>;
/**
* 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<string>;
/**
Expand Down Expand Up @@ -145,6 +147,8 @@ export interface OrganizationState {
description?: pulumi.Input<string>;
/**
* 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<string>;
/**
Expand Down Expand Up @@ -179,6 +183,8 @@ export interface OrganizationArgs {
description?: pulumi.Input<string>;
/**
* 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<string>;
/**
Expand Down
3 changes: 2 additions & 1 deletion sdk/python/pulumi_equinix/metal/get_organization.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down
9 changes: 9 additions & 0 deletions sdk/python/pulumi_equinix/metal/organization.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 834290e

Please sign in to comment.