Skip to content

Commit ab3f15b

Browse files
committed
Format
1 parent a6bbd77 commit ab3f15b

5 files changed

Lines changed: 54 additions & 30 deletions

File tree

specification/azuredatatransfer/AzureDataTransfer.Management/Connection.tsp

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,12 @@ interface Connections {
4747
update is ArmCustomPatchAsync<
4848
Connection,
4949
PatchModel = ConnectionsPatch,
50-
Response = ArmResponse<Connection> | (ArmAcceptedLroResponse & {
51-
@bodyRoot
52-
_: Connection;
53-
})
50+
Response =
51+
| ArmResponse<Connection>
52+
| (ArmAcceptedLroResponse & {
53+
@bodyRoot
54+
_: Connection;
55+
})
5456
>;
5557

5658
/**
@@ -106,7 +108,8 @@ interface Connections {
106108

107109
@@maxLength(Connection.name, 64);
108110
@@minLength(Connection.name, 3);
109-
@@doc(Connection.name,
111+
@@doc(
112+
Connection.name,
110113
"The name for the connection to perform the operation on."
111114
);
112115
@@doc(Connection.properties, "Properties of connection");

specification/azuredatatransfer/AzureDataTransfer.Management/Flow.tsp

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,12 @@ interface Flows {
4949
update is ArmCustomPatchAsync<
5050
Flow,
5151
PatchModel = FlowsPatch,
52-
Response = ArmResponse<Flow> | (ArmAcceptedLroResponse & {
53-
@bodyRoot
54-
_: Flow;
55-
})
52+
Response =
53+
| ArmResponse<Flow>
54+
| (ArmAcceptedLroResponse & {
55+
@bodyRoot
56+
_: Flow;
57+
})
5658
>;
5759

5860
/**
@@ -165,21 +167,25 @@ interface Flows {
165167
@@doc(Flows.createOrUpdate::parameters.resource, "Flow body");
166168
@@doc(Flows.update::parameters.properties, "Flow body");
167169
@@doc(Flows.link::parameters.body, "Flow body");
168-
@@doc(Flows.setDestinationEndpointPorts::parameters.body,
170+
@@doc(
171+
Flows.setDestinationEndpointPorts::parameters.body,
169172
"The destination endpoint ports wanted"
170173
);
171-
@@doc(Flows.setDestinationEndpoints::parameters.body,
174+
@@doc(
175+
Flows.setDestinationEndpoints::parameters.body,
172176
"Destination endpoints wanted."
173177
);
174178
@@doc(Flows.setPassphrase::parameters.body, "Passphrase to set");
175179
@@doc(Flows.setSourceAddresses::parameters.body, "Source addresses wanted");
176180
@@clientName(Flows.createOrUpdate::parameters.resource, "flow");
177181
@@clientName(Flows.update::parameters.properties, "flow");
178182
@@clientName(Flows.link::parameters.body, "flow");
179-
@@clientName(Flows.setDestinationEndpointPorts::parameters.body,
183+
@@clientName(
184+
Flows.setDestinationEndpointPorts::parameters.body,
180185
"streamDestinationEndpointPorts"
181186
);
182-
@@clientName(Flows.setDestinationEndpoints::parameters.body,
187+
@@clientName(
188+
Flows.setDestinationEndpoints::parameters.body,
183189
"streamDestinationEndpoints"
184190
);
185191
@@clientName(Flows.setPassphrase::parameters.body, "passphrase");

specification/azuredatatransfer/AzureDataTransfer.Management/FlowProfile.tsp

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,15 +65,19 @@ interface FlowProfiles {
6565

6666
@@maxLength(FlowProfile.name, 64);
6767
@@minLength(FlowProfile.name, 3);
68-
@@doc(FlowProfile.name,
68+
@@doc(
69+
FlowProfile.name,
6970
"The name of the FlowProfile resource to operate on. Must be 3 to 64 characters long and contain only alphanumeric characters or hyphens."
7071
);
71-
@@doc(FlowProfile.properties,
72+
@@doc(
73+
FlowProfile.properties,
7274
"The set of configuration properties that define the behavior and rules of the FlowProfile."
7375
);
74-
@@doc(FlowProfiles.createOrUpdate::parameters.resource,
76+
@@doc(
77+
FlowProfiles.createOrUpdate::parameters.resource,
7578
"The FlowProfile resource definition to create or update."
7679
);
77-
@@doc(FlowProfiles.update::parameters.properties,
80+
@@doc(
81+
FlowProfiles.update::parameters.properties,
7882
"The FlowProfile patch definition containing the properties to update."
7983
);

specification/azuredatatransfer/AzureDataTransfer.Management/Pipeline.tsp

Lines changed: 20 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,12 @@ interface Pipelines {
5252
update is ArmCustomPatchAsync<
5353
Pipeline,
5454
PatchModel = PipelinesPatch,
55-
Response = ArmResponse<Pipeline> | (ArmAcceptedLroResponse & {
56-
@bodyRoot
57-
_: Pipeline;
58-
})
55+
Response =
56+
| ArmResponse<Pipeline>
57+
| (ArmAcceptedLroResponse & {
58+
@bodyRoot
59+
_: Pipeline;
60+
})
5961
>;
6062

6163
/**
@@ -134,25 +136,32 @@ interface Pipelines {
134136
@@maxLength(Pipeline.name, 64);
135137
@@minLength(Pipeline.name, 3);
136138
@@doc(Pipeline.name, "The name of the pipeline on which to operate.");
137-
@@doc(Pipeline.properties,
139+
@@doc(
140+
Pipeline.properties,
138141
"The set of configurable properties for the Pipeline resource."
139142
);
140-
@@doc(Pipelines.createOrUpdate::parameters.resource,
143+
@@doc(
144+
Pipelines.createOrUpdate::parameters.resource,
141145
"The request body containing the Pipeline definition."
142146
);
143-
@@doc(Pipelines.update::parameters.properties,
147+
@@doc(
148+
Pipelines.update::parameters.properties,
144149
"The request body containing the updated Pipeline properties."
145150
);
146-
@@doc(Pipelines.approveConnection::parameters.body,
151+
@@doc(
152+
Pipelines.approveConnection::parameters.body,
147153
"The request body containing the connection to approve."
148154
);
149-
@@doc(Pipelines.executeAction::parameters.body,
155+
@@doc(
156+
Pipelines.executeAction::parameters.body,
150157
"The action to be executed on the Pipeline."
151158
);
152-
@@doc(Pipelines.listSchemasList::parameters.body,
159+
@@doc(
160+
Pipelines.listSchemasList::parameters.body,
153161
"The schema(s) to retrieve for the specified connection."
154162
);
155-
@@doc(Pipelines.rejectConnection::parameters.body,
163+
@@doc(
164+
Pipelines.rejectConnection::parameters.body,
156165
"The request body containing the connection to reject."
157166
);
158167

specification/azuredatatransfer/AzureDataTransfer.Management/ProviderActions.tsp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,12 @@ interface AzureDataTransfer {
7777
>;
7878
}
7979

80-
@@clientName(AzureDataTransfer.listApprovedSchemas::parameters.body,
80+
@@clientName(
81+
AzureDataTransfer.listApprovedSchemas::parameters.body,
8182
"pipeline"
8283
);
8384
@@clientName(AzureDataTransfer.validateSchema::parameters.body, "schema");
84-
@@doc(AzureDataTransfer.listApprovedSchemas::parameters.body,
85+
@@doc(
86+
AzureDataTransfer.listApprovedSchemas::parameters.body,
8587
"The request payload for listing approved schemas."
8688
);

0 commit comments

Comments
 (0)