Azure Native v1.103.0, Jun 2 23
Azure Native v1.103.0, Jun 2 23
azure-native.kusto.getScript
Explore with Pulumi AI
Gets a Kusto cluster database script. API Version: 2021-01-01.
Using getScript
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getScript(args: GetScriptArgs, opts?: InvokeOptions): Promise<GetScriptResult>
function getScriptOutput(args: GetScriptOutputArgs, opts?: InvokeOptions): Output<GetScriptResult>
def get_script(cluster_name: Optional[str] = None,
database_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
script_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetScriptResult
def get_script_output(cluster_name: Optional[pulumi.Input[str]] = None,
database_name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
script_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetScriptResult]
func LookupScript(ctx *Context, args *LookupScriptArgs, opts ...InvokeOption) (*LookupScriptResult, error)
func LookupScriptOutput(ctx *Context, args *LookupScriptOutputArgs, opts ...InvokeOption) LookupScriptResultOutput
> Note: This function is named LookupScript
in the Go SDK.
public static class GetScript
{
public static Task<GetScriptResult> InvokeAsync(GetScriptArgs args, InvokeOptions? opts = null)
public static Output<GetScriptResult> Invoke(GetScriptInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetScriptResult> getScript(GetScriptArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:kusto:getScript
arguments:
# arguments dictionary
The following arguments are supported:
- Cluster
Name string The name of the Kusto cluster.
- Database
Name string The name of the database in the Kusto cluster.
- Resource
Group stringName The name of the resource group containing the Kusto cluster.
- Script
Name string The name of the Kusto database script.
- Cluster
Name string The name of the Kusto cluster.
- Database
Name string The name of the database in the Kusto cluster.
- Resource
Group stringName The name of the resource group containing the Kusto cluster.
- Script
Name string The name of the Kusto database script.
- cluster
Name String The name of the Kusto cluster.
- database
Name String The name of the database in the Kusto cluster.
- resource
Group StringName The name of the resource group containing the Kusto cluster.
- script
Name String The name of the Kusto database script.
- cluster
Name string The name of the Kusto cluster.
- database
Name string The name of the database in the Kusto cluster.
- resource
Group stringName The name of the resource group containing the Kusto cluster.
- script
Name string The name of the Kusto database script.
- cluster_
name str The name of the Kusto cluster.
- database_
name str The name of the database in the Kusto cluster.
- resource_
group_ strname The name of the resource group containing the Kusto cluster.
- script_
name str The name of the Kusto database script.
- cluster
Name String The name of the Kusto cluster.
- database
Name String The name of the database in the Kusto cluster.
- resource
Group StringName The name of the resource group containing the Kusto cluster.
- script
Name String The name of the Kusto database script.
getScript Result
The following output properties are available:
- Id string
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- Name string
The name of the resource
- Provisioning
State string The provisioned state of the resource.
- Script
Url string The url to the KQL script blob file.
- System
Data Pulumi.Azure Native. Kusto. Outputs. System Data Response Metadata pertaining to creation and last modification of the resource.
- Type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Continue
On boolErrors Flag that indicates whether to continue if one of the command fails.
- Force
Update stringTag A unique string. If changed the script will be applied again.
- Id string
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- Name string
The name of the resource
- Provisioning
State string The provisioned state of the resource.
- Script
Url string The url to the KQL script blob file.
- System
Data SystemData Response Metadata pertaining to creation and last modification of the resource.
- Type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Continue
On boolErrors Flag that indicates whether to continue if one of the command fails.
- Force
Update stringTag A unique string. If changed the script will be applied again.
- id String
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name String
The name of the resource
- provisioning
State String The provisioned state of the resource.
- script
Url String The url to the KQL script blob file.
- system
Data SystemData Response Metadata pertaining to creation and last modification of the resource.
- type String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- continue
On BooleanErrors Flag that indicates whether to continue if one of the command fails.
- force
Update StringTag A unique string. If changed the script will be applied again.
- id string
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name string
The name of the resource
- provisioning
State string The provisioned state of the resource.
- script
Url string The url to the KQL script blob file.
- system
Data SystemData Response Metadata pertaining to creation and last modification of the resource.
- type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- continue
On booleanErrors Flag that indicates whether to continue if one of the command fails.
- force
Update stringTag A unique string. If changed the script will be applied again.
- id str
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name str
The name of the resource
- provisioning_
state str The provisioned state of the resource.
- script_
url str The url to the KQL script blob file.
- system_
data SystemData Response Metadata pertaining to creation and last modification of the resource.
- type str
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- continue_
on_ boolerrors Flag that indicates whether to continue if one of the command fails.
- force_
update_ strtag A unique string. If changed the script will be applied again.
- id String
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name String
The name of the resource
- provisioning
State String The provisioned state of the resource.
- script
Url String The url to the KQL script blob file.
- system
Data Property Map Metadata pertaining to creation and last modification of the resource.
- type String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- continue
On BooleanErrors Flag that indicates whether to continue if one of the command fails.
- force
Update StringTag A unique string. If changed the script will be applied again.
Supporting Types
SystemDataResponse
- Created
At string The timestamp of resource creation (UTC).
- Created
By string The identity that created the resource.
- Created
By stringType The type of identity that created the resource.
- Last
Modified stringAt The timestamp of resource last modification (UTC)
- Last
Modified stringBy The identity that last modified the resource.
- Last
Modified stringBy Type The type of identity that last modified the resource.
- Created
At string The timestamp of resource creation (UTC).
- Created
By string The identity that created the resource.
- Created
By stringType The type of identity that created the resource.
- Last
Modified stringAt The timestamp of resource last modification (UTC)
- Last
Modified stringBy The identity that last modified the resource.
- Last
Modified stringBy Type The type of identity that last modified the resource.
- created
At String The timestamp of resource creation (UTC).
- created
By String The identity that created the resource.
- created
By StringType The type of identity that created the resource.
- last
Modified StringAt The timestamp of resource last modification (UTC)
- last
Modified StringBy The identity that last modified the resource.
- last
Modified StringBy Type The type of identity that last modified the resource.
- created
At string The timestamp of resource creation (UTC).
- created
By string The identity that created the resource.
- created
By stringType The type of identity that created the resource.
- last
Modified stringAt The timestamp of resource last modification (UTC)
- last
Modified stringBy The identity that last modified the resource.
- last
Modified stringBy Type The type of identity that last modified the resource.
- created_
at str The timestamp of resource creation (UTC).
- created_
by str The identity that created the resource.
- created_
by_ strtype The type of identity that created the resource.
- last_
modified_ strat The timestamp of resource last modification (UTC)
- last_
modified_ strby The identity that last modified the resource.
- last_
modified_ strby_ type The type of identity that last modified the resource.
- created
At String The timestamp of resource creation (UTC).
- created
By String The identity that created the resource.
- created
By StringType The type of identity that created the resource.
- last
Modified StringAt The timestamp of resource last modification (UTC)
- last
Modified StringBy The identity that last modified the resource.
- last
Modified StringBy Type The type of identity that last modified the resource.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0