All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azure.compute.inputs.PacketCaptureStorageLocationArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.

There is a newer version: 6.10.0-alpha.1731737215
Show newest version
// *** 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.azure.compute.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class PacketCaptureStorageLocationArgs extends com.pulumi.resources.ResourceArgs {

    public static final PacketCaptureStorageLocationArgs Empty = new PacketCaptureStorageLocationArgs();

    /**
     * A valid local path on the target Virtual Machine. Must include the name of the capture file (*.cap). For Linux Virtual Machines it must start with `/var/captures`.
     * 
     */
    @Import(name="filePath")
    private @Nullable Output filePath;

    /**
     * @return A valid local path on the target Virtual Machine. Must include the name of the capture file (*.cap). For Linux Virtual Machines it must start with `/var/captures`.
     * 
     */
    public Optional> filePath() {
        return Optional.ofNullable(this.filePath);
    }

    /**
     * The ID of the storage account where the packet capture sessions should be saved to.
     * 
     * > **NOTE:** At least one of `file_path` or `storage_account_id` must be specified.
     * 
     */
    @Import(name="storageAccountId")
    private @Nullable Output storageAccountId;

    /**
     * @return The ID of the storage account where the packet capture sessions should be saved to.
     * 
     * > **NOTE:** At least one of `file_path` or `storage_account_id` must be specified.
     * 
     */
    public Optional> storageAccountId() {
        return Optional.ofNullable(this.storageAccountId);
    }

    /**
     * The URI of the storage path where the packet capture sessions are saved to.
     * 
     */
    @Import(name="storagePath")
    private @Nullable Output storagePath;

    /**
     * @return The URI of the storage path where the packet capture sessions are saved to.
     * 
     */
    public Optional> storagePath() {
        return Optional.ofNullable(this.storagePath);
    }

    private PacketCaptureStorageLocationArgs() {}

    private PacketCaptureStorageLocationArgs(PacketCaptureStorageLocationArgs $) {
        this.filePath = $.filePath;
        this.storageAccountId = $.storageAccountId;
        this.storagePath = $.storagePath;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(PacketCaptureStorageLocationArgs defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private PacketCaptureStorageLocationArgs $;

        public Builder() {
            $ = new PacketCaptureStorageLocationArgs();
        }

        public Builder(PacketCaptureStorageLocationArgs defaults) {
            $ = new PacketCaptureStorageLocationArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param filePath A valid local path on the target Virtual Machine. Must include the name of the capture file (*.cap). For Linux Virtual Machines it must start with `/var/captures`.
         * 
         * @return builder
         * 
         */
        public Builder filePath(@Nullable Output filePath) {
            $.filePath = filePath;
            return this;
        }

        /**
         * @param filePath A valid local path on the target Virtual Machine. Must include the name of the capture file (*.cap). For Linux Virtual Machines it must start with `/var/captures`.
         * 
         * @return builder
         * 
         */
        public Builder filePath(String filePath) {
            return filePath(Output.of(filePath));
        }

        /**
         * @param storageAccountId The ID of the storage account where the packet capture sessions should be saved to.
         * 
         * > **NOTE:** At least one of `file_path` or `storage_account_id` must be specified.
         * 
         * @return builder
         * 
         */
        public Builder storageAccountId(@Nullable Output storageAccountId) {
            $.storageAccountId = storageAccountId;
            return this;
        }

        /**
         * @param storageAccountId The ID of the storage account where the packet capture sessions should be saved to.
         * 
         * > **NOTE:** At least one of `file_path` or `storage_account_id` must be specified.
         * 
         * @return builder
         * 
         */
        public Builder storageAccountId(String storageAccountId) {
            return storageAccountId(Output.of(storageAccountId));
        }

        /**
         * @param storagePath The URI of the storage path where the packet capture sessions are saved to.
         * 
         * @return builder
         * 
         */
        public Builder storagePath(@Nullable Output storagePath) {
            $.storagePath = storagePath;
            return this;
        }

        /**
         * @param storagePath The URI of the storage path where the packet capture sessions are saved to.
         * 
         * @return builder
         * 
         */
        public Builder storagePath(String storagePath) {
            return storagePath(Output.of(storagePath));
        }

        public PacketCaptureStorageLocationArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy