azure-docs-sdk-java/docs-ref-autogen/com.azure.resourcemanager.r...

55 строки
4.2 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.resources.models.PolicyDefinition.DefinitionStages.WithParameters"
fullName: "com.azure.resourcemanager.resources.models.PolicyDefinition.DefinitionStages.WithParameters"
name: "PolicyDefinition.DefinitionStages.WithParameters"
nameWithType: "PolicyDefinition.DefinitionStages.WithParameters"
summary: "A policy definition allowing parameters to be set."
syntax: "public static interface **PolicyDefinition.DefinitionStages.WithParameters**"
methods:
- uid: "com.azure.resourcemanager.resources.models.PolicyDefinition.DefinitionStages.WithParameters.withParameter(java.lang.String,com.azure.resourcemanager.resources.models.ParameterDefinitionsValue)"
fullName: "com.azure.resourcemanager.resources.models.PolicyDefinition.DefinitionStages.WithParameters.withParameter(String name, ParameterDefinitionsValue definition)"
name: "withParameter(String name, ParameterDefinitionsValue definition)"
nameWithType: "PolicyDefinition.DefinitionStages.WithParameters.withParameter(String name, ParameterDefinitionsValue definition)"
summary: "Specifies the parameters of the policy."
modifiers:
- "abstract"
parameters:
- description: "the name of the parameter"
name: "name"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "the definition of the parameter"
name: "definition"
type: "<xref href=\"com.azure.resourcemanager.resources.models.ParameterDefinitionsValue?alt=com.azure.resourcemanager.resources.models.ParameterDefinitionsValue&text=ParameterDefinitionsValue\" data-throw-if-not-resolved=\"False\" />"
syntax: "public abstract PolicyDefinition.DefinitionStages.WithCreate withParameter(String name, ParameterDefinitionsValue definition)"
desc: "Specifies the parameters of the policy."
returns:
description: "the next stage of policy definition"
type: "<xref href=\"com.azure.resourcemanager.resources.models.PolicyDefinition.DefinitionStages.WithCreate?alt=com.azure.resourcemanager.resources.models.PolicyDefinition.DefinitionStages.WithCreate&text=WithCreate\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.resources.models.PolicyDefinition.DefinitionStages.WithParameters.withParameter(java.lang.String,com.azure.resourcemanager.resources.models.ParameterType,java.lang.Object)"
fullName: "com.azure.resourcemanager.resources.models.PolicyDefinition.DefinitionStages.WithParameters.withParameter(String name, ParameterType parameterType, Object defaultValue)"
name: "withParameter(String name, ParameterType parameterType, Object defaultValue)"
nameWithType: "PolicyDefinition.DefinitionStages.WithParameters.withParameter(String name, ParameterType parameterType, Object defaultValue)"
summary: "Specifies the parameters of the policy."
modifiers:
- "abstract"
parameters:
- description: "the name of the parameter"
name: "name"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "the type of the parameter"
name: "parameterType"
type: "<xref href=\"com.azure.resourcemanager.resources.models.ParameterType?alt=com.azure.resourcemanager.resources.models.ParameterType&text=ParameterType\" data-throw-if-not-resolved=\"False\" />"
- description: "the default value of the parameter"
name: "defaultValue"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
syntax: "public abstract PolicyDefinition.DefinitionStages.WithCreate withParameter(String name, ParameterType parameterType, Object defaultValue)"
desc: "Specifies the parameters of the policy."
returns:
description: "the next stage of policy definition"
type: "<xref href=\"com.azure.resourcemanager.resources.models.PolicyDefinition.DefinitionStages.WithCreate?alt=com.azure.resourcemanager.resources.models.PolicyDefinition.DefinitionStages.WithCreate&text=WithCreate\" data-throw-if-not-resolved=\"False\" />"
type: "interface"
desc: "A policy definition allowing parameters to be set."
metadata: {}
package: "com.azure.resourcemanager.resources.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-resources:2.42.0