com.pulumi.azurenative.resources.Resource Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.azurenative.resources;
import com.pulumi.azurenative.Utilities;
import com.pulumi.azurenative.resources.ResourceArgs;
import com.pulumi.azurenative.resources.outputs.ExtendedLocationResponse;
import com.pulumi.azurenative.resources.outputs.IdentityResponse;
import com.pulumi.azurenative.resources.outputs.PlanResponse;
import com.pulumi.azurenative.resources.outputs.SkuResponse;
import com.pulumi.core.Alias;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Export;
import com.pulumi.core.annotations.ResourceType;
import com.pulumi.core.internal.Codegen;
import java.lang.Object;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Optional;
import javax.annotation.Nullable;
/**
* Resource information.
* Azure REST API version: 2022-09-01. Prior API version in Azure Native 1.x: 2019-05-01.
*
* Other available API versions: 2015-11-01, 2023-07-01, 2024-03-01, 2024-07-01.
* ## Import
*
* An existing resource can be imported using its type token, name, and identifier, e.g.
*
* ```sh
* $ pulumi import azure-native:resources:Resource myresource1 /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}
* ```
*
*/
@ResourceType(type="azure-native:resources:Resource")
public class Resource extends com.pulumi.resources.CustomResource {
/**
* Resource extended location.
*
*/
@Export(name="extendedLocation", refs={ExtendedLocationResponse.class}, tree="[0]")
private Output* @Nullable */ ExtendedLocationResponse> extendedLocation;
/**
* @return Resource extended location.
*
*/
public Output> extendedLocation() {
return Codegen.optional(this.extendedLocation);
}
/**
* The identity of the resource.
*
*/
@Export(name="identity", refs={IdentityResponse.class}, tree="[0]")
private Output* @Nullable */ IdentityResponse> identity;
/**
* @return The identity of the resource.
*
*/
public Output> identity() {
return Codegen.optional(this.identity);
}
/**
* The kind of the resource.
*
*/
@Export(name="kind", refs={String.class}, tree="[0]")
private Output* @Nullable */ String> kind;
/**
* @return The kind of the resource.
*
*/
public Output> kind() {
return Codegen.optional(this.kind);
}
/**
* Resource location
*
*/
@Export(name="location", refs={String.class}, tree="[0]")
private Output* @Nullable */ String> location;
/**
* @return Resource location
*
*/
public Output> location() {
return Codegen.optional(this.location);
}
/**
* ID of the resource that manages this resource.
*
*/
@Export(name="managedBy", refs={String.class}, tree="[0]")
private Output* @Nullable */ String> managedBy;
/**
* @return ID of the resource that manages this resource.
*
*/
public Output> managedBy() {
return Codegen.optional(this.managedBy);
}
/**
* Resource name
*
*/
@Export(name="name", refs={String.class}, tree="[0]")
private Output name;
/**
* @return Resource name
*
*/
public Output name() {
return this.name;
}
/**
* The plan of the resource.
*
*/
@Export(name="plan", refs={PlanResponse.class}, tree="[0]")
private Output* @Nullable */ PlanResponse> plan;
/**
* @return The plan of the resource.
*
*/
public Output> plan() {
return Codegen.optional(this.plan);
}
/**
* The resource properties.
*
*/
@Export(name="properties", refs={Object.class}, tree="[0]")
private Output
© 2015 - 2024 Weber Informatics LLC | Privacy Policy