Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.apigee/v1.Sharedflow
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Uploads a ZIP-formatted shared flow configuration bundle to an organization. If the shared flow already exists, this creates a new revision of it. If the shared flow does not exist, this creates it. Once imported, the shared flow revision must be deployed before it can be accessed at runtime. The size limit of a shared flow bundle is 15 MB.
Create Sharedflow Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Sharedflow(name: string, args: SharedflowArgs, opts?: CustomResourceOptions);
@overload
def Sharedflow(resource_name: str,
args: SharedflowArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Sharedflow(resource_name: str,
opts: Optional[ResourceOptions] = None,
action: Optional[str] = None,
organization_id: Optional[str] = None,
content_type: Optional[str] = None,
data: Optional[str] = None,
extensions: Optional[Sequence[Mapping[str, str]]] = None,
name: Optional[str] = None)
func NewSharedflow(ctx *Context, name string, args SharedflowArgs, opts ...ResourceOption) (*Sharedflow, error)
public Sharedflow(string name, SharedflowArgs args, CustomResourceOptions? opts = null)
public Sharedflow(String name, SharedflowArgs args)
public Sharedflow(String name, SharedflowArgs args, CustomResourceOptions options)
type: google-native:apigee/v1:Sharedflow
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args SharedflowArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args SharedflowArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args SharedflowArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SharedflowArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SharedflowArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var sharedflowResource = new GoogleNative.Apigee.V1.Sharedflow("sharedflowResource", new()
{
Action = "string",
OrganizationId = "string",
ContentType = "string",
Data = "string",
Extensions = new[]
{
{
{ "string", "string" },
},
},
Name = "string",
});
example, err := apigee.NewSharedflow(ctx, "sharedflowResource", &apigee.SharedflowArgs{
Action: pulumi.String("string"),
OrganizationId: pulumi.String("string"),
ContentType: pulumi.String("string"),
Data: pulumi.String("string"),
Extensions: pulumi.StringMapArray{
pulumi.StringMap{
"string": pulumi.String("string"),
},
},
Name: pulumi.String("string"),
})
var sharedflowResource = new Sharedflow("sharedflowResource", SharedflowArgs.builder()
.action("string")
.organizationId("string")
.contentType("string")
.data("string")
.extensions(Map.of("string", "string"))
.name("string")
.build());
sharedflow_resource = google_native.apigee.v1.Sharedflow("sharedflowResource",
action="string",
organization_id="string",
content_type="string",
data="string",
extensions=[{
"string": "string",
}],
name="string")
const sharedflowResource = new google_native.apigee.v1.Sharedflow("sharedflowResource", {
action: "string",
organizationId: "string",
contentType: "string",
data: "string",
extensions: [{
string: "string",
}],
name: "string",
});
type: google-native:apigee/v1:Sharedflow
properties:
action: string
contentType: string
data: string
extensions:
- string: string
name: string
organizationId: string
Sharedflow Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Sharedflow resource accepts the following input properties:
- Action string
- Required. Must be set to either
import
orvalidate
. - Organization
Id string - Content
Type string - The HTTP Content-Type header value specifying the content type of the body.
- Data string
- The HTTP request/response body as raw binary.
- Extensions
List<Immutable
Dictionary<string, string>> - Application specific response metadata. Must be set in the first response for streaming APIs.
- Name string
- Required. The name to give the shared flow
- Action string
- Required. Must be set to either
import
orvalidate
. - Organization
Id string - Content
Type string - The HTTP Content-Type header value specifying the content type of the body.
- Data string
- The HTTP request/response body as raw binary.
- Extensions []map[string]string
- Application specific response metadata. Must be set in the first response for streaming APIs.
- Name string
- Required. The name to give the shared flow
- action String
- Required. Must be set to either
import
orvalidate
. - organization
Id String - content
Type String - The HTTP Content-Type header value specifying the content type of the body.
- data String
- The HTTP request/response body as raw binary.
- extensions List<Map<String,String>>
- Application specific response metadata. Must be set in the first response for streaming APIs.
- name String
- Required. The name to give the shared flow
- action string
- Required. Must be set to either
import
orvalidate
. - organization
Id string - content
Type string - The HTTP Content-Type header value specifying the content type of the body.
- data string
- The HTTP request/response body as raw binary.
- extensions {[key: string]: string}[]
- Application specific response metadata. Must be set in the first response for streaming APIs.
- name string
- Required. The name to give the shared flow
- action str
- Required. Must be set to either
import
orvalidate
. - organization_
id str - content_
type str - The HTTP Content-Type header value specifying the content type of the body.
- data str
- The HTTP request/response body as raw binary.
- extensions Sequence[Mapping[str, str]]
- Application specific response metadata. Must be set in the first response for streaming APIs.
- name str
- Required. The name to give the shared flow
- action String
- Required. Must be set to either
import
orvalidate
. - organization
Id String - content
Type String - The HTTP Content-Type header value specifying the content type of the body.
- data String
- The HTTP request/response body as raw binary.
- extensions List<Map<String>>
- Application specific response metadata. Must be set in the first response for streaming APIs.
- name String
- Required. The name to give the shared flow
Outputs
All input properties are implicitly available as output properties. Additionally, the Sharedflow resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Latest
Revision stringId - The id of the most recently created revision for this shared flow.
- Meta
Data Pulumi.Google Native. Apigee. V1. Outputs. Google Cloud Apigee V1Entity Metadata Response - Metadata describing the shared flow.
- Revision List<string>
- A list of revisions of this shared flow.
- Id string
- The provider-assigned unique ID for this managed resource.
- Latest
Revision stringId - The id of the most recently created revision for this shared flow.
- Meta
Data GoogleCloud Apigee V1Entity Metadata Response - Metadata describing the shared flow.
- Revision []string
- A list of revisions of this shared flow.
- id String
- The provider-assigned unique ID for this managed resource.
- latest
Revision StringId - The id of the most recently created revision for this shared flow.
- meta
Data GoogleCloud Apigee V1Entity Metadata Response - Metadata describing the shared flow.
- revision List<String>
- A list of revisions of this shared flow.
- id string
- The provider-assigned unique ID for this managed resource.
- latest
Revision stringId - The id of the most recently created revision for this shared flow.
- meta
Data GoogleCloud Apigee V1Entity Metadata Response - Metadata describing the shared flow.
- revision string[]
- A list of revisions of this shared flow.
- id str
- The provider-assigned unique ID for this managed resource.
- latest_
revision_ strid - The id of the most recently created revision for this shared flow.
- meta_
data GoogleCloud Apigee V1Entity Metadata Response - Metadata describing the shared flow.
- revision Sequence[str]
- A list of revisions of this shared flow.
- id String
- The provider-assigned unique ID for this managed resource.
- latest
Revision StringId - The id of the most recently created revision for this shared flow.
- meta
Data Property Map - Metadata describing the shared flow.
- revision List<String>
- A list of revisions of this shared flow.
Supporting Types
GoogleCloudApigeeV1EntityMetadataResponse, GoogleCloudApigeeV1EntityMetadataResponseArgs
- Created
At string - Time at which the API proxy was created, in milliseconds since epoch.
- Last
Modified stringAt - Time at which the API proxy was most recently modified, in milliseconds since epoch.
- Sub
Type string - The type of entity described
- Created
At string - Time at which the API proxy was created, in milliseconds since epoch.
- Last
Modified stringAt - Time at which the API proxy was most recently modified, in milliseconds since epoch.
- Sub
Type string - The type of entity described
- created
At String - Time at which the API proxy was created, in milliseconds since epoch.
- last
Modified StringAt - Time at which the API proxy was most recently modified, in milliseconds since epoch.
- sub
Type String - The type of entity described
- created
At string - Time at which the API proxy was created, in milliseconds since epoch.
- last
Modified stringAt - Time at which the API proxy was most recently modified, in milliseconds since epoch.
- sub
Type string - The type of entity described
- created_
at str - Time at which the API proxy was created, in milliseconds since epoch.
- last_
modified_ strat - Time at which the API proxy was most recently modified, in milliseconds since epoch.
- sub_
type str - The type of entity described
- created
At String - Time at which the API proxy was created, in milliseconds since epoch.
- last
Modified StringAt - Time at which the API proxy was most recently modified, in milliseconds since epoch.
- sub
Type String - The type of entity described
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.