Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@ import {
} from "../models";

/** Class containing SubscriptionInCredentials operations. */
export class SubscriptionInCredentialsImpl
implements SubscriptionInCredentials
{
export class SubscriptionInCredentialsImpl implements SubscriptionInCredentials {
private readonly client: AzureSpecialPropertiesClient;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3712,8 +3712,7 @@ export interface PrivateEndpointConnectionResource extends SubResource {
}

/** Private Endpoint Connection Approval ARM resource. */
export interface PrivateLinkConnectionApprovalRequestResource
extends SubResource {
export interface PrivateLinkConnectionApprovalRequestResource extends SubResource {
/** Core resource properties */
properties?: PrivateLinkConnectionApprovalRequest;
}
Expand All @@ -3731,8 +3730,7 @@ export interface CredentialResource extends SubResource {
}

/** Managed integration runtime status. */
export interface ManagedIntegrationRuntimeStatus
extends IntegrationRuntimeStatus {
export interface ManagedIntegrationRuntimeStatus extends IntegrationRuntimeStatus {
/** Polymorphic discriminator, which specifies the different types this object can be */
type: "Managed";
/**
Expand All @@ -3758,8 +3756,7 @@ export interface ManagedIntegrationRuntimeStatus
}

/** Self-hosted integration runtime status. */
export interface SelfHostedIntegrationRuntimeStatus
extends IntegrationRuntimeStatus {
export interface SelfHostedIntegrationRuntimeStatus extends IntegrationRuntimeStatus {
/** Polymorphic discriminator, which specifies the different types this object can be */
type: "SelfHosted";
/**
Expand Down Expand Up @@ -7166,8 +7163,7 @@ export interface WranglingDataFlow extends DataFlow {
}

/** Integration runtime debug resource. */
export interface IntegrationRuntimeDebugResource
extends SubResourceDebugResource {
export interface IntegrationRuntimeDebugResource extends SubResourceDebugResource {
/** Integration runtime properties. */
properties: IntegrationRuntimeUnion;
}
Expand Down Expand Up @@ -7493,26 +7489,23 @@ export interface AzPowerShellSetup extends CustomSetupBase {
}

/** The key authorization type integration runtime. */
export interface LinkedIntegrationRuntimeKeyAuthorization
extends LinkedIntegrationRuntimeType {
export interface LinkedIntegrationRuntimeKeyAuthorization extends LinkedIntegrationRuntimeType {
/** Polymorphic discriminator, which specifies the different types this object can be */
authorizationType: "Key";
/** The key used for authorization. */
key: SecureString;
}

/** The role based access control (RBAC) authorization type integration runtime. */
export interface LinkedIntegrationRuntimeRbacAuthorization
extends LinkedIntegrationRuntimeType {
export interface LinkedIntegrationRuntimeRbacAuthorization extends LinkedIntegrationRuntimeType {
/** Polymorphic discriminator, which specifies the different types this object can be */
authorizationType: "RBAC";
/** The resource identifier of the integration runtime to be shared. */
resourceId: string;
}

/** A WebLinkedService that uses anonymous authentication to communicate with an HTTP endpoint. */
export interface WebAnonymousAuthentication
extends WebLinkedServiceTypeProperties {
export interface WebAnonymousAuthentication extends WebLinkedServiceTypeProperties {
/** Polymorphic discriminator, which specifies the different types this object can be */
authenticationType: "Anonymous";
}
Expand All @@ -7528,8 +7521,7 @@ export interface WebBasicAuthentication extends WebLinkedServiceTypeProperties {
}

/** A WebLinkedService that uses client certificate based authentication to communicate with an HTTP endpoint. This scheme follows mutual authentication; the server must also provide valid credentials to the client. */
export interface WebClientCertificateAuthentication
extends WebLinkedServiceTypeProperties {
export interface WebClientCertificateAuthentication extends WebLinkedServiceTypeProperties {
/** Polymorphic discriminator, which specifies the different types this object can be */
authenticationType: "ClientCertificate";
/** Base64-encoded contents of a PFX file. */
Expand Down Expand Up @@ -9056,8 +9048,7 @@ export interface TabularTranslator extends CopyTranslator {
}

/** Execute power query data flow activity properties. */
export interface ExecutePowerQueryActivityTypeProperties
extends ExecuteDataFlowActivityTypeProperties {
export interface ExecutePowerQueryActivityTypeProperties extends ExecuteDataFlowActivityTypeProperties {
/** (Deprecated. Please use Queries). List of Power Query activity sinks mapped to a queryName. */
sinks?: { [propertyName: string]: PowerQuerySink };
/** List of mapping for Power Query mashup query to sink dataset(s). */
Expand All @@ -9075,8 +9066,7 @@ export interface TriggerDependencyReference extends DependencyReference {
}

/** Self referenced tumbling window trigger dependency. */
export interface SelfDependencyTumblingWindowTriggerReference
extends DependencyReference {
export interface SelfDependencyTumblingWindowTriggerReference extends DependencyReference {
/** Polymorphic discriminator, which specifies the different types this object can be */
type: "SelfDependencyTumblingWindowTriggerReference";
/** Timespan applied to the start time of a tumbling window when evaluating dependency. */
Expand Down Expand Up @@ -10298,8 +10288,7 @@ export interface AmazonRedshiftSource extends TabularSource {
}

/** Referenced tumbling window trigger dependency. */
export interface TumblingWindowTriggerDependencyReference
extends TriggerDependencyReference {
export interface TumblingWindowTriggerDependencyReference extends TriggerDependencyReference {
/** Polymorphic discriminator, which specifies the different types this object can be */
type: "TumblingWindowTriggerDependencyReference";
/** Timespan applied to the start time of a tumbling window when evaluating dependency. */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@ import {
} from "../models";

/** Class containing IntegrationRuntimeObjectMetadata operations. */
export class IntegrationRuntimeObjectMetadataImpl
implements IntegrationRuntimeObjectMetadata
{
export class IntegrationRuntimeObjectMetadataImpl implements IntegrationRuntimeObjectMetadata {
private readonly client: DataFactoryClient;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@ import {

/// <reference lib="esnext.asynciterable" />
/** Class containing PrivateEndPointConnections operations. */
export class PrivateEndPointConnectionsImpl
implements PrivateEndPointConnections
{
export class PrivateEndPointConnectionsImpl implements PrivateEndPointConnections {
private readonly client: DataFactoryClient;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@ import {
} from "../models";

/** Class containing PrivateEndpointConnection operations. */
export class PrivateEndpointConnectionImpl
implements PrivateEndpointConnection
{
export class PrivateEndpointConnectionImpl implements PrivateEndpointConnection {
private readonly client: DataFactoryClient;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -561,13 +561,11 @@ export interface DicomServicePatchResource extends ResourceTags {}

/** Iot Connector patch properties */
export interface IotConnectorPatchResource
extends ResourceTags,
ServiceManagedIdentity {}
extends ResourceTags, ServiceManagedIdentity {}

/** FhirService patch properties */
export interface FhirServicePatchResource
extends ResourceTags,
ServiceManagedIdentity {}
extends ResourceTags, ServiceManagedIdentity {}

/** The common properties for any location based resource, tracked or proxy. */
export interface LocationBasedResource extends ResourceCore {
Expand Down Expand Up @@ -624,8 +622,7 @@ export interface IotFhirDestinationProperties extends IotDestinationProperties {
}

/** The Private Endpoint Connection resource. */
export interface PrivateEndpointConnectionDescription
extends PrivateEndpointConnection {
export interface PrivateEndpointConnectionDescription extends PrivateEndpointConnection {
/**
* Metadata pertaining to creation and last modification of the resource.
* NOTE: This property will not be serialized. It can only be populated by the server.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@ import {
} from "../models";

/** Class containing IotConnectorFhirDestination operations. */
export class IotConnectorFhirDestinationImpl
implements IotConnectorFhirDestination
{
export class IotConnectorFhirDestinationImpl implements IotConnectorFhirDestination {
private readonly client: HealthCareApisClient;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,7 @@ import {

/// <reference lib="esnext.asynciterable" />
/** Class containing PrivateEndpointConnections operations. */
export class PrivateEndpointConnectionsImpl
implements PrivateEndpointConnections
{
export class PrivateEndpointConnectionsImpl implements PrivateEndpointConnections {
private readonly client: HealthCareApisClient;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -294,8 +294,7 @@ export interface MediaGraphTopologySetRequest extends MethodRequest {

/** Represents the MediaGraphTopologySetRequest body. */
export interface MediaGraphTopologySetRequestBody
extends MethodRequest,
MediaGraphTopology {
extends MethodRequest, MediaGraphTopology {
/** Polymorphic discriminator, which specifies the different types this object can be */
methodName: "MediaGraphTopologySetRequestBody";
}
Expand All @@ -310,8 +309,7 @@ export interface MediaGraphInstanceSetRequest extends MethodRequest {

/** Represents the MediaGraphInstanceSetRequest body. */
export interface MediaGraphInstanceSetRequestBody
extends MethodRequest,
MediaGraphInstance {
extends MethodRequest, MediaGraphInstance {
/** Polymorphic discriminator, which specifies the different types this object can be */
methodName: "MediaGraphInstanceSetRequestBody";
}
Expand Down Expand Up @@ -361,8 +359,7 @@ export interface MediaGraphIoTHubMessageSource extends MediaGraphSource {
}

/** A node that accepts raw video as input, and detects if there are moving objects present. If so, then it emits an event, and allows frames where motion was detected to pass through. Other frames are blocked/dropped. */
export interface MediaGraphMotionDetectionProcessor
extends MediaGraphProcessor {
export interface MediaGraphMotionDetectionProcessor extends MediaGraphProcessor {
/** Polymorphic discriminator, which specifies the different types this object can be */
"@type": "#Microsoft.Media.MediaGraphMotionDetectionProcessor";
/** Enumeration that specifies the sensitivity of the motion detection processor. */
Expand Down Expand Up @@ -454,8 +451,7 @@ export interface MediaGraphTlsEndpoint extends MediaGraphEndpoint {
}

/** Username/password credential pair. */
export interface MediaGraphUsernamePasswordCredentials
extends MediaGraphCredentials {
export interface MediaGraphUsernamePasswordCredentials extends MediaGraphCredentials {
/** Polymorphic discriminator, which specifies the different types this object can be */
"@type": "#Microsoft.Media.MediaGraphUsernamePasswordCredentials";
/** Username for a username/password pair. */
Expand All @@ -475,8 +471,7 @@ export interface MediaGraphHttpHeaderCredentials extends MediaGraphCredentials {
}

/** A list of PEM formatted certificates. */
export interface MediaGraphPemCertificateList
extends MediaGraphCertificateSource {
export interface MediaGraphPemCertificateList extends MediaGraphCertificateSource {
/** Polymorphic discriminator, which specifies the different types this object can be */
"@type": "#Microsoft.Media.MediaGraphPemCertificateList";
/** PEM formatted public certificates one per entry. */
Expand Down Expand Up @@ -530,15 +525,13 @@ export interface MediaGraphInstanceGetRequest extends ItemNonSetRequestBase {
}

/** Represents the MediaGraphInstanceActivateRequest. */
export interface MediaGraphInstanceActivateRequest
extends ItemNonSetRequestBase {
export interface MediaGraphInstanceActivateRequest extends ItemNonSetRequestBase {
/** Polymorphic discriminator, which specifies the different types this object can be */
methodName: "GraphInstanceActivate";
}

/** Represents the MediaGraphInstanceDeactivateRequest. */
export interface MediaGraphInstanceDeActivateRequest
extends ItemNonSetRequestBase {
export interface MediaGraphInstanceDeActivateRequest extends ItemNonSetRequestBase {
/** Polymorphic discriminator, which specifies the different types this object can be */
methodName: "GraphInstanceDeactivate";
}
Expand All @@ -550,15 +543,13 @@ export interface MediaGraphInstanceDeleteRequest extends ItemNonSetRequestBase {
}

/** A processor that allows the media graph to send video frames to a Cognitive Services Vision extension. Inference results are relayed to downstream nodes. */
export interface MediaGraphCognitiveServicesVisionExtension
extends MediaGraphExtensionProcessorBase {
export interface MediaGraphCognitiveServicesVisionExtension extends MediaGraphExtensionProcessorBase {
/** Polymorphic discriminator, which specifies the different types this object can be */
"@type": "#Microsoft.Media.MediaGraphCognitiveServicesVisionExtension";
}

/** A processor that allows the media graph to send video frames to an external inference container over a gRPC connection. This can be done using shared memory (for high frame rates), or over the network. Inference results are relayed to downstream nodes. */
export interface MediaGraphGrpcExtension
extends MediaGraphExtensionProcessorBase {
export interface MediaGraphGrpcExtension extends MediaGraphExtensionProcessorBase {
/** Polymorphic discriminator, which specifies the different types this object can be */
"@type": "#Microsoft.Media.MediaGraphGrpcExtension";
/** How media should be transferred to the inference engine. */
Expand All @@ -568,8 +559,7 @@ export interface MediaGraphGrpcExtension
}

/** A processor that allows the media graph to send video frames (mostly at low frame rates e.g. <5 fps) to an external inference container over an HTTP-based RESTful API. Inference results are relayed to downstream nodes. */
export interface MediaGraphHttpExtension
extends MediaGraphExtensionProcessorBase {
export interface MediaGraphHttpExtension extends MediaGraphExtensionProcessorBase {
/** Polymorphic discriminator, which specifies the different types this object can be */
"@type": "#Microsoft.Media.MediaGraphHttpExtension";
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -538,9 +538,7 @@ export interface HealthcareJobState extends JobMetadata, Pagination {
}

export interface AnalyzeJobState
extends AnalyzeJobMetadata,
TasksState,
Pagination {
extends AnalyzeJobMetadata, TasksState, Pagination {
errors?: TextAnalyticsError[];
/** if includeStatistics=true was specified in the request this field will contain information about the request payload. */
statistics?: TextDocumentBatchStatistics;
Expand All @@ -549,19 +547,23 @@ export interface AnalyzeJobState
export interface TasksStateTasksDetails extends TaskState {}

export interface TasksStateTasksEntityRecognitionTasksItem
extends TaskState,
extends
TaskState,
Components15Gvwi3SchemasTasksstatePropertiesTasksPropertiesEntityrecognitiontasksItemsAllof1 {}

export interface TasksStateTasksEntityRecognitionPiiTasksItem
extends TaskState,
extends
TaskState,
Components15X8E9LSchemasTasksstatePropertiesTasksPropertiesEntityrecognitionpiitasksItemsAllof1 {}

export interface TasksStateTasksKeyPhraseExtractionTasksItem
extends TaskState,
extends
TaskState,
Components1D9IzucSchemasTasksstatePropertiesTasksPropertiesKeyphraseextractiontasksItemsAllof1 {}

export interface TasksStateTasksEntityLinkingTasksItem
extends TaskState,
extends
TaskState,
ComponentsIfu7BjSchemasTasksstatePropertiesTasksPropertiesEntitylinkingtasksItemsAllof1 {}

export interface HealthcareEntity extends Entity {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,10 @@ describe("Integration tests for User Agents", () => {
"";
const array =
userAgent.match(
/azsdk-js-useragent-corev2\/1\.0\.0-preview1 core-rest-pipeline\/.* Node\/v.* OS\/.*/g
/azsdk-js-useragent-corev2\/1\.0\.0-preview1 core-rest-pipeline\/.* Node\/v.* .*/g
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

) ??
userAgent.match(
/azsdk-js-useragent-corev2\/1\.0\.0-preview1 core-rest-pipeline\/.* OS\/.*/g
/azsdk-js-useragent-corev2\/1\.0\.0-preview1 core-rest-pipeline\/.* .*/g
);

assert.equal(array!.length, 1, "Unexpected User Agent Value");
Expand Down Expand Up @@ -108,10 +108,10 @@ describe("Integration tests for User Agents", () => {
"";
const array =
userAgent.match(
/CustomUserAgentPrefix azsdk-js-useragent-corev2\/1\.0\.0-preview1 core-rest-pipeline\/.* Node\/v.* OS\/.*/g
/CustomUserAgentPrefix azsdk-js-useragent-corev2\/1\.0\.0-preview1 core-rest-pipeline\/.* Node\/v.* .*/g
) ??
userAgent.match(
/CustomUserAgentPrefix azsdk-js-useragent-corev2\/1\.0\.0-preview1 core-rest-pipeline\/.* OS\/.*/g
/CustomUserAgentPrefix azsdk-js-useragent-corev2\/1\.0\.0-preview1 core-rest-pipeline\/.* .*/g
);

assert.equal(array!.length, 1, "Unexpected User Agent Value");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,7 @@ export interface MyBaseHelperTypeOutput {
}

export interface SmartSalmonOutput
extends SalmonOutputParent,
Record<string, unknown> {
extends SalmonOutputParent, Record<string, unknown> {
college_degree?: string;
fishtype: "smart_salmon";
}
Expand Down
Loading
Loading