共用方式為


KustoScriptCollection Class

Definition

A class representing a collection of KustoScriptResource and their operations. Each KustoScriptResource in the collection will belong to the same instance of KustoDatabaseResource. To get a KustoScriptCollection instance call the GetKustoScripts method from an instance of KustoDatabaseResource.

public class KustoScriptCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.Kusto.KustoScriptResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Kusto.KustoScriptResource>
type KustoScriptCollection = class
    inherit ArmCollection
    interface seq<KustoScriptResource>
    interface IEnumerable
    interface IAsyncEnumerable<KustoScriptResource>
Public Class KustoScriptCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of KustoScriptResource), IEnumerable(Of KustoScriptResource)
Inheritance
KustoScriptCollection
Implements

Constructors

KustoScriptCollection()

Initializes a new instance of the KustoScriptCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

CreateOrUpdate(WaitUntil, String, KustoScriptData, CancellationToken)

Creates a Kusto database script.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/scripts/{scriptName}
  • Operation Id: Scripts_CreateOrUpdate
CreateOrUpdateAsync(WaitUntil, String, KustoScriptData, CancellationToken)

Creates a Kusto database script.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/scripts/{scriptName}
  • Operation Id: Scripts_CreateOrUpdate
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/scripts/{scriptName}
  • Operation Id: Scripts_Get
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/scripts/{scriptName}
  • Operation Id: Scripts_Get
Get(String, CancellationToken)

Gets a Kusto cluster database script.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/scripts/{scriptName}
  • Operation Id: Scripts_Get
GetAll(CancellationToken)

Returns the list of database scripts for given database.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/scripts
  • Operation Id: Scripts_ListByDatabase
GetAllAsync(CancellationToken)

Returns the list of database scripts for given database.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/scripts
  • Operation Id: Scripts_ListByDatabase
GetAsync(String, CancellationToken)

Gets a Kusto cluster database script.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/scripts/{scriptName}
  • Operation Id: Scripts_Get
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/scripts/{scriptName}
  • Operation Id: Scripts_Get
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/scripts/{scriptName}
  • Operation Id: Scripts_Get
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<KustoScriptResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<KustoScriptResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to