Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.ise.networkaccess;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Export;
import com.pulumi.core.annotations.ResourceType;
import com.pulumi.core.internal.Codegen;
import com.pulumi.ise.Utilities;
import com.pulumi.ise.networkaccess.PolicySetArgs;
import com.pulumi.ise.networkaccess.inputs.PolicySetState;
import com.pulumi.ise.networkaccess.outputs.PolicySetChildren;
import java.lang.Boolean;
import java.lang.Integer;
import java.lang.String;
import java.util.List;
import java.util.Optional;
import javax.annotation.Nullable;
/**
* This resource can manage a Network Access Policy Set.
*
* ## Example Usage
*
* <!--Start PulumiCodeChooser -->
*
* <!--End PulumiCodeChooser -->
*
* ## Import
*
* ```sh
* $ pulumi import ise:networkaccess/policySet:PolicySet example "76d24097-41c4-4558-a4d0-a8c07ac08470"
* ```
*
*/
@ResourceType(type="ise:networkaccess/policySet:PolicySet")
public class PolicySet extends com.pulumi.resources.CustomResource {
/**
* List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`.
*
*/
@Export(name="childrens", refs={List.class,PolicySetChildren.class}, tree="[0,1]")
private Output* @Nullable */ List> childrens;
/**
* @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`.
*
*/
public Output>> childrens() {
return Codegen.optional(this.childrens);
}
/**
* Dictionary attribute name
*
*/
@Export(name="conditionAttributeName", refs={String.class}, tree="[0]")
private Output* @Nullable */ String> conditionAttributeName;
/**
* @return Dictionary attribute name
*
*/
public Output> conditionAttributeName() {
return Codegen.optional(this.conditionAttributeName);
}
/**
* Attribute value for condition. Value type is specified in dictionary object.
*
*/
@Export(name="conditionAttributeValue", refs={String.class}, tree="[0]")
private Output* @Nullable */ String> conditionAttributeValue;
/**
* @return Attribute value for condition. Value type is specified in dictionary object.
*
*/
public Output> conditionAttributeValue() {
return Codegen.optional(this.conditionAttributeValue);
}
/**
* Dictionary name
*
*/
@Export(name="conditionDictionaryName", refs={String.class}, tree="[0]")
private Output* @Nullable */ String> conditionDictionaryName;
/**
* @return Dictionary name
*
*/
public Output> conditionDictionaryName() {
return Codegen.optional(this.conditionDictionaryName);
}
/**
* Dictionary value
*
*/
@Export(name="conditionDictionaryValue", refs={String.class}, tree="[0]")
private Output* @Nullable */ String> conditionDictionaryValue;
/**
* @return Dictionary value
*
*/
public Output> conditionDictionaryValue() {
return Codegen.optional(this.conditionDictionaryValue);
}
/**
* UUID for condition
*
*/
@Export(name="conditionId", refs={String.class}, tree="[0]")
private Output* @Nullable */ String> conditionId;
/**
* @return UUID for condition
*
*/
public Output> conditionId() {
return Codegen.optional(this.conditionId);
}
/**
* Indicates whereas this condition is in negate mode
*
*/
@Export(name="conditionIsNegate", refs={Boolean.class}, tree="[0]")
private Output* @Nullable */ Boolean> conditionIsNegate;
/**
* @return Indicates whereas this condition is in negate mode
*
*/
public Output> conditionIsNegate() {
return Codegen.optional(this.conditionIsNegate);
}
/**
* Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`,
* `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`,
* `notEquals`, `notIn`, `notStartsWith`, `startsWith`
*
*/
@Export(name="conditionOperator", refs={String.class}, tree="[0]")
private Output* @Nullable */ String> conditionOperator;
/**
* @return Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`,
* `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`,
* `notEquals`, `notIn`, `notStartsWith`, `startsWith`
*
*/
public Output> conditionOperator() {
return Codegen.optional(this.conditionOperator);
}
/**
* Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that
* additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`,
* `ConditionOrBlock`, `ConditionReference`
*
*/
@Export(name="conditionType", refs={String.class}, tree="[0]")
private Output* @Nullable */ String> conditionType;
/**
* @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that
* additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`,
* `ConditionOrBlock`, `ConditionReference`
*
*/
public Output> conditionType() {
return Codegen.optional(this.conditionType);
}
/**
* Indicates if this policy set is the default one
*
*/
@Export(name="default", refs={Boolean.class}, tree="[0]")
private Output* @Nullable */ Boolean> default_;
/**
* @return Indicates if this policy set is the default one
*
*/
public Output> default_() {
return Codegen.optional(this.default_);
}
/**
* The description of the policy set
*
*/
@Export(name="description", refs={String.class}, tree="[0]")
private Output description;
/**
* @return The description of the policy set
*
*/
public Output description() {
return this.description;
}
/**
* Flag which indicates if the policy set service is of type 'Proxy Sequence' or 'Allowed Protocols'
*
*/
@Export(name="isProxy", refs={Boolean.class}, tree="[0]")
private Output* @Nullable */ Boolean> isProxy;
/**
* @return Flag which indicates if the policy set service is of type 'Proxy Sequence' or 'Allowed Protocols'
*
*/
public Output> isProxy() {
return Codegen.optional(this.isProxy);
}
/**
* Given name for the policy set, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses]
*
*/
@Export(name="name", refs={String.class}, tree="[0]")
private Output name;
/**
* @return Given name for the policy set, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses]
*
*/
public Output name() {
return this.name;
}
/**
* The rank (priority) in relation to other policy sets. Lower rank is higher priority.
*
*/
@Export(name="rank", refs={Integer.class}, tree="[0]")
private Output rank;
/**
* @return The rank (priority) in relation to other policy sets. Lower rank is higher priority.
*
*/
public Output rank() {
return this.rank;
}
/**
* Policy set service identifier. 'Allowed Protocols' or 'Server Sequence'.
*
*/
@Export(name="serviceName", refs={String.class}, tree="[0]")
private Output serviceName;
/**
* @return Policy set service identifier. 'Allowed Protocols' or 'Server Sequence'.
*
*/
public Output serviceName() {
return this.serviceName;
}
/**
* The state that the policy set is in. A disabled policy set cannot be matched. - Choices: `disabled`, `enabled`,
* `monitor`
*
*/
@Export(name="state", refs={String.class}, tree="[0]")
private Output* @Nullable */ String> state;
/**
* @return The state that the policy set is in. A disabled policy set cannot be matched. - Choices: `disabled`, `enabled`,
* `monitor`
*
*/
public Output> state() {
return Codegen.optional(this.state);
}
/**
*
* @param name The _unique_ name of the resulting resource.
*/
public PolicySet(String name) {
this(name, PolicySetArgs.Empty);
}
/**
*
* @param name The _unique_ name of the resulting resource.
* @param args The arguments to use to populate this resource's properties.
*/
public PolicySet(String name, PolicySetArgs args) {
this(name, args, null);
}
/**
*
* @param name The _unique_ name of the resulting resource.
* @param args The arguments to use to populate this resource's properties.
* @param options A bag of options that control this resource's behavior.
*/
public PolicySet(String name, PolicySetArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) {
super("ise:networkaccess/policySet:PolicySet", name, args == null ? PolicySetArgs.Empty : args, makeResourceOptions(options, Codegen.empty()));
}
private PolicySet(String name, Output id, @Nullable PolicySetState state, @Nullable com.pulumi.resources.CustomResourceOptions options) {
super("ise:networkaccess/policySet:PolicySet", name, state, makeResourceOptions(options, id));
}
private static com.pulumi.resources.CustomResourceOptions makeResourceOptions(@Nullable com.pulumi.resources.CustomResourceOptions options, @Nullable Output id) {
var defaultOptions = com.pulumi.resources.CustomResourceOptions.builder()
.version(Utilities.getVersion())
.build();
return com.pulumi.resources.CustomResourceOptions.merge(defaultOptions, options, id);
}
/**
* Get an existing Host resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param state
* @param options Optional settings to control the behavior of the CustomResource.
*/
public static PolicySet get(String name, Output id, @Nullable PolicySetState state, @Nullable com.pulumi.resources.CustomResourceOptions options) {
return new PolicySet(name, id, state, options);
}
}