@pulumi/f5bigip
Version:
A Pulumi package for creating and managing F5 BigIP resources.
98 lines • 5.98 kB
JavaScript
;
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.FastUdpApp = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("./utilities");
/**
* `f5bigip.FastUdpApp` This resource will create and manage FAST UDP applications on BIG-IP from provided JSON declaration.
*/
class FastUdpApp extends pulumi.CustomResource {
/**
* Get an existing FastUdpApp 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 Any extra arguments used during the lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name, id, state, opts) {
return new FastUdpApp(name, state, Object.assign(Object.assign({}, opts), { id: id }));
}
/**
* Returns true if the given object is an instance of FastUdpApp. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj) {
if (obj === undefined || obj === null) {
return false;
}
return obj['__pulumiType'] === FastUdpApp.__pulumiType;
}
constructor(name, argsOrState, opts) {
let resourceInputs = {};
opts = opts || {};
if (opts.id) {
const state = argsOrState;
resourceInputs["application"] = state ? state.application : undefined;
resourceInputs["enableFastl4"] = state ? state.enableFastl4 : undefined;
resourceInputs["existingMonitor"] = state ? state.existingMonitor : undefined;
resourceInputs["existingPool"] = state ? state.existingPool : undefined;
resourceInputs["existingProfile"] = state ? state.existingProfile : undefined;
resourceInputs["existingSnatPool"] = state ? state.existingSnatPool : undefined;
resourceInputs["fallbackPersistence"] = state ? state.fallbackPersistence : undefined;
resourceInputs["fastUdpJson"] = state ? state.fastUdpJson : undefined;
resourceInputs["irules"] = state ? state.irules : undefined;
resourceInputs["loadBalancingMode"] = state ? state.loadBalancingMode : undefined;
resourceInputs["monitor"] = state ? state.monitor : undefined;
resourceInputs["persistenceProfile"] = state ? state.persistenceProfile : undefined;
resourceInputs["persistenceType"] = state ? state.persistenceType : undefined;
resourceInputs["poolMembers"] = state ? state.poolMembers : undefined;
resourceInputs["securityLogProfiles"] = state ? state.securityLogProfiles : undefined;
resourceInputs["slowRampTime"] = state ? state.slowRampTime : undefined;
resourceInputs["snatPoolAddresses"] = state ? state.snatPoolAddresses : undefined;
resourceInputs["tenant"] = state ? state.tenant : undefined;
resourceInputs["virtualServer"] = state ? state.virtualServer : undefined;
resourceInputs["vlansAlloweds"] = state ? state.vlansAlloweds : undefined;
resourceInputs["vlansRejecteds"] = state ? state.vlansRejecteds : undefined;
}
else {
const args = argsOrState;
if ((!args || args.application === undefined) && !opts.urn) {
throw new Error("Missing required property 'application'");
}
if ((!args || args.tenant === undefined) && !opts.urn) {
throw new Error("Missing required property 'tenant'");
}
resourceInputs["application"] = args ? args.application : undefined;
resourceInputs["enableFastl4"] = args ? args.enableFastl4 : undefined;
resourceInputs["existingMonitor"] = args ? args.existingMonitor : undefined;
resourceInputs["existingPool"] = args ? args.existingPool : undefined;
resourceInputs["existingProfile"] = args ? args.existingProfile : undefined;
resourceInputs["existingSnatPool"] = args ? args.existingSnatPool : undefined;
resourceInputs["fallbackPersistence"] = args ? args.fallbackPersistence : undefined;
resourceInputs["irules"] = args ? args.irules : undefined;
resourceInputs["loadBalancingMode"] = args ? args.loadBalancingMode : undefined;
resourceInputs["monitor"] = args ? args.monitor : undefined;
resourceInputs["persistenceProfile"] = args ? args.persistenceProfile : undefined;
resourceInputs["persistenceType"] = args ? args.persistenceType : undefined;
resourceInputs["poolMembers"] = args ? args.poolMembers : undefined;
resourceInputs["securityLogProfiles"] = args ? args.securityLogProfiles : undefined;
resourceInputs["slowRampTime"] = args ? args.slowRampTime : undefined;
resourceInputs["snatPoolAddresses"] = args ? args.snatPoolAddresses : undefined;
resourceInputs["tenant"] = args ? args.tenant : undefined;
resourceInputs["virtualServer"] = args ? args.virtualServer : undefined;
resourceInputs["vlansAlloweds"] = args ? args.vlansAlloweds : undefined;
resourceInputs["vlansRejecteds"] = args ? args.vlansRejecteds : undefined;
resourceInputs["fastUdpJson"] = undefined /*out*/;
}
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
super(FastUdpApp.__pulumiType, name, resourceInputs, opts);
}
}
exports.FastUdpApp = FastUdpApp;
/** @internal */
FastUdpApp.__pulumiType = 'f5bigip:index/fastUdpApp:FastUdpApp';
//# sourceMappingURL=fastUdpApp.js.map