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.
* <!--End PulumiCodeChooser -->
*
* ## Import
*
* Stream Analytics Outputs to Blob Storage can be imported using the `resource id`, e.g.
*
* ```sh
* $ pulumi import azure:streamanalytics/outputBlob:OutputBlob example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.StreamAnalytics/streamingJobs/job1/outputs/output1
* ```
*
*/
@ResourceType(type="azure:streamanalytics/outputBlob:OutputBlob")
public class OutputBlob extends com.pulumi.resources.CustomResource {
/**
* The authentication mode for the Stream Output. Possible values are `Msi` and `ConnectionString`. Defaults to `ConnectionString`.
*
*/
@Export(name="authenticationMode", refs={String.class}, tree="[0]")
private Output* @Nullable */ String> authenticationMode;
/**
* @return The authentication mode for the Stream Output. Possible values are `Msi` and `ConnectionString`. Defaults to `ConnectionString`.
*
*/
public Output> authenticationMode() {
return Codegen.optional(this.authenticationMode);
}
/**
* The maximum wait time per batch in `hh:mm:ss` e.g. `00:02:00` for two minutes.
*
*/
@Export(name="batchMaxWaitTime", refs={String.class}, tree="[0]")
private Output* @Nullable */ String> batchMaxWaitTime;
/**
* @return The maximum wait time per batch in `hh:mm:ss` e.g. `00:02:00` for two minutes.
*
*/
public Output> batchMaxWaitTime() {
return Codegen.optional(this.batchMaxWaitTime);
}
/**
* The minimum number of rows per batch (must be between `0` and `1000000`).
*
*/
@Export(name="batchMinRows", refs={Integer.class}, tree="[0]")
private Output* @Nullable */ Integer> batchMinRows;
/**
* @return The minimum number of rows per batch (must be between `0` and `1000000`).
*
*/
public Output> batchMinRows() {
return Codegen.optional(this.batchMinRows);
}
/**
* Determines whether blob blocks are either committed automatically or appended. Possible values are `Append` and `Once`. Defaults to `Append`.
*
*/
@Export(name="blobWriteMode", refs={String.class}, tree="[0]")
private Output* @Nullable */ String> blobWriteMode;
/**
* @return Determines whether blob blocks are either committed automatically or appended. Possible values are `Append` and `Once`. Defaults to `Append`.
*
*/
public Output> blobWriteMode() {
return Codegen.optional(this.blobWriteMode);
}
/**
* The date format. Wherever `{date}` appears in `path_pattern`, the value of this property is used as the date format instead.
*
*/
@Export(name="dateFormat", refs={String.class}, tree="[0]")
private Output dateFormat;
/**
* @return The date format. Wherever `{date}` appears in `path_pattern`, the value of this property is used as the date format instead.
*
*/
public Output dateFormat() {
return this.dateFormat;
}
/**
* The name of the Stream Output. Changing this forces a new resource to be created.
*
*/
@Export(name="name", refs={String.class}, tree="[0]")
private Output name;
/**
* @return The name of the Stream Output. Changing this forces a new resource to be created.
*
*/
public Output name() {
return this.name;
}
/**
* The blob path pattern. Not a regular expression. It represents a pattern against which blob names will be matched to determine whether or not they should be included as input or output to the job.
*
*/
@Export(name="pathPattern", refs={String.class}, tree="[0]")
private Output pathPattern;
/**
* @return The blob path pattern. Not a regular expression. It represents a pattern against which blob names will be matched to determine whether or not they should be included as input or output to the job.
*
*/
public Output pathPattern() {
return this.pathPattern;
}
/**
* The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.
*
*/
@Export(name="resourceGroupName", refs={String.class}, tree="[0]")
private Output resourceGroupName;
/**
* @return The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.
*
*/
public Output resourceGroupName() {
return this.resourceGroupName;
}
/**
* A `serialization` block as defined below.
*
*/
@Export(name="serialization", refs={OutputBlobSerialization.class}, tree="[0]")
private Output serialization;
/**
* @return A `serialization` block as defined below.
*
*/
public Output serialization() {
return this.serialization;
}
/**
* The Access Key which should be used to connect to this Storage Account.
*
*/
@Export(name="storageAccountKey", refs={String.class}, tree="[0]")
private Output* @Nullable */ String> storageAccountKey;
/**
* @return The Access Key which should be used to connect to this Storage Account.
*
*/
public Output> storageAccountKey() {
return Codegen.optional(this.storageAccountKey);
}
/**
* The name of the Storage Account.
*
*/
@Export(name="storageAccountName", refs={String.class}, tree="[0]")
private Output storageAccountName;
/**
* @return The name of the Storage Account.
*
*/
public Output storageAccountName() {
return this.storageAccountName;
}
/**
* The name of the Container within the Storage Account.
*
*/
@Export(name="storageContainerName", refs={String.class}, tree="[0]")
private Output storageContainerName;
/**
* @return The name of the Container within the Storage Account.
*
*/
public Output storageContainerName() {
return this.storageContainerName;
}
/**
* The name of the Stream Analytics Job. Changing this forces a new resource to be created.
*
*/
@Export(name="streamAnalyticsJobName", refs={String.class}, tree="[0]")
private Output streamAnalyticsJobName;
/**
* @return The name of the Stream Analytics Job. Changing this forces a new resource to be created.
*
*/
public Output streamAnalyticsJobName() {
return this.streamAnalyticsJobName;
}
/**
* The time format. Wherever `{time}` appears in `path_pattern`, the value of this property is used as the time format instead.
*
*/
@Export(name="timeFormat", refs={String.class}, tree="[0]")
private Output timeFormat;
/**
* @return The time format. Wherever `{time}` appears in `path_pattern`, the value of this property is used as the time format instead.
*
*/
public Output timeFormat() {
return this.timeFormat;
}
/**
*
* @param name The _unique_ name of the resulting resource.
*/
public OutputBlob(java.lang.String name) {
this(name, OutputBlobArgs.Empty);
}
/**
*
* @param name The _unique_ name of the resulting resource.
* @param args The arguments to use to populate this resource's properties.
*/
public OutputBlob(java.lang.String name, OutputBlobArgs 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 OutputBlob(java.lang.String name, OutputBlobArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) {
super("azure:streamanalytics/outputBlob:OutputBlob", name, makeArgs(args, options), makeResourceOptions(options, Codegen.empty()), false);
}
private OutputBlob(java.lang.String name, Output id, @Nullable OutputBlobState state, @Nullable com.pulumi.resources.CustomResourceOptions options) {
super("azure:streamanalytics/outputBlob:OutputBlob", name, state, makeResourceOptions(options, id), false);
}
private static OutputBlobArgs makeArgs(OutputBlobArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) {
if (options != null && options.getUrn().isPresent()) {
return null;
}
return args == null ? OutputBlobArgs.Empty : args;
}
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())
.additionalSecretOutputs(List.of(
"storageAccountKey"
))
.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 OutputBlob get(java.lang.String name, Output id, @Nullable OutputBlobState state, @Nullable com.pulumi.resources.CustomResourceOptions options) {
return new OutputBlob(name, id, state, options);
}
}