Skip to content

Commit

Permalink
Update codegen tests
Browse files Browse the repository at this point in the history
part of #629
  • Loading branch information
pawelprazak committed Aug 29, 2022
1 parent d43b411 commit 0a0e7c5
Show file tree
Hide file tree
Showing 41 changed files with 362 additions and 362 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
*/
@ResourceType(type="azure-native:documentdb:SqlResourceSqlContainer")
public class SqlResourceSqlContainer extends com.pulumi.resources.CustomResource {
@Export(name="resource", type=SqlContainerGetPropertiesResponseResource.class, parameters={})
@Export(name="resource", refs={SqlContainerGetPropertiesResponseResource.class}, tree="[0]")
private Output</* @Nullable */ SqlContainerGetPropertiesResponseResource> resource;

public Output<Optional<SqlContainerGetPropertiesResponseResource>> resource() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

@ResourceType(type="foo-bar:submodule1:ModuleResource")
public class ModuleResource extends com.pulumi.resources.CustomResource {
@Export(name="thing", type=TopLevel.class, parameters={})
@Export(name="thing", refs={TopLevel.class}, tree="[0]")
private Output</* @Nullable */ TopLevel> thing;

public Output<Optional<TopLevel>> thing() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,31 +20,31 @@

@ResourceType(type="plant:tree/v1:RubberTree")
public class RubberTree extends com.pulumi.resources.CustomResource {
@Export(name="container", type=Container.class, parameters={})
@Export(name="container", refs={Container.class}, tree="[0]")
private Output</* @Nullable */ Container> container;

public Output<Optional<Container>> container() {
return Codegen.optional(this.container);
}
@Export(name="diameter", type=Diameter.class, parameters={})
@Export(name="diameter", refs={Diameter.class}, tree="[0]")
private Output<Diameter> diameter;

public Output<Diameter> diameter() {
return this.diameter;
}
@Export(name="farm", type=String.class, parameters={})
@Export(name="farm", refs={String.class}, tree="[0]")
private Output</* @Nullable */ String> farm;

public Output<Optional<String>> farm() {
return Codegen.optional(this.farm);
}
@Export(name="size", type=TreeSize.class, parameters={})
@Export(name="size", refs={TreeSize.class}, tree="[0]")
private Output</* @Nullable */ TreeSize> size;

public Output<Optional<TreeSize>> size() {
return Codegen.optional(this.size);
}
@Export(name="type", type=RubberTreeVariety.class, parameters={})
@Export(name="type", refs={RubberTreeVariety.class}, tree="[0]")
private Output<RubberTreeVariety> type;

public Output<RubberTreeVariety> type() {
Expand Down
Loading

0 comments on commit 0a0e7c5

Please sign in to comment.