Documentation
¶
Index ¶
- type ArtifactByPath
- type ArtifactByPathArgs
- type ArtifactByPathArray
- type ArtifactByPathArrayInput
- type ArtifactByPathArrayOutput
- func (ArtifactByPathArrayOutput) ElementType() reflect.Type
- func (o ArtifactByPathArrayOutput) Index(i pulumi.IntInput) ArtifactByPathOutput
- func (o ArtifactByPathArrayOutput) ToArtifactByPathArrayOutput() ArtifactByPathArrayOutput
- func (o ArtifactByPathArrayOutput) ToArtifactByPathArrayOutputWithContext(ctx context.Context) ArtifactByPathArrayOutput
- type ArtifactByPathInput
- type ArtifactByPathMap
- type ArtifactByPathMapInput
- type ArtifactByPathMapOutput
- func (ArtifactByPathMapOutput) ElementType() reflect.Type
- func (o ArtifactByPathMapOutput) MapIndex(k pulumi.StringInput) ArtifactByPathOutput
- func (o ArtifactByPathMapOutput) ToArtifactByPathMapOutput() ArtifactByPathMapOutput
- func (o ArtifactByPathMapOutput) ToArtifactByPathMapOutputWithContext(ctx context.Context) ArtifactByPathMapOutput
- type ArtifactByPathOutput
- func (o ArtifactByPathOutput) ArtifactId() pulumi.StringOutput
- func (o ArtifactByPathOutput) ArtifactPath() pulumi.StringOutput
- func (o ArtifactByPathOutput) CompartmentId() pulumi.StringOutput
- func (o ArtifactByPathOutput) Content() pulumi.StringPtrOutput
- func (o ArtifactByPathOutput) DefinedTags() pulumi.MapOutput
- func (o ArtifactByPathOutput) DisplayName() pulumi.StringOutput
- func (ArtifactByPathOutput) ElementType() reflect.Type
- func (o ArtifactByPathOutput) FreeformTags() pulumi.MapOutput
- func (o ArtifactByPathOutput) RepositoryId() pulumi.StringOutput
- func (o ArtifactByPathOutput) Sha256() pulumi.StringOutput
- func (o ArtifactByPathOutput) SizeInBytes() pulumi.StringOutput
- func (o ArtifactByPathOutput) Source() pulumi.StringPtrOutput
- func (o ArtifactByPathOutput) State() pulumi.StringOutput
- func (o ArtifactByPathOutput) TimeCreated() pulumi.StringOutput
- func (o ArtifactByPathOutput) ToArtifactByPathOutput() ArtifactByPathOutput
- func (o ArtifactByPathOutput) ToArtifactByPathOutputWithContext(ctx context.Context) ArtifactByPathOutput
- func (o ArtifactByPathOutput) Version() pulumi.StringOutput
- type ArtifactByPathState
- type GetGenericArtifactsContentArgs
- type GetGenericArtifactsContentOutputArgs
- type GetGenericArtifactsContentResult
- type GetGenericArtifactsContentResultOutput
- func (o GetGenericArtifactsContentResultOutput) ArtifactId() pulumi.StringOutput
- func (GetGenericArtifactsContentResultOutput) ElementType() reflect.Type
- func (o GetGenericArtifactsContentResultOutput) Id() pulumi.StringOutput
- func (o GetGenericArtifactsContentResultOutput) ToGetGenericArtifactsContentResultOutput() GetGenericArtifactsContentResultOutput
- func (o GetGenericArtifactsContentResultOutput) ToGetGenericArtifactsContentResultOutputWithContext(ctx context.Context) GetGenericArtifactsContentResultOutput
- type LookupArtifactByPathArgs
- type LookupArtifactByPathOutputArgs
- type LookupArtifactByPathResult
- type LookupArtifactByPathResultOutput
- func (o LookupArtifactByPathResultOutput) ArtifactId() pulumi.StringOutput
- func (o LookupArtifactByPathResultOutput) ArtifactPath() pulumi.StringOutput
- func (o LookupArtifactByPathResultOutput) CompartmentId() pulumi.StringOutput
- func (o LookupArtifactByPathResultOutput) Content() pulumi.StringOutput
- func (o LookupArtifactByPathResultOutput) DefinedTags() pulumi.MapOutput
- func (o LookupArtifactByPathResultOutput) DisplayName() pulumi.StringOutput
- func (LookupArtifactByPathResultOutput) ElementType() reflect.Type
- func (o LookupArtifactByPathResultOutput) FreeformTags() pulumi.MapOutput
- func (o LookupArtifactByPathResultOutput) Id() pulumi.StringOutput
- func (o LookupArtifactByPathResultOutput) RepositoryId() pulumi.StringOutput
- func (o LookupArtifactByPathResultOutput) Sha256() pulumi.StringOutput
- func (o LookupArtifactByPathResultOutput) SizeInBytes() pulumi.StringOutput
- func (o LookupArtifactByPathResultOutput) Source() pulumi.StringOutput
- func (o LookupArtifactByPathResultOutput) State() pulumi.StringOutput
- func (o LookupArtifactByPathResultOutput) TimeCreated() pulumi.StringOutput
- func (o LookupArtifactByPathResultOutput) ToLookupArtifactByPathResultOutput() LookupArtifactByPathResultOutput
- func (o LookupArtifactByPathResultOutput) ToLookupArtifactByPathResultOutputWithContext(ctx context.Context) LookupArtifactByPathResultOutput
- func (o LookupArtifactByPathResultOutput) Version() pulumi.StringOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArtifactByPath ¶
type ArtifactByPath struct { pulumi.CustomResourceState ArtifactId pulumi.StringOutput `pulumi:"artifactId"` // A user-defined path to describe the location of an artifact. You can use slashes to organize the repository, but slashes do not create a directory structure. An artifact path does not include an artifact version. ArtifactPath pulumi.StringOutput `pulumi:"artifactPath"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the repository's compartment. CompartmentId pulumi.StringOutput `pulumi:"compartmentId"` // Content to be uploaded as the artifact. Cannot be defined if `source` is defined. // // ** IMPORTANT ** // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values Content pulumi.StringPtrOutput `pulumi:"content"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` DefinedTags pulumi.MapOutput `pulumi:"definedTags"` // The artifact name with the format of `<artifact-path>:<artifact-version>`. The artifact name is truncated to a maximum length of 255. Example: `project01/my-web-app/artifact-abc:1.0.0` DisplayName pulumi.StringOutput `pulumi:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` FreeformTags pulumi.MapOutput `pulumi:"freeformTags"` // The [OCID](https://www.terraform.io/iaas/Content/General/Concepts/identifiers.htm) of the repository. RepositoryId pulumi.StringOutput `pulumi:"repositoryId"` // The SHA256 digest for the artifact. When you upload an artifact to the repository, a SHA256 digest is calculated and added to the artifact properties. Sha256 pulumi.StringOutput `pulumi:"sha256"` // The size of the artifact in bytes. SizeInBytes pulumi.StringOutput `pulumi:"sizeInBytes"` // A path to a file on the local system to be uploaded as the artifact. Cannot be defined if `content` is defined. Source pulumi.StringPtrOutput `pulumi:"source"` // The current state of the artifact. State pulumi.StringOutput `pulumi:"state"` // An RFC 3339 timestamp indicating when the repository was created. TimeCreated pulumi.StringOutput `pulumi:"timeCreated"` // A user-defined string to describe the artifact version. Example: `1.1.0` or `1.2-beta-2` Version pulumi.StringOutput `pulumi:"version"` }
Provides the Artifact By Path resource in Oracle Cloud Infrastructure Generic Artifacts Content service. This resource supports upload/download the content of a generic artifact by specifying the repository id, artifact path, and artifact version
## Note
This resource is not supported to delete generic artifact. In order to delete generic artifact, you can use `Artifacts.GenericArtifact`
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/GenericArtifactsContent" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := GenericArtifactsContent.NewArtifactByPath(ctx, "test_artifact_by_path", &GenericArtifactsContent.ArtifactByPathArgs{ ArtifactPath: pulumi.Any(artifactPath), RepositoryId: pulumi.Any(testRepository.Id), Version: pulumi.Any(version), Source: pulumi.Any(source), }) if err != nil { return err } return nil }) }
```
func GetArtifactByPath ¶
func GetArtifactByPath(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ArtifactByPathState, opts ...pulumi.ResourceOption) (*ArtifactByPath, error)
GetArtifactByPath gets an existing ArtifactByPath resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewArtifactByPath ¶
func NewArtifactByPath(ctx *pulumi.Context, name string, args *ArtifactByPathArgs, opts ...pulumi.ResourceOption) (*ArtifactByPath, error)
NewArtifactByPath registers a new resource with the given unique name, arguments, and options.
func (*ArtifactByPath) ElementType ¶
func (*ArtifactByPath) ElementType() reflect.Type
func (*ArtifactByPath) ToArtifactByPathOutput ¶
func (i *ArtifactByPath) ToArtifactByPathOutput() ArtifactByPathOutput
func (*ArtifactByPath) ToArtifactByPathOutputWithContext ¶
func (i *ArtifactByPath) ToArtifactByPathOutputWithContext(ctx context.Context) ArtifactByPathOutput
type ArtifactByPathArgs ¶
type ArtifactByPathArgs struct { // A user-defined path to describe the location of an artifact. You can use slashes to organize the repository, but slashes do not create a directory structure. An artifact path does not include an artifact version. ArtifactPath pulumi.StringInput // Content to be uploaded as the artifact. Cannot be defined if `source` is defined. // // ** IMPORTANT ** // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values Content pulumi.StringPtrInput // The [OCID](https://www.terraform.io/iaas/Content/General/Concepts/identifiers.htm) of the repository. RepositoryId pulumi.StringInput // A path to a file on the local system to be uploaded as the artifact. Cannot be defined if `content` is defined. Source pulumi.StringPtrInput // A user-defined string to describe the artifact version. Example: `1.1.0` or `1.2-beta-2` Version pulumi.StringInput }
The set of arguments for constructing a ArtifactByPath resource.
func (ArtifactByPathArgs) ElementType ¶
func (ArtifactByPathArgs) ElementType() reflect.Type
type ArtifactByPathArray ¶
type ArtifactByPathArray []ArtifactByPathInput
func (ArtifactByPathArray) ElementType ¶
func (ArtifactByPathArray) ElementType() reflect.Type
func (ArtifactByPathArray) ToArtifactByPathArrayOutput ¶
func (i ArtifactByPathArray) ToArtifactByPathArrayOutput() ArtifactByPathArrayOutput
func (ArtifactByPathArray) ToArtifactByPathArrayOutputWithContext ¶
func (i ArtifactByPathArray) ToArtifactByPathArrayOutputWithContext(ctx context.Context) ArtifactByPathArrayOutput
type ArtifactByPathArrayInput ¶
type ArtifactByPathArrayInput interface { pulumi.Input ToArtifactByPathArrayOutput() ArtifactByPathArrayOutput ToArtifactByPathArrayOutputWithContext(context.Context) ArtifactByPathArrayOutput }
ArtifactByPathArrayInput is an input type that accepts ArtifactByPathArray and ArtifactByPathArrayOutput values. You can construct a concrete instance of `ArtifactByPathArrayInput` via:
ArtifactByPathArray{ ArtifactByPathArgs{...} }
type ArtifactByPathArrayOutput ¶
type ArtifactByPathArrayOutput struct{ *pulumi.OutputState }
func (ArtifactByPathArrayOutput) ElementType ¶
func (ArtifactByPathArrayOutput) ElementType() reflect.Type
func (ArtifactByPathArrayOutput) Index ¶
func (o ArtifactByPathArrayOutput) Index(i pulumi.IntInput) ArtifactByPathOutput
func (ArtifactByPathArrayOutput) ToArtifactByPathArrayOutput ¶
func (o ArtifactByPathArrayOutput) ToArtifactByPathArrayOutput() ArtifactByPathArrayOutput
func (ArtifactByPathArrayOutput) ToArtifactByPathArrayOutputWithContext ¶
func (o ArtifactByPathArrayOutput) ToArtifactByPathArrayOutputWithContext(ctx context.Context) ArtifactByPathArrayOutput
type ArtifactByPathInput ¶
type ArtifactByPathInput interface { pulumi.Input ToArtifactByPathOutput() ArtifactByPathOutput ToArtifactByPathOutputWithContext(ctx context.Context) ArtifactByPathOutput }
type ArtifactByPathMap ¶
type ArtifactByPathMap map[string]ArtifactByPathInput
func (ArtifactByPathMap) ElementType ¶
func (ArtifactByPathMap) ElementType() reflect.Type
func (ArtifactByPathMap) ToArtifactByPathMapOutput ¶
func (i ArtifactByPathMap) ToArtifactByPathMapOutput() ArtifactByPathMapOutput
func (ArtifactByPathMap) ToArtifactByPathMapOutputWithContext ¶
func (i ArtifactByPathMap) ToArtifactByPathMapOutputWithContext(ctx context.Context) ArtifactByPathMapOutput
type ArtifactByPathMapInput ¶
type ArtifactByPathMapInput interface { pulumi.Input ToArtifactByPathMapOutput() ArtifactByPathMapOutput ToArtifactByPathMapOutputWithContext(context.Context) ArtifactByPathMapOutput }
ArtifactByPathMapInput is an input type that accepts ArtifactByPathMap and ArtifactByPathMapOutput values. You can construct a concrete instance of `ArtifactByPathMapInput` via:
ArtifactByPathMap{ "key": ArtifactByPathArgs{...} }
type ArtifactByPathMapOutput ¶
type ArtifactByPathMapOutput struct{ *pulumi.OutputState }
func (ArtifactByPathMapOutput) ElementType ¶
func (ArtifactByPathMapOutput) ElementType() reflect.Type
func (ArtifactByPathMapOutput) MapIndex ¶
func (o ArtifactByPathMapOutput) MapIndex(k pulumi.StringInput) ArtifactByPathOutput
func (ArtifactByPathMapOutput) ToArtifactByPathMapOutput ¶
func (o ArtifactByPathMapOutput) ToArtifactByPathMapOutput() ArtifactByPathMapOutput
func (ArtifactByPathMapOutput) ToArtifactByPathMapOutputWithContext ¶
func (o ArtifactByPathMapOutput) ToArtifactByPathMapOutputWithContext(ctx context.Context) ArtifactByPathMapOutput
type ArtifactByPathOutput ¶
type ArtifactByPathOutput struct{ *pulumi.OutputState }
func (ArtifactByPathOutput) ArtifactId ¶
func (o ArtifactByPathOutput) ArtifactId() pulumi.StringOutput
func (ArtifactByPathOutput) ArtifactPath ¶
func (o ArtifactByPathOutput) ArtifactPath() pulumi.StringOutput
A user-defined path to describe the location of an artifact. You can use slashes to organize the repository, but slashes do not create a directory structure. An artifact path does not include an artifact version.
func (ArtifactByPathOutput) CompartmentId ¶
func (o ArtifactByPathOutput) CompartmentId() pulumi.StringOutput
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the repository's compartment.
func (ArtifactByPathOutput) Content ¶
func (o ArtifactByPathOutput) Content() pulumi.StringPtrOutput
Content to be uploaded as the artifact. Cannot be defined if `source` is defined.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
func (ArtifactByPathOutput) DefinedTags ¶
func (o ArtifactByPathOutput) DefinedTags() pulumi.MapOutput
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
func (ArtifactByPathOutput) DisplayName ¶
func (o ArtifactByPathOutput) DisplayName() pulumi.StringOutput
The artifact name with the format of `<artifact-path>:<artifact-version>`. The artifact name is truncated to a maximum length of 255. Example: `project01/my-web-app/artifact-abc:1.0.0`
func (ArtifactByPathOutput) ElementType ¶
func (ArtifactByPathOutput) ElementType() reflect.Type
func (ArtifactByPathOutput) FreeformTags ¶
func (o ArtifactByPathOutput) FreeformTags() pulumi.MapOutput
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
func (ArtifactByPathOutput) RepositoryId ¶
func (o ArtifactByPathOutput) RepositoryId() pulumi.StringOutput
The [OCID](https://www.terraform.io/iaas/Content/General/Concepts/identifiers.htm) of the repository.
func (ArtifactByPathOutput) Sha256 ¶
func (o ArtifactByPathOutput) Sha256() pulumi.StringOutput
The SHA256 digest for the artifact. When you upload an artifact to the repository, a SHA256 digest is calculated and added to the artifact properties.
func (ArtifactByPathOutput) SizeInBytes ¶
func (o ArtifactByPathOutput) SizeInBytes() pulumi.StringOutput
The size of the artifact in bytes.
func (ArtifactByPathOutput) Source ¶
func (o ArtifactByPathOutput) Source() pulumi.StringPtrOutput
A path to a file on the local system to be uploaded as the artifact. Cannot be defined if `content` is defined.
func (ArtifactByPathOutput) State ¶
func (o ArtifactByPathOutput) State() pulumi.StringOutput
The current state of the artifact.
func (ArtifactByPathOutput) TimeCreated ¶
func (o ArtifactByPathOutput) TimeCreated() pulumi.StringOutput
An RFC 3339 timestamp indicating when the repository was created.
func (ArtifactByPathOutput) ToArtifactByPathOutput ¶
func (o ArtifactByPathOutput) ToArtifactByPathOutput() ArtifactByPathOutput
func (ArtifactByPathOutput) ToArtifactByPathOutputWithContext ¶
func (o ArtifactByPathOutput) ToArtifactByPathOutputWithContext(ctx context.Context) ArtifactByPathOutput
func (ArtifactByPathOutput) Version ¶
func (o ArtifactByPathOutput) Version() pulumi.StringOutput
A user-defined string to describe the artifact version. Example: `1.1.0` or `1.2-beta-2`
type ArtifactByPathState ¶
type ArtifactByPathState struct { ArtifactId pulumi.StringPtrInput // A user-defined path to describe the location of an artifact. You can use slashes to organize the repository, but slashes do not create a directory structure. An artifact path does not include an artifact version. ArtifactPath pulumi.StringPtrInput // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the repository's compartment. CompartmentId pulumi.StringPtrInput // Content to be uploaded as the artifact. Cannot be defined if `source` is defined. // // ** IMPORTANT ** // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values Content pulumi.StringPtrInput // Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` DefinedTags pulumi.MapInput // The artifact name with the format of `<artifact-path>:<artifact-version>`. The artifact name is truncated to a maximum length of 255. Example: `project01/my-web-app/artifact-abc:1.0.0` DisplayName pulumi.StringPtrInput // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` FreeformTags pulumi.MapInput // The [OCID](https://www.terraform.io/iaas/Content/General/Concepts/identifiers.htm) of the repository. RepositoryId pulumi.StringPtrInput // The SHA256 digest for the artifact. When you upload an artifact to the repository, a SHA256 digest is calculated and added to the artifact properties. Sha256 pulumi.StringPtrInput // The size of the artifact in bytes. SizeInBytes pulumi.StringPtrInput // A path to a file on the local system to be uploaded as the artifact. Cannot be defined if `content` is defined. Source pulumi.StringPtrInput // The current state of the artifact. State pulumi.StringPtrInput // An RFC 3339 timestamp indicating when the repository was created. TimeCreated pulumi.StringPtrInput // A user-defined string to describe the artifact version. Example: `1.1.0` or `1.2-beta-2` Version pulumi.StringPtrInput }
func (ArtifactByPathState) ElementType ¶
func (ArtifactByPathState) ElementType() reflect.Type
type GetGenericArtifactsContentArgs ¶
type GetGenericArtifactsContentArgs struct { // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the artifact. Example: `ocid1.genericartifact.oc1..exampleuniqueID` ArtifactId string `pulumi:"artifactId"` }
A collection of arguments for invoking getGenericArtifactsContent.
type GetGenericArtifactsContentOutputArgs ¶
type GetGenericArtifactsContentOutputArgs struct { // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the artifact. Example: `ocid1.genericartifact.oc1..exampleuniqueID` ArtifactId pulumi.StringInput `pulumi:"artifactId"` }
A collection of arguments for invoking getGenericArtifactsContent.
func (GetGenericArtifactsContentOutputArgs) ElementType ¶
func (GetGenericArtifactsContentOutputArgs) ElementType() reflect.Type
type GetGenericArtifactsContentResult ¶
type GetGenericArtifactsContentResult struct { ArtifactId string `pulumi:"artifactId"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` }
A collection of values returned by getGenericArtifactsContent.
func GetGenericArtifactsContent ¶
func GetGenericArtifactsContent(ctx *pulumi.Context, args *GetGenericArtifactsContentArgs, opts ...pulumi.InvokeOption) (*GetGenericArtifactsContentResult, error)
This data source provides details about a specific Generic Artifacts Content resource in Oracle Cloud Infrastructure Generic Artifacts Content service.
Gets the specified artifact's content.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/GenericArtifactsContent" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := GenericArtifactsContent.GetGenericArtifactsContent(ctx, &genericartifactscontent.GetGenericArtifactsContentArgs{ ArtifactId: testArtifact.Id, }, nil) if err != nil { return err } return nil }) }
```
type GetGenericArtifactsContentResultOutput ¶
type GetGenericArtifactsContentResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getGenericArtifactsContent.
func GetGenericArtifactsContentOutput ¶
func GetGenericArtifactsContentOutput(ctx *pulumi.Context, args GetGenericArtifactsContentOutputArgs, opts ...pulumi.InvokeOption) GetGenericArtifactsContentResultOutput
func (GetGenericArtifactsContentResultOutput) ArtifactId ¶
func (o GetGenericArtifactsContentResultOutput) ArtifactId() pulumi.StringOutput
func (GetGenericArtifactsContentResultOutput) ElementType ¶
func (GetGenericArtifactsContentResultOutput) ElementType() reflect.Type
func (GetGenericArtifactsContentResultOutput) Id ¶
func (o GetGenericArtifactsContentResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetGenericArtifactsContentResultOutput) ToGetGenericArtifactsContentResultOutput ¶
func (o GetGenericArtifactsContentResultOutput) ToGetGenericArtifactsContentResultOutput() GetGenericArtifactsContentResultOutput
func (GetGenericArtifactsContentResultOutput) ToGetGenericArtifactsContentResultOutputWithContext ¶
func (o GetGenericArtifactsContentResultOutput) ToGetGenericArtifactsContentResultOutputWithContext(ctx context.Context) GetGenericArtifactsContentResultOutput
type LookupArtifactByPathArgs ¶
type LookupArtifactByPathArgs struct { // The generic artifact path. Example: `foo/bar/baz` ArtifactPath string `pulumi:"artifactPath"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the repository. Example: `ocid1.repository.oc1..exampleuniqueID` RepositoryId string `pulumi:"repositoryId"` // The generic artifact version. Example: `1.1.2` Version string `pulumi:"version"` }
A collection of arguments for invoking getArtifactByPath.
type LookupArtifactByPathOutputArgs ¶
type LookupArtifactByPathOutputArgs struct { // The generic artifact path. Example: `foo/bar/baz` ArtifactPath pulumi.StringInput `pulumi:"artifactPath"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the repository. Example: `ocid1.repository.oc1..exampleuniqueID` RepositoryId pulumi.StringInput `pulumi:"repositoryId"` // The generic artifact version. Example: `1.1.2` Version pulumi.StringInput `pulumi:"version"` }
A collection of arguments for invoking getArtifactByPath.
func (LookupArtifactByPathOutputArgs) ElementType ¶
func (LookupArtifactByPathOutputArgs) ElementType() reflect.Type
type LookupArtifactByPathResult ¶
type LookupArtifactByPathResult struct { ArtifactId string `pulumi:"artifactId"` ArtifactPath string `pulumi:"artifactPath"` CompartmentId string `pulumi:"compartmentId"` Content string `pulumi:"content"` DefinedTags map[string]interface{} `pulumi:"definedTags"` DisplayName string `pulumi:"displayName"` FreeformTags map[string]interface{} `pulumi:"freeformTags"` Id string `pulumi:"id"` RepositoryId string `pulumi:"repositoryId"` Sha256 string `pulumi:"sha256"` SizeInBytes string `pulumi:"sizeInBytes"` Source string `pulumi:"source"` State string `pulumi:"state"` TimeCreated string `pulumi:"timeCreated"` Version string `pulumi:"version"` }
A collection of values returned by getArtifactByPath.
func LookupArtifactByPath ¶
func LookupArtifactByPath(ctx *pulumi.Context, args *LookupArtifactByPathArgs, opts ...pulumi.InvokeOption) (*LookupArtifactByPathResult, error)
This data source provides details about a specific Artifact By Path resource in Oracle Cloud Infrastructure Generic Artifacts Content service.
Get generic artifact content.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/GenericArtifactsContent" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := GenericArtifactsContent.GetArtifactByPath(ctx, &genericartifactscontent.GetArtifactByPathArgs{ ArtifactPath: artifactByPathArtifactPath, RepositoryId: testRepository.Id, Version: artifactByPathVersion, }, nil) if err != nil { return err } return nil }) }
```
type LookupArtifactByPathResultOutput ¶
type LookupArtifactByPathResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getArtifactByPath.
func LookupArtifactByPathOutput ¶
func LookupArtifactByPathOutput(ctx *pulumi.Context, args LookupArtifactByPathOutputArgs, opts ...pulumi.InvokeOption) LookupArtifactByPathResultOutput
func (LookupArtifactByPathResultOutput) ArtifactId ¶
func (o LookupArtifactByPathResultOutput) ArtifactId() pulumi.StringOutput
func (LookupArtifactByPathResultOutput) ArtifactPath ¶
func (o LookupArtifactByPathResultOutput) ArtifactPath() pulumi.StringOutput
func (LookupArtifactByPathResultOutput) CompartmentId ¶
func (o LookupArtifactByPathResultOutput) CompartmentId() pulumi.StringOutput
func (LookupArtifactByPathResultOutput) Content ¶
func (o LookupArtifactByPathResultOutput) Content() pulumi.StringOutput
func (LookupArtifactByPathResultOutput) DefinedTags ¶
func (o LookupArtifactByPathResultOutput) DefinedTags() pulumi.MapOutput
func (LookupArtifactByPathResultOutput) DisplayName ¶
func (o LookupArtifactByPathResultOutput) DisplayName() pulumi.StringOutput
func (LookupArtifactByPathResultOutput) ElementType ¶
func (LookupArtifactByPathResultOutput) ElementType() reflect.Type
func (LookupArtifactByPathResultOutput) FreeformTags ¶
func (o LookupArtifactByPathResultOutput) FreeformTags() pulumi.MapOutput
func (LookupArtifactByPathResultOutput) Id ¶
func (o LookupArtifactByPathResultOutput) Id() pulumi.StringOutput
func (LookupArtifactByPathResultOutput) RepositoryId ¶
func (o LookupArtifactByPathResultOutput) RepositoryId() pulumi.StringOutput
func (LookupArtifactByPathResultOutput) Sha256 ¶
func (o LookupArtifactByPathResultOutput) Sha256() pulumi.StringOutput
func (LookupArtifactByPathResultOutput) SizeInBytes ¶
func (o LookupArtifactByPathResultOutput) SizeInBytes() pulumi.StringOutput
func (LookupArtifactByPathResultOutput) Source ¶
func (o LookupArtifactByPathResultOutput) Source() pulumi.StringOutput
func (LookupArtifactByPathResultOutput) State ¶
func (o LookupArtifactByPathResultOutput) State() pulumi.StringOutput
func (LookupArtifactByPathResultOutput) TimeCreated ¶
func (o LookupArtifactByPathResultOutput) TimeCreated() pulumi.StringOutput
func (LookupArtifactByPathResultOutput) ToLookupArtifactByPathResultOutput ¶
func (o LookupArtifactByPathResultOutput) ToLookupArtifactByPathResultOutput() LookupArtifactByPathResultOutput
func (LookupArtifactByPathResultOutput) ToLookupArtifactByPathResultOutputWithContext ¶
func (o LookupArtifactByPathResultOutput) ToLookupArtifactByPathResultOutputWithContext(ctx context.Context) LookupArtifactByPathResultOutput
func (LookupArtifactByPathResultOutput) Version ¶
func (o LookupArtifactByPathResultOutput) Version() pulumi.StringOutput