We recommend using Azure Native.
azure.apimanagement.ApiOperation
Explore with Pulumi AI
Manages an API Operation within an API Management Service.
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;
return await Deployment.RunAsync(() =>
{
var exampleApi = Azure.ApiManagement.GetApi.Invoke(new()
{
Name = "search-api",
ApiManagementName = "search-api-management",
ResourceGroupName = "search-service",
Revision = "2",
});
var exampleApiOperation = new Azure.ApiManagement.ApiOperation("exampleApiOperation", new()
{
OperationId = "user-delete",
ApiName = exampleApi.Apply(getApiResult => getApiResult.Name),
ApiManagementName = exampleApi.Apply(getApiResult => getApiResult.ApiManagementName),
ResourceGroupName = exampleApi.Apply(getApiResult => getApiResult.ResourceGroupName),
DisplayName = "Delete User Operation",
Method = "DELETE",
UrlTemplate = "/users/{id}/delete",
Description = "This can only be done by the logged in user.",
Responses = new[]
{
new Azure.ApiManagement.Inputs.ApiOperationResponseArgs
{
StatusCode = 200,
},
},
});
});
package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/apimanagement"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
exampleApi, err := apimanagement.LookupApi(ctx, &apimanagement.LookupApiArgs{
Name: "search-api",
ApiManagementName: "search-api-management",
ResourceGroupName: "search-service",
Revision: "2",
}, nil)
if err != nil {
return err
}
_, err = apimanagement.NewApiOperation(ctx, "exampleApiOperation", &apimanagement.ApiOperationArgs{
OperationId: pulumi.String("user-delete"),
ApiName: *pulumi.String(exampleApi.Name),
ApiManagementName: *pulumi.String(exampleApi.ApiManagementName),
ResourceGroupName: *pulumi.String(exampleApi.ResourceGroupName),
DisplayName: pulumi.String("Delete User Operation"),
Method: pulumi.String("DELETE"),
UrlTemplate: pulumi.String("/users/{id}/delete"),
Description: pulumi.String("This can only be done by the logged in user."),
Responses: apimanagement.ApiOperationResponseArray{
&apimanagement.ApiOperationResponseArgs{
StatusCode: pulumi.Int(200),
},
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.apimanagement.ApimanagementFunctions;
import com.pulumi.azure.apimanagement.inputs.GetApiArgs;
import com.pulumi.azure.apimanagement.ApiOperation;
import com.pulumi.azure.apimanagement.ApiOperationArgs;
import com.pulumi.azure.apimanagement.inputs.ApiOperationResponseArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var exampleApi = ApimanagementFunctions.getApi(GetApiArgs.builder()
.name("search-api")
.apiManagementName("search-api-management")
.resourceGroupName("search-service")
.revision("2")
.build());
var exampleApiOperation = new ApiOperation("exampleApiOperation", ApiOperationArgs.builder()
.operationId("user-delete")
.apiName(exampleApi.applyValue(getApiResult -> getApiResult.name()))
.apiManagementName(exampleApi.applyValue(getApiResult -> getApiResult.apiManagementName()))
.resourceGroupName(exampleApi.applyValue(getApiResult -> getApiResult.resourceGroupName()))
.displayName("Delete User Operation")
.method("DELETE")
.urlTemplate("/users/{id}/delete")
.description("This can only be done by the logged in user.")
.responses(ApiOperationResponseArgs.builder()
.statusCode(200)
.build())
.build());
}
}
import pulumi
import pulumi_azure as azure
example_api = azure.apimanagement.get_api(name="search-api",
api_management_name="search-api-management",
resource_group_name="search-service",
revision="2")
example_api_operation = azure.apimanagement.ApiOperation("exampleApiOperation",
operation_id="user-delete",
api_name=example_api.name,
api_management_name=example_api.api_management_name,
resource_group_name=example_api.resource_group_name,
display_name="Delete User Operation",
method="DELETE",
url_template="/users/{id}/delete",
description="This can only be done by the logged in user.",
responses=[azure.apimanagement.ApiOperationResponseArgs(
status_code=200,
)])
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const exampleApi = azure.apimanagement.getApi({
name: "search-api",
apiManagementName: "search-api-management",
resourceGroupName: "search-service",
revision: "2",
});
const exampleApiOperation = new azure.apimanagement.ApiOperation("exampleApiOperation", {
operationId: "user-delete",
apiName: exampleApi.then(exampleApi => exampleApi.name),
apiManagementName: exampleApi.then(exampleApi => exampleApi.apiManagementName),
resourceGroupName: exampleApi.then(exampleApi => exampleApi.resourceGroupName),
displayName: "Delete User Operation",
method: "DELETE",
urlTemplate: "/users/{id}/delete",
description: "This can only be done by the logged in user.",
responses: [{
statusCode: 200,
}],
});
resources:
exampleApiOperation:
type: azure:apimanagement:ApiOperation
properties:
operationId: user-delete
apiName: ${exampleApi.name}
apiManagementName: ${exampleApi.apiManagementName}
resourceGroupName: ${exampleApi.resourceGroupName}
displayName: Delete User Operation
method: DELETE
urlTemplate: /users/{id}/delete
description: This can only be done by the logged in user.
responses:
- statusCode: 200
variables:
exampleApi:
fn::invoke:
Function: azure:apimanagement:getApi
Arguments:
name: search-api
apiManagementName: search-api-management
resourceGroupName: search-service
revision: '2'
Create ApiOperation Resource
new ApiOperation(name: string, args: ApiOperationArgs, opts?: CustomResourceOptions);
@overload
def ApiOperation(resource_name: str,
opts: Optional[ResourceOptions] = None,
api_management_name: Optional[str] = None,
api_name: Optional[str] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
method: Optional[str] = None,
operation_id: Optional[str] = None,
request: Optional[ApiOperationRequestArgs] = None,
resource_group_name: Optional[str] = None,
responses: Optional[Sequence[ApiOperationResponseArgs]] = None,
template_parameters: Optional[Sequence[ApiOperationTemplateParameterArgs]] = None,
url_template: Optional[str] = None)
@overload
def ApiOperation(resource_name: str,
args: ApiOperationArgs,
opts: Optional[ResourceOptions] = None)
func NewApiOperation(ctx *Context, name string, args ApiOperationArgs, opts ...ResourceOption) (*ApiOperation, error)
public ApiOperation(string name, ApiOperationArgs args, CustomResourceOptions? opts = null)
public ApiOperation(String name, ApiOperationArgs args)
public ApiOperation(String name, ApiOperationArgs args, CustomResourceOptions options)
type: azure:apimanagement:ApiOperation
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ApiOperationArgs
- 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 ApiOperationArgs
- 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 ApiOperationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ApiOperationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ApiOperationArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
ApiOperation Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The ApiOperation resource accepts the following input properties:
- Api
Management stringName The Name of the API Management Service where the API exists. Changing this forces a new resource to be created.
- Api
Name string The name of the API within the API Management Service where this API Operation should be created. Changing this forces a new resource to be created.
- Display
Name string The Display Name for this API Management Operation.
- Method string
The HTTP Method used for this API Management Operation, like
GET
,DELETE
,PUT
orPOST
- but not limited to these values.- Operation
Id string A unique identifier for this API Operation. Changing this forces a new resource to be created.
- Resource
Group stringName The Name of the Resource Group in which the API Management Service exists. Changing this forces a new resource to be created.
- Url
Template string The relative URL Template identifying the target resource for this operation, which may include parameters.
- Description string
A description for this API Operation, which may include HTML formatting tags.
- Request
Api
Operation Request Args A
request
block as defined below.- Responses
List<Api
Operation Response Args> One or more
response
blocks as defined below.- Template
Parameters List<ApiOperation Template Parameter Args> One or more
template_parameter
blocks as defined below.
- Api
Management stringName The Name of the API Management Service where the API exists. Changing this forces a new resource to be created.
- Api
Name string The name of the API within the API Management Service where this API Operation should be created. Changing this forces a new resource to be created.
- Display
Name string The Display Name for this API Management Operation.
- Method string
The HTTP Method used for this API Management Operation, like
GET
,DELETE
,PUT
orPOST
- but not limited to these values.- Operation
Id string A unique identifier for this API Operation. Changing this forces a new resource to be created.
- Resource
Group stringName The Name of the Resource Group in which the API Management Service exists. Changing this forces a new resource to be created.
- Url
Template string The relative URL Template identifying the target resource for this operation, which may include parameters.
- Description string
A description for this API Operation, which may include HTML formatting tags.
- Request
Api
Operation Request Args A
request
block as defined below.- Responses
[]Api
Operation Response Args One or more
response
blocks as defined below.- Template
Parameters []ApiOperation Template Parameter Args One or more
template_parameter
blocks as defined below.
- api
Management StringName The Name of the API Management Service where the API exists. Changing this forces a new resource to be created.
- api
Name String The name of the API within the API Management Service where this API Operation should be created. Changing this forces a new resource to be created.
- display
Name String The Display Name for this API Management Operation.
- method String
The HTTP Method used for this API Management Operation, like
GET
,DELETE
,PUT
orPOST
- but not limited to these values.- operation
Id String A unique identifier for this API Operation. Changing this forces a new resource to be created.
- resource
Group StringName The Name of the Resource Group in which the API Management Service exists. Changing this forces a new resource to be created.
- url
Template String The relative URL Template identifying the target resource for this operation, which may include parameters.
- description String
A description for this API Operation, which may include HTML formatting tags.
- request
Api
Operation Request Args A
request
block as defined below.- responses
List<Api
Operation Response Args> One or more
response
blocks as defined below.- template
Parameters List<ApiOperation Template Parameter Args> One or more
template_parameter
blocks as defined below.
- api
Management stringName The Name of the API Management Service where the API exists. Changing this forces a new resource to be created.
- api
Name string The name of the API within the API Management Service where this API Operation should be created. Changing this forces a new resource to be created.
- display
Name string The Display Name for this API Management Operation.
- method string
The HTTP Method used for this API Management Operation, like
GET
,DELETE
,PUT
orPOST
- but not limited to these values.- operation
Id string A unique identifier for this API Operation. Changing this forces a new resource to be created.
- resource
Group stringName The Name of the Resource Group in which the API Management Service exists. Changing this forces a new resource to be created.
- url
Template string The relative URL Template identifying the target resource for this operation, which may include parameters.
- description string
A description for this API Operation, which may include HTML formatting tags.
- request
Api
Operation Request Args A
request
block as defined below.- responses
Api
Operation Response Args[] One or more
response
blocks as defined below.- template
Parameters ApiOperation Template Parameter Args[] One or more
template_parameter
blocks as defined below.
- api_
management_ strname The Name of the API Management Service where the API exists. Changing this forces a new resource to be created.
- api_
name str The name of the API within the API Management Service where this API Operation should be created. Changing this forces a new resource to be created.
- display_
name str The Display Name for this API Management Operation.
- method str
The HTTP Method used for this API Management Operation, like
GET
,DELETE
,PUT
orPOST
- but not limited to these values.- operation_
id str A unique identifier for this API Operation. Changing this forces a new resource to be created.
- resource_
group_ strname The Name of the Resource Group in which the API Management Service exists. Changing this forces a new resource to be created.
- url_
template str The relative URL Template identifying the target resource for this operation, which may include parameters.
- description str
A description for this API Operation, which may include HTML formatting tags.
- request
Api
Operation Request Args A
request
block as defined below.- responses
Sequence[Api
Operation Response Args] One or more
response
blocks as defined below.- template_
parameters Sequence[ApiOperation Template Parameter Args] One or more
template_parameter
blocks as defined below.
- api
Management StringName The Name of the API Management Service where the API exists. Changing this forces a new resource to be created.
- api
Name String The name of the API within the API Management Service where this API Operation should be created. Changing this forces a new resource to be created.
- display
Name String The Display Name for this API Management Operation.
- method String
The HTTP Method used for this API Management Operation, like
GET
,DELETE
,PUT
orPOST
- but not limited to these values.- operation
Id String A unique identifier for this API Operation. Changing this forces a new resource to be created.
- resource
Group StringName The Name of the Resource Group in which the API Management Service exists. Changing this forces a new resource to be created.
- url
Template String The relative URL Template identifying the target resource for this operation, which may include parameters.
- description String
A description for this API Operation, which may include HTML formatting tags.
- request Property Map
A
request
block as defined below.- responses List<Property Map>
One or more
response
blocks as defined below.- template
Parameters List<Property Map> One or more
template_parameter
blocks as defined below.
Outputs
All input properties are implicitly available as output properties. Additionally, the ApiOperation resource produces the following output properties:
- Id string
The provider-assigned unique ID for this managed resource.
- Id string
The provider-assigned unique ID for this managed resource.
- id String
The provider-assigned unique ID for this managed resource.
- id string
The provider-assigned unique ID for this managed resource.
- id str
The provider-assigned unique ID for this managed resource.
- id String
The provider-assigned unique ID for this managed resource.
Look up Existing ApiOperation Resource
Get an existing ApiOperation resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ApiOperationState, opts?: CustomResourceOptions): ApiOperation
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
api_management_name: Optional[str] = None,
api_name: Optional[str] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
method: Optional[str] = None,
operation_id: Optional[str] = None,
request: Optional[ApiOperationRequestArgs] = None,
resource_group_name: Optional[str] = None,
responses: Optional[Sequence[ApiOperationResponseArgs]] = None,
template_parameters: Optional[Sequence[ApiOperationTemplateParameterArgs]] = None,
url_template: Optional[str] = None) -> ApiOperation
func GetApiOperation(ctx *Context, name string, id IDInput, state *ApiOperationState, opts ...ResourceOption) (*ApiOperation, error)
public static ApiOperation Get(string name, Input<string> id, ApiOperationState? state, CustomResourceOptions? opts = null)
public static ApiOperation get(String name, Output<String> id, ApiOperationState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Api
Management stringName The Name of the API Management Service where the API exists. Changing this forces a new resource to be created.
- Api
Name string The name of the API within the API Management Service where this API Operation should be created. Changing this forces a new resource to be created.
- Description string
A description for this API Operation, which may include HTML formatting tags.
- Display
Name string The Display Name for this API Management Operation.
- Method string
The HTTP Method used for this API Management Operation, like
GET
,DELETE
,PUT
orPOST
- but not limited to these values.- Operation
Id string A unique identifier for this API Operation. Changing this forces a new resource to be created.
- Request
Api
Operation Request Args A
request
block as defined below.- Resource
Group stringName The Name of the Resource Group in which the API Management Service exists. Changing this forces a new resource to be created.
- Responses
List<Api
Operation Response Args> One or more
response
blocks as defined below.- Template
Parameters List<ApiOperation Template Parameter Args> One or more
template_parameter
blocks as defined below.- Url
Template string The relative URL Template identifying the target resource for this operation, which may include parameters.
- Api
Management stringName The Name of the API Management Service where the API exists. Changing this forces a new resource to be created.
- Api
Name string The name of the API within the API Management Service where this API Operation should be created. Changing this forces a new resource to be created.
- Description string
A description for this API Operation, which may include HTML formatting tags.
- Display
Name string The Display Name for this API Management Operation.
- Method string
The HTTP Method used for this API Management Operation, like
GET
,DELETE
,PUT
orPOST
- but not limited to these values.- Operation
Id string A unique identifier for this API Operation. Changing this forces a new resource to be created.
- Request
Api
Operation Request Args A
request
block as defined below.- Resource
Group stringName The Name of the Resource Group in which the API Management Service exists. Changing this forces a new resource to be created.
- Responses
[]Api
Operation Response Args One or more
response
blocks as defined below.- Template
Parameters []ApiOperation Template Parameter Args One or more
template_parameter
blocks as defined below.- Url
Template string The relative URL Template identifying the target resource for this operation, which may include parameters.
- api
Management StringName The Name of the API Management Service where the API exists. Changing this forces a new resource to be created.
- api
Name String The name of the API within the API Management Service where this API Operation should be created. Changing this forces a new resource to be created.
- description String
A description for this API Operation, which may include HTML formatting tags.
- display
Name String The Display Name for this API Management Operation.
- method String
The HTTP Method used for this API Management Operation, like
GET
,DELETE
,PUT
orPOST
- but not limited to these values.- operation
Id String A unique identifier for this API Operation. Changing this forces a new resource to be created.
- request
Api
Operation Request Args A
request
block as defined below.- resource
Group StringName The Name of the Resource Group in which the API Management Service exists. Changing this forces a new resource to be created.
- responses
List<Api
Operation Response Args> One or more
response
blocks as defined below.- template
Parameters List<ApiOperation Template Parameter Args> One or more
template_parameter
blocks as defined below.- url
Template String The relative URL Template identifying the target resource for this operation, which may include parameters.
- api
Management stringName The Name of the API Management Service where the API exists. Changing this forces a new resource to be created.
- api
Name string The name of the API within the API Management Service where this API Operation should be created. Changing this forces a new resource to be created.
- description string
A description for this API Operation, which may include HTML formatting tags.
- display
Name string The Display Name for this API Management Operation.
- method string
The HTTP Method used for this API Management Operation, like
GET
,DELETE
,PUT
orPOST
- but not limited to these values.- operation
Id string A unique identifier for this API Operation. Changing this forces a new resource to be created.
- request
Api
Operation Request Args A
request
block as defined below.- resource
Group stringName The Name of the Resource Group in which the API Management Service exists. Changing this forces a new resource to be created.
- responses
Api
Operation Response Args[] One or more
response
blocks as defined below.- template
Parameters ApiOperation Template Parameter Args[] One or more
template_parameter
blocks as defined below.- url
Template string The relative URL Template identifying the target resource for this operation, which may include parameters.
- api_
management_ strname The Name of the API Management Service where the API exists. Changing this forces a new resource to be created.
- api_
name str The name of the API within the API Management Service where this API Operation should be created. Changing this forces a new resource to be created.
- description str
A description for this API Operation, which may include HTML formatting tags.
- display_
name str The Display Name for this API Management Operation.
- method str
The HTTP Method used for this API Management Operation, like
GET
,DELETE
,PUT
orPOST
- but not limited to these values.- operation_
id str A unique identifier for this API Operation. Changing this forces a new resource to be created.
- request
Api
Operation Request Args A
request
block as defined below.- resource_
group_ strname The Name of the Resource Group in which the API Management Service exists. Changing this forces a new resource to be created.
- responses
Sequence[Api
Operation Response Args] One or more
response
blocks as defined below.- template_
parameters Sequence[ApiOperation Template Parameter Args] One or more
template_parameter
blocks as defined below.- url_
template str The relative URL Template identifying the target resource for this operation, which may include parameters.
- api
Management StringName The Name of the API Management Service where the API exists. Changing this forces a new resource to be created.
- api
Name String The name of the API within the API Management Service where this API Operation should be created. Changing this forces a new resource to be created.
- description String
A description for this API Operation, which may include HTML formatting tags.
- display
Name String The Display Name for this API Management Operation.
- method String
The HTTP Method used for this API Management Operation, like
GET
,DELETE
,PUT
orPOST
- but not limited to these values.- operation
Id String A unique identifier for this API Operation. Changing this forces a new resource to be created.
- request Property Map
A
request
block as defined below.- resource
Group StringName The Name of the Resource Group in which the API Management Service exists. Changing this forces a new resource to be created.
- responses List<Property Map>
One or more
response
blocks as defined below.- template
Parameters List<Property Map> One or more
template_parameter
blocks as defined below.- url
Template String The relative URL Template identifying the target resource for this operation, which may include parameters.
Supporting Types
ApiOperationRequest
- Description string
A description of the HTTP Request, which may include HTML tags.
- Headers
List<Api
Operation Request Header> One or more
header
blocks as defined above.- Query
Parameters List<ApiOperation Request Query Parameter> One or more
query_parameter
blocks as defined above.- Representations
List<Api
Operation Request Representation> One or more
representation
blocks as defined below.
- Description string
A description of the HTTP Request, which may include HTML tags.
- Headers
[]Api
Operation Request Header One or more
header
blocks as defined above.- Query
Parameters []ApiOperation Request Query Parameter One or more
query_parameter
blocks as defined above.- Representations
[]Api
Operation Request Representation One or more
representation
blocks as defined below.
- description String
A description of the HTTP Request, which may include HTML tags.
- headers
List<Api
Operation Request Header> One or more
header
blocks as defined above.- query
Parameters List<ApiOperation Request Query Parameter> One or more
query_parameter
blocks as defined above.- representations
List<Api
Operation Request Representation> One or more
representation
blocks as defined below.
- description string
A description of the HTTP Request, which may include HTML tags.
- headers
Api
Operation Request Header[] One or more
header
blocks as defined above.- query
Parameters ApiOperation Request Query Parameter[] One or more
query_parameter
blocks as defined above.- representations
Api
Operation Request Representation[] One or more
representation
blocks as defined below.
- description str
A description of the HTTP Request, which may include HTML tags.
- headers
Sequence[Api
Operation Request Header] One or more
header
blocks as defined above.- query_
parameters Sequence[ApiOperation Request Query Parameter] One or more
query_parameter
blocks as defined above.- representations
Sequence[Api
Operation Request Representation] One or more
representation
blocks as defined below.
- description String
A description of the HTTP Request, which may include HTML tags.
- headers List<Property Map>
One or more
header
blocks as defined above.- query
Parameters List<Property Map> One or more
query_parameter
blocks as defined above.- representations List<Property Map>
One or more
representation
blocks as defined below.
ApiOperationRequestHeader
- Name string
The Name of this Header.
- Required bool
Is this Header Required?
- Type string
The Type of this Header, such as a
string
.- Default
Value string The default value for this Header.
- Description string
A description of this Header.
- Examples
List<Api
Operation Request Header Example> (Optional) One or more
example
blocks as defined above.- Schema
Id string The name of the Schema.
- Type
Name string The type name defined by the Schema.
- Values List<string>
One or more acceptable values for this Header.
- Name string
The Name of this Header.
- Required bool
Is this Header Required?
- Type string
The Type of this Header, such as a
string
.- Default
Value string The default value for this Header.
- Description string
A description of this Header.
- Examples
[]Api
Operation Request Header Example (Optional) One or more
example
blocks as defined above.- Schema
Id string The name of the Schema.
- Type
Name string The type name defined by the Schema.
- Values []string
One or more acceptable values for this Header.
- name String
The Name of this Header.
- required Boolean
Is this Header Required?
- type String
The Type of this Header, such as a
string
.- default
Value String The default value for this Header.
- description String
A description of this Header.
- examples
List<Api
Operation Request Header Example> (Optional) One or more
example
blocks as defined above.- schema
Id String The name of the Schema.
- type
Name String The type name defined by the Schema.
- values List<String>
One or more acceptable values for this Header.
- name string
The Name of this Header.
- required boolean
Is this Header Required?
- type string
The Type of this Header, such as a
string
.- default
Value string The default value for this Header.
- description string
A description of this Header.
- examples
Api
Operation Request Header Example[] (Optional) One or more
example
blocks as defined above.- schema
Id string The name of the Schema.
- type
Name string The type name defined by the Schema.
- values string[]
One or more acceptable values for this Header.
- name str
The Name of this Header.
- required bool
Is this Header Required?
- type str
The Type of this Header, such as a
string
.- default_
value str The default value for this Header.
- description str
A description of this Header.
- examples
Sequence[Api
Operation Request Header Example] (Optional) One or more
example
blocks as defined above.- schema_
id str The name of the Schema.
- type_
name str The type name defined by the Schema.
- values Sequence[str]
One or more acceptable values for this Header.
- name String
The Name of this Header.
- required Boolean
Is this Header Required?
- type String
The Type of this Header, such as a
string
.- default
Value String The default value for this Header.
- description String
A description of this Header.
- examples List<Property Map>
(Optional) One or more
example
blocks as defined above.- schema
Id String The name of the Schema.
- type
Name String The type name defined by the Schema.
- values List<String>
One or more acceptable values for this Header.
ApiOperationRequestHeaderExample
- Name string
The name of this example.
- Description string
A long description for this example.
- External
Value string A URL that points to the literal example.
- Summary string
A short description for this example.
- Value string
The example of the representation.
- Name string
The name of this example.
- Description string
A long description for this example.
- External
Value string A URL that points to the literal example.
- Summary string
A short description for this example.
- Value string
The example of the representation.
- name String
The name of this example.
- description String
A long description for this example.
- external
Value String A URL that points to the literal example.
- summary String
A short description for this example.
- value String
The example of the representation.
- name string
The name of this example.
- description string
A long description for this example.
- external
Value string A URL that points to the literal example.
- summary string
A short description for this example.
- value string
The example of the representation.
- name str
The name of this example.
- description str
A long description for this example.
- external_
value str A URL that points to the literal example.
- summary str
A short description for this example.
- value str
The example of the representation.
- name String
The name of this example.
- description String
A long description for this example.
- external
Value String A URL that points to the literal example.
- summary String
A short description for this example.
- value String
The example of the representation.
ApiOperationRequestQueryParameter
- Name string
The Name of this Query Parameter.
- Required bool
Is this Query Parameter Required?
- Type string
The Type of this Query Parameter, such as a
string
.- Default
Value string The default value for this Query Parameter.
- Description string
A description of this Query Parameter.
- Examples
List<Api
Operation Request Query Parameter Example> (Optional) One or more
example
blocks as defined above.- Schema
Id string The name of the Schema.
- Type
Name string The type name defined by the Schema.
- Values List<string>
One or more acceptable values for this Query Parameter.
- Name string
The Name of this Query Parameter.
- Required bool
Is this Query Parameter Required?
- Type string
The Type of this Query Parameter, such as a
string
.- Default
Value string The default value for this Query Parameter.
- Description string
A description of this Query Parameter.
- Examples
[]Api
Operation Request Query Parameter Example (Optional) One or more
example
blocks as defined above.- Schema
Id string The name of the Schema.
- Type
Name string The type name defined by the Schema.
- Values []string
One or more acceptable values for this Query Parameter.
- name String
The Name of this Query Parameter.
- required Boolean
Is this Query Parameter Required?
- type String
The Type of this Query Parameter, such as a
string
.- default
Value String The default value for this Query Parameter.
- description String
A description of this Query Parameter.
- examples
List<Api
Operation Request Query Parameter Example> (Optional) One or more
example
blocks as defined above.- schema
Id String The name of the Schema.
- type
Name String The type name defined by the Schema.
- values List<String>
One or more acceptable values for this Query Parameter.
- name string
The Name of this Query Parameter.
- required boolean
Is this Query Parameter Required?
- type string
The Type of this Query Parameter, such as a
string
.- default
Value string The default value for this Query Parameter.
- description string
A description of this Query Parameter.
- examples
Api
Operation Request Query Parameter Example[] (Optional) One or more
example
blocks as defined above.- schema
Id string The name of the Schema.
- type
Name string The type name defined by the Schema.
- values string[]
One or more acceptable values for this Query Parameter.
- name str
The Name of this Query Parameter.
- required bool
Is this Query Parameter Required?
- type str
The Type of this Query Parameter, such as a
string
.- default_
value str The default value for this Query Parameter.
- description str
A description of this Query Parameter.
- examples
Sequence[Api
Operation Request Query Parameter Example] (Optional) One or more
example
blocks as defined above.- schema_
id str The name of the Schema.
- type_
name str The type name defined by the Schema.
- values Sequence[str]
One or more acceptable values for this Query Parameter.
- name String
The Name of this Query Parameter.
- required Boolean
Is this Query Parameter Required?
- type String
The Type of this Query Parameter, such as a
string
.- default
Value String The default value for this Query Parameter.
- description String
A description of this Query Parameter.
- examples List<Property Map>
(Optional) One or more
example
blocks as defined above.- schema
Id String The name of the Schema.
- type
Name String The type name defined by the Schema.
- values List<String>
One or more acceptable values for this Query Parameter.
ApiOperationRequestQueryParameterExample
- Name string
The name of this example.
- Description string
A long description for this example.
- External
Value string A URL that points to the literal example.
- Summary string
A short description for this example.
- Value string
The example of the representation.
- Name string
The name of this example.
- Description string
A long description for this example.
- External
Value string A URL that points to the literal example.
- Summary string
A short description for this example.
- Value string
The example of the representation.
- name String
The name of this example.
- description String
A long description for this example.
- external
Value String A URL that points to the literal example.
- summary String
A short description for this example.
- value String
The example of the representation.
- name string
The name of this example.
- description string
A long description for this example.
- external
Value string A URL that points to the literal example.
- summary string
A short description for this example.
- value string
The example of the representation.
- name str
The name of this example.
- description str
A long description for this example.
- external_
value str A URL that points to the literal example.
- summary str
A short description for this example.
- value str
The example of the representation.
- name String
The name of this example.
- description String
A long description for this example.
- external
Value String A URL that points to the literal example.
- summary String
A short description for this example.
- value String
The example of the representation.
ApiOperationRequestRepresentation
- Content
Type string The Content Type of this representation, such as
application/json
.- Examples
List<Api
Operation Request Representation Example> One or more
example
blocks as defined above.- Form
Parameters List<ApiOperation Request Representation Form Parameter> One or more
form_parameter
block as defined above.- Schema
Id string The ID of an API Management Schema which represents this Response.
- Type
Name string The Type Name defined by the Schema.
- Content
Type string The Content Type of this representation, such as
application/json
.- Examples
[]Api
Operation Request Representation Example One or more
example
blocks as defined above.- Form
Parameters []ApiOperation Request Representation Form Parameter One or more
form_parameter
block as defined above.- Schema
Id string The ID of an API Management Schema which represents this Response.
- Type
Name string The Type Name defined by the Schema.
- content
Type String The Content Type of this representation, such as
application/json
.- examples
List<Api
Operation Request Representation Example> One or more
example
blocks as defined above.- form
Parameters List<ApiOperation Request Representation Form Parameter> One or more
form_parameter
block as defined above.- schema
Id String The ID of an API Management Schema which represents this Response.
- type
Name String The Type Name defined by the Schema.
- content
Type string The Content Type of this representation, such as
application/json
.- examples
Api
Operation Request Representation Example[] One or more
example
blocks as defined above.- form
Parameters ApiOperation Request Representation Form Parameter[] One or more
form_parameter
block as defined above.- schema
Id string The ID of an API Management Schema which represents this Response.
- type
Name string The Type Name defined by the Schema.
- content_
type str The Content Type of this representation, such as
application/json
.- examples
Sequence[Api
Operation Request Representation Example] One or more
example
blocks as defined above.- form_
parameters Sequence[ApiOperation Request Representation Form Parameter] One or more
form_parameter
block as defined above.- schema_
id str The ID of an API Management Schema which represents this Response.
- type_
name str The Type Name defined by the Schema.
- content
Type String The Content Type of this representation, such as
application/json
.- examples List<Property Map>
One or more
example
blocks as defined above.- form
Parameters List<Property Map> One or more
form_parameter
block as defined above.- schema
Id String The ID of an API Management Schema which represents this Response.
- type
Name String The Type Name defined by the Schema.
ApiOperationRequestRepresentationExample
- Name string
The name of this example.
- Description string
A long description for this example.
- External
Value string A URL that points to the literal example.
- Summary string
A short description for this example.
- Value string
The example of the representation.
- Name string
The name of this example.
- Description string
A long description for this example.
- External
Value string A URL that points to the literal example.
- Summary string
A short description for this example.
- Value string
The example of the representation.
- name String
The name of this example.
- description String
A long description for this example.
- external
Value String A URL that points to the literal example.
- summary String
A short description for this example.
- value String
The example of the representation.
- name string
The name of this example.
- description string
A long description for this example.
- external
Value string A URL that points to the literal example.
- summary string
A short description for this example.
- value string
The example of the representation.
- name str
The name of this example.
- description str
A long description for this example.
- external_
value str A URL that points to the literal example.
- summary str
A short description for this example.
- value str
The example of the representation.
- name String
The name of this example.
- description String
A long description for this example.
- external
Value String A URL that points to the literal example.
- summary String
A short description for this example.
- value String
The example of the representation.
ApiOperationRequestRepresentationFormParameter
- Name string
The Name of this Form Parameter.
- Required bool
Is this Form Parameter Required?
- Type string
The Type of this Form Parameter, such as a
string
.- Default
Value string The default value for this Form Parameter.
- Description string
A description of this Form Parameter.
- Examples
List<Api
Operation Request Representation Form Parameter Example> (Optional) One or more
example
blocks as defined above.- Schema
Id string The name of the Schema.
- Type
Name string The type name defined by the Schema.
- Values List<string>
One or more acceptable values for this Form Parameter.
- Name string
The Name of this Form Parameter.
- Required bool
Is this Form Parameter Required?
- Type string
The Type of this Form Parameter, such as a
string
.- Default
Value string The default value for this Form Parameter.
- Description string
A description of this Form Parameter.
- Examples
[]Api
Operation Request Representation Form Parameter Example (Optional) One or more
example
blocks as defined above.- Schema
Id string The name of the Schema.
- Type
Name string The type name defined by the Schema.
- Values []string
One or more acceptable values for this Form Parameter.
- name String
The Name of this Form Parameter.
- required Boolean
Is this Form Parameter Required?
- type String
The Type of this Form Parameter, such as a
string
.- default
Value String The default value for this Form Parameter.
- description String
A description of this Form Parameter.
- examples
List<Api
Operation Request Representation Form Parameter Example> (Optional) One or more
example
blocks as defined above.- schema
Id String The name of the Schema.
- type
Name String The type name defined by the Schema.
- values List<String>
One or more acceptable values for this Form Parameter.
- name string
The Name of this Form Parameter.
- required boolean
Is this Form Parameter Required?
- type string
The Type of this Form Parameter, such as a
string
.- default
Value string The default value for this Form Parameter.
- description string
A description of this Form Parameter.
- examples
Api
Operation Request Representation Form Parameter Example[] (Optional) One or more
example
blocks as defined above.- schema
Id string The name of the Schema.
- type
Name string The type name defined by the Schema.
- values string[]
One or more acceptable values for this Form Parameter.
- name str
The Name of this Form Parameter.
- required bool
Is this Form Parameter Required?
- type str
The Type of this Form Parameter, such as a
string
.- default_
value str The default value for this Form Parameter.
- description str
A description of this Form Parameter.
- examples
Sequence[Api
Operation Request Representation Form Parameter Example] (Optional) One or more
example
blocks as defined above.- schema_
id str The name of the Schema.
- type_
name str The type name defined by the Schema.
- values Sequence[str]
One or more acceptable values for this Form Parameter.
- name String
The Name of this Form Parameter.
- required Boolean
Is this Form Parameter Required?
- type String
The Type of this Form Parameter, such as a
string
.- default
Value String The default value for this Form Parameter.
- description String
A description of this Form Parameter.
- examples List<Property Map>
(Optional) One or more
example
blocks as defined above.- schema
Id String The name of the Schema.
- type
Name String The type name defined by the Schema.
- values List<String>
One or more acceptable values for this Form Parameter.
ApiOperationRequestRepresentationFormParameterExample
- Name string
The name of this example.
- Description string
A long description for this example.
- External
Value string A URL that points to the literal example.
- Summary string
A short description for this example.
- Value string
The example of the representation.
- Name string
The name of this example.
- Description string
A long description for this example.
- External
Value string A URL that points to the literal example.
- Summary string
A short description for this example.
- Value string
The example of the representation.
- name String
The name of this example.
- description String
A long description for this example.
- external
Value String A URL that points to the literal example.
- summary String
A short description for this example.
- value String
The example of the representation.
- name string
The name of this example.
- description string
A long description for this example.
- external
Value string A URL that points to the literal example.
- summary string
A short description for this example.
- value string
The example of the representation.
- name str
The name of this example.
- description str
A long description for this example.
- external_
value str A URL that points to the literal example.
- summary str
A short description for this example.
- value str
The example of the representation.
- name String
The name of this example.
- description String
A long description for this example.
- external
Value String A URL that points to the literal example.
- summary String
A short description for this example.
- value String
The example of the representation.
ApiOperationResponse
- Status
Code int The HTTP Status Code.
- Description string
A description of the HTTP Response, which may include HTML tags.
- Headers
List<Api
Operation Response Header> One or more
header
blocks as defined above.- Representations
List<Api
Operation Response Representation> One or more
representation
blocks as defined below.
- Status
Code int The HTTP Status Code.
- Description string
A description of the HTTP Response, which may include HTML tags.
- Headers
[]Api
Operation Response Header One or more
header
blocks as defined above.- Representations
[]Api
Operation Response Representation One or more
representation
blocks as defined below.
- status
Code Integer The HTTP Status Code.
- description String
A description of the HTTP Response, which may include HTML tags.
- headers
List<Api
Operation Response Header> One or more
header
blocks as defined above.- representations
List<Api
Operation Response Representation> One or more
representation
blocks as defined below.
- status
Code number The HTTP Status Code.
- description string
A description of the HTTP Response, which may include HTML tags.
- headers
Api
Operation Response Header[] One or more
header
blocks as defined above.- representations
Api
Operation Response Representation[] One or more
representation
blocks as defined below.
- status_
code int The HTTP Status Code.
- description str
A description of the HTTP Response, which may include HTML tags.
- headers
Sequence[Api
Operation Response Header] One or more
header
blocks as defined above.- representations
Sequence[Api
Operation Response Representation] One or more
representation
blocks as defined below.
- status
Code Number The HTTP Status Code.
- description String
A description of the HTTP Response, which may include HTML tags.
- headers List<Property Map>
One or more
header
blocks as defined above.- representations List<Property Map>
One or more
representation
blocks as defined below.
ApiOperationResponseHeader
- Name string
The Name of this Header.
- Required bool
Is this Header Required?
- Type string
The Type of this Header, such as a
string
.- Default
Value string The default value for this Header.
- Description string
A description of this Header.
- Examples
List<Api
Operation Response Header Example> (Optional) One or more
example
blocks as defined above.- Schema
Id string The name of the Schema.
- Type
Name string The type name defined by the Schema.
- Values List<string>
One or more acceptable values for this Header.
- Name string
The Name of this Header.
- Required bool
Is this Header Required?
- Type string
The Type of this Header, such as a
string
.- Default
Value string The default value for this Header.
- Description string
A description of this Header.
- Examples
[]Api
Operation Response Header Example (Optional) One or more
example
blocks as defined above.- Schema
Id string The name of the Schema.
- Type
Name string The type name defined by the Schema.
- Values []string
One or more acceptable values for this Header.
- name String
The Name of this Header.
- required Boolean
Is this Header Required?
- type String
The Type of this Header, such as a
string
.- default
Value String The default value for this Header.
- description String
A description of this Header.
- examples
List<Api
Operation Response Header Example> (Optional) One or more
example
blocks as defined above.- schema
Id String The name of the Schema.
- type
Name String The type name defined by the Schema.
- values List<String>
One or more acceptable values for this Header.
- name string
The Name of this Header.
- required boolean
Is this Header Required?
- type string
The Type of this Header, such as a
string
.- default
Value string The default value for this Header.
- description string
A description of this Header.
- examples
Api
Operation Response Header Example[] (Optional) One or more
example
blocks as defined above.- schema
Id string The name of the Schema.
- type
Name string The type name defined by the Schema.
- values string[]
One or more acceptable values for this Header.
- name str
The Name of this Header.
- required bool
Is this Header Required?
- type str
The Type of this Header, such as a
string
.- default_
value str The default value for this Header.
- description str
A description of this Header.
- examples
Sequence[Api
Operation Response Header Example] (Optional) One or more
example
blocks as defined above.- schema_
id str The name of the Schema.
- type_
name str The type name defined by the Schema.
- values Sequence[str]
One or more acceptable values for this Header.
- name String
The Name of this Header.
- required Boolean
Is this Header Required?
- type String
The Type of this Header, such as a
string
.- default
Value String The default value for this Header.
- description String
A description of this Header.
- examples List<Property Map>
(Optional) One or more
example
blocks as defined above.- schema
Id String The name of the Schema.
- type
Name String The type name defined by the Schema.
- values List<String>
One or more acceptable values for this Header.
ApiOperationResponseHeaderExample
- Name string
The name of this example.
- Description string
A long description for this example.
- External
Value string A URL that points to the literal example.
- Summary string
A short description for this example.
- Value string
The example of the representation.
- Name string
The name of this example.
- Description string
A long description for this example.
- External
Value string A URL that points to the literal example.
- Summary string
A short description for this example.
- Value string
The example of the representation.
- name String
The name of this example.
- description String
A long description for this example.
- external
Value String A URL that points to the literal example.
- summary String
A short description for this example.
- value String
The example of the representation.
- name string
The name of this example.
- description string
A long description for this example.
- external
Value string A URL that points to the literal example.
- summary string
A short description for this example.
- value string
The example of the representation.
- name str
The name of this example.
- description str
A long description for this example.
- external_
value str A URL that points to the literal example.
- summary str
A short description for this example.
- value str
The example of the representation.
- name String
The name of this example.
- description String
A long description for this example.
- external
Value String A URL that points to the literal example.
- summary String
A short description for this example.
- value String
The example of the representation.
ApiOperationResponseRepresentation
- Content
Type string The Content Type of this representation, such as
application/json
.- Examples
List<Api
Operation Response Representation Example> One or more
example
blocks as defined above.- Form
Parameters List<ApiOperation Response Representation Form Parameter> One or more
form_parameter
block as defined above.- Schema
Id string The ID of an API Management Schema which represents this Response.
- Type
Name string The Type Name defined by the Schema.
- Content
Type string The Content Type of this representation, such as
application/json
.- Examples
[]Api
Operation Response Representation Example One or more
example
blocks as defined above.- Form
Parameters []ApiOperation Response Representation Form Parameter One or more
form_parameter
block as defined above.- Schema
Id string The ID of an API Management Schema which represents this Response.
- Type
Name string The Type Name defined by the Schema.
- content
Type String The Content Type of this representation, such as
application/json
.- examples
List<Api
Operation Response Representation Example> One or more
example
blocks as defined above.- form
Parameters List<ApiOperation Response Representation Form Parameter> One or more
form_parameter
block as defined above.- schema
Id String The ID of an API Management Schema which represents this Response.
- type
Name String The Type Name defined by the Schema.
- content
Type string The Content Type of this representation, such as
application/json
.- examples
Api
Operation Response Representation Example[] One or more
example
blocks as defined above.- form
Parameters ApiOperation Response Representation Form Parameter[] One or more
form_parameter
block as defined above.- schema
Id string The ID of an API Management Schema which represents this Response.
- type
Name string The Type Name defined by the Schema.
- content_
type str The Content Type of this representation, such as
application/json
.- examples
Sequence[Api
Operation Response Representation Example] One or more
example
blocks as defined above.- form_
parameters Sequence[ApiOperation Response Representation Form Parameter] One or more
form_parameter
block as defined above.- schema_
id str The ID of an API Management Schema which represents this Response.
- type_
name str The Type Name defined by the Schema.
- content
Type String The Content Type of this representation, such as
application/json
.- examples List<Property Map>
One or more
example
blocks as defined above.- form
Parameters List<Property Map> One or more
form_parameter
block as defined above.- schema
Id String The ID of an API Management Schema which represents this Response.
- type
Name String The Type Name defined by the Schema.
ApiOperationResponseRepresentationExample
- Name string
The name of this example.
- Description string
A long description for this example.
- External
Value string A URL that points to the literal example.
- Summary string
A short description for this example.
- Value string
The example of the representation.
- Name string
The name of this example.
- Description string
A long description for this example.
- External
Value string A URL that points to the literal example.
- Summary string
A short description for this example.
- Value string
The example of the representation.
- name String
The name of this example.
- description String
A long description for this example.
- external
Value String A URL that points to the literal example.
- summary String
A short description for this example.
- value String
The example of the representation.
- name string
The name of this example.
- description string
A long description for this example.
- external
Value string A URL that points to the literal example.
- summary string
A short description for this example.
- value string
The example of the representation.
- name str
The name of this example.
- description str
A long description for this example.
- external_
value str A URL that points to the literal example.
- summary str
A short description for this example.
- value str
The example of the representation.
- name String
The name of this example.
- description String
A long description for this example.
- external
Value String A URL that points to the literal example.
- summary String
A short description for this example.
- value String
The example of the representation.
ApiOperationResponseRepresentationFormParameter
- Name string
The Name of this Form Parameter.
- Required bool
Is this Form Parameter Required?
- Type string
The Type of this Form Parameter, such as a
string
.- Default
Value string The default value for this Form Parameter.
- Description string
A description of this Form Parameter.
- Examples
List<Api
Operation Response Representation Form Parameter Example> (Optional) One or more
example
blocks as defined above.- Schema
Id string The name of the Schema.
- Type
Name string The type name defined by the Schema.
- Values List<string>
One or more acceptable values for this Form Parameter.
- Name string
The Name of this Form Parameter.
- Required bool
Is this Form Parameter Required?
- Type string
The Type of this Form Parameter, such as a
string
.- Default
Value string The default value for this Form Parameter.
- Description string
A description of this Form Parameter.
- Examples
[]Api
Operation Response Representation Form Parameter Example (Optional) One or more
example
blocks as defined above.- Schema
Id string The name of the Schema.
- Type
Name string The type name defined by the Schema.
- Values []string
One or more acceptable values for this Form Parameter.
- name String
The Name of this Form Parameter.
- required Boolean
Is this Form Parameter Required?
- type String
The Type of this Form Parameter, such as a
string
.- default
Value String The default value for this Form Parameter.
- description String
A description of this Form Parameter.
- examples
List<Api
Operation Response Representation Form Parameter Example> (Optional) One or more
example
blocks as defined above.- schema
Id String The name of the Schema.
- type
Name String The type name defined by the Schema.
- values List<String>
One or more acceptable values for this Form Parameter.
- name string
The Name of this Form Parameter.
- required boolean
Is this Form Parameter Required?
- type string
The Type of this Form Parameter, such as a
string
.- default
Value string The default value for this Form Parameter.
- description string
A description of this Form Parameter.
- examples
Api
Operation Response Representation Form Parameter Example[] (Optional) One or more
example
blocks as defined above.- schema
Id string The name of the Schema.
- type
Name string The type name defined by the Schema.
- values string[]
One or more acceptable values for this Form Parameter.
- name str
The Name of this Form Parameter.
- required bool
Is this Form Parameter Required?
- type str
The Type of this Form Parameter, such as a
string
.- default_
value str The default value for this Form Parameter.
- description str
A description of this Form Parameter.
- examples
Sequence[Api
Operation Response Representation Form Parameter Example] (Optional) One or more
example
blocks as defined above.- schema_
id str The name of the Schema.
- type_
name str The type name defined by the Schema.
- values Sequence[str]
One or more acceptable values for this Form Parameter.
- name String
The Name of this Form Parameter.
- required Boolean
Is this Form Parameter Required?
- type String
The Type of this Form Parameter, such as a
string
.- default
Value String The default value for this Form Parameter.
- description String
A description of this Form Parameter.
- examples List<Property Map>
(Optional) One or more
example
blocks as defined above.- schema
Id String The name of the Schema.
- type
Name String The type name defined by the Schema.
- values List<String>
One or more acceptable values for this Form Parameter.
ApiOperationResponseRepresentationFormParameterExample
- Name string
The name of this example.
- Description string
A long description for this example.
- External
Value string A URL that points to the literal example.
- Summary string
A short description for this example.
- Value string
The example of the representation.
- Name string
The name of this example.
- Description string
A long description for this example.
- External
Value string A URL that points to the literal example.
- Summary string
A short description for this example.
- Value string
The example of the representation.
- name String
The name of this example.
- description String
A long description for this example.
- external
Value String A URL that points to the literal example.
- summary String
A short description for this example.
- value String
The example of the representation.
- name string
The name of this example.
- description string
A long description for this example.
- external
Value string A URL that points to the literal example.
- summary string
A short description for this example.
- value string
The example of the representation.
- name str
The name of this example.
- description str
A long description for this example.
- external_
value str A URL that points to the literal example.
- summary str
A short description for this example.
- value str
The example of the representation.
- name String
The name of this example.
- description String
A long description for this example.
- external
Value String A URL that points to the literal example.
- summary String
A short description for this example.
- value String
The example of the representation.
ApiOperationTemplateParameter
- Name string
The Name of this Template Parameter.
- Required bool
Is this Template Parameter Required?
- Type string
The Type of this Template Parameter, such as a
string
.- Default
Value string The default value for this Template Parameter.
- Description string
A description of this Template Parameter.
- Examples
List<Api
Operation Template Parameter Example> (Optional) One or more
example
blocks as defined above.- Schema
Id string The name of the Schema.
- Type
Name string The type name defined by the Schema.
- Values List<string>
One or more acceptable values for this Template Parameter.
- Name string
The Name of this Template Parameter.
- Required bool
Is this Template Parameter Required?
- Type string
The Type of this Template Parameter, such as a
string
.- Default
Value string The default value for this Template Parameter.
- Description string
A description of this Template Parameter.
- Examples
[]Api
Operation Template Parameter Example (Optional) One or more
example
blocks as defined above.- Schema
Id string The name of the Schema.
- Type
Name string The type name defined by the Schema.
- Values []string
One or more acceptable values for this Template Parameter.
- name String
The Name of this Template Parameter.
- required Boolean
Is this Template Parameter Required?
- type String
The Type of this Template Parameter, such as a
string
.- default
Value String The default value for this Template Parameter.
- description String
A description of this Template Parameter.
- examples
List<Api
Operation Template Parameter Example> (Optional) One or more
example
blocks as defined above.- schema
Id String The name of the Schema.
- type
Name String The type name defined by the Schema.
- values List<String>
One or more acceptable values for this Template Parameter.
- name string
The Name of this Template Parameter.
- required boolean
Is this Template Parameter Required?
- type string
The Type of this Template Parameter, such as a
string
.- default
Value string The default value for this Template Parameter.
- description string
A description of this Template Parameter.
- examples
Api
Operation Template Parameter Example[] (Optional) One or more
example
blocks as defined above.- schema
Id string The name of the Schema.
- type
Name string The type name defined by the Schema.
- values string[]
One or more acceptable values for this Template Parameter.
- name str
The Name of this Template Parameter.
- required bool
Is this Template Parameter Required?
- type str
The Type of this Template Parameter, such as a
string
.- default_
value str The default value for this Template Parameter.
- description str
A description of this Template Parameter.
- examples
Sequence[Api
Operation Template Parameter Example] (Optional) One or more
example
blocks as defined above.- schema_
id str The name of the Schema.
- type_
name str The type name defined by the Schema.
- values Sequence[str]
One or more acceptable values for this Template Parameter.
- name String
The Name of this Template Parameter.
- required Boolean
Is this Template Parameter Required?
- type String
The Type of this Template Parameter, such as a
string
.- default
Value String The default value for this Template Parameter.
- description String
A description of this Template Parameter.
- examples List<Property Map>
(Optional) One or more
example
blocks as defined above.- schema
Id String The name of the Schema.
- type
Name String The type name defined by the Schema.
- values List<String>
One or more acceptable values for this Template Parameter.
ApiOperationTemplateParameterExample
- Name string
The name of this example.
- Description string
A long description for this example.
- External
Value string A URL that points to the literal example.
- Summary string
A short description for this example.
- Value string
The example of the representation.
- Name string
The name of this example.
- Description string
A long description for this example.
- External
Value string A URL that points to the literal example.
- Summary string
A short description for this example.
- Value string
The example of the representation.
- name String
The name of this example.
- description String
A long description for this example.
- external
Value String A URL that points to the literal example.
- summary String
A short description for this example.
- value String
The example of the representation.
- name string
The name of this example.
- description string
A long description for this example.
- external
Value string A URL that points to the literal example.
- summary string
A short description for this example.
- value string
The example of the representation.
- name str
The name of this example.
- description str
A long description for this example.
- external_
value str A URL that points to the literal example.
- summary str
A short description for this example.
- value str
The example of the representation.
- name String
The name of this example.
- description String
A long description for this example.
- external
Value String A URL that points to the literal example.
- summary String
A short description for this example.
- value String
The example of the representation.
Import
API Management API Operation’s can be imported using the resource id
, e.g.
$ pulumi import azure:apimanagement/apiOperation:ApiOperation example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.ApiManagement/service/instance1/apis/api1/operations/operation1
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
azurerm
Terraform Provider.