diff --git a/sdk/m365securityandcompliance/arm-m365securityandcompliance/LICENSE.txt b/sdk/m365securityandcompliance/arm-m365securityandcompliance/LICENSE.txt
new file mode 100644
index 000000000000..2d3163745319
--- /dev/null
+++ b/sdk/m365securityandcompliance/arm-m365securityandcompliance/LICENSE.txt
@@ -0,0 +1,21 @@
+The MIT License (MIT)
+
+Copyright (c) 2021 Microsoft
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/sdk/m365securityandcompliance/arm-m365securityandcompliance/README.md b/sdk/m365securityandcompliance/arm-m365securityandcompliance/README.md
new file mode 100644
index 000000000000..7bae39ee83fb
--- /dev/null
+++ b/sdk/m365securityandcompliance/arm-m365securityandcompliance/README.md
@@ -0,0 +1,98 @@
+## Azure M365SecurityAndComplianceClient SDK for JavaScript
+
+This package contains an isomorphic SDK for M365SecurityAndComplianceClient.
+
+### Currently supported environments
+
+- Node.js version 6.x.x or higher
+- Browser JavaScript
+
+### How to Install
+
+```bash
+npm install @azure/arm-m365securityandcompliance
+```
+
+### How to use
+
+#### nodejs - client creation and list operations as an example written in TypeScript.
+
+##### Install @azure/ms-rest-nodeauth
+
+- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`.
+```bash
+npm install @azure/ms-rest-nodeauth@"^3.0.0"
+```
+
+##### Sample code
+
+While the below sample uses the interactive login, other authentication options can be found in the [README.md file of @azure/ms-rest-nodeauth](https://www.npmjs.com/package/@azure/ms-rest-nodeauth) package
+```typescript
+const msRestNodeAuth = require("@azure/ms-rest-nodeauth");
+const { M365SecurityAndComplianceClient } = require("@azure/arm-m365securityandcompliance");
+const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"];
+
+msRestNodeAuth.interactiveLogin().then((creds) => {
+ const client = new M365SecurityAndComplianceClient(creds, subscriptionId);
+ client.operations.list().then((result) => {
+ console.log("The result is:");
+ console.log(result);
+ });
+}).catch((err) => {
+ console.error(err);
+});
+```
+
+#### browser - Authentication, client creation and list operations as an example written in JavaScript.
+
+##### Install @azure/ms-rest-browserauth
+
+```bash
+npm install @azure/ms-rest-browserauth
+```
+
+##### Sample code
+
+See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser.
+
+- index.html
+```html
+
+
+
+ @azure/arm-m365securityandcompliance sample
+
+
+
+
+
+
+
+
+```
+
+## Related projects
+
+- [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js)
+
+
diff --git a/sdk/m365securityandcompliance/arm-m365securityandcompliance/package.json b/sdk/m365securityandcompliance/arm-m365securityandcompliance/package.json
new file mode 100644
index 000000000000..da7a21fc6c24
--- /dev/null
+++ b/sdk/m365securityandcompliance/arm-m365securityandcompliance/package.json
@@ -0,0 +1,58 @@
+{
+ "name": "@azure/arm-m365securityandcompliance",
+ "author": "Microsoft Corporation",
+ "description": "M365SecurityAndComplianceClient Library with typescript type definitions for node.js and browser.",
+ "version": "1.0.0",
+ "dependencies": {
+ "@azure/ms-rest-azure-js": "^2.0.1",
+ "@azure/ms-rest-js": "^2.0.4",
+ "tslib": "^1.10.0"
+ },
+ "keywords": [
+ "node",
+ "azure",
+ "typescript",
+ "browser",
+ "isomorphic"
+ ],
+ "license": "MIT",
+ "main": "./dist/arm-m365securityandcompliance.js",
+ "module": "./esm/m365SecurityAndComplianceClient.js",
+ "types": "./esm/m365SecurityAndComplianceClient.d.ts",
+ "devDependencies": {
+ "typescript": "^3.5.3",
+ "rollup": "^1.18.0",
+ "rollup-plugin-node-resolve": "^5.2.0",
+ "rollup-plugin-sourcemaps": "^0.4.2",
+ "uglify-js": "^3.6.0"
+ },
+ "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/m365securityandcompliance/arm-m365securityandcompliance",
+ "repository": {
+ "type": "git",
+ "url": "https://github.com/Azure/azure-sdk-for-js.git"
+ },
+ "bugs": {
+ "url": "https://github.com/Azure/azure-sdk-for-js/issues"
+ },
+ "files": [
+ "dist/**/*.js",
+ "dist/**/*.js.map",
+ "dist/**/*.d.ts",
+ "dist/**/*.d.ts.map",
+ "esm/**/*.js",
+ "esm/**/*.js.map",
+ "esm/**/*.d.ts",
+ "esm/**/*.d.ts.map",
+ "src/**/*.ts",
+ "README.md",
+ "rollup.config.js",
+ "tsconfig.json"
+ ],
+ "scripts": {
+ "build": "tsc && rollup -c rollup.config.js && npm run minify",
+ "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-m365securityandcompliance.js.map'\" -o ./dist/arm-m365securityandcompliance.min.js ./dist/arm-m365securityandcompliance.js",
+ "prepack": "npm install && npm run build"
+ },
+ "sideEffects": false,
+ "autoPublish": true
+}
diff --git a/sdk/m365securityandcompliance/arm-m365securityandcompliance/rollup.config.js b/sdk/m365securityandcompliance/arm-m365securityandcompliance/rollup.config.js
new file mode 100644
index 000000000000..570de245de18
--- /dev/null
+++ b/sdk/m365securityandcompliance/arm-m365securityandcompliance/rollup.config.js
@@ -0,0 +1,37 @@
+import rollup from "rollup";
+import nodeResolve from "rollup-plugin-node-resolve";
+import sourcemaps from "rollup-plugin-sourcemaps";
+
+/**
+ * @type {rollup.RollupFileOptions}
+ */
+const config = {
+ input: "./esm/m365SecurityAndComplianceClient.js",
+ external: [
+ "@azure/ms-rest-js",
+ "@azure/ms-rest-azure-js"
+ ],
+ output: {
+ file: "./dist/arm-m365securityandcompliance.js",
+ format: "umd",
+ name: "Azure.ArmM365securityandcompliance",
+ sourcemap: true,
+ globals: {
+ "@azure/ms-rest-js": "msRest",
+ "@azure/ms-rest-azure-js": "msRestAzure"
+ },
+ banner: `/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */`
+ },
+ plugins: [
+ nodeResolve({ mainFields: ['module', 'main'] }),
+ sourcemaps()
+ ]
+};
+
+export default config;
diff --git a/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/m365SecurityAndComplianceClient.ts b/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/m365SecurityAndComplianceClient.ts
new file mode 100644
index 000000000000..f44b79865f0e
--- /dev/null
+++ b/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/m365SecurityAndComplianceClient.ts
@@ -0,0 +1,81 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is
+ * regenerated.
+ */
+
+import * as msRest from "@azure/ms-rest-js";
+import * as Models from "./models";
+import * as Mappers from "./models/mappers";
+import * as operations from "./operations";
+import { M365SecurityAndComplianceClientContext } from "./m365SecurityAndComplianceClientContext";
+
+
+class M365SecurityAndComplianceClient extends M365SecurityAndComplianceClientContext {
+ // Operation groups
+ operations: operations.Operations;
+ operationResults: operations.OperationResults;
+ privateLinkServicesForEDMUpload: operations.PrivateLinkServicesForEDMUpload;
+ services: operations.Services;
+ privateEndpointConnectionsForEDM: operations.PrivateEndpointConnectionsForEDM;
+ privateLinkResources: operations.PrivateLinkResources;
+ privateLinkServicesForM365ComplianceCenter: operations.PrivateLinkServicesForM365ComplianceCenter;
+ privateEndpointConnectionsComp: operations.PrivateEndpointConnectionsComp;
+ privateLinkResourcesComp: operations.PrivateLinkResourcesComp;
+ privateLinkServicesForM365SecurityCenter: operations.PrivateLinkServicesForM365SecurityCenter;
+ privateEndpointConnectionsSec: operations.PrivateEndpointConnectionsSec;
+ privateLinkResourcesSec: operations.PrivateLinkResourcesSec;
+ privateLinkServicesForO365ManagementActivityAPI: operations.PrivateLinkServicesForO365ManagementActivityAPI;
+ privateEndpointConnectionsAdtAPI: operations.PrivateEndpointConnectionsAdtAPI;
+ privateLinkResourcesAdtAPI: operations.PrivateLinkResourcesAdtAPI;
+ privateLinkServicesForSCCPowershell: operations.PrivateLinkServicesForSCCPowershell;
+ privateEndpointConnectionsForSCCPowershell: operations.PrivateEndpointConnectionsForSCCPowershell;
+ privateLinkResourcesForSCCPowershell: operations.PrivateLinkResourcesForSCCPowershell;
+ privateLinkServicesForMIPPolicySync: operations.PrivateLinkServicesForMIPPolicySync;
+ privateEndpointConnectionsForMIPPolicySync: operations.PrivateEndpointConnectionsForMIPPolicySync;
+ privateLinkResourcesForMIPPolicySync: operations.PrivateLinkResourcesForMIPPolicySync;
+
+ /**
+ * Initializes a new instance of the M365SecurityAndComplianceClient class.
+ * @param credentials Credentials needed for the client to connect to Azure.
+ * @param subscriptionId The subscription identifier.
+ * @param [options] The parameter options
+ */
+ constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.M365SecurityAndComplianceClientOptions) {
+ super(credentials, subscriptionId, options);
+ this.operations = new operations.Operations(this);
+ this.operationResults = new operations.OperationResults(this);
+ this.privateLinkServicesForEDMUpload = new operations.PrivateLinkServicesForEDMUpload(this);
+ this.services = new operations.Services(this);
+ this.privateEndpointConnectionsForEDM = new operations.PrivateEndpointConnectionsForEDM(this);
+ this.privateLinkResources = new operations.PrivateLinkResources(this);
+ this.privateLinkServicesForM365ComplianceCenter = new operations.PrivateLinkServicesForM365ComplianceCenter(this);
+ this.privateEndpointConnectionsComp = new operations.PrivateEndpointConnectionsComp(this);
+ this.privateLinkResourcesComp = new operations.PrivateLinkResourcesComp(this);
+ this.privateLinkServicesForM365SecurityCenter = new operations.PrivateLinkServicesForM365SecurityCenter(this);
+ this.privateEndpointConnectionsSec = new operations.PrivateEndpointConnectionsSec(this);
+ this.privateLinkResourcesSec = new operations.PrivateLinkResourcesSec(this);
+ this.privateLinkServicesForO365ManagementActivityAPI = new operations.PrivateLinkServicesForO365ManagementActivityAPI(this);
+ this.privateEndpointConnectionsAdtAPI = new operations.PrivateEndpointConnectionsAdtAPI(this);
+ this.privateLinkResourcesAdtAPI = new operations.PrivateLinkResourcesAdtAPI(this);
+ this.privateLinkServicesForSCCPowershell = new operations.PrivateLinkServicesForSCCPowershell(this);
+ this.privateEndpointConnectionsForSCCPowershell = new operations.PrivateEndpointConnectionsForSCCPowershell(this);
+ this.privateLinkResourcesForSCCPowershell = new operations.PrivateLinkResourcesForSCCPowershell(this);
+ this.privateLinkServicesForMIPPolicySync = new operations.PrivateLinkServicesForMIPPolicySync(this);
+ this.privateEndpointConnectionsForMIPPolicySync = new operations.PrivateEndpointConnectionsForMIPPolicySync(this);
+ this.privateLinkResourcesForMIPPolicySync = new operations.PrivateLinkResourcesForMIPPolicySync(this);
+ }
+}
+
+// Operation Specifications
+
+export {
+ M365SecurityAndComplianceClient,
+ M365SecurityAndComplianceClientContext,
+ Models as M365SecurityAndComplianceModels,
+ Mappers as M365SecurityAndComplianceMappers
+};
+export * from "./operations";
diff --git a/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/m365SecurityAndComplianceClientContext.ts b/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/m365SecurityAndComplianceClientContext.ts
new file mode 100644
index 000000000000..3f8bf368dcb4
--- /dev/null
+++ b/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/m365SecurityAndComplianceClientContext.ts
@@ -0,0 +1,61 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is
+ * regenerated.
+ */
+
+import * as Models from "./models";
+import * as msRest from "@azure/ms-rest-js";
+import * as msRestAzure from "@azure/ms-rest-azure-js";
+
+const packageName = "@azure/arm-m365securityandcompliance";
+const packageVersion = "1.0.0";
+
+export class M365SecurityAndComplianceClientContext extends msRestAzure.AzureServiceClient {
+ credentials: msRest.ServiceClientCredentials;
+ subscriptionId: string;
+ apiVersion?: string;
+
+ /**
+ * Initializes a new instance of the M365SecurityAndComplianceClient class.
+ * @param credentials Credentials needed for the client to connect to Azure.
+ * @param subscriptionId The subscription identifier.
+ * @param [options] The parameter options
+ */
+ constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.M365SecurityAndComplianceClientOptions) {
+ if (credentials == undefined) {
+ throw new Error('\'credentials\' cannot be null.');
+ }
+ if (subscriptionId == undefined) {
+ throw new Error('\'subscriptionId\' cannot be null.');
+ }
+
+ if (!options) {
+ options = {};
+ }
+ if(!options.userAgent) {
+ const defaultUserAgent = msRestAzure.getDefaultUserAgentValue();
+ options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`;
+ }
+
+ super(credentials, options);
+
+ this.apiVersion = '2021-03-25-preview';
+ this.acceptLanguage = 'en-US';
+ this.longRunningOperationRetryTimeout = 30;
+ this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com";
+ this.requestContentType = "application/json; charset=utf-8";
+ this.credentials = credentials;
+ this.subscriptionId = subscriptionId;
+
+ if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
+ this.acceptLanguage = options.acceptLanguage;
+ }
+ if(options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
+ this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout;
+ }
+ }
+}
diff --git a/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/models/index.ts b/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/models/index.ts
new file mode 100644
index 000000000000..0fbe9acb2359
--- /dev/null
+++ b/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/models/index.ts
@@ -0,0 +1,2729 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js";
+import * as msRest from "@azure/ms-rest-js";
+
+export { BaseResource, CloudError };
+
+/**
+ * An access policy entry.
+ */
+export interface ServiceAccessPolicyEntry {
+ /**
+ * An Azure AD object ID (User or Apps) that is allowed access to the FHIR service.
+ */
+ objectId: string;
+}
+
+/**
+ * The settings for the Cosmos DB database backing the service.
+ */
+export interface ServiceCosmosDbConfigurationInfo {
+ /**
+ * The provisioned throughput for the backing database.
+ */
+ offerThroughput?: number;
+ /**
+ * The URI of the customer-managed key for the backing database.
+ */
+ keyVaultKeyUri?: string;
+}
+
+/**
+ * Authentication configuration information
+ */
+export interface ServiceAuthenticationConfigurationInfo {
+ /**
+ * The authority url for the service
+ */
+ authority?: string;
+ /**
+ * The audience url for the service
+ */
+ audience?: string;
+ /**
+ * If the SMART on FHIR proxy is enabled
+ */
+ smartProxyEnabled?: boolean;
+}
+
+/**
+ * The settings for the CORS configuration of the service instance.
+ */
+export interface ServiceCorsConfigurationInfo {
+ /**
+ * The origins to be allowed via CORS.
+ */
+ origins?: string[];
+ /**
+ * The headers to be allowed via CORS.
+ */
+ headers?: string[];
+ /**
+ * The methods to be allowed via CORS.
+ */
+ methods?: string[];
+ /**
+ * The max age to be allowed via CORS.
+ */
+ maxAge?: number;
+ /**
+ * If credentials are allowed via CORS.
+ */
+ allowCredentials?: boolean;
+}
+
+/**
+ * Export operation configuration information
+ */
+export interface ServiceExportConfigurationInfo {
+ /**
+ * The name of the default export storage account.
+ */
+ storageAccountName?: string;
+}
+
+/**
+ * Metadata pertaining to creation and last modification of the resource.
+ */
+export interface SystemData {
+ /**
+ * The identity that created the resource.
+ */
+ createdBy?: string;
+ /**
+ * The type of identity that created the resource. Possible values include: 'User',
+ * 'Application', 'ManagedIdentity', 'Key'
+ */
+ createdByType?: CreatedByType;
+ /**
+ * The timestamp of resource creation (UTC).
+ */
+ createdAt?: Date;
+ /**
+ * The identity that last modified the resource.
+ */
+ lastModifiedBy?: string;
+ /**
+ * The type of identity that last modified the resource. Possible values include: 'User',
+ * 'Application', 'ManagedIdentity', 'Key'
+ */
+ lastModifiedByType?: CreatedByType;
+ /**
+ * The timestamp of resource last modification (UTC)
+ */
+ lastModifiedAt?: Date;
+}
+
+/**
+ * The Private Endpoint resource.
+ */
+export interface PrivateEndpoint {
+ /**
+ * The ARM identifier for Private Endpoint
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly id?: string;
+}
+
+/**
+ * A collection of information about the state of the connection between service consumer and
+ * provider.
+ */
+export interface PrivateLinkServiceConnectionState {
+ /**
+ * Indicates whether the connection has been Approved/Rejected/Removed by the owner of the
+ * service. Possible values include: 'Pending', 'Approved', 'Rejected'
+ */
+ status?: PrivateEndpointServiceConnectionStatus;
+ /**
+ * The reason for approval/rejection of the connection.
+ */
+ description?: string;
+ /**
+ * A message indicating if changes on the service provider require any updates on the consumer.
+ */
+ actionsRequired?: string;
+}
+
+/**
+ * Common fields that are returned in the response for all Azure Resource Manager resources
+ * @summary Resource
+ */
+export interface Resource extends BaseResource {
+ /**
+ * Fully qualified resource ID for the resource. Ex -
+ * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly id?: string;
+ /**
+ * The name of the resource
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly name?: string;
+ /**
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or
+ * "Microsoft.Storage/storageAccounts"
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly type?: string;
+}
+
+/**
+ * The Private Endpoint Connection resource.
+ */
+export interface PrivateEndpointConnection extends Resource {
+ /**
+ * Required property for system data
+ */
+ systemData?: SystemData;
+ /**
+ * The resource of private end point.
+ */
+ privateEndpoint?: PrivateEndpoint;
+ /**
+ * A collection of information about the state of the connection between service consumer and
+ * provider.
+ */
+ privateLinkServiceConnectionState: PrivateLinkServiceConnectionState;
+ /**
+ * The provisioning state of the private endpoint connection resource. Possible values include:
+ * 'Succeeded', 'Creating', 'Deleting', 'Failed'
+ */
+ provisioningState?: PrivateEndpointConnectionProvisioningState;
+}
+
+/**
+ * The properties of a service instance.
+ */
+export interface ServicesProperties {
+ /**
+ * The provisioning state. Possible values include: 'Deleting', 'Succeeded', 'Creating',
+ * 'Accepted', 'Verifying', 'Updating', 'Failed', 'Canceled', 'Deprovisioned'
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly provisioningState?: ProvisioningState;
+ /**
+ * The access policies of the service instance.
+ */
+ accessPolicies?: ServiceAccessPolicyEntry[];
+ /**
+ * The settings for the Cosmos DB database backing the service.
+ */
+ cosmosDbConfiguration?: ServiceCosmosDbConfigurationInfo;
+ /**
+ * The authentication configuration for the service instance.
+ */
+ authenticationConfiguration?: ServiceAuthenticationConfigurationInfo;
+ /**
+ * The settings for the CORS configuration of the service instance.
+ */
+ corsConfiguration?: ServiceCorsConfigurationInfo;
+ /**
+ * The settings for the export operation of the service instance.
+ */
+ exportConfiguration?: ServiceExportConfigurationInfo;
+ /**
+ * The list of private endpoint connections that are set up for this resource.
+ */
+ privateEndpointConnections?: PrivateEndpointConnection[];
+ /**
+ * Control permission for data plane traffic coming from public networks while private endpoint
+ * is enabled. Possible values include: 'Enabled', 'Disabled'
+ */
+ publicNetworkAccess?: PublicNetworkAccess;
+}
+
+/**
+ * The description of the service.
+ */
+export interface ServicesPatchDescription {
+ /**
+ * Instance tags
+ */
+ tags?: { [propertyName: string]: string };
+ /**
+ * Control permission for data plane traffic coming from public networks while private endpoint
+ * is enabled. Possible values include: 'Enabled', 'Disabled'
+ */
+ publicNetworkAccess?: PublicNetworkAccess;
+}
+
+/**
+ * Setting indicating whether the service has a managed identity associated with it.
+ */
+export interface ServicesResourceIdentity {
+ /**
+ * The principal ID of the resource identity.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly principalId?: string;
+ /**
+ * The tenant ID of the resource.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly tenantId?: string;
+ /**
+ * Type of identity being specified, currently SystemAssigned and None are allowed. Possible
+ * values include: 'SystemAssigned', 'None'
+ */
+ type?: ManagedServiceIdentityType;
+}
+
+/**
+ * The common properties of a service.
+ */
+export interface ServicesResource extends BaseResource {
+ /**
+ * The resource identifier.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly id?: string;
+ /**
+ * The resource name.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly name?: string;
+ /**
+ * The resource type.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly type?: string;
+ /**
+ * Required property for system data
+ */
+ systemData?: SystemData;
+ /**
+ * The kind of the service. Possible values include: 'fhir', 'fhir-Stu3', 'fhir-R4'
+ */
+ kind: Kind;
+ /**
+ * The resource location.
+ */
+ location: string;
+ /**
+ * The resource tags.
+ */
+ tags?: { [propertyName: string]: string };
+ /**
+ * An etag associated with the resource, used for optimistic concurrency when editing it.
+ */
+ etag?: string;
+ /**
+ * Setting indicating whether the service has a managed identity associated with it.
+ */
+ identity?: ServicesResourceIdentity;
+}
+
+/**
+ * A private link resource
+ */
+export interface PrivateLinkResource extends Resource {
+ /**
+ * Required property for system data
+ */
+ systemData?: SystemData;
+ /**
+ * The private link resource group id.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly groupId?: string;
+ /**
+ * The private link resource required member names.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly requiredMembers?: string[];
+ /**
+ * The private link resource Private link DNS zone name.
+ */
+ requiredZoneNames?: string[];
+}
+
+/**
+ * A list of private link resources
+ */
+export interface PrivateLinkResourceListResult {
+ /**
+ * Array of private link resources
+ */
+ value?: PrivateLinkResource[];
+ /**
+ * The URL to get the next set of results.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly nextLink?: string;
+}
+
+/**
+ * The properties indicating the operation result of an operation on a service.
+ */
+export interface OperationResultsDescription {
+ /**
+ * The ID of the operation returned.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly id?: string;
+ /**
+ * The name of the operation result.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly name?: string;
+ /**
+ * The status of the operation being performed. Possible values include: 'Canceled', 'Succeeded',
+ * 'Failed', 'Requested', 'Running'
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly status?: OperationResultStatus;
+ /**
+ * The time that the operation was started.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly startTime?: string;
+ /**
+ * Additional properties of the operation result.
+ */
+ properties?: any;
+}
+
+/**
+ * The object that represents the operation.
+ */
+export interface OperationDisplay {
+ /**
+ * Service provider: Microsoft.M365SecurityAndCompliance
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly provider?: string;
+ /**
+ * Resource Type: Services
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly resource?: string;
+ /**
+ * Name of the operation
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly operation?: string;
+ /**
+ * Friendly description for the operation,
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly description?: string;
+}
+
+/**
+ * Service REST API operation.
+ */
+export interface Operation {
+ /**
+ * Operation name: {provider}/{resource}/{read | write | action | delete}
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly name?: string;
+ /**
+ * Indicates whether the operation is a data action
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly isDataAction?: boolean;
+ /**
+ * Default value is 'user,system'.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly origin?: string;
+ /**
+ * The information displayed about the operation.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly display?: OperationDisplay;
+}
+
+/**
+ * Error details.
+ */
+export interface ErrorDetailsInternal {
+ /**
+ * The error code.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly code?: string;
+ /**
+ * The error message.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly message?: string;
+ /**
+ * The target of the particular error.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly target?: string;
+}
+
+/**
+ * Error details.
+ */
+export interface ErrorDetails {
+ /**
+ * Object containing error details.
+ */
+ error?: ErrorDetailsInternal;
+}
+
+/**
+ * The resource model definition for a Azure Resource Manager proxy resource. It will not have tags
+ * and a location
+ * @summary Proxy Resource
+ */
+export interface ProxyResource extends Resource {
+}
+
+/**
+ * The resource model definition for an Azure Resource Manager tracked top level resource which has
+ * 'tags' and a 'location'
+ * @summary Tracked Resource
+ */
+export interface TrackedResource extends Resource {
+ /**
+ * Resource tags.
+ */
+ tags?: { [propertyName: string]: string };
+ /**
+ * The geo-location where the resource lives
+ */
+ location: string;
+}
+
+/**
+ * The resource model definition for an Azure Resource Manager resource with an etag.
+ * @summary Entity Resource
+ */
+export interface AzureEntityResource extends Resource {
+ /**
+ * Resource Etag.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly etag?: string;
+}
+
+/**
+ * The description of the service.
+ */
+export interface PrivateLinkServicesForEDMUploadDescription extends ServicesResource {
+ /**
+ * The common properties of a service.
+ */
+ properties?: ServicesProperties;
+}
+
+/**
+ * The description of the service.
+ */
+export interface PrivateLinkServicesForM365ComplianceCenterDescription extends ServicesResource {
+ /**
+ * The common properties of a service.
+ */
+ properties?: ServicesProperties;
+}
+
+/**
+ * The description of the service.
+ */
+export interface PrivateLinkServicesForM365SecurityCenterDescription extends ServicesResource {
+ /**
+ * The common properties of a service.
+ */
+ properties?: ServicesProperties;
+}
+
+/**
+ * The description of the service.
+ */
+export interface PrivateLinkServicesForO365ManagementActivityAPIDescription extends ServicesResource {
+ /**
+ * The common properties of a service.
+ */
+ properties?: ServicesProperties;
+}
+
+/**
+ * The description of the service.
+ */
+export interface PrivateLinkServicesForSCCPowershellDescription extends ServicesResource {
+ /**
+ * The common properties of a service.
+ */
+ properties?: ServicesProperties;
+}
+
+/**
+ * The description of the service.
+ */
+export interface PrivateLinkServicesForMIPPolicySyncDescription extends ServicesResource {
+ /**
+ * The common properties of a service.
+ */
+ properties?: ServicesProperties;
+}
+
+/**
+ * An interface representing M365SecurityAndComplianceClientOptions.
+ */
+export interface M365SecurityAndComplianceClientOptions extends AzureServiceClientOptions {
+ baseUri?: string;
+}
+
+/**
+ * @interface
+ * A list of service operations. It contains a list of operations and a URL link to get the next
+ * set of results.
+ * @extends Array
+ */
+export interface OperationListResult extends Array {
+ /**
+ * The link used to get the next page of service description objects.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of service description objects with a next link.
+ * @extends Array
+ */
+export interface PrivateLinkServicesForEDMUploadDescriptionListResult extends Array {
+ /**
+ * The link used to get the next page of service description objects.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * List of private endpoint connection associated with the specified storage account
+ * @extends Array
+ */
+export interface PrivateEndpointConnectionListResult extends Array {
+ /**
+ * The URL to get the next set of results.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of service description objects with a next link.
+ * @extends Array
+ */
+export interface PrivateLinkServicesForM365ComplianceCenterDescriptionListResult extends Array {
+ /**
+ * The link used to get the next page of service description objects.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of service description objects with a next link.
+ * @extends Array
+ */
+export interface PrivateLinkServicesForM365SecurityCenterDescriptionListResult extends Array {
+ /**
+ * The link used to get the next page of service description objects.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of service description objects with a next link.
+ * @extends Array
+ */
+export interface PrivateLinkServicesForO365ManagementActivityAPIDescriptionListResult extends Array {
+ /**
+ * The link used to get the next page of service description objects.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of service description objects with a next link.
+ * @extends Array
+ */
+export interface PrivateLinkServicesForSCCPowershellDescriptionListResult extends Array {
+ /**
+ * The link used to get the next page of service description objects.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of service description objects with a next link.
+ * @extends Array
+ */
+export interface PrivateLinkServicesForMIPPolicySyncDescriptionListResult extends Array {
+ /**
+ * The link used to get the next page of service description objects.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly nextLink?: string;
+}
+
+/**
+ * Defines values for ProvisioningState.
+ * Possible values include: 'Deleting', 'Succeeded', 'Creating', 'Accepted', 'Verifying',
+ * 'Updating', 'Failed', 'Canceled', 'Deprovisioned'
+ * @readonly
+ * @enum {string}
+ */
+export type ProvisioningState = 'Deleting' | 'Succeeded' | 'Creating' | 'Accepted' | 'Verifying' | 'Updating' | 'Failed' | 'Canceled' | 'Deprovisioned';
+
+/**
+ * Defines values for CreatedByType.
+ * Possible values include: 'User', 'Application', 'ManagedIdentity', 'Key'
+ * @readonly
+ * @enum {string}
+ */
+export type CreatedByType = 'User' | 'Application' | 'ManagedIdentity' | 'Key';
+
+/**
+ * Defines values for PrivateEndpointServiceConnectionStatus.
+ * Possible values include: 'Pending', 'Approved', 'Rejected'
+ * @readonly
+ * @enum {string}
+ */
+export type PrivateEndpointServiceConnectionStatus = 'Pending' | 'Approved' | 'Rejected';
+
+/**
+ * Defines values for PrivateEndpointConnectionProvisioningState.
+ * Possible values include: 'Succeeded', 'Creating', 'Deleting', 'Failed'
+ * @readonly
+ * @enum {string}
+ */
+export type PrivateEndpointConnectionProvisioningState = 'Succeeded' | 'Creating' | 'Deleting' | 'Failed';
+
+/**
+ * Defines values for PublicNetworkAccess.
+ * Possible values include: 'Enabled', 'Disabled'
+ * @readonly
+ * @enum {string}
+ */
+export type PublicNetworkAccess = 'Enabled' | 'Disabled';
+
+/**
+ * Defines values for Kind.
+ * Possible values include: 'fhir', 'fhir-Stu3', 'fhir-R4'
+ * @readonly
+ * @enum {string}
+ */
+export type Kind = 'fhir' | 'fhir-Stu3' | 'fhir-R4';
+
+/**
+ * Defines values for ManagedServiceIdentityType.
+ * Possible values include: 'SystemAssigned', 'None'
+ * @readonly
+ * @enum {string}
+ */
+export type ManagedServiceIdentityType = 'SystemAssigned' | 'None';
+
+/**
+ * Defines values for OperationResultStatus.
+ * Possible values include: 'Canceled', 'Succeeded', 'Failed', 'Requested', 'Running'
+ * @readonly
+ * @enum {string}
+ */
+export type OperationResultStatus = 'Canceled' | 'Succeeded' | 'Failed' | 'Requested' | 'Running';
+
+/**
+ * Contains response data for the list operation.
+ */
+export type OperationsListResponse = OperationListResult & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: OperationListResult;
+ };
+};
+
+/**
+ * Contains response data for the listNext operation.
+ */
+export type OperationsListNextResponse = OperationListResult & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: OperationListResult;
+ };
+};
+
+/**
+ * Contains response data for the get operation.
+ */
+export type OperationResultsGetResponse = OperationResultsDescription & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: OperationResultsDescription;
+ };
+};
+
+/**
+ * Contains response data for the get operation.
+ */
+export type PrivateLinkServicesForEDMUploadGetResponse = PrivateLinkServicesForEDMUploadDescription & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateLinkServicesForEDMUploadDescription;
+ };
+};
+
+/**
+ * Contains response data for the createOrUpdate operation.
+ */
+export type PrivateLinkServicesForEDMUploadCreateOrUpdateResponse = PrivateLinkServicesForEDMUploadDescription & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateLinkServicesForEDMUploadDescription;
+ };
+};
+
+/**
+ * Contains response data for the update operation.
+ */
+export type PrivateLinkServicesForEDMUploadUpdateResponse = PrivateLinkServicesForEDMUploadDescription & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateLinkServicesForEDMUploadDescription;
+ };
+};
+
+/**
+ * Contains response data for the list operation.
+ */
+export type PrivateLinkServicesForEDMUploadListResponse = PrivateLinkServicesForEDMUploadDescriptionListResult & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateLinkServicesForEDMUploadDescriptionListResult;
+ };
+};
+
+/**
+ * Contains response data for the listByResourceGroup operation.
+ */
+export type PrivateLinkServicesForEDMUploadListByResourceGroupResponse = PrivateLinkServicesForEDMUploadDescriptionListResult & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateLinkServicesForEDMUploadDescriptionListResult;
+ };
+};
+
+/**
+ * Contains response data for the beginCreateOrUpdate operation.
+ */
+export type PrivateLinkServicesForEDMUploadBeginCreateOrUpdateResponse = PrivateLinkServicesForEDMUploadDescription & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateLinkServicesForEDMUploadDescription;
+ };
+};
+
+/**
+ * Contains response data for the beginUpdate operation.
+ */
+export type PrivateLinkServicesForEDMUploadBeginUpdateResponse = PrivateLinkServicesForEDMUploadDescription & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateLinkServicesForEDMUploadDescription;
+ };
+};
+
+/**
+ * Contains response data for the listNext operation.
+ */
+export type PrivateLinkServicesForEDMUploadListNextResponse = PrivateLinkServicesForEDMUploadDescriptionListResult & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateLinkServicesForEDMUploadDescriptionListResult;
+ };
+};
+
+/**
+ * Contains response data for the listByResourceGroupNext operation.
+ */
+export type PrivateLinkServicesForEDMUploadListByResourceGroupNextResponse = PrivateLinkServicesForEDMUploadDescriptionListResult & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateLinkServicesForEDMUploadDescriptionListResult;
+ };
+};
+
+/**
+ * Contains response data for the listByService operation.
+ */
+export type PrivateEndpointConnectionsForEDMListByServiceResponse = PrivateEndpointConnectionListResult & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateEndpointConnectionListResult;
+ };
+};
+
+/**
+ * Contains response data for the get operation.
+ */
+export type PrivateEndpointConnectionsForEDMGetResponse = PrivateEndpointConnection & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateEndpointConnection;
+ };
+};
+
+/**
+ * Contains response data for the createOrUpdate operation.
+ */
+export type PrivateEndpointConnectionsForEDMCreateOrUpdateResponse = PrivateEndpointConnection & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateEndpointConnection;
+ };
+};
+
+/**
+ * Contains response data for the beginCreateOrUpdate operation.
+ */
+export type PrivateEndpointConnectionsForEDMBeginCreateOrUpdateResponse = PrivateEndpointConnection & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateEndpointConnection;
+ };
+};
+
+/**
+ * Contains response data for the listByServiceNext operation.
+ */
+export type PrivateEndpointConnectionsForEDMListByServiceNextResponse = PrivateEndpointConnectionListResult & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateEndpointConnectionListResult;
+ };
+};
+
+/**
+ * Contains response data for the listByService operation.
+ */
+export type PrivateLinkResourcesListByServiceResponse = PrivateLinkResourceListResult & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateLinkResourceListResult;
+ };
+};
+
+/**
+ * Contains response data for the get operation.
+ */
+export type PrivateLinkResourcesGetResponse = PrivateLinkResource & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateLinkResource;
+ };
+};
+
+/**
+ * Contains response data for the get operation.
+ */
+export type PrivateLinkServicesForM365ComplianceCenterGetResponse = PrivateLinkServicesForM365ComplianceCenterDescription & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateLinkServicesForM365ComplianceCenterDescription;
+ };
+};
+
+/**
+ * Contains response data for the createOrUpdate operation.
+ */
+export type PrivateLinkServicesForM365ComplianceCenterCreateOrUpdateResponse = PrivateLinkServicesForM365ComplianceCenterDescription & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateLinkServicesForM365ComplianceCenterDescription;
+ };
+};
+
+/**
+ * Contains response data for the update operation.
+ */
+export type PrivateLinkServicesForM365ComplianceCenterUpdateResponse = PrivateLinkServicesForM365ComplianceCenterDescription & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateLinkServicesForM365ComplianceCenterDescription;
+ };
+};
+
+/**
+ * Contains response data for the list operation.
+ */
+export type PrivateLinkServicesForM365ComplianceCenterListResponse = PrivateLinkServicesForM365ComplianceCenterDescriptionListResult & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateLinkServicesForM365ComplianceCenterDescriptionListResult;
+ };
+};
+
+/**
+ * Contains response data for the listByResourceGroup operation.
+ */
+export type PrivateLinkServicesForM365ComplianceCenterListByResourceGroupResponse = PrivateLinkServicesForM365ComplianceCenterDescriptionListResult & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateLinkServicesForM365ComplianceCenterDescriptionListResult;
+ };
+};
+
+/**
+ * Contains response data for the beginCreateOrUpdate operation.
+ */
+export type PrivateLinkServicesForM365ComplianceCenterBeginCreateOrUpdateResponse = PrivateLinkServicesForM365ComplianceCenterDescription & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateLinkServicesForM365ComplianceCenterDescription;
+ };
+};
+
+/**
+ * Contains response data for the beginUpdate operation.
+ */
+export type PrivateLinkServicesForM365ComplianceCenterBeginUpdateResponse = PrivateLinkServicesForM365ComplianceCenterDescription & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateLinkServicesForM365ComplianceCenterDescription;
+ };
+};
+
+/**
+ * Contains response data for the listNext operation.
+ */
+export type PrivateLinkServicesForM365ComplianceCenterListNextResponse = PrivateLinkServicesForM365ComplianceCenterDescriptionListResult & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateLinkServicesForM365ComplianceCenterDescriptionListResult;
+ };
+};
+
+/**
+ * Contains response data for the listByResourceGroupNext operation.
+ */
+export type PrivateLinkServicesForM365ComplianceCenterListByResourceGroupNextResponse = PrivateLinkServicesForM365ComplianceCenterDescriptionListResult & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateLinkServicesForM365ComplianceCenterDescriptionListResult;
+ };
+};
+
+/**
+ * Contains response data for the listByService operation.
+ */
+export type PrivateEndpointConnectionsCompListByServiceResponse = PrivateEndpointConnectionListResult & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateEndpointConnectionListResult;
+ };
+};
+
+/**
+ * Contains response data for the get operation.
+ */
+export type PrivateEndpointConnectionsCompGetResponse = PrivateEndpointConnection & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateEndpointConnection;
+ };
+};
+
+/**
+ * Contains response data for the createOrUpdate operation.
+ */
+export type PrivateEndpointConnectionsCompCreateOrUpdateResponse = PrivateEndpointConnection & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateEndpointConnection;
+ };
+};
+
+/**
+ * Contains response data for the beginCreateOrUpdate operation.
+ */
+export type PrivateEndpointConnectionsCompBeginCreateOrUpdateResponse = PrivateEndpointConnection & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateEndpointConnection;
+ };
+};
+
+/**
+ * Contains response data for the listByServiceNext operation.
+ */
+export type PrivateEndpointConnectionsCompListByServiceNextResponse = PrivateEndpointConnectionListResult & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateEndpointConnectionListResult;
+ };
+};
+
+/**
+ * Contains response data for the listByService operation.
+ */
+export type PrivateLinkResourcesCompListByServiceResponse = PrivateLinkResourceListResult & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateLinkResourceListResult;
+ };
+};
+
+/**
+ * Contains response data for the get operation.
+ */
+export type PrivateLinkResourcesCompGetResponse = PrivateLinkResource & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateLinkResource;
+ };
+};
+
+/**
+ * Contains response data for the get operation.
+ */
+export type PrivateLinkServicesForM365SecurityCenterGetResponse = PrivateLinkServicesForM365SecurityCenterDescription & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateLinkServicesForM365SecurityCenterDescription;
+ };
+};
+
+/**
+ * Contains response data for the createOrUpdate operation.
+ */
+export type PrivateLinkServicesForM365SecurityCenterCreateOrUpdateResponse = PrivateLinkServicesForM365SecurityCenterDescription & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateLinkServicesForM365SecurityCenterDescription;
+ };
+};
+
+/**
+ * Contains response data for the update operation.
+ */
+export type PrivateLinkServicesForM365SecurityCenterUpdateResponse = PrivateLinkServicesForM365SecurityCenterDescription & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateLinkServicesForM365SecurityCenterDescription;
+ };
+};
+
+/**
+ * Contains response data for the list operation.
+ */
+export type PrivateLinkServicesForM365SecurityCenterListResponse = PrivateLinkServicesForM365SecurityCenterDescriptionListResult & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateLinkServicesForM365SecurityCenterDescriptionListResult;
+ };
+};
+
+/**
+ * Contains response data for the listByResourceGroup operation.
+ */
+export type PrivateLinkServicesForM365SecurityCenterListByResourceGroupResponse = PrivateLinkServicesForM365SecurityCenterDescriptionListResult & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateLinkServicesForM365SecurityCenterDescriptionListResult;
+ };
+};
+
+/**
+ * Contains response data for the beginCreateOrUpdate operation.
+ */
+export type PrivateLinkServicesForM365SecurityCenterBeginCreateOrUpdateResponse = PrivateLinkServicesForM365SecurityCenterDescription & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateLinkServicesForM365SecurityCenterDescription;
+ };
+};
+
+/**
+ * Contains response data for the beginUpdate operation.
+ */
+export type PrivateLinkServicesForM365SecurityCenterBeginUpdateResponse = PrivateLinkServicesForM365SecurityCenterDescription & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateLinkServicesForM365SecurityCenterDescription;
+ };
+};
+
+/**
+ * Contains response data for the listNext operation.
+ */
+export type PrivateLinkServicesForM365SecurityCenterListNextResponse = PrivateLinkServicesForM365SecurityCenterDescriptionListResult & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateLinkServicesForM365SecurityCenterDescriptionListResult;
+ };
+};
+
+/**
+ * Contains response data for the listByResourceGroupNext operation.
+ */
+export type PrivateLinkServicesForM365SecurityCenterListByResourceGroupNextResponse = PrivateLinkServicesForM365SecurityCenterDescriptionListResult & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateLinkServicesForM365SecurityCenterDescriptionListResult;
+ };
+};
+
+/**
+ * Contains response data for the listByService operation.
+ */
+export type PrivateEndpointConnectionsSecListByServiceResponse = PrivateEndpointConnectionListResult & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateEndpointConnectionListResult;
+ };
+};
+
+/**
+ * Contains response data for the get operation.
+ */
+export type PrivateEndpointConnectionsSecGetResponse = PrivateEndpointConnection & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateEndpointConnection;
+ };
+};
+
+/**
+ * Contains response data for the createOrUpdate operation.
+ */
+export type PrivateEndpointConnectionsSecCreateOrUpdateResponse = PrivateEndpointConnection & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateEndpointConnection;
+ };
+};
+
+/**
+ * Contains response data for the beginCreateOrUpdate operation.
+ */
+export type PrivateEndpointConnectionsSecBeginCreateOrUpdateResponse = PrivateEndpointConnection & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateEndpointConnection;
+ };
+};
+
+/**
+ * Contains response data for the listByServiceNext operation.
+ */
+export type PrivateEndpointConnectionsSecListByServiceNextResponse = PrivateEndpointConnectionListResult & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateEndpointConnectionListResult;
+ };
+};
+
+/**
+ * Contains response data for the listByService operation.
+ */
+export type PrivateLinkResourcesSecListByServiceResponse = PrivateLinkResourceListResult & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateLinkResourceListResult;
+ };
+};
+
+/**
+ * Contains response data for the get operation.
+ */
+export type PrivateLinkResourcesSecGetResponse = PrivateLinkResource & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateLinkResource;
+ };
+};
+
+/**
+ * Contains response data for the get operation.
+ */
+export type PrivateLinkServicesForO365ManagementActivityAPIGetResponse = PrivateLinkServicesForO365ManagementActivityAPIDescription & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateLinkServicesForO365ManagementActivityAPIDescription;
+ };
+};
+
+/**
+ * Contains response data for the createOrUpdate operation.
+ */
+export type PrivateLinkServicesForO365ManagementActivityAPICreateOrUpdateResponse = PrivateLinkServicesForO365ManagementActivityAPIDescription & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateLinkServicesForO365ManagementActivityAPIDescription;
+ };
+};
+
+/**
+ * Contains response data for the update operation.
+ */
+export type PrivateLinkServicesForO365ManagementActivityAPIUpdateResponse = PrivateLinkServicesForO365ManagementActivityAPIDescription & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateLinkServicesForO365ManagementActivityAPIDescription;
+ };
+};
+
+/**
+ * Contains response data for the list operation.
+ */
+export type PrivateLinkServicesForO365ManagementActivityAPIListResponse = PrivateLinkServicesForO365ManagementActivityAPIDescriptionListResult & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateLinkServicesForO365ManagementActivityAPIDescriptionListResult;
+ };
+};
+
+/**
+ * Contains response data for the listByResourceGroup operation.
+ */
+export type PrivateLinkServicesForO365ManagementActivityAPIListByResourceGroupResponse = PrivateLinkServicesForO365ManagementActivityAPIDescriptionListResult & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateLinkServicesForO365ManagementActivityAPIDescriptionListResult;
+ };
+};
+
+/**
+ * Contains response data for the beginCreateOrUpdate operation.
+ */
+export type PrivateLinkServicesForO365ManagementActivityAPIBeginCreateOrUpdateResponse = PrivateLinkServicesForO365ManagementActivityAPIDescription & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateLinkServicesForO365ManagementActivityAPIDescription;
+ };
+};
+
+/**
+ * Contains response data for the beginUpdate operation.
+ */
+export type PrivateLinkServicesForO365ManagementActivityAPIBeginUpdateResponse = PrivateLinkServicesForO365ManagementActivityAPIDescription & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateLinkServicesForO365ManagementActivityAPIDescription;
+ };
+};
+
+/**
+ * Contains response data for the listNext operation.
+ */
+export type PrivateLinkServicesForO365ManagementActivityAPIListNextResponse = PrivateLinkServicesForO365ManagementActivityAPIDescriptionListResult & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateLinkServicesForO365ManagementActivityAPIDescriptionListResult;
+ };
+};
+
+/**
+ * Contains response data for the listByResourceGroupNext operation.
+ */
+export type PrivateLinkServicesForO365ManagementActivityAPIListByResourceGroupNextResponse = PrivateLinkServicesForO365ManagementActivityAPIDescriptionListResult & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateLinkServicesForO365ManagementActivityAPIDescriptionListResult;
+ };
+};
+
+/**
+ * Contains response data for the listByService operation.
+ */
+export type PrivateEndpointConnectionsAdtAPIListByServiceResponse = PrivateEndpointConnectionListResult & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateEndpointConnectionListResult;
+ };
+};
+
+/**
+ * Contains response data for the get operation.
+ */
+export type PrivateEndpointConnectionsAdtAPIGetResponse = PrivateEndpointConnection & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateEndpointConnection;
+ };
+};
+
+/**
+ * Contains response data for the createOrUpdate operation.
+ */
+export type PrivateEndpointConnectionsAdtAPICreateOrUpdateResponse = PrivateEndpointConnection & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateEndpointConnection;
+ };
+};
+
+/**
+ * Contains response data for the beginCreateOrUpdate operation.
+ */
+export type PrivateEndpointConnectionsAdtAPIBeginCreateOrUpdateResponse = PrivateEndpointConnection & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateEndpointConnection;
+ };
+};
+
+/**
+ * Contains response data for the listByServiceNext operation.
+ */
+export type PrivateEndpointConnectionsAdtAPIListByServiceNextResponse = PrivateEndpointConnectionListResult & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateEndpointConnectionListResult;
+ };
+};
+
+/**
+ * Contains response data for the listByService operation.
+ */
+export type PrivateLinkResourcesAdtAPIListByServiceResponse = PrivateLinkResourceListResult & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateLinkResourceListResult;
+ };
+};
+
+/**
+ * Contains response data for the get operation.
+ */
+export type PrivateLinkResourcesAdtAPIGetResponse = PrivateLinkResource & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateLinkResource;
+ };
+};
+
+/**
+ * Contains response data for the get operation.
+ */
+export type PrivateLinkServicesForSCCPowershellGetResponse = PrivateLinkServicesForSCCPowershellDescription & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateLinkServicesForSCCPowershellDescription;
+ };
+};
+
+/**
+ * Contains response data for the createOrUpdate operation.
+ */
+export type PrivateLinkServicesForSCCPowershellCreateOrUpdateResponse = PrivateLinkServicesForSCCPowershellDescription & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateLinkServicesForSCCPowershellDescription;
+ };
+};
+
+/**
+ * Contains response data for the update operation.
+ */
+export type PrivateLinkServicesForSCCPowershellUpdateResponse = PrivateLinkServicesForSCCPowershellDescription & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateLinkServicesForSCCPowershellDescription;
+ };
+};
+
+/**
+ * Contains response data for the list operation.
+ */
+export type PrivateLinkServicesForSCCPowershellListResponse = PrivateLinkServicesForSCCPowershellDescriptionListResult & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateLinkServicesForSCCPowershellDescriptionListResult;
+ };
+};
+
+/**
+ * Contains response data for the listByResourceGroup operation.
+ */
+export type PrivateLinkServicesForSCCPowershellListByResourceGroupResponse = PrivateLinkServicesForSCCPowershellDescriptionListResult & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateLinkServicesForSCCPowershellDescriptionListResult;
+ };
+};
+
+/**
+ * Contains response data for the beginCreateOrUpdate operation.
+ */
+export type PrivateLinkServicesForSCCPowershellBeginCreateOrUpdateResponse = PrivateLinkServicesForSCCPowershellDescription & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateLinkServicesForSCCPowershellDescription;
+ };
+};
+
+/**
+ * Contains response data for the beginUpdate operation.
+ */
+export type PrivateLinkServicesForSCCPowershellBeginUpdateResponse = PrivateLinkServicesForSCCPowershellDescription & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateLinkServicesForSCCPowershellDescription;
+ };
+};
+
+/**
+ * Contains response data for the listNext operation.
+ */
+export type PrivateLinkServicesForSCCPowershellListNextResponse = PrivateLinkServicesForSCCPowershellDescriptionListResult & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateLinkServicesForSCCPowershellDescriptionListResult;
+ };
+};
+
+/**
+ * Contains response data for the listByResourceGroupNext operation.
+ */
+export type PrivateLinkServicesForSCCPowershellListByResourceGroupNextResponse = PrivateLinkServicesForSCCPowershellDescriptionListResult & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateLinkServicesForSCCPowershellDescriptionListResult;
+ };
+};
+
+/**
+ * Contains response data for the listByService operation.
+ */
+export type PrivateEndpointConnectionsForSCCPowershellListByServiceResponse = PrivateEndpointConnectionListResult & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateEndpointConnectionListResult;
+ };
+};
+
+/**
+ * Contains response data for the get operation.
+ */
+export type PrivateEndpointConnectionsForSCCPowershellGetResponse = PrivateEndpointConnection & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateEndpointConnection;
+ };
+};
+
+/**
+ * Contains response data for the createOrUpdate operation.
+ */
+export type PrivateEndpointConnectionsForSCCPowershellCreateOrUpdateResponse = PrivateEndpointConnection & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateEndpointConnection;
+ };
+};
+
+/**
+ * Contains response data for the beginCreateOrUpdate operation.
+ */
+export type PrivateEndpointConnectionsForSCCPowershellBeginCreateOrUpdateResponse = PrivateEndpointConnection & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateEndpointConnection;
+ };
+};
+
+/**
+ * Contains response data for the listByServiceNext operation.
+ */
+export type PrivateEndpointConnectionsForSCCPowershellListByServiceNextResponse = PrivateEndpointConnectionListResult & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateEndpointConnectionListResult;
+ };
+};
+
+/**
+ * Contains response data for the listByService operation.
+ */
+export type PrivateLinkResourcesForSCCPowershellListByServiceResponse = PrivateLinkResourceListResult & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateLinkResourceListResult;
+ };
+};
+
+/**
+ * Contains response data for the get operation.
+ */
+export type PrivateLinkResourcesForSCCPowershellGetResponse = PrivateLinkResource & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateLinkResource;
+ };
+};
+
+/**
+ * Contains response data for the get operation.
+ */
+export type PrivateLinkServicesForMIPPolicySyncGetResponse = PrivateLinkServicesForMIPPolicySyncDescription & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateLinkServicesForMIPPolicySyncDescription;
+ };
+};
+
+/**
+ * Contains response data for the createOrUpdate operation.
+ */
+export type PrivateLinkServicesForMIPPolicySyncCreateOrUpdateResponse = PrivateLinkServicesForMIPPolicySyncDescription & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateLinkServicesForMIPPolicySyncDescription;
+ };
+};
+
+/**
+ * Contains response data for the update operation.
+ */
+export type PrivateLinkServicesForMIPPolicySyncUpdateResponse = PrivateLinkServicesForMIPPolicySyncDescription & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateLinkServicesForMIPPolicySyncDescription;
+ };
+};
+
+/**
+ * Contains response data for the list operation.
+ */
+export type PrivateLinkServicesForMIPPolicySyncListResponse = PrivateLinkServicesForMIPPolicySyncDescriptionListResult & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateLinkServicesForMIPPolicySyncDescriptionListResult;
+ };
+};
+
+/**
+ * Contains response data for the listByResourceGroup operation.
+ */
+export type PrivateLinkServicesForMIPPolicySyncListByResourceGroupResponse = PrivateLinkServicesForMIPPolicySyncDescriptionListResult & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateLinkServicesForMIPPolicySyncDescriptionListResult;
+ };
+};
+
+/**
+ * Contains response data for the beginCreateOrUpdate operation.
+ */
+export type PrivateLinkServicesForMIPPolicySyncBeginCreateOrUpdateResponse = PrivateLinkServicesForMIPPolicySyncDescription & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateLinkServicesForMIPPolicySyncDescription;
+ };
+};
+
+/**
+ * Contains response data for the beginUpdate operation.
+ */
+export type PrivateLinkServicesForMIPPolicySyncBeginUpdateResponse = PrivateLinkServicesForMIPPolicySyncDescription & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateLinkServicesForMIPPolicySyncDescription;
+ };
+};
+
+/**
+ * Contains response data for the listNext operation.
+ */
+export type PrivateLinkServicesForMIPPolicySyncListNextResponse = PrivateLinkServicesForMIPPolicySyncDescriptionListResult & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateLinkServicesForMIPPolicySyncDescriptionListResult;
+ };
+};
+
+/**
+ * Contains response data for the listByResourceGroupNext operation.
+ */
+export type PrivateLinkServicesForMIPPolicySyncListByResourceGroupNextResponse = PrivateLinkServicesForMIPPolicySyncDescriptionListResult & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateLinkServicesForMIPPolicySyncDescriptionListResult;
+ };
+};
+
+/**
+ * Contains response data for the listByService operation.
+ */
+export type PrivateEndpointConnectionsForMIPPolicySyncListByServiceResponse = PrivateEndpointConnectionListResult & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateEndpointConnectionListResult;
+ };
+};
+
+/**
+ * Contains response data for the get operation.
+ */
+export type PrivateEndpointConnectionsForMIPPolicySyncGetResponse = PrivateEndpointConnection & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateEndpointConnection;
+ };
+};
+
+/**
+ * Contains response data for the createOrUpdate operation.
+ */
+export type PrivateEndpointConnectionsForMIPPolicySyncCreateOrUpdateResponse = PrivateEndpointConnection & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateEndpointConnection;
+ };
+};
+
+/**
+ * Contains response data for the beginCreateOrUpdate operation.
+ */
+export type PrivateEndpointConnectionsForMIPPolicySyncBeginCreateOrUpdateResponse = PrivateEndpointConnection & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateEndpointConnection;
+ };
+};
+
+/**
+ * Contains response data for the listByServiceNext operation.
+ */
+export type PrivateEndpointConnectionsForMIPPolicySyncListByServiceNextResponse = PrivateEndpointConnectionListResult & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateEndpointConnectionListResult;
+ };
+};
+
+/**
+ * Contains response data for the listByService operation.
+ */
+export type PrivateLinkResourcesForMIPPolicySyncListByServiceResponse = PrivateLinkResourceListResult & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateLinkResourceListResult;
+ };
+};
+
+/**
+ * Contains response data for the get operation.
+ */
+export type PrivateLinkResourcesForMIPPolicySyncGetResponse = PrivateLinkResource & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateLinkResource;
+ };
+};
diff --git a/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/models/mappers.ts b/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/models/mappers.ts
new file mode 100644
index 000000000000..0741c717318d
--- /dev/null
+++ b/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/models/mappers.ts
@@ -0,0 +1,1184 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+import { CloudErrorMapper, BaseResourceMapper } from "@azure/ms-rest-azure-js";
+import * as msRest from "@azure/ms-rest-js";
+
+export const CloudError = CloudErrorMapper;
+export const BaseResource = BaseResourceMapper;
+
+export const ServiceAccessPolicyEntry: msRest.CompositeMapper = {
+ serializedName: "ServiceAccessPolicyEntry",
+ type: {
+ name: "Composite",
+ className: "ServiceAccessPolicyEntry",
+ modelProperties: {
+ objectId: {
+ required: true,
+ serializedName: "objectId",
+ constraints: {
+ Pattern: /^(([0-9A-Fa-f]{8}[-]?(?:[0-9A-Fa-f]{4}[-]?){3}[0-9A-Fa-f]{12}){1})+$/
+ },
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const ServiceCosmosDbConfigurationInfo: msRest.CompositeMapper = {
+ serializedName: "ServiceCosmosDbConfigurationInfo",
+ type: {
+ name: "Composite",
+ className: "ServiceCosmosDbConfigurationInfo",
+ modelProperties: {
+ offerThroughput: {
+ serializedName: "offerThroughput",
+ constraints: {
+ InclusiveMaximum: 10000,
+ InclusiveMinimum: 400
+ },
+ type: {
+ name: "Number"
+ }
+ },
+ keyVaultKeyUri: {
+ serializedName: "keyVaultKeyUri",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const ServiceAuthenticationConfigurationInfo: msRest.CompositeMapper = {
+ serializedName: "ServiceAuthenticationConfigurationInfo",
+ type: {
+ name: "Composite",
+ className: "ServiceAuthenticationConfigurationInfo",
+ modelProperties: {
+ authority: {
+ serializedName: "authority",
+ type: {
+ name: "String"
+ }
+ },
+ audience: {
+ serializedName: "audience",
+ type: {
+ name: "String"
+ }
+ },
+ smartProxyEnabled: {
+ serializedName: "smartProxyEnabled",
+ type: {
+ name: "Boolean"
+ }
+ }
+ }
+ }
+};
+
+export const ServiceCorsConfigurationInfo: msRest.CompositeMapper = {
+ serializedName: "ServiceCorsConfigurationInfo",
+ type: {
+ name: "Composite",
+ className: "ServiceCorsConfigurationInfo",
+ modelProperties: {
+ origins: {
+ serializedName: "origins",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "String"
+ }
+ }
+ }
+ },
+ headers: {
+ serializedName: "headers",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "String"
+ }
+ }
+ }
+ },
+ methods: {
+ serializedName: "methods",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "String"
+ }
+ }
+ }
+ },
+ maxAge: {
+ serializedName: "maxAge",
+ constraints: {
+ InclusiveMaximum: 99999,
+ InclusiveMinimum: 0
+ },
+ type: {
+ name: "Number"
+ }
+ },
+ allowCredentials: {
+ serializedName: "allowCredentials",
+ type: {
+ name: "Boolean"
+ }
+ }
+ }
+ }
+};
+
+export const ServiceExportConfigurationInfo: msRest.CompositeMapper = {
+ serializedName: "ServiceExportConfigurationInfo",
+ type: {
+ name: "Composite",
+ className: "ServiceExportConfigurationInfo",
+ modelProperties: {
+ storageAccountName: {
+ serializedName: "storageAccountName",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const SystemData: msRest.CompositeMapper = {
+ serializedName: "systemData",
+ type: {
+ name: "Composite",
+ className: "SystemData",
+ modelProperties: {
+ createdBy: {
+ serializedName: "createdBy",
+ type: {
+ name: "String"
+ }
+ },
+ createdByType: {
+ serializedName: "createdByType",
+ type: {
+ name: "String"
+ }
+ },
+ createdAt: {
+ serializedName: "createdAt",
+ type: {
+ name: "DateTime"
+ }
+ },
+ lastModifiedBy: {
+ serializedName: "lastModifiedBy",
+ type: {
+ name: "String"
+ }
+ },
+ lastModifiedByType: {
+ serializedName: "lastModifiedByType",
+ type: {
+ name: "String"
+ }
+ },
+ lastModifiedAt: {
+ serializedName: "lastModifiedAt",
+ type: {
+ name: "DateTime"
+ }
+ }
+ }
+ }
+};
+
+export const PrivateEndpoint: msRest.CompositeMapper = {
+ serializedName: "PrivateEndpoint",
+ type: {
+ name: "Composite",
+ className: "PrivateEndpoint",
+ modelProperties: {
+ id: {
+ readOnly: true,
+ serializedName: "id",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const PrivateLinkServiceConnectionState: msRest.CompositeMapper = {
+ serializedName: "PrivateLinkServiceConnectionState",
+ type: {
+ name: "Composite",
+ className: "PrivateLinkServiceConnectionState",
+ modelProperties: {
+ status: {
+ serializedName: "status",
+ type: {
+ name: "String"
+ }
+ },
+ description: {
+ serializedName: "description",
+ type: {
+ name: "String"
+ }
+ },
+ actionsRequired: {
+ serializedName: "actionsRequired",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const Resource: msRest.CompositeMapper = {
+ serializedName: "Resource",
+ type: {
+ name: "Composite",
+ className: "Resource",
+ modelProperties: {
+ id: {
+ readOnly: true,
+ serializedName: "id",
+ type: {
+ name: "String"
+ }
+ },
+ name: {
+ readOnly: true,
+ serializedName: "name",
+ type: {
+ name: "String"
+ }
+ },
+ type: {
+ readOnly: true,
+ serializedName: "type",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const PrivateEndpointConnection: msRest.CompositeMapper = {
+ serializedName: "PrivateEndpointConnection",
+ type: {
+ name: "Composite",
+ className: "PrivateEndpointConnection",
+ modelProperties: {
+ ...Resource.type.modelProperties,
+ systemData: {
+ serializedName: "systemData",
+ type: {
+ name: "Composite",
+ className: "SystemData"
+ }
+ },
+ privateEndpoint: {
+ serializedName: "properties.privateEndpoint",
+ type: {
+ name: "Composite",
+ className: "PrivateEndpoint"
+ }
+ },
+ privateLinkServiceConnectionState: {
+ required: true,
+ serializedName: "properties.privateLinkServiceConnectionState",
+ type: {
+ name: "Composite",
+ className: "PrivateLinkServiceConnectionState"
+ }
+ },
+ provisioningState: {
+ serializedName: "properties.provisioningState",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const ServicesProperties: msRest.CompositeMapper = {
+ serializedName: "ServicesProperties",
+ type: {
+ name: "Composite",
+ className: "ServicesProperties",
+ modelProperties: {
+ provisioningState: {
+ readOnly: true,
+ serializedName: "provisioningState",
+ type: {
+ name: "String"
+ }
+ },
+ accessPolicies: {
+ serializedName: "accessPolicies",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "ServiceAccessPolicyEntry"
+ }
+ }
+ }
+ },
+ cosmosDbConfiguration: {
+ serializedName: "cosmosDbConfiguration",
+ type: {
+ name: "Composite",
+ className: "ServiceCosmosDbConfigurationInfo"
+ }
+ },
+ authenticationConfiguration: {
+ serializedName: "authenticationConfiguration",
+ type: {
+ name: "Composite",
+ className: "ServiceAuthenticationConfigurationInfo"
+ }
+ },
+ corsConfiguration: {
+ serializedName: "corsConfiguration",
+ type: {
+ name: "Composite",
+ className: "ServiceCorsConfigurationInfo"
+ }
+ },
+ exportConfiguration: {
+ serializedName: "exportConfiguration",
+ type: {
+ name: "Composite",
+ className: "ServiceExportConfigurationInfo"
+ }
+ },
+ privateEndpointConnections: {
+ serializedName: "privateEndpointConnections",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "PrivateEndpointConnection"
+ }
+ }
+ }
+ },
+ publicNetworkAccess: {
+ serializedName: "publicNetworkAccess",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const ServicesPatchDescription: msRest.CompositeMapper = {
+ serializedName: "ServicesPatchDescription",
+ type: {
+ name: "Composite",
+ className: "ServicesPatchDescription",
+ modelProperties: {
+ tags: {
+ serializedName: "tags",
+ type: {
+ name: "Dictionary",
+ value: {
+ type: {
+ name: "String"
+ }
+ }
+ }
+ },
+ publicNetworkAccess: {
+ serializedName: "properties.publicNetworkAccess",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const ServicesResourceIdentity: msRest.CompositeMapper = {
+ serializedName: "ServicesResource_identity",
+ type: {
+ name: "Composite",
+ className: "ServicesResourceIdentity",
+ modelProperties: {
+ principalId: {
+ readOnly: true,
+ serializedName: "principalId",
+ type: {
+ name: "String"
+ }
+ },
+ tenantId: {
+ readOnly: true,
+ serializedName: "tenantId",
+ type: {
+ name: "String"
+ }
+ },
+ type: {
+ serializedName: "type",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const ServicesResource: msRest.CompositeMapper = {
+ serializedName: "ServicesResource",
+ type: {
+ name: "Composite",
+ className: "ServicesResource",
+ modelProperties: {
+ id: {
+ readOnly: true,
+ serializedName: "id",
+ type: {
+ name: "String"
+ }
+ },
+ name: {
+ readOnly: true,
+ serializedName: "name",
+ constraints: {
+ Pattern: /^[a-z0-9][a-z0-9-]{1,21}[a-z0-9]$/
+ },
+ type: {
+ name: "String"
+ }
+ },
+ type: {
+ readOnly: true,
+ serializedName: "type",
+ type: {
+ name: "String"
+ }
+ },
+ systemData: {
+ serializedName: "systemData",
+ type: {
+ name: "Composite",
+ className: "SystemData"
+ }
+ },
+ kind: {
+ required: true,
+ serializedName: "kind",
+ type: {
+ name: "Enum",
+ allowedValues: [
+ "fhir",
+ "fhir-Stu3",
+ "fhir-R4"
+ ]
+ }
+ },
+ location: {
+ required: true,
+ serializedName: "location",
+ type: {
+ name: "String"
+ }
+ },
+ tags: {
+ serializedName: "tags",
+ type: {
+ name: "Dictionary",
+ value: {
+ type: {
+ name: "String"
+ }
+ }
+ }
+ },
+ etag: {
+ serializedName: "etag",
+ type: {
+ name: "String"
+ }
+ },
+ identity: {
+ serializedName: "identity",
+ type: {
+ name: "Composite",
+ className: "ServicesResourceIdentity"
+ }
+ }
+ }
+ }
+};
+
+export const PrivateLinkResource: msRest.CompositeMapper = {
+ serializedName: "PrivateLinkResource",
+ type: {
+ name: "Composite",
+ className: "PrivateLinkResource",
+ modelProperties: {
+ ...Resource.type.modelProperties,
+ systemData: {
+ serializedName: "systemData",
+ type: {
+ name: "Composite",
+ className: "SystemData"
+ }
+ },
+ groupId: {
+ readOnly: true,
+ serializedName: "properties.groupId",
+ type: {
+ name: "String"
+ }
+ },
+ requiredMembers: {
+ readOnly: true,
+ serializedName: "properties.requiredMembers",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "String"
+ }
+ }
+ }
+ },
+ requiredZoneNames: {
+ serializedName: "properties.requiredZoneNames",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ }
+ }
+};
+
+export const PrivateLinkResourceListResult: msRest.CompositeMapper = {
+ serializedName: "PrivateLinkResourceListResult",
+ type: {
+ name: "Composite",
+ className: "PrivateLinkResourceListResult",
+ modelProperties: {
+ value: {
+ serializedName: "value",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "PrivateLinkResource"
+ }
+ }
+ }
+ },
+ nextLink: {
+ readOnly: true,
+ serializedName: "nextLink",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const OperationResultsDescription: msRest.CompositeMapper = {
+ serializedName: "OperationResultsDescription",
+ type: {
+ name: "Composite",
+ className: "OperationResultsDescription",
+ modelProperties: {
+ id: {
+ readOnly: true,
+ serializedName: "id",
+ type: {
+ name: "String"
+ }
+ },
+ name: {
+ readOnly: true,
+ serializedName: "name",
+ type: {
+ name: "String"
+ }
+ },
+ status: {
+ readOnly: true,
+ serializedName: "status",
+ type: {
+ name: "String"
+ }
+ },
+ startTime: {
+ readOnly: true,
+ serializedName: "startTime",
+ type: {
+ name: "String"
+ }
+ },
+ properties: {
+ serializedName: "properties",
+ type: {
+ name: "Object"
+ }
+ }
+ }
+ }
+};
+
+export const OperationDisplay: msRest.CompositeMapper = {
+ serializedName: "OperationDisplay",
+ type: {
+ name: "Composite",
+ className: "OperationDisplay",
+ modelProperties: {
+ provider: {
+ readOnly: true,
+ serializedName: "provider",
+ type: {
+ name: "String"
+ }
+ },
+ resource: {
+ readOnly: true,
+ serializedName: "resource",
+ type: {
+ name: "String"
+ }
+ },
+ operation: {
+ readOnly: true,
+ serializedName: "operation",
+ type: {
+ name: "String"
+ }
+ },
+ description: {
+ readOnly: true,
+ serializedName: "description",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const Operation: msRest.CompositeMapper = {
+ serializedName: "Operation",
+ type: {
+ name: "Composite",
+ className: "Operation",
+ modelProperties: {
+ name: {
+ readOnly: true,
+ serializedName: "name",
+ type: {
+ name: "String"
+ }
+ },
+ isDataAction: {
+ readOnly: true,
+ serializedName: "isDataAction",
+ type: {
+ name: "Boolean"
+ }
+ },
+ origin: {
+ readOnly: true,
+ serializedName: "origin",
+ type: {
+ name: "String"
+ }
+ },
+ display: {
+ readOnly: true,
+ serializedName: "display",
+ type: {
+ name: "Composite",
+ className: "OperationDisplay"
+ }
+ }
+ }
+ }
+};
+
+export const ErrorDetailsInternal: msRest.CompositeMapper = {
+ serializedName: "ErrorDetailsInternal",
+ type: {
+ name: "Composite",
+ className: "ErrorDetailsInternal",
+ modelProperties: {
+ code: {
+ readOnly: true,
+ serializedName: "code",
+ type: {
+ name: "String"
+ }
+ },
+ message: {
+ readOnly: true,
+ serializedName: "message",
+ type: {
+ name: "String"
+ }
+ },
+ target: {
+ readOnly: true,
+ serializedName: "target",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const ErrorDetails: msRest.CompositeMapper = {
+ serializedName: "ErrorDetails",
+ type: {
+ name: "Composite",
+ className: "ErrorDetails",
+ modelProperties: {
+ error: {
+ serializedName: "error",
+ type: {
+ name: "Composite",
+ className: "ErrorDetailsInternal"
+ }
+ }
+ }
+ }
+};
+
+export const ProxyResource: msRest.CompositeMapper = {
+ serializedName: "ProxyResource",
+ type: {
+ name: "Composite",
+ className: "ProxyResource",
+ modelProperties: {
+ ...Resource.type.modelProperties
+ }
+ }
+};
+
+export const TrackedResource: msRest.CompositeMapper = {
+ serializedName: "TrackedResource",
+ type: {
+ name: "Composite",
+ className: "TrackedResource",
+ modelProperties: {
+ ...Resource.type.modelProperties,
+ tags: {
+ serializedName: "tags",
+ type: {
+ name: "Dictionary",
+ value: {
+ type: {
+ name: "String"
+ }
+ }
+ }
+ },
+ location: {
+ required: true,
+ serializedName: "location",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const AzureEntityResource: msRest.CompositeMapper = {
+ serializedName: "AzureEntityResource",
+ type: {
+ name: "Composite",
+ className: "AzureEntityResource",
+ modelProperties: {
+ ...Resource.type.modelProperties,
+ etag: {
+ readOnly: true,
+ serializedName: "etag",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const PrivateLinkServicesForEDMUploadDescription: msRest.CompositeMapper = {
+ serializedName: "PrivateLinkServicesForEDMUploadDescription",
+ type: {
+ name: "Composite",
+ className: "PrivateLinkServicesForEDMUploadDescription",
+ modelProperties: {
+ ...ServicesResource.type.modelProperties,
+ properties: {
+ serializedName: "properties",
+ type: {
+ name: "Composite",
+ className: "ServicesProperties"
+ }
+ }
+ }
+ }
+};
+
+export const PrivateLinkServicesForM365ComplianceCenterDescription: msRest.CompositeMapper = {
+ serializedName: "PrivateLinkServicesForM365ComplianceCenterDescription",
+ type: {
+ name: "Composite",
+ className: "PrivateLinkServicesForM365ComplianceCenterDescription",
+ modelProperties: {
+ ...ServicesResource.type.modelProperties,
+ properties: {
+ serializedName: "properties",
+ type: {
+ name: "Composite",
+ className: "ServicesProperties"
+ }
+ }
+ }
+ }
+};
+
+export const PrivateLinkServicesForM365SecurityCenterDescription: msRest.CompositeMapper = {
+ serializedName: "PrivateLinkServicesForM365SecurityCenterDescription",
+ type: {
+ name: "Composite",
+ className: "PrivateLinkServicesForM365SecurityCenterDescription",
+ modelProperties: {
+ ...ServicesResource.type.modelProperties,
+ properties: {
+ serializedName: "properties",
+ type: {
+ name: "Composite",
+ className: "ServicesProperties"
+ }
+ }
+ }
+ }
+};
+
+export const PrivateLinkServicesForO365ManagementActivityAPIDescription: msRest.CompositeMapper = {
+ serializedName: "PrivateLinkServicesForO365ManagementActivityAPIDescription",
+ type: {
+ name: "Composite",
+ className: "PrivateLinkServicesForO365ManagementActivityAPIDescription",
+ modelProperties: {
+ ...ServicesResource.type.modelProperties,
+ properties: {
+ serializedName: "properties",
+ type: {
+ name: "Composite",
+ className: "ServicesProperties"
+ }
+ }
+ }
+ }
+};
+
+export const PrivateLinkServicesForSCCPowershellDescription: msRest.CompositeMapper = {
+ serializedName: "PrivateLinkServicesForSCCPowershellDescription",
+ type: {
+ name: "Composite",
+ className: "PrivateLinkServicesForSCCPowershellDescription",
+ modelProperties: {
+ ...ServicesResource.type.modelProperties,
+ properties: {
+ serializedName: "properties",
+ type: {
+ name: "Composite",
+ className: "ServicesProperties"
+ }
+ }
+ }
+ }
+};
+
+export const PrivateLinkServicesForMIPPolicySyncDescription: msRest.CompositeMapper = {
+ serializedName: "PrivateLinkServicesForMIPPolicySyncDescription",
+ type: {
+ name: "Composite",
+ className: "PrivateLinkServicesForMIPPolicySyncDescription",
+ modelProperties: {
+ ...ServicesResource.type.modelProperties,
+ properties: {
+ serializedName: "properties",
+ type: {
+ name: "Composite",
+ className: "ServicesProperties"
+ }
+ }
+ }
+ }
+};
+
+export const OperationListResult: msRest.CompositeMapper = {
+ serializedName: "OperationListResult",
+ type: {
+ name: "Composite",
+ className: "OperationListResult",
+ modelProperties: {
+ nextLink: {
+ readOnly: true,
+ serializedName: "nextLink",
+ type: {
+ name: "String"
+ }
+ },
+ value: {
+ readOnly: true,
+ serializedName: "",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "Operation"
+ }
+ }
+ }
+ }
+ }
+ }
+};
+
+export const PrivateLinkServicesForEDMUploadDescriptionListResult: msRest.CompositeMapper = {
+ serializedName: "PrivateLinkServicesForEDMUploadDescriptionListResult",
+ type: {
+ name: "Composite",
+ className: "PrivateLinkServicesForEDMUploadDescriptionListResult",
+ modelProperties: {
+ nextLink: {
+ readOnly: true,
+ serializedName: "nextLink",
+ type: {
+ name: "String"
+ }
+ },
+ value: {
+ serializedName: "",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "PrivateLinkServicesForEDMUploadDescription"
+ }
+ }
+ }
+ }
+ }
+ }
+};
+
+export const PrivateEndpointConnectionListResult: msRest.CompositeMapper = {
+ serializedName: "PrivateEndpointConnectionListResult",
+ type: {
+ name: "Composite",
+ className: "PrivateEndpointConnectionListResult",
+ modelProperties: {
+ value: {
+ serializedName: "",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "PrivateEndpointConnection"
+ }
+ }
+ }
+ },
+ nextLink: {
+ readOnly: true,
+ serializedName: "nextLink",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const PrivateLinkServicesForM365ComplianceCenterDescriptionListResult: msRest.CompositeMapper = {
+ serializedName: "PrivateLinkServicesForM365ComplianceCenterDescriptionListResult",
+ type: {
+ name: "Composite",
+ className: "PrivateLinkServicesForM365ComplianceCenterDescriptionListResult",
+ modelProperties: {
+ nextLink: {
+ readOnly: true,
+ serializedName: "nextLink",
+ type: {
+ name: "String"
+ }
+ },
+ value: {
+ serializedName: "",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "PrivateLinkServicesForM365ComplianceCenterDescription"
+ }
+ }
+ }
+ }
+ }
+ }
+};
+
+export const PrivateLinkServicesForM365SecurityCenterDescriptionListResult: msRest.CompositeMapper = {
+ serializedName: "PrivateLinkServicesForM365SecurityCenterDescriptionListResult",
+ type: {
+ name: "Composite",
+ className: "PrivateLinkServicesForM365SecurityCenterDescriptionListResult",
+ modelProperties: {
+ nextLink: {
+ readOnly: true,
+ serializedName: "nextLink",
+ type: {
+ name: "String"
+ }
+ },
+ value: {
+ serializedName: "",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "PrivateLinkServicesForM365SecurityCenterDescription"
+ }
+ }
+ }
+ }
+ }
+ }
+};
+
+export const PrivateLinkServicesForO365ManagementActivityAPIDescriptionListResult: msRest.CompositeMapper = {
+ serializedName: "PrivateLinkServicesForO365ManagementActivityAPIDescriptionListResult",
+ type: {
+ name: "Composite",
+ className: "PrivateLinkServicesForO365ManagementActivityAPIDescriptionListResult",
+ modelProperties: {
+ nextLink: {
+ readOnly: true,
+ serializedName: "nextLink",
+ type: {
+ name: "String"
+ }
+ },
+ value: {
+ serializedName: "",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "PrivateLinkServicesForO365ManagementActivityAPIDescription"
+ }
+ }
+ }
+ }
+ }
+ }
+};
+
+export const PrivateLinkServicesForSCCPowershellDescriptionListResult: msRest.CompositeMapper = {
+ serializedName: "PrivateLinkServicesForSCCPowershellDescriptionListResult",
+ type: {
+ name: "Composite",
+ className: "PrivateLinkServicesForSCCPowershellDescriptionListResult",
+ modelProperties: {
+ nextLink: {
+ readOnly: true,
+ serializedName: "nextLink",
+ type: {
+ name: "String"
+ }
+ },
+ value: {
+ serializedName: "",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "PrivateLinkServicesForSCCPowershellDescription"
+ }
+ }
+ }
+ }
+ }
+ }
+};
+
+export const PrivateLinkServicesForMIPPolicySyncDescriptionListResult: msRest.CompositeMapper = {
+ serializedName: "PrivateLinkServicesForMIPPolicySyncDescriptionListResult",
+ type: {
+ name: "Composite",
+ className: "PrivateLinkServicesForMIPPolicySyncDescriptionListResult",
+ modelProperties: {
+ nextLink: {
+ readOnly: true,
+ serializedName: "nextLink",
+ type: {
+ name: "String"
+ }
+ },
+ value: {
+ serializedName: "",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "PrivateLinkServicesForMIPPolicySyncDescription"
+ }
+ }
+ }
+ }
+ }
+ }
+};
diff --git a/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/models/operationResultsMappers.ts b/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/models/operationResultsMappers.ts
new file mode 100644
index 000000000000..73acc940a0c0
--- /dev/null
+++ b/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/models/operationResultsMappers.ts
@@ -0,0 +1,13 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+export {
+ ErrorDetails,
+ ErrorDetailsInternal,
+ OperationResultsDescription
+} from "../models/mappers";
diff --git a/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/models/operationsMappers.ts b/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/models/operationsMappers.ts
new file mode 100644
index 000000000000..5e62831140e1
--- /dev/null
+++ b/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/models/operationsMappers.ts
@@ -0,0 +1,15 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+export {
+ ErrorDetails,
+ ErrorDetailsInternal,
+ Operation,
+ OperationDisplay,
+ OperationListResult
+} from "../models/mappers";
diff --git a/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/models/parameters.ts b/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/models/parameters.ts
new file mode 100644
index 000000000000..b84e5bb05576
--- /dev/null
+++ b/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/models/parameters.ts
@@ -0,0 +1,121 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is
+ * regenerated.
+ */
+
+import * as msRest from "@azure/ms-rest-js";
+
+export const acceptLanguage: msRest.OperationParameter = {
+ parameterPath: "acceptLanguage",
+ mapper: {
+ serializedName: "accept-language",
+ defaultValue: 'en-US',
+ type: {
+ name: "String"
+ }
+ }
+};
+export const apiVersion: msRest.OperationQueryParameter = {
+ parameterPath: "apiVersion",
+ mapper: {
+ required: true,
+ serializedName: "api-version",
+ type: {
+ name: "String"
+ }
+ }
+};
+export const groupName: msRest.OperationURLParameter = {
+ parameterPath: "groupName",
+ mapper: {
+ required: true,
+ serializedName: "groupName",
+ type: {
+ name: "String"
+ }
+ }
+};
+export const locationName: msRest.OperationURLParameter = {
+ parameterPath: "locationName",
+ mapper: {
+ required: true,
+ serializedName: "locationName",
+ type: {
+ name: "String"
+ }
+ }
+};
+export const nextPageLink: msRest.OperationURLParameter = {
+ parameterPath: "nextPageLink",
+ mapper: {
+ required: true,
+ serializedName: "nextLink",
+ type: {
+ name: "String"
+ }
+ },
+ skipEncoding: true
+};
+export const operationResultId: msRest.OperationURLParameter = {
+ parameterPath: "operationResultId",
+ mapper: {
+ required: true,
+ serializedName: "operationResultId",
+ type: {
+ name: "String"
+ }
+ }
+};
+export const privateEndpointConnectionName: msRest.OperationURLParameter = {
+ parameterPath: "privateEndpointConnectionName",
+ mapper: {
+ required: true,
+ serializedName: "privateEndpointConnectionName",
+ type: {
+ name: "String"
+ }
+ }
+};
+export const resourceGroupName: msRest.OperationURLParameter = {
+ parameterPath: "resourceGroupName",
+ mapper: {
+ required: true,
+ serializedName: "resourceGroupName",
+ constraints: {
+ MaxLength: 90,
+ MinLength: 1,
+ Pattern: /^[-\w\._\(\)]+$/
+ },
+ type: {
+ name: "String"
+ }
+ }
+};
+export const resourceName: msRest.OperationURLParameter = {
+ parameterPath: "resourceName",
+ mapper: {
+ required: true,
+ serializedName: "resourceName",
+ constraints: {
+ MaxLength: 24,
+ MinLength: 3
+ },
+ type: {
+ name: "String"
+ }
+ }
+};
+export const subscriptionId: msRest.OperationURLParameter = {
+ parameterPath: "subscriptionId",
+ mapper: {
+ required: true,
+ serializedName: "subscriptionId",
+ type: {
+ name: "String"
+ }
+ }
+};
diff --git a/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/models/privateEndpointConnectionsAdtAPIMappers.ts b/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/models/privateEndpointConnectionsAdtAPIMappers.ts
new file mode 100644
index 000000000000..8a20b57fecc0
--- /dev/null
+++ b/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/models/privateEndpointConnectionsAdtAPIMappers.ts
@@ -0,0 +1,37 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+export {
+ AzureEntityResource,
+ BaseResource,
+ ErrorDetails,
+ ErrorDetailsInternal,
+ PrivateEndpoint,
+ PrivateEndpointConnection,
+ PrivateEndpointConnectionListResult,
+ PrivateLinkResource,
+ PrivateLinkServiceConnectionState,
+ PrivateLinkServicesForEDMUploadDescription,
+ PrivateLinkServicesForM365ComplianceCenterDescription,
+ PrivateLinkServicesForM365SecurityCenterDescription,
+ PrivateLinkServicesForMIPPolicySyncDescription,
+ PrivateLinkServicesForO365ManagementActivityAPIDescription,
+ PrivateLinkServicesForSCCPowershellDescription,
+ ProxyResource,
+ Resource,
+ ServiceAccessPolicyEntry,
+ ServiceAuthenticationConfigurationInfo,
+ ServiceCorsConfigurationInfo,
+ ServiceCosmosDbConfigurationInfo,
+ ServiceExportConfigurationInfo,
+ ServicesProperties,
+ ServicesResource,
+ ServicesResourceIdentity,
+ SystemData,
+ TrackedResource
+} from "../models/mappers";
diff --git a/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/models/privateEndpointConnectionsCompMappers.ts b/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/models/privateEndpointConnectionsCompMappers.ts
new file mode 100644
index 000000000000..8a20b57fecc0
--- /dev/null
+++ b/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/models/privateEndpointConnectionsCompMappers.ts
@@ -0,0 +1,37 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+export {
+ AzureEntityResource,
+ BaseResource,
+ ErrorDetails,
+ ErrorDetailsInternal,
+ PrivateEndpoint,
+ PrivateEndpointConnection,
+ PrivateEndpointConnectionListResult,
+ PrivateLinkResource,
+ PrivateLinkServiceConnectionState,
+ PrivateLinkServicesForEDMUploadDescription,
+ PrivateLinkServicesForM365ComplianceCenterDescription,
+ PrivateLinkServicesForM365SecurityCenterDescription,
+ PrivateLinkServicesForMIPPolicySyncDescription,
+ PrivateLinkServicesForO365ManagementActivityAPIDescription,
+ PrivateLinkServicesForSCCPowershellDescription,
+ ProxyResource,
+ Resource,
+ ServiceAccessPolicyEntry,
+ ServiceAuthenticationConfigurationInfo,
+ ServiceCorsConfigurationInfo,
+ ServiceCosmosDbConfigurationInfo,
+ ServiceExportConfigurationInfo,
+ ServicesProperties,
+ ServicesResource,
+ ServicesResourceIdentity,
+ SystemData,
+ TrackedResource
+} from "../models/mappers";
diff --git a/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/models/privateEndpointConnectionsForEDMMappers.ts b/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/models/privateEndpointConnectionsForEDMMappers.ts
new file mode 100644
index 000000000000..8a20b57fecc0
--- /dev/null
+++ b/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/models/privateEndpointConnectionsForEDMMappers.ts
@@ -0,0 +1,37 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+export {
+ AzureEntityResource,
+ BaseResource,
+ ErrorDetails,
+ ErrorDetailsInternal,
+ PrivateEndpoint,
+ PrivateEndpointConnection,
+ PrivateEndpointConnectionListResult,
+ PrivateLinkResource,
+ PrivateLinkServiceConnectionState,
+ PrivateLinkServicesForEDMUploadDescription,
+ PrivateLinkServicesForM365ComplianceCenterDescription,
+ PrivateLinkServicesForM365SecurityCenterDescription,
+ PrivateLinkServicesForMIPPolicySyncDescription,
+ PrivateLinkServicesForO365ManagementActivityAPIDescription,
+ PrivateLinkServicesForSCCPowershellDescription,
+ ProxyResource,
+ Resource,
+ ServiceAccessPolicyEntry,
+ ServiceAuthenticationConfigurationInfo,
+ ServiceCorsConfigurationInfo,
+ ServiceCosmosDbConfigurationInfo,
+ ServiceExportConfigurationInfo,
+ ServicesProperties,
+ ServicesResource,
+ ServicesResourceIdentity,
+ SystemData,
+ TrackedResource
+} from "../models/mappers";
diff --git a/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/models/privateEndpointConnectionsForMIPPolicySyncMappers.ts b/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/models/privateEndpointConnectionsForMIPPolicySyncMappers.ts
new file mode 100644
index 000000000000..8a20b57fecc0
--- /dev/null
+++ b/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/models/privateEndpointConnectionsForMIPPolicySyncMappers.ts
@@ -0,0 +1,37 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+export {
+ AzureEntityResource,
+ BaseResource,
+ ErrorDetails,
+ ErrorDetailsInternal,
+ PrivateEndpoint,
+ PrivateEndpointConnection,
+ PrivateEndpointConnectionListResult,
+ PrivateLinkResource,
+ PrivateLinkServiceConnectionState,
+ PrivateLinkServicesForEDMUploadDescription,
+ PrivateLinkServicesForM365ComplianceCenterDescription,
+ PrivateLinkServicesForM365SecurityCenterDescription,
+ PrivateLinkServicesForMIPPolicySyncDescription,
+ PrivateLinkServicesForO365ManagementActivityAPIDescription,
+ PrivateLinkServicesForSCCPowershellDescription,
+ ProxyResource,
+ Resource,
+ ServiceAccessPolicyEntry,
+ ServiceAuthenticationConfigurationInfo,
+ ServiceCorsConfigurationInfo,
+ ServiceCosmosDbConfigurationInfo,
+ ServiceExportConfigurationInfo,
+ ServicesProperties,
+ ServicesResource,
+ ServicesResourceIdentity,
+ SystemData,
+ TrackedResource
+} from "../models/mappers";
diff --git a/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/models/privateEndpointConnectionsForSCCPowershellMappers.ts b/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/models/privateEndpointConnectionsForSCCPowershellMappers.ts
new file mode 100644
index 000000000000..8a20b57fecc0
--- /dev/null
+++ b/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/models/privateEndpointConnectionsForSCCPowershellMappers.ts
@@ -0,0 +1,37 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+export {
+ AzureEntityResource,
+ BaseResource,
+ ErrorDetails,
+ ErrorDetailsInternal,
+ PrivateEndpoint,
+ PrivateEndpointConnection,
+ PrivateEndpointConnectionListResult,
+ PrivateLinkResource,
+ PrivateLinkServiceConnectionState,
+ PrivateLinkServicesForEDMUploadDescription,
+ PrivateLinkServicesForM365ComplianceCenterDescription,
+ PrivateLinkServicesForM365SecurityCenterDescription,
+ PrivateLinkServicesForMIPPolicySyncDescription,
+ PrivateLinkServicesForO365ManagementActivityAPIDescription,
+ PrivateLinkServicesForSCCPowershellDescription,
+ ProxyResource,
+ Resource,
+ ServiceAccessPolicyEntry,
+ ServiceAuthenticationConfigurationInfo,
+ ServiceCorsConfigurationInfo,
+ ServiceCosmosDbConfigurationInfo,
+ ServiceExportConfigurationInfo,
+ ServicesProperties,
+ ServicesResource,
+ ServicesResourceIdentity,
+ SystemData,
+ TrackedResource
+} from "../models/mappers";
diff --git a/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/models/privateEndpointConnectionsSecMappers.ts b/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/models/privateEndpointConnectionsSecMappers.ts
new file mode 100644
index 000000000000..8a20b57fecc0
--- /dev/null
+++ b/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/models/privateEndpointConnectionsSecMappers.ts
@@ -0,0 +1,37 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+export {
+ AzureEntityResource,
+ BaseResource,
+ ErrorDetails,
+ ErrorDetailsInternal,
+ PrivateEndpoint,
+ PrivateEndpointConnection,
+ PrivateEndpointConnectionListResult,
+ PrivateLinkResource,
+ PrivateLinkServiceConnectionState,
+ PrivateLinkServicesForEDMUploadDescription,
+ PrivateLinkServicesForM365ComplianceCenterDescription,
+ PrivateLinkServicesForM365SecurityCenterDescription,
+ PrivateLinkServicesForMIPPolicySyncDescription,
+ PrivateLinkServicesForO365ManagementActivityAPIDescription,
+ PrivateLinkServicesForSCCPowershellDescription,
+ ProxyResource,
+ Resource,
+ ServiceAccessPolicyEntry,
+ ServiceAuthenticationConfigurationInfo,
+ ServiceCorsConfigurationInfo,
+ ServiceCosmosDbConfigurationInfo,
+ ServiceExportConfigurationInfo,
+ ServicesProperties,
+ ServicesResource,
+ ServicesResourceIdentity,
+ SystemData,
+ TrackedResource
+} from "../models/mappers";
diff --git a/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/models/privateLinkResourcesAdtAPIMappers.ts b/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/models/privateLinkResourcesAdtAPIMappers.ts
new file mode 100644
index 000000000000..481329a09181
--- /dev/null
+++ b/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/models/privateLinkResourcesAdtAPIMappers.ts
@@ -0,0 +1,37 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+export {
+ AzureEntityResource,
+ BaseResource,
+ ErrorDetails,
+ ErrorDetailsInternal,
+ PrivateEndpoint,
+ PrivateEndpointConnection,
+ PrivateLinkResource,
+ PrivateLinkResourceListResult,
+ PrivateLinkServiceConnectionState,
+ PrivateLinkServicesForEDMUploadDescription,
+ PrivateLinkServicesForM365ComplianceCenterDescription,
+ PrivateLinkServicesForM365SecurityCenterDescription,
+ PrivateLinkServicesForMIPPolicySyncDescription,
+ PrivateLinkServicesForO365ManagementActivityAPIDescription,
+ PrivateLinkServicesForSCCPowershellDescription,
+ ProxyResource,
+ Resource,
+ ServiceAccessPolicyEntry,
+ ServiceAuthenticationConfigurationInfo,
+ ServiceCorsConfigurationInfo,
+ ServiceCosmosDbConfigurationInfo,
+ ServiceExportConfigurationInfo,
+ ServicesProperties,
+ ServicesResource,
+ ServicesResourceIdentity,
+ SystemData,
+ TrackedResource
+} from "../models/mappers";
diff --git a/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/models/privateLinkResourcesCompMappers.ts b/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/models/privateLinkResourcesCompMappers.ts
new file mode 100644
index 000000000000..481329a09181
--- /dev/null
+++ b/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/models/privateLinkResourcesCompMappers.ts
@@ -0,0 +1,37 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+export {
+ AzureEntityResource,
+ BaseResource,
+ ErrorDetails,
+ ErrorDetailsInternal,
+ PrivateEndpoint,
+ PrivateEndpointConnection,
+ PrivateLinkResource,
+ PrivateLinkResourceListResult,
+ PrivateLinkServiceConnectionState,
+ PrivateLinkServicesForEDMUploadDescription,
+ PrivateLinkServicesForM365ComplianceCenterDescription,
+ PrivateLinkServicesForM365SecurityCenterDescription,
+ PrivateLinkServicesForMIPPolicySyncDescription,
+ PrivateLinkServicesForO365ManagementActivityAPIDescription,
+ PrivateLinkServicesForSCCPowershellDescription,
+ ProxyResource,
+ Resource,
+ ServiceAccessPolicyEntry,
+ ServiceAuthenticationConfigurationInfo,
+ ServiceCorsConfigurationInfo,
+ ServiceCosmosDbConfigurationInfo,
+ ServiceExportConfigurationInfo,
+ ServicesProperties,
+ ServicesResource,
+ ServicesResourceIdentity,
+ SystemData,
+ TrackedResource
+} from "../models/mappers";
diff --git a/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/models/privateLinkResourcesForMIPPolicySyncMappers.ts b/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/models/privateLinkResourcesForMIPPolicySyncMappers.ts
new file mode 100644
index 000000000000..481329a09181
--- /dev/null
+++ b/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/models/privateLinkResourcesForMIPPolicySyncMappers.ts
@@ -0,0 +1,37 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+export {
+ AzureEntityResource,
+ BaseResource,
+ ErrorDetails,
+ ErrorDetailsInternal,
+ PrivateEndpoint,
+ PrivateEndpointConnection,
+ PrivateLinkResource,
+ PrivateLinkResourceListResult,
+ PrivateLinkServiceConnectionState,
+ PrivateLinkServicesForEDMUploadDescription,
+ PrivateLinkServicesForM365ComplianceCenterDescription,
+ PrivateLinkServicesForM365SecurityCenterDescription,
+ PrivateLinkServicesForMIPPolicySyncDescription,
+ PrivateLinkServicesForO365ManagementActivityAPIDescription,
+ PrivateLinkServicesForSCCPowershellDescription,
+ ProxyResource,
+ Resource,
+ ServiceAccessPolicyEntry,
+ ServiceAuthenticationConfigurationInfo,
+ ServiceCorsConfigurationInfo,
+ ServiceCosmosDbConfigurationInfo,
+ ServiceExportConfigurationInfo,
+ ServicesProperties,
+ ServicesResource,
+ ServicesResourceIdentity,
+ SystemData,
+ TrackedResource
+} from "../models/mappers";
diff --git a/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/models/privateLinkResourcesForSCCPowershellMappers.ts b/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/models/privateLinkResourcesForSCCPowershellMappers.ts
new file mode 100644
index 000000000000..481329a09181
--- /dev/null
+++ b/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/models/privateLinkResourcesForSCCPowershellMappers.ts
@@ -0,0 +1,37 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+export {
+ AzureEntityResource,
+ BaseResource,
+ ErrorDetails,
+ ErrorDetailsInternal,
+ PrivateEndpoint,
+ PrivateEndpointConnection,
+ PrivateLinkResource,
+ PrivateLinkResourceListResult,
+ PrivateLinkServiceConnectionState,
+ PrivateLinkServicesForEDMUploadDescription,
+ PrivateLinkServicesForM365ComplianceCenterDescription,
+ PrivateLinkServicesForM365SecurityCenterDescription,
+ PrivateLinkServicesForMIPPolicySyncDescription,
+ PrivateLinkServicesForO365ManagementActivityAPIDescription,
+ PrivateLinkServicesForSCCPowershellDescription,
+ ProxyResource,
+ Resource,
+ ServiceAccessPolicyEntry,
+ ServiceAuthenticationConfigurationInfo,
+ ServiceCorsConfigurationInfo,
+ ServiceCosmosDbConfigurationInfo,
+ ServiceExportConfigurationInfo,
+ ServicesProperties,
+ ServicesResource,
+ ServicesResourceIdentity,
+ SystemData,
+ TrackedResource
+} from "../models/mappers";
diff --git a/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/models/privateLinkResourcesMappers.ts b/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/models/privateLinkResourcesMappers.ts
new file mode 100644
index 000000000000..481329a09181
--- /dev/null
+++ b/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/models/privateLinkResourcesMappers.ts
@@ -0,0 +1,37 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+export {
+ AzureEntityResource,
+ BaseResource,
+ ErrorDetails,
+ ErrorDetailsInternal,
+ PrivateEndpoint,
+ PrivateEndpointConnection,
+ PrivateLinkResource,
+ PrivateLinkResourceListResult,
+ PrivateLinkServiceConnectionState,
+ PrivateLinkServicesForEDMUploadDescription,
+ PrivateLinkServicesForM365ComplianceCenterDescription,
+ PrivateLinkServicesForM365SecurityCenterDescription,
+ PrivateLinkServicesForMIPPolicySyncDescription,
+ PrivateLinkServicesForO365ManagementActivityAPIDescription,
+ PrivateLinkServicesForSCCPowershellDescription,
+ ProxyResource,
+ Resource,
+ ServiceAccessPolicyEntry,
+ ServiceAuthenticationConfigurationInfo,
+ ServiceCorsConfigurationInfo,
+ ServiceCosmosDbConfigurationInfo,
+ ServiceExportConfigurationInfo,
+ ServicesProperties,
+ ServicesResource,
+ ServicesResourceIdentity,
+ SystemData,
+ TrackedResource
+} from "../models/mappers";
diff --git a/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/models/privateLinkResourcesSecMappers.ts b/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/models/privateLinkResourcesSecMappers.ts
new file mode 100644
index 000000000000..481329a09181
--- /dev/null
+++ b/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/models/privateLinkResourcesSecMappers.ts
@@ -0,0 +1,37 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+export {
+ AzureEntityResource,
+ BaseResource,
+ ErrorDetails,
+ ErrorDetailsInternal,
+ PrivateEndpoint,
+ PrivateEndpointConnection,
+ PrivateLinkResource,
+ PrivateLinkResourceListResult,
+ PrivateLinkServiceConnectionState,
+ PrivateLinkServicesForEDMUploadDescription,
+ PrivateLinkServicesForM365ComplianceCenterDescription,
+ PrivateLinkServicesForM365SecurityCenterDescription,
+ PrivateLinkServicesForMIPPolicySyncDescription,
+ PrivateLinkServicesForO365ManagementActivityAPIDescription,
+ PrivateLinkServicesForSCCPowershellDescription,
+ ProxyResource,
+ Resource,
+ ServiceAccessPolicyEntry,
+ ServiceAuthenticationConfigurationInfo,
+ ServiceCorsConfigurationInfo,
+ ServiceCosmosDbConfigurationInfo,
+ ServiceExportConfigurationInfo,
+ ServicesProperties,
+ ServicesResource,
+ ServicesResourceIdentity,
+ SystemData,
+ TrackedResource
+} from "../models/mappers";
diff --git a/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/models/privateLinkServicesForEDMUploadMappers.ts b/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/models/privateLinkServicesForEDMUploadMappers.ts
new file mode 100644
index 000000000000..29b57451eb8f
--- /dev/null
+++ b/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/models/privateLinkServicesForEDMUploadMappers.ts
@@ -0,0 +1,38 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+export {
+ AzureEntityResource,
+ BaseResource,
+ ErrorDetails,
+ ErrorDetailsInternal,
+ PrivateEndpoint,
+ PrivateEndpointConnection,
+ PrivateLinkResource,
+ PrivateLinkServiceConnectionState,
+ PrivateLinkServicesForEDMUploadDescription,
+ PrivateLinkServicesForEDMUploadDescriptionListResult,
+ PrivateLinkServicesForM365ComplianceCenterDescription,
+ PrivateLinkServicesForM365SecurityCenterDescription,
+ PrivateLinkServicesForMIPPolicySyncDescription,
+ PrivateLinkServicesForO365ManagementActivityAPIDescription,
+ PrivateLinkServicesForSCCPowershellDescription,
+ ProxyResource,
+ Resource,
+ ServiceAccessPolicyEntry,
+ ServiceAuthenticationConfigurationInfo,
+ ServiceCorsConfigurationInfo,
+ ServiceCosmosDbConfigurationInfo,
+ ServiceExportConfigurationInfo,
+ ServicesPatchDescription,
+ ServicesProperties,
+ ServicesResource,
+ ServicesResourceIdentity,
+ SystemData,
+ TrackedResource
+} from "../models/mappers";
diff --git a/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/models/privateLinkServicesForM365ComplianceCenterMappers.ts b/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/models/privateLinkServicesForM365ComplianceCenterMappers.ts
new file mode 100644
index 000000000000..3b85e896f805
--- /dev/null
+++ b/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/models/privateLinkServicesForM365ComplianceCenterMappers.ts
@@ -0,0 +1,38 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+export {
+ AzureEntityResource,
+ BaseResource,
+ ErrorDetails,
+ ErrorDetailsInternal,
+ PrivateEndpoint,
+ PrivateEndpointConnection,
+ PrivateLinkResource,
+ PrivateLinkServiceConnectionState,
+ PrivateLinkServicesForEDMUploadDescription,
+ PrivateLinkServicesForM365ComplianceCenterDescription,
+ PrivateLinkServicesForM365ComplianceCenterDescriptionListResult,
+ PrivateLinkServicesForM365SecurityCenterDescription,
+ PrivateLinkServicesForMIPPolicySyncDescription,
+ PrivateLinkServicesForO365ManagementActivityAPIDescription,
+ PrivateLinkServicesForSCCPowershellDescription,
+ ProxyResource,
+ Resource,
+ ServiceAccessPolicyEntry,
+ ServiceAuthenticationConfigurationInfo,
+ ServiceCorsConfigurationInfo,
+ ServiceCosmosDbConfigurationInfo,
+ ServiceExportConfigurationInfo,
+ ServicesPatchDescription,
+ ServicesProperties,
+ ServicesResource,
+ ServicesResourceIdentity,
+ SystemData,
+ TrackedResource
+} from "../models/mappers";
diff --git a/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/models/privateLinkServicesForM365SecurityCenterMappers.ts b/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/models/privateLinkServicesForM365SecurityCenterMappers.ts
new file mode 100644
index 000000000000..76c07485a35f
--- /dev/null
+++ b/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/models/privateLinkServicesForM365SecurityCenterMappers.ts
@@ -0,0 +1,38 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+export {
+ AzureEntityResource,
+ BaseResource,
+ ErrorDetails,
+ ErrorDetailsInternal,
+ PrivateEndpoint,
+ PrivateEndpointConnection,
+ PrivateLinkResource,
+ PrivateLinkServiceConnectionState,
+ PrivateLinkServicesForEDMUploadDescription,
+ PrivateLinkServicesForM365ComplianceCenterDescription,
+ PrivateLinkServicesForM365SecurityCenterDescription,
+ PrivateLinkServicesForM365SecurityCenterDescriptionListResult,
+ PrivateLinkServicesForMIPPolicySyncDescription,
+ PrivateLinkServicesForO365ManagementActivityAPIDescription,
+ PrivateLinkServicesForSCCPowershellDescription,
+ ProxyResource,
+ Resource,
+ ServiceAccessPolicyEntry,
+ ServiceAuthenticationConfigurationInfo,
+ ServiceCorsConfigurationInfo,
+ ServiceCosmosDbConfigurationInfo,
+ ServiceExportConfigurationInfo,
+ ServicesPatchDescription,
+ ServicesProperties,
+ ServicesResource,
+ ServicesResourceIdentity,
+ SystemData,
+ TrackedResource
+} from "../models/mappers";
diff --git a/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/models/privateLinkServicesForMIPPolicySyncMappers.ts b/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/models/privateLinkServicesForMIPPolicySyncMappers.ts
new file mode 100644
index 000000000000..7e687712bad3
--- /dev/null
+++ b/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/models/privateLinkServicesForMIPPolicySyncMappers.ts
@@ -0,0 +1,38 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+export {
+ AzureEntityResource,
+ BaseResource,
+ ErrorDetails,
+ ErrorDetailsInternal,
+ PrivateEndpoint,
+ PrivateEndpointConnection,
+ PrivateLinkResource,
+ PrivateLinkServiceConnectionState,
+ PrivateLinkServicesForEDMUploadDescription,
+ PrivateLinkServicesForM365ComplianceCenterDescription,
+ PrivateLinkServicesForM365SecurityCenterDescription,
+ PrivateLinkServicesForMIPPolicySyncDescription,
+ PrivateLinkServicesForMIPPolicySyncDescriptionListResult,
+ PrivateLinkServicesForO365ManagementActivityAPIDescription,
+ PrivateLinkServicesForSCCPowershellDescription,
+ ProxyResource,
+ Resource,
+ ServiceAccessPolicyEntry,
+ ServiceAuthenticationConfigurationInfo,
+ ServiceCorsConfigurationInfo,
+ ServiceCosmosDbConfigurationInfo,
+ ServiceExportConfigurationInfo,
+ ServicesPatchDescription,
+ ServicesProperties,
+ ServicesResource,
+ ServicesResourceIdentity,
+ SystemData,
+ TrackedResource
+} from "../models/mappers";
diff --git a/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/models/privateLinkServicesForO365ManagementActivityAPIMappers.ts b/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/models/privateLinkServicesForO365ManagementActivityAPIMappers.ts
new file mode 100644
index 000000000000..b382982c169e
--- /dev/null
+++ b/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/models/privateLinkServicesForO365ManagementActivityAPIMappers.ts
@@ -0,0 +1,38 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+export {
+ AzureEntityResource,
+ BaseResource,
+ ErrorDetails,
+ ErrorDetailsInternal,
+ PrivateEndpoint,
+ PrivateEndpointConnection,
+ PrivateLinkResource,
+ PrivateLinkServiceConnectionState,
+ PrivateLinkServicesForEDMUploadDescription,
+ PrivateLinkServicesForM365ComplianceCenterDescription,
+ PrivateLinkServicesForM365SecurityCenterDescription,
+ PrivateLinkServicesForMIPPolicySyncDescription,
+ PrivateLinkServicesForO365ManagementActivityAPIDescription,
+ PrivateLinkServicesForO365ManagementActivityAPIDescriptionListResult,
+ PrivateLinkServicesForSCCPowershellDescription,
+ ProxyResource,
+ Resource,
+ ServiceAccessPolicyEntry,
+ ServiceAuthenticationConfigurationInfo,
+ ServiceCorsConfigurationInfo,
+ ServiceCosmosDbConfigurationInfo,
+ ServiceExportConfigurationInfo,
+ ServicesPatchDescription,
+ ServicesProperties,
+ ServicesResource,
+ ServicesResourceIdentity,
+ SystemData,
+ TrackedResource
+} from "../models/mappers";
diff --git a/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/models/privateLinkServicesForSCCPowershellMappers.ts b/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/models/privateLinkServicesForSCCPowershellMappers.ts
new file mode 100644
index 000000000000..6a0dc7ef06c1
--- /dev/null
+++ b/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/models/privateLinkServicesForSCCPowershellMappers.ts
@@ -0,0 +1,38 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+export {
+ AzureEntityResource,
+ BaseResource,
+ ErrorDetails,
+ ErrorDetailsInternal,
+ PrivateEndpoint,
+ PrivateEndpointConnection,
+ PrivateLinkResource,
+ PrivateLinkServiceConnectionState,
+ PrivateLinkServicesForEDMUploadDescription,
+ PrivateLinkServicesForM365ComplianceCenterDescription,
+ PrivateLinkServicesForM365SecurityCenterDescription,
+ PrivateLinkServicesForMIPPolicySyncDescription,
+ PrivateLinkServicesForO365ManagementActivityAPIDescription,
+ PrivateLinkServicesForSCCPowershellDescription,
+ PrivateLinkServicesForSCCPowershellDescriptionListResult,
+ ProxyResource,
+ Resource,
+ ServiceAccessPolicyEntry,
+ ServiceAuthenticationConfigurationInfo,
+ ServiceCorsConfigurationInfo,
+ ServiceCosmosDbConfigurationInfo,
+ ServiceExportConfigurationInfo,
+ ServicesPatchDescription,
+ ServicesProperties,
+ ServicesResource,
+ ServicesResourceIdentity,
+ SystemData,
+ TrackedResource
+} from "../models/mappers";
diff --git a/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/models/servicesMappers.ts b/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/models/servicesMappers.ts
new file mode 100644
index 000000000000..b067596c1b7c
--- /dev/null
+++ b/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/models/servicesMappers.ts
@@ -0,0 +1,12 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+export {
+ ErrorDetails,
+ ErrorDetailsInternal
+} from "../models/mappers";
diff --git a/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/operations/index.ts b/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/operations/index.ts
new file mode 100644
index 000000000000..1aa718ef732d
--- /dev/null
+++ b/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/operations/index.ts
@@ -0,0 +1,30 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is
+ * regenerated.
+ */
+
+export * from "./operations";
+export * from "./operationResults";
+export * from "./privateLinkServicesForEDMUpload";
+export * from "./services";
+export * from "./privateEndpointConnectionsForEDM";
+export * from "./privateLinkResources";
+export * from "./privateLinkServicesForM365ComplianceCenter";
+export * from "./privateEndpointConnectionsComp";
+export * from "./privateLinkResourcesComp";
+export * from "./privateLinkServicesForM365SecurityCenter";
+export * from "./privateEndpointConnectionsSec";
+export * from "./privateLinkResourcesSec";
+export * from "./privateLinkServicesForO365ManagementActivityAPI";
+export * from "./privateEndpointConnectionsAdtAPI";
+export * from "./privateLinkResourcesAdtAPI";
+export * from "./privateLinkServicesForSCCPowershell";
+export * from "./privateEndpointConnectionsForSCCPowershell";
+export * from "./privateLinkResourcesForSCCPowershell";
+export * from "./privateLinkServicesForMIPPolicySync";
+export * from "./privateEndpointConnectionsForMIPPolicySync";
+export * from "./privateLinkResourcesForMIPPolicySync";
diff --git a/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/operations/operationResults.ts b/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/operations/operationResults.ts
new file mode 100644
index 000000000000..cbd975b2e4fb
--- /dev/null
+++ b/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/operations/operationResults.ts
@@ -0,0 +1,86 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is
+ * regenerated.
+ */
+
+import * as msRest from "@azure/ms-rest-js";
+import * as Models from "../models";
+import * as Mappers from "../models/operationResultsMappers";
+import * as Parameters from "../models/parameters";
+import { M365SecurityAndComplianceClientContext } from "../m365SecurityAndComplianceClientContext";
+
+/** Class representing a OperationResults. */
+export class OperationResults {
+ private readonly client: M365SecurityAndComplianceClientContext;
+
+ /**
+ * Create a OperationResults.
+ * @param {M365SecurityAndComplianceClientContext} client Reference to the service client.
+ */
+ constructor(client: M365SecurityAndComplianceClientContext) {
+ this.client = client;
+ }
+
+ /**
+ * Get the operation result for a long running operation.
+ * @param locationName The location of the operation.
+ * @param operationResultId The ID of the operation result to get.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ get(locationName: string, operationResultId: string, options?: msRest.RequestOptionsBase): Promise;
+ /**
+ * @param locationName The location of the operation.
+ * @param operationResultId The ID of the operation result to get.
+ * @param callback The callback
+ */
+ get(locationName: string, operationResultId: string, callback: msRest.ServiceCallback): void;
+ /**
+ * @param locationName The location of the operation.
+ * @param operationResultId The ID of the operation result to get.
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ get(locationName: string, operationResultId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
+ get(locationName: string, operationResultId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ locationName,
+ operationResultId,
+ options
+ },
+ getOperationSpec,
+ callback) as Promise;
+ }
+}
+
+// Operation Specifications
+const serializer = new msRest.Serializer(Mappers);
+const getOperationSpec: msRest.OperationSpec = {
+ httpMethod: "GET",
+ path: "subscriptions/{subscriptionId}/providers/Microsoft.M365SecurityAndCompliance/locations/{locationName}/operationresults/{operationResultId}",
+ urlParameters: [
+ Parameters.subscriptionId,
+ Parameters.locationName,
+ Parameters.operationResultId
+ ],
+ queryParameters: [
+ Parameters.apiVersion
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Mappers.OperationResultsDescription
+ },
+ default: {
+ bodyMapper: Mappers.ErrorDetails
+ }
+ },
+ serializer
+};
diff --git a/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/operations/operations.ts b/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/operations/operations.ts
new file mode 100644
index 000000000000..47aae3ec43e4
--- /dev/null
+++ b/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/operations/operations.ts
@@ -0,0 +1,125 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is
+ * regenerated.
+ */
+
+import * as msRest from "@azure/ms-rest-js";
+import * as Models from "../models";
+import * as Mappers from "../models/operationsMappers";
+import * as Parameters from "../models/parameters";
+import { M365SecurityAndComplianceClientContext } from "../m365SecurityAndComplianceClientContext";
+
+/** Class representing a Operations. */
+export class Operations {
+ private readonly client: M365SecurityAndComplianceClientContext;
+
+ /**
+ * Create a Operations.
+ * @param {M365SecurityAndComplianceClientContext} client Reference to the service client.
+ */
+ constructor(client: M365SecurityAndComplianceClientContext) {
+ this.client = client;
+ }
+
+ /**
+ * Lists all of the available M365SecurityAndCompliance REST API operations.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ list(options?: msRest.RequestOptionsBase): Promise;
+ /**
+ * @param callback The callback
+ */
+ list(callback: msRest.ServiceCallback): void;
+ /**
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
+ list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ options
+ },
+ listOperationSpec,
+ callback) as Promise;
+ }
+
+ /**
+ * Lists all of the available M365SecurityAndCompliance REST API operations.
+ * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise;
+ /**
+ * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param callback The callback
+ */
+ listNext(nextPageLink: string, callback: msRest.ServiceCallback): void;
+ /**
+ * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
+ listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ nextPageLink,
+ options
+ },
+ listNextOperationSpec,
+ callback) as Promise;
+ }
+}
+
+// Operation Specifications
+const serializer = new msRest.Serializer(Mappers);
+const listOperationSpec: msRest.OperationSpec = {
+ httpMethod: "GET",
+ path: "providers/Microsoft.M365SecurityAndCompliance/operations",
+ queryParameters: [
+ Parameters.apiVersion
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Mappers.OperationListResult
+ },
+ default: {
+ bodyMapper: Mappers.ErrorDetails
+ }
+ },
+ serializer
+};
+
+const listNextOperationSpec: msRest.OperationSpec = {
+ httpMethod: "GET",
+ baseUrl: "https://management.azure.com",
+ path: "{nextLink}",
+ urlParameters: [
+ Parameters.nextPageLink
+ ],
+ queryParameters: [
+ Parameters.apiVersion
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Mappers.OperationListResult
+ },
+ default: {
+ bodyMapper: Mappers.ErrorDetails
+ }
+ },
+ serializer
+};
diff --git a/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/operations/privateEndpointConnectionsAdtAPI.ts b/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/operations/privateEndpointConnectionsAdtAPI.ts
new file mode 100644
index 000000000000..157af174a0c9
--- /dev/null
+++ b/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/operations/privateEndpointConnectionsAdtAPI.ts
@@ -0,0 +1,339 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is
+ * regenerated.
+ */
+
+import * as msRest from "@azure/ms-rest-js";
+import * as msRestAzure from "@azure/ms-rest-azure-js";
+import * as Models from "../models";
+import * as Mappers from "../models/privateEndpointConnectionsAdtAPIMappers";
+import * as Parameters from "../models/parameters";
+import { M365SecurityAndComplianceClientContext } from "../m365SecurityAndComplianceClientContext";
+
+/** Class representing a PrivateEndpointConnectionsAdtAPI. */
+export class PrivateEndpointConnectionsAdtAPI {
+ private readonly client: M365SecurityAndComplianceClientContext;
+
+ /**
+ * Create a PrivateEndpointConnectionsAdtAPI.
+ * @param {M365SecurityAndComplianceClientContext} client Reference to the service client.
+ */
+ constructor(client: M365SecurityAndComplianceClientContext) {
+ this.client = client;
+ }
+
+ /**
+ * Lists all private endpoint connections for a service.
+ * @param resourceGroupName The name of the resource group that contains the service instance.
+ * @param resourceName The name of the service instance.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ listByService(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase): Promise;
+ /**
+ * @param resourceGroupName The name of the resource group that contains the service instance.
+ * @param resourceName The name of the service instance.
+ * @param callback The callback
+ */
+ listByService(resourceGroupName: string, resourceName: string, callback: msRest.ServiceCallback): void;
+ /**
+ * @param resourceGroupName The name of the resource group that contains the service instance.
+ * @param resourceName The name of the service instance.
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ listByService(resourceGroupName: string, resourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
+ listByService(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ resourceGroupName,
+ resourceName,
+ options
+ },
+ listByServiceOperationSpec,
+ callback) as Promise;
+ }
+
+ /**
+ * Gets the specified private endpoint connection associated with the service.
+ * @param resourceGroupName The name of the resource group that contains the service instance.
+ * @param resourceName The name of the service instance.
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with
+ * the Azure resource
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ get(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, options?: msRest.RequestOptionsBase): Promise;
+ /**
+ * @param resourceGroupName The name of the resource group that contains the service instance.
+ * @param resourceName The name of the service instance.
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with
+ * the Azure resource
+ * @param callback The callback
+ */
+ get(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, callback: msRest.ServiceCallback): void;
+ /**
+ * @param resourceGroupName The name of the resource group that contains the service instance.
+ * @param resourceName The name of the service instance.
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with
+ * the Azure resource
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ get(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
+ get(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ resourceGroupName,
+ resourceName,
+ privateEndpointConnectionName,
+ options
+ },
+ getOperationSpec,
+ callback) as Promise;
+ }
+
+ /**
+ * Update the state of the specified private endpoint connection associated with the service.
+ * @param resourceGroupName The name of the resource group that contains the service instance.
+ * @param resourceName The name of the service instance.
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with
+ * the Azure resource
+ * @param properties The private endpoint connection properties.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ createOrUpdate(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, properties: Models.PrivateEndpointConnection, options?: msRest.RequestOptionsBase): Promise {
+ return this.beginCreateOrUpdate(resourceGroupName,resourceName,privateEndpointConnectionName,properties,options)
+ .then(lroPoller => lroPoller.pollUntilFinished()) as Promise;
+ }
+
+ /**
+ * Deletes a private endpoint connection.
+ * @param resourceGroupName The name of the resource group that contains the service instance.
+ * @param resourceName The name of the service instance.
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with
+ * the Azure resource
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ deleteMethod(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, options?: msRest.RequestOptionsBase): Promise {
+ return this.beginDeleteMethod(resourceGroupName,resourceName,privateEndpointConnectionName,options)
+ .then(lroPoller => lroPoller.pollUntilFinished());
+ }
+
+ /**
+ * Update the state of the specified private endpoint connection associated with the service.
+ * @param resourceGroupName The name of the resource group that contains the service instance.
+ * @param resourceName The name of the service instance.
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with
+ * the Azure resource
+ * @param properties The private endpoint connection properties.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ beginCreateOrUpdate(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, properties: Models.PrivateEndpointConnection, options?: msRest.RequestOptionsBase): Promise {
+ return this.client.sendLRORequest(
+ {
+ resourceGroupName,
+ resourceName,
+ privateEndpointConnectionName,
+ properties,
+ options
+ },
+ beginCreateOrUpdateOperationSpec,
+ options);
+ }
+
+ /**
+ * Deletes a private endpoint connection.
+ * @param resourceGroupName The name of the resource group that contains the service instance.
+ * @param resourceName The name of the service instance.
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with
+ * the Azure resource
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ beginDeleteMethod(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, options?: msRest.RequestOptionsBase): Promise {
+ return this.client.sendLRORequest(
+ {
+ resourceGroupName,
+ resourceName,
+ privateEndpointConnectionName,
+ options
+ },
+ beginDeleteMethodOperationSpec,
+ options);
+ }
+
+ /**
+ * Lists all private endpoint connections for a service.
+ * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ listByServiceNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise;
+ /**
+ * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param callback The callback
+ */
+ listByServiceNext(nextPageLink: string, callback: msRest.ServiceCallback): void;
+ /**
+ * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ listByServiceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
+ listByServiceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ nextPageLink,
+ options
+ },
+ listByServiceNextOperationSpec,
+ callback) as Promise;
+ }
+}
+
+// Operation Specifications
+const serializer = new msRest.Serializer(Mappers);
+const listByServiceOperationSpec: msRest.OperationSpec = {
+ httpMethod: "GET",
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.M365SecurityAndCompliance/privateLinkServicesForO365ManagementActivityAPI/{resourceName}/privateEndpointConnections",
+ urlParameters: [
+ Parameters.subscriptionId,
+ Parameters.resourceGroupName,
+ Parameters.resourceName
+ ],
+ queryParameters: [
+ Parameters.apiVersion
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Mappers.PrivateEndpointConnectionListResult
+ },
+ default: {
+ bodyMapper: Mappers.ErrorDetails
+ }
+ },
+ serializer
+};
+
+const getOperationSpec: msRest.OperationSpec = {
+ httpMethod: "GET",
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.M365SecurityAndCompliance/privateLinkServicesForO365ManagementActivityAPI/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}",
+ urlParameters: [
+ Parameters.subscriptionId,
+ Parameters.resourceGroupName,
+ Parameters.resourceName,
+ Parameters.privateEndpointConnectionName
+ ],
+ queryParameters: [
+ Parameters.apiVersion
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Mappers.PrivateEndpointConnection
+ },
+ default: {
+ bodyMapper: Mappers.ErrorDetails
+ }
+ },
+ serializer
+};
+
+const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
+ httpMethod: "PUT",
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.M365SecurityAndCompliance/privateLinkServicesForO365ManagementActivityAPI/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}",
+ urlParameters: [
+ Parameters.subscriptionId,
+ Parameters.resourceGroupName,
+ Parameters.resourceName,
+ Parameters.privateEndpointConnectionName
+ ],
+ queryParameters: [
+ Parameters.apiVersion
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ requestBody: {
+ parameterPath: "properties",
+ mapper: {
+ ...Mappers.PrivateEndpointConnection,
+ required: true
+ }
+ },
+ responses: {
+ 200: {
+ bodyMapper: Mappers.PrivateEndpointConnection
+ },
+ 201: {
+ bodyMapper: Mappers.PrivateEndpointConnection
+ },
+ default: {
+ bodyMapper: Mappers.ErrorDetails
+ }
+ },
+ serializer
+};
+
+const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
+ httpMethod: "DELETE",
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.M365SecurityAndCompliance/privateLinkServicesForO365ManagementActivityAPI/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}",
+ urlParameters: [
+ Parameters.subscriptionId,
+ Parameters.resourceGroupName,
+ Parameters.resourceName,
+ Parameters.privateEndpointConnectionName
+ ],
+ queryParameters: [
+ Parameters.apiVersion
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {},
+ 202: {},
+ 204: {},
+ default: {
+ bodyMapper: Mappers.ErrorDetails
+ }
+ },
+ serializer
+};
+
+const listByServiceNextOperationSpec: msRest.OperationSpec = {
+ httpMethod: "GET",
+ baseUrl: "https://management.azure.com",
+ path: "{nextLink}",
+ urlParameters: [
+ Parameters.nextPageLink
+ ],
+ queryParameters: [
+ Parameters.apiVersion
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Mappers.PrivateEndpointConnectionListResult
+ },
+ default: {
+ bodyMapper: Mappers.ErrorDetails
+ }
+ },
+ serializer
+};
diff --git a/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/operations/privateEndpointConnectionsComp.ts b/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/operations/privateEndpointConnectionsComp.ts
new file mode 100644
index 000000000000..f2b5436a0393
--- /dev/null
+++ b/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/operations/privateEndpointConnectionsComp.ts
@@ -0,0 +1,339 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is
+ * regenerated.
+ */
+
+import * as msRest from "@azure/ms-rest-js";
+import * as msRestAzure from "@azure/ms-rest-azure-js";
+import * as Models from "../models";
+import * as Mappers from "../models/privateEndpointConnectionsCompMappers";
+import * as Parameters from "../models/parameters";
+import { M365SecurityAndComplianceClientContext } from "../m365SecurityAndComplianceClientContext";
+
+/** Class representing a PrivateEndpointConnectionsComp. */
+export class PrivateEndpointConnectionsComp {
+ private readonly client: M365SecurityAndComplianceClientContext;
+
+ /**
+ * Create a PrivateEndpointConnectionsComp.
+ * @param {M365SecurityAndComplianceClientContext} client Reference to the service client.
+ */
+ constructor(client: M365SecurityAndComplianceClientContext) {
+ this.client = client;
+ }
+
+ /**
+ * Lists all private endpoint connections for a service.
+ * @param resourceGroupName The name of the resource group that contains the service instance.
+ * @param resourceName The name of the service instance.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ listByService(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase): Promise;
+ /**
+ * @param resourceGroupName The name of the resource group that contains the service instance.
+ * @param resourceName The name of the service instance.
+ * @param callback The callback
+ */
+ listByService(resourceGroupName: string, resourceName: string, callback: msRest.ServiceCallback): void;
+ /**
+ * @param resourceGroupName The name of the resource group that contains the service instance.
+ * @param resourceName The name of the service instance.
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ listByService(resourceGroupName: string, resourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
+ listByService(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ resourceGroupName,
+ resourceName,
+ options
+ },
+ listByServiceOperationSpec,
+ callback) as Promise;
+ }
+
+ /**
+ * Gets the specified private endpoint connection associated with the service.
+ * @param resourceGroupName The name of the resource group that contains the service instance.
+ * @param resourceName The name of the service instance.
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with
+ * the Azure resource
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ get(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, options?: msRest.RequestOptionsBase): Promise;
+ /**
+ * @param resourceGroupName The name of the resource group that contains the service instance.
+ * @param resourceName The name of the service instance.
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with
+ * the Azure resource
+ * @param callback The callback
+ */
+ get(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, callback: msRest.ServiceCallback): void;
+ /**
+ * @param resourceGroupName The name of the resource group that contains the service instance.
+ * @param resourceName The name of the service instance.
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with
+ * the Azure resource
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ get(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
+ get(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ resourceGroupName,
+ resourceName,
+ privateEndpointConnectionName,
+ options
+ },
+ getOperationSpec,
+ callback) as Promise;
+ }
+
+ /**
+ * Update the state of the specified private endpoint connection associated with the service.
+ * @param resourceGroupName The name of the resource group that contains the service instance.
+ * @param resourceName The name of the service instance.
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with
+ * the Azure resource
+ * @param properties The private endpoint connection properties.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ createOrUpdate(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, properties: Models.PrivateEndpointConnection, options?: msRest.RequestOptionsBase): Promise {
+ return this.beginCreateOrUpdate(resourceGroupName,resourceName,privateEndpointConnectionName,properties,options)
+ .then(lroPoller => lroPoller.pollUntilFinished()) as Promise;
+ }
+
+ /**
+ * Deletes a private endpoint connection.
+ * @param resourceGroupName The name of the resource group that contains the service instance.
+ * @param resourceName The name of the service instance.
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with
+ * the Azure resource
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ deleteMethod(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, options?: msRest.RequestOptionsBase): Promise {
+ return this.beginDeleteMethod(resourceGroupName,resourceName,privateEndpointConnectionName,options)
+ .then(lroPoller => lroPoller.pollUntilFinished());
+ }
+
+ /**
+ * Update the state of the specified private endpoint connection associated with the service.
+ * @param resourceGroupName The name of the resource group that contains the service instance.
+ * @param resourceName The name of the service instance.
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with
+ * the Azure resource
+ * @param properties The private endpoint connection properties.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ beginCreateOrUpdate(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, properties: Models.PrivateEndpointConnection, options?: msRest.RequestOptionsBase): Promise {
+ return this.client.sendLRORequest(
+ {
+ resourceGroupName,
+ resourceName,
+ privateEndpointConnectionName,
+ properties,
+ options
+ },
+ beginCreateOrUpdateOperationSpec,
+ options);
+ }
+
+ /**
+ * Deletes a private endpoint connection.
+ * @param resourceGroupName The name of the resource group that contains the service instance.
+ * @param resourceName The name of the service instance.
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with
+ * the Azure resource
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ beginDeleteMethod(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, options?: msRest.RequestOptionsBase): Promise {
+ return this.client.sendLRORequest(
+ {
+ resourceGroupName,
+ resourceName,
+ privateEndpointConnectionName,
+ options
+ },
+ beginDeleteMethodOperationSpec,
+ options);
+ }
+
+ /**
+ * Lists all private endpoint connections for a service.
+ * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ listByServiceNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise;
+ /**
+ * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param callback The callback
+ */
+ listByServiceNext(nextPageLink: string, callback: msRest.ServiceCallback): void;
+ /**
+ * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ listByServiceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
+ listByServiceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ nextPageLink,
+ options
+ },
+ listByServiceNextOperationSpec,
+ callback) as Promise;
+ }
+}
+
+// Operation Specifications
+const serializer = new msRest.Serializer(Mappers);
+const listByServiceOperationSpec: msRest.OperationSpec = {
+ httpMethod: "GET",
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.M365SecurityAndCompliance/privateLinkServicesForM365ComplianceCenter/{resourceName}/privateEndpointConnections",
+ urlParameters: [
+ Parameters.subscriptionId,
+ Parameters.resourceGroupName,
+ Parameters.resourceName
+ ],
+ queryParameters: [
+ Parameters.apiVersion
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Mappers.PrivateEndpointConnectionListResult
+ },
+ default: {
+ bodyMapper: Mappers.ErrorDetails
+ }
+ },
+ serializer
+};
+
+const getOperationSpec: msRest.OperationSpec = {
+ httpMethod: "GET",
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.M365SecurityAndCompliance/privateLinkServicesForM365ComplianceCenter/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}",
+ urlParameters: [
+ Parameters.subscriptionId,
+ Parameters.resourceGroupName,
+ Parameters.resourceName,
+ Parameters.privateEndpointConnectionName
+ ],
+ queryParameters: [
+ Parameters.apiVersion
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Mappers.PrivateEndpointConnection
+ },
+ default: {
+ bodyMapper: Mappers.ErrorDetails
+ }
+ },
+ serializer
+};
+
+const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
+ httpMethod: "PUT",
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.M365SecurityAndCompliance/privateLinkServicesForM365ComplianceCenter/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}",
+ urlParameters: [
+ Parameters.subscriptionId,
+ Parameters.resourceGroupName,
+ Parameters.resourceName,
+ Parameters.privateEndpointConnectionName
+ ],
+ queryParameters: [
+ Parameters.apiVersion
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ requestBody: {
+ parameterPath: "properties",
+ mapper: {
+ ...Mappers.PrivateEndpointConnection,
+ required: true
+ }
+ },
+ responses: {
+ 200: {
+ bodyMapper: Mappers.PrivateEndpointConnection
+ },
+ 201: {
+ bodyMapper: Mappers.PrivateEndpointConnection
+ },
+ default: {
+ bodyMapper: Mappers.ErrorDetails
+ }
+ },
+ serializer
+};
+
+const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
+ httpMethod: "DELETE",
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.M365SecurityAndCompliance/privateLinkServicesForM365ComplianceCenter/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}",
+ urlParameters: [
+ Parameters.subscriptionId,
+ Parameters.resourceGroupName,
+ Parameters.resourceName,
+ Parameters.privateEndpointConnectionName
+ ],
+ queryParameters: [
+ Parameters.apiVersion
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {},
+ 202: {},
+ 204: {},
+ default: {
+ bodyMapper: Mappers.ErrorDetails
+ }
+ },
+ serializer
+};
+
+const listByServiceNextOperationSpec: msRest.OperationSpec = {
+ httpMethod: "GET",
+ baseUrl: "https://management.azure.com",
+ path: "{nextLink}",
+ urlParameters: [
+ Parameters.nextPageLink
+ ],
+ queryParameters: [
+ Parameters.apiVersion
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Mappers.PrivateEndpointConnectionListResult
+ },
+ default: {
+ bodyMapper: Mappers.ErrorDetails
+ }
+ },
+ serializer
+};
diff --git a/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/operations/privateEndpointConnectionsForEDM.ts b/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/operations/privateEndpointConnectionsForEDM.ts
new file mode 100644
index 000000000000..21b6952d6349
--- /dev/null
+++ b/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/operations/privateEndpointConnectionsForEDM.ts
@@ -0,0 +1,339 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is
+ * regenerated.
+ */
+
+import * as msRest from "@azure/ms-rest-js";
+import * as msRestAzure from "@azure/ms-rest-azure-js";
+import * as Models from "../models";
+import * as Mappers from "../models/privateEndpointConnectionsForEDMMappers";
+import * as Parameters from "../models/parameters";
+import { M365SecurityAndComplianceClientContext } from "../m365SecurityAndComplianceClientContext";
+
+/** Class representing a PrivateEndpointConnectionsForEDM. */
+export class PrivateEndpointConnectionsForEDM {
+ private readonly client: M365SecurityAndComplianceClientContext;
+
+ /**
+ * Create a PrivateEndpointConnectionsForEDM.
+ * @param {M365SecurityAndComplianceClientContext} client Reference to the service client.
+ */
+ constructor(client: M365SecurityAndComplianceClientContext) {
+ this.client = client;
+ }
+
+ /**
+ * Lists all private endpoint connections for a service.
+ * @param resourceGroupName The name of the resource group that contains the service instance.
+ * @param resourceName The name of the service instance.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ listByService(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase): Promise;
+ /**
+ * @param resourceGroupName The name of the resource group that contains the service instance.
+ * @param resourceName The name of the service instance.
+ * @param callback The callback
+ */
+ listByService(resourceGroupName: string, resourceName: string, callback: msRest.ServiceCallback): void;
+ /**
+ * @param resourceGroupName The name of the resource group that contains the service instance.
+ * @param resourceName The name of the service instance.
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ listByService(resourceGroupName: string, resourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
+ listByService(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ resourceGroupName,
+ resourceName,
+ options
+ },
+ listByServiceOperationSpec,
+ callback) as Promise;
+ }
+
+ /**
+ * Gets the specified private endpoint connection associated with the service.
+ * @param resourceGroupName The name of the resource group that contains the service instance.
+ * @param resourceName The name of the service instance.
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with
+ * the Azure resource
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ get(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, options?: msRest.RequestOptionsBase): Promise;
+ /**
+ * @param resourceGroupName The name of the resource group that contains the service instance.
+ * @param resourceName The name of the service instance.
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with
+ * the Azure resource
+ * @param callback The callback
+ */
+ get(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, callback: msRest.ServiceCallback): void;
+ /**
+ * @param resourceGroupName The name of the resource group that contains the service instance.
+ * @param resourceName The name of the service instance.
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with
+ * the Azure resource
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ get(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
+ get(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ resourceGroupName,
+ resourceName,
+ privateEndpointConnectionName,
+ options
+ },
+ getOperationSpec,
+ callback) as Promise;
+ }
+
+ /**
+ * Update the state of the specified private endpoint connection associated with the service.
+ * @param resourceGroupName The name of the resource group that contains the service instance.
+ * @param resourceName The name of the service instance.
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with
+ * the Azure resource
+ * @param properties The private endpoint connection properties.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ createOrUpdate(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, properties: Models.PrivateEndpointConnection, options?: msRest.RequestOptionsBase): Promise {
+ return this.beginCreateOrUpdate(resourceGroupName,resourceName,privateEndpointConnectionName,properties,options)
+ .then(lroPoller => lroPoller.pollUntilFinished()) as Promise;
+ }
+
+ /**
+ * Deletes a private endpoint connection.
+ * @param resourceGroupName The name of the resource group that contains the service instance.
+ * @param resourceName The name of the service instance.
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with
+ * the Azure resource
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ deleteMethod(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, options?: msRest.RequestOptionsBase): Promise {
+ return this.beginDeleteMethod(resourceGroupName,resourceName,privateEndpointConnectionName,options)
+ .then(lroPoller => lroPoller.pollUntilFinished());
+ }
+
+ /**
+ * Update the state of the specified private endpoint connection associated with the service.
+ * @param resourceGroupName The name of the resource group that contains the service instance.
+ * @param resourceName The name of the service instance.
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with
+ * the Azure resource
+ * @param properties The private endpoint connection properties.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ beginCreateOrUpdate(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, properties: Models.PrivateEndpointConnection, options?: msRest.RequestOptionsBase): Promise {
+ return this.client.sendLRORequest(
+ {
+ resourceGroupName,
+ resourceName,
+ privateEndpointConnectionName,
+ properties,
+ options
+ },
+ beginCreateOrUpdateOperationSpec,
+ options);
+ }
+
+ /**
+ * Deletes a private endpoint connection.
+ * @param resourceGroupName The name of the resource group that contains the service instance.
+ * @param resourceName The name of the service instance.
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with
+ * the Azure resource
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ beginDeleteMethod(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, options?: msRest.RequestOptionsBase): Promise {
+ return this.client.sendLRORequest(
+ {
+ resourceGroupName,
+ resourceName,
+ privateEndpointConnectionName,
+ options
+ },
+ beginDeleteMethodOperationSpec,
+ options);
+ }
+
+ /**
+ * Lists all private endpoint connections for a service.
+ * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ listByServiceNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise;
+ /**
+ * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param callback The callback
+ */
+ listByServiceNext(nextPageLink: string, callback: msRest.ServiceCallback): void;
+ /**
+ * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ listByServiceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
+ listByServiceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ nextPageLink,
+ options
+ },
+ listByServiceNextOperationSpec,
+ callback) as Promise;
+ }
+}
+
+// Operation Specifications
+const serializer = new msRest.Serializer(Mappers);
+const listByServiceOperationSpec: msRest.OperationSpec = {
+ httpMethod: "GET",
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.M365SecurityAndCompliance/privateLinkServicesForEDMUpload/{resourceName}/privateEndpointConnections",
+ urlParameters: [
+ Parameters.subscriptionId,
+ Parameters.resourceGroupName,
+ Parameters.resourceName
+ ],
+ queryParameters: [
+ Parameters.apiVersion
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Mappers.PrivateEndpointConnectionListResult
+ },
+ default: {
+ bodyMapper: Mappers.ErrorDetails
+ }
+ },
+ serializer
+};
+
+const getOperationSpec: msRest.OperationSpec = {
+ httpMethod: "GET",
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.M365SecurityAndCompliance/privateLinkServicesForEDMUpload/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}",
+ urlParameters: [
+ Parameters.subscriptionId,
+ Parameters.resourceGroupName,
+ Parameters.resourceName,
+ Parameters.privateEndpointConnectionName
+ ],
+ queryParameters: [
+ Parameters.apiVersion
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Mappers.PrivateEndpointConnection
+ },
+ default: {
+ bodyMapper: Mappers.ErrorDetails
+ }
+ },
+ serializer
+};
+
+const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
+ httpMethod: "PUT",
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.M365SecurityAndCompliance/privateLinkServicesForEDMUpload/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}",
+ urlParameters: [
+ Parameters.subscriptionId,
+ Parameters.resourceGroupName,
+ Parameters.resourceName,
+ Parameters.privateEndpointConnectionName
+ ],
+ queryParameters: [
+ Parameters.apiVersion
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ requestBody: {
+ parameterPath: "properties",
+ mapper: {
+ ...Mappers.PrivateEndpointConnection,
+ required: true
+ }
+ },
+ responses: {
+ 200: {
+ bodyMapper: Mappers.PrivateEndpointConnection
+ },
+ 201: {
+ bodyMapper: Mappers.PrivateEndpointConnection
+ },
+ default: {
+ bodyMapper: Mappers.ErrorDetails
+ }
+ },
+ serializer
+};
+
+const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
+ httpMethod: "DELETE",
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.M365SecurityAndCompliance/privateLinkServicesForEDMUpload/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}",
+ urlParameters: [
+ Parameters.subscriptionId,
+ Parameters.resourceGroupName,
+ Parameters.resourceName,
+ Parameters.privateEndpointConnectionName
+ ],
+ queryParameters: [
+ Parameters.apiVersion
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {},
+ 202: {},
+ 204: {},
+ default: {
+ bodyMapper: Mappers.ErrorDetails
+ }
+ },
+ serializer
+};
+
+const listByServiceNextOperationSpec: msRest.OperationSpec = {
+ httpMethod: "GET",
+ baseUrl: "https://management.azure.com",
+ path: "{nextLink}",
+ urlParameters: [
+ Parameters.nextPageLink
+ ],
+ queryParameters: [
+ Parameters.apiVersion
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Mappers.PrivateEndpointConnectionListResult
+ },
+ default: {
+ bodyMapper: Mappers.ErrorDetails
+ }
+ },
+ serializer
+};
diff --git a/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/operations/privateEndpointConnectionsForMIPPolicySync.ts b/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/operations/privateEndpointConnectionsForMIPPolicySync.ts
new file mode 100644
index 000000000000..f4f9948a6abe
--- /dev/null
+++ b/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/operations/privateEndpointConnectionsForMIPPolicySync.ts
@@ -0,0 +1,339 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is
+ * regenerated.
+ */
+
+import * as msRest from "@azure/ms-rest-js";
+import * as msRestAzure from "@azure/ms-rest-azure-js";
+import * as Models from "../models";
+import * as Mappers from "../models/privateEndpointConnectionsForMIPPolicySyncMappers";
+import * as Parameters from "../models/parameters";
+import { M365SecurityAndComplianceClientContext } from "../m365SecurityAndComplianceClientContext";
+
+/** Class representing a PrivateEndpointConnectionsForMIPPolicySync. */
+export class PrivateEndpointConnectionsForMIPPolicySync {
+ private readonly client: M365SecurityAndComplianceClientContext;
+
+ /**
+ * Create a PrivateEndpointConnectionsForMIPPolicySync.
+ * @param {M365SecurityAndComplianceClientContext} client Reference to the service client.
+ */
+ constructor(client: M365SecurityAndComplianceClientContext) {
+ this.client = client;
+ }
+
+ /**
+ * Lists all private endpoint connections for a service.
+ * @param resourceGroupName The name of the resource group that contains the service instance.
+ * @param resourceName The name of the service instance.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ listByService(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase): Promise;
+ /**
+ * @param resourceGroupName The name of the resource group that contains the service instance.
+ * @param resourceName The name of the service instance.
+ * @param callback The callback
+ */
+ listByService(resourceGroupName: string, resourceName: string, callback: msRest.ServiceCallback): void;
+ /**
+ * @param resourceGroupName The name of the resource group that contains the service instance.
+ * @param resourceName The name of the service instance.
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ listByService(resourceGroupName: string, resourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
+ listByService(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ resourceGroupName,
+ resourceName,
+ options
+ },
+ listByServiceOperationSpec,
+ callback) as Promise;
+ }
+
+ /**
+ * Gets the specified private endpoint connection associated with the service.
+ * @param resourceGroupName The name of the resource group that contains the service instance.
+ * @param resourceName The name of the service instance.
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with
+ * the Azure resource
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ get(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, options?: msRest.RequestOptionsBase): Promise;
+ /**
+ * @param resourceGroupName The name of the resource group that contains the service instance.
+ * @param resourceName The name of the service instance.
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with
+ * the Azure resource
+ * @param callback The callback
+ */
+ get(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, callback: msRest.ServiceCallback): void;
+ /**
+ * @param resourceGroupName The name of the resource group that contains the service instance.
+ * @param resourceName The name of the service instance.
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with
+ * the Azure resource
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ get(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
+ get(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ resourceGroupName,
+ resourceName,
+ privateEndpointConnectionName,
+ options
+ },
+ getOperationSpec,
+ callback) as Promise;
+ }
+
+ /**
+ * Update the state of the specified private endpoint connection associated with the service.
+ * @param resourceGroupName The name of the resource group that contains the service instance.
+ * @param resourceName The name of the service instance.
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with
+ * the Azure resource
+ * @param properties The private endpoint connection properties.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ createOrUpdate(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, properties: Models.PrivateEndpointConnection, options?: msRest.RequestOptionsBase): Promise {
+ return this.beginCreateOrUpdate(resourceGroupName,resourceName,privateEndpointConnectionName,properties,options)
+ .then(lroPoller => lroPoller.pollUntilFinished()) as Promise;
+ }
+
+ /**
+ * Deletes a private endpoint connection.
+ * @param resourceGroupName The name of the resource group that contains the service instance.
+ * @param resourceName The name of the service instance.
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with
+ * the Azure resource
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ deleteMethod(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, options?: msRest.RequestOptionsBase): Promise {
+ return this.beginDeleteMethod(resourceGroupName,resourceName,privateEndpointConnectionName,options)
+ .then(lroPoller => lroPoller.pollUntilFinished());
+ }
+
+ /**
+ * Update the state of the specified private endpoint connection associated with the service.
+ * @param resourceGroupName The name of the resource group that contains the service instance.
+ * @param resourceName The name of the service instance.
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with
+ * the Azure resource
+ * @param properties The private endpoint connection properties.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ beginCreateOrUpdate(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, properties: Models.PrivateEndpointConnection, options?: msRest.RequestOptionsBase): Promise {
+ return this.client.sendLRORequest(
+ {
+ resourceGroupName,
+ resourceName,
+ privateEndpointConnectionName,
+ properties,
+ options
+ },
+ beginCreateOrUpdateOperationSpec,
+ options);
+ }
+
+ /**
+ * Deletes a private endpoint connection.
+ * @param resourceGroupName The name of the resource group that contains the service instance.
+ * @param resourceName The name of the service instance.
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with
+ * the Azure resource
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ beginDeleteMethod(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, options?: msRest.RequestOptionsBase): Promise {
+ return this.client.sendLRORequest(
+ {
+ resourceGroupName,
+ resourceName,
+ privateEndpointConnectionName,
+ options
+ },
+ beginDeleteMethodOperationSpec,
+ options);
+ }
+
+ /**
+ * Lists all private endpoint connections for a service.
+ * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ listByServiceNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise;
+ /**
+ * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param callback The callback
+ */
+ listByServiceNext(nextPageLink: string, callback: msRest.ServiceCallback): void;
+ /**
+ * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ listByServiceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
+ listByServiceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ nextPageLink,
+ options
+ },
+ listByServiceNextOperationSpec,
+ callback) as Promise;
+ }
+}
+
+// Operation Specifications
+const serializer = new msRest.Serializer(Mappers);
+const listByServiceOperationSpec: msRest.OperationSpec = {
+ httpMethod: "GET",
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.M365SecurityAndCompliance/privateLinkServicesForMIPPolicySync/{resourceName}/privateEndpointConnections",
+ urlParameters: [
+ Parameters.subscriptionId,
+ Parameters.resourceGroupName,
+ Parameters.resourceName
+ ],
+ queryParameters: [
+ Parameters.apiVersion
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Mappers.PrivateEndpointConnectionListResult
+ },
+ default: {
+ bodyMapper: Mappers.ErrorDetails
+ }
+ },
+ serializer
+};
+
+const getOperationSpec: msRest.OperationSpec = {
+ httpMethod: "GET",
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.M365SecurityAndCompliance/privateLinkServicesForMIPPolicySync/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}",
+ urlParameters: [
+ Parameters.subscriptionId,
+ Parameters.resourceGroupName,
+ Parameters.resourceName,
+ Parameters.privateEndpointConnectionName
+ ],
+ queryParameters: [
+ Parameters.apiVersion
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Mappers.PrivateEndpointConnection
+ },
+ default: {
+ bodyMapper: Mappers.ErrorDetails
+ }
+ },
+ serializer
+};
+
+const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
+ httpMethod: "PUT",
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.M365SecurityAndCompliance/privateLinkServicesForMIPPolicySync/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}",
+ urlParameters: [
+ Parameters.subscriptionId,
+ Parameters.resourceGroupName,
+ Parameters.resourceName,
+ Parameters.privateEndpointConnectionName
+ ],
+ queryParameters: [
+ Parameters.apiVersion
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ requestBody: {
+ parameterPath: "properties",
+ mapper: {
+ ...Mappers.PrivateEndpointConnection,
+ required: true
+ }
+ },
+ responses: {
+ 200: {
+ bodyMapper: Mappers.PrivateEndpointConnection
+ },
+ 201: {
+ bodyMapper: Mappers.PrivateEndpointConnection
+ },
+ default: {
+ bodyMapper: Mappers.ErrorDetails
+ }
+ },
+ serializer
+};
+
+const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
+ httpMethod: "DELETE",
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.M365SecurityAndCompliance/privateLinkServicesForMIPPolicySync/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}",
+ urlParameters: [
+ Parameters.subscriptionId,
+ Parameters.resourceGroupName,
+ Parameters.resourceName,
+ Parameters.privateEndpointConnectionName
+ ],
+ queryParameters: [
+ Parameters.apiVersion
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {},
+ 202: {},
+ 204: {},
+ default: {
+ bodyMapper: Mappers.ErrorDetails
+ }
+ },
+ serializer
+};
+
+const listByServiceNextOperationSpec: msRest.OperationSpec = {
+ httpMethod: "GET",
+ baseUrl: "https://management.azure.com",
+ path: "{nextLink}",
+ urlParameters: [
+ Parameters.nextPageLink
+ ],
+ queryParameters: [
+ Parameters.apiVersion
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Mappers.PrivateEndpointConnectionListResult
+ },
+ default: {
+ bodyMapper: Mappers.ErrorDetails
+ }
+ },
+ serializer
+};
diff --git a/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/operations/privateEndpointConnectionsForSCCPowershell.ts b/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/operations/privateEndpointConnectionsForSCCPowershell.ts
new file mode 100644
index 000000000000..1414f88e4f88
--- /dev/null
+++ b/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/operations/privateEndpointConnectionsForSCCPowershell.ts
@@ -0,0 +1,339 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is
+ * regenerated.
+ */
+
+import * as msRest from "@azure/ms-rest-js";
+import * as msRestAzure from "@azure/ms-rest-azure-js";
+import * as Models from "../models";
+import * as Mappers from "../models/privateEndpointConnectionsForSCCPowershellMappers";
+import * as Parameters from "../models/parameters";
+import { M365SecurityAndComplianceClientContext } from "../m365SecurityAndComplianceClientContext";
+
+/** Class representing a PrivateEndpointConnectionsForSCCPowershell. */
+export class PrivateEndpointConnectionsForSCCPowershell {
+ private readonly client: M365SecurityAndComplianceClientContext;
+
+ /**
+ * Create a PrivateEndpointConnectionsForSCCPowershell.
+ * @param {M365SecurityAndComplianceClientContext} client Reference to the service client.
+ */
+ constructor(client: M365SecurityAndComplianceClientContext) {
+ this.client = client;
+ }
+
+ /**
+ * Lists all private endpoint connections for a service.
+ * @param resourceGroupName The name of the resource group that contains the service instance.
+ * @param resourceName The name of the service instance.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ listByService(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase): Promise;
+ /**
+ * @param resourceGroupName The name of the resource group that contains the service instance.
+ * @param resourceName The name of the service instance.
+ * @param callback The callback
+ */
+ listByService(resourceGroupName: string, resourceName: string, callback: msRest.ServiceCallback): void;
+ /**
+ * @param resourceGroupName The name of the resource group that contains the service instance.
+ * @param resourceName The name of the service instance.
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ listByService(resourceGroupName: string, resourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
+ listByService(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ resourceGroupName,
+ resourceName,
+ options
+ },
+ listByServiceOperationSpec,
+ callback) as Promise;
+ }
+
+ /**
+ * Gets the specified private endpoint connection associated with the service.
+ * @param resourceGroupName The name of the resource group that contains the service instance.
+ * @param resourceName The name of the service instance.
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with
+ * the Azure resource
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ get(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, options?: msRest.RequestOptionsBase): Promise;
+ /**
+ * @param resourceGroupName The name of the resource group that contains the service instance.
+ * @param resourceName The name of the service instance.
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with
+ * the Azure resource
+ * @param callback The callback
+ */
+ get(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, callback: msRest.ServiceCallback): void;
+ /**
+ * @param resourceGroupName The name of the resource group that contains the service instance.
+ * @param resourceName The name of the service instance.
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with
+ * the Azure resource
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ get(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
+ get(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ resourceGroupName,
+ resourceName,
+ privateEndpointConnectionName,
+ options
+ },
+ getOperationSpec,
+ callback) as Promise;
+ }
+
+ /**
+ * Update the state of the specified private endpoint connection associated with the service.
+ * @param resourceGroupName The name of the resource group that contains the service instance.
+ * @param resourceName The name of the service instance.
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with
+ * the Azure resource
+ * @param properties The private endpoint connection properties.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ createOrUpdate(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, properties: Models.PrivateEndpointConnection, options?: msRest.RequestOptionsBase): Promise {
+ return this.beginCreateOrUpdate(resourceGroupName,resourceName,privateEndpointConnectionName,properties,options)
+ .then(lroPoller => lroPoller.pollUntilFinished()) as Promise;
+ }
+
+ /**
+ * Deletes a private endpoint connection.
+ * @param resourceGroupName The name of the resource group that contains the service instance.
+ * @param resourceName The name of the service instance.
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with
+ * the Azure resource
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ deleteMethod(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, options?: msRest.RequestOptionsBase): Promise {
+ return this.beginDeleteMethod(resourceGroupName,resourceName,privateEndpointConnectionName,options)
+ .then(lroPoller => lroPoller.pollUntilFinished());
+ }
+
+ /**
+ * Update the state of the specified private endpoint connection associated with the service.
+ * @param resourceGroupName The name of the resource group that contains the service instance.
+ * @param resourceName The name of the service instance.
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with
+ * the Azure resource
+ * @param properties The private endpoint connection properties.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ beginCreateOrUpdate(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, properties: Models.PrivateEndpointConnection, options?: msRest.RequestOptionsBase): Promise {
+ return this.client.sendLRORequest(
+ {
+ resourceGroupName,
+ resourceName,
+ privateEndpointConnectionName,
+ properties,
+ options
+ },
+ beginCreateOrUpdateOperationSpec,
+ options);
+ }
+
+ /**
+ * Deletes a private endpoint connection.
+ * @param resourceGroupName The name of the resource group that contains the service instance.
+ * @param resourceName The name of the service instance.
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with
+ * the Azure resource
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ beginDeleteMethod(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, options?: msRest.RequestOptionsBase): Promise {
+ return this.client.sendLRORequest(
+ {
+ resourceGroupName,
+ resourceName,
+ privateEndpointConnectionName,
+ options
+ },
+ beginDeleteMethodOperationSpec,
+ options);
+ }
+
+ /**
+ * Lists all private endpoint connections for a service.
+ * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ listByServiceNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise;
+ /**
+ * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param callback The callback
+ */
+ listByServiceNext(nextPageLink: string, callback: msRest.ServiceCallback): void;
+ /**
+ * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ listByServiceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
+ listByServiceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ nextPageLink,
+ options
+ },
+ listByServiceNextOperationSpec,
+ callback) as Promise;
+ }
+}
+
+// Operation Specifications
+const serializer = new msRest.Serializer(Mappers);
+const listByServiceOperationSpec: msRest.OperationSpec = {
+ httpMethod: "GET",
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.M365SecurityAndCompliance/privateLinkServicesForSCCPowershell/{resourceName}/privateEndpointConnections",
+ urlParameters: [
+ Parameters.subscriptionId,
+ Parameters.resourceGroupName,
+ Parameters.resourceName
+ ],
+ queryParameters: [
+ Parameters.apiVersion
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Mappers.PrivateEndpointConnectionListResult
+ },
+ default: {
+ bodyMapper: Mappers.ErrorDetails
+ }
+ },
+ serializer
+};
+
+const getOperationSpec: msRest.OperationSpec = {
+ httpMethod: "GET",
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.M365SecurityAndCompliance/privateLinkServicesForSCCPowershell/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}",
+ urlParameters: [
+ Parameters.subscriptionId,
+ Parameters.resourceGroupName,
+ Parameters.resourceName,
+ Parameters.privateEndpointConnectionName
+ ],
+ queryParameters: [
+ Parameters.apiVersion
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Mappers.PrivateEndpointConnection
+ },
+ default: {
+ bodyMapper: Mappers.ErrorDetails
+ }
+ },
+ serializer
+};
+
+const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
+ httpMethod: "PUT",
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.M365SecurityAndCompliance/privateLinkServicesForSCCPowershell/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}",
+ urlParameters: [
+ Parameters.subscriptionId,
+ Parameters.resourceGroupName,
+ Parameters.resourceName,
+ Parameters.privateEndpointConnectionName
+ ],
+ queryParameters: [
+ Parameters.apiVersion
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ requestBody: {
+ parameterPath: "properties",
+ mapper: {
+ ...Mappers.PrivateEndpointConnection,
+ required: true
+ }
+ },
+ responses: {
+ 200: {
+ bodyMapper: Mappers.PrivateEndpointConnection
+ },
+ 201: {
+ bodyMapper: Mappers.PrivateEndpointConnection
+ },
+ default: {
+ bodyMapper: Mappers.ErrorDetails
+ }
+ },
+ serializer
+};
+
+const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
+ httpMethod: "DELETE",
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.M365SecurityAndCompliance/privateLinkServicesForSCCPowershell/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}",
+ urlParameters: [
+ Parameters.subscriptionId,
+ Parameters.resourceGroupName,
+ Parameters.resourceName,
+ Parameters.privateEndpointConnectionName
+ ],
+ queryParameters: [
+ Parameters.apiVersion
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {},
+ 202: {},
+ 204: {},
+ default: {
+ bodyMapper: Mappers.ErrorDetails
+ }
+ },
+ serializer
+};
+
+const listByServiceNextOperationSpec: msRest.OperationSpec = {
+ httpMethod: "GET",
+ baseUrl: "https://management.azure.com",
+ path: "{nextLink}",
+ urlParameters: [
+ Parameters.nextPageLink
+ ],
+ queryParameters: [
+ Parameters.apiVersion
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Mappers.PrivateEndpointConnectionListResult
+ },
+ default: {
+ bodyMapper: Mappers.ErrorDetails
+ }
+ },
+ serializer
+};
diff --git a/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/operations/privateEndpointConnectionsSec.ts b/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/operations/privateEndpointConnectionsSec.ts
new file mode 100644
index 000000000000..4672134f3333
--- /dev/null
+++ b/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/operations/privateEndpointConnectionsSec.ts
@@ -0,0 +1,339 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is
+ * regenerated.
+ */
+
+import * as msRest from "@azure/ms-rest-js";
+import * as msRestAzure from "@azure/ms-rest-azure-js";
+import * as Models from "../models";
+import * as Mappers from "../models/privateEndpointConnectionsSecMappers";
+import * as Parameters from "../models/parameters";
+import { M365SecurityAndComplianceClientContext } from "../m365SecurityAndComplianceClientContext";
+
+/** Class representing a PrivateEndpointConnectionsSec. */
+export class PrivateEndpointConnectionsSec {
+ private readonly client: M365SecurityAndComplianceClientContext;
+
+ /**
+ * Create a PrivateEndpointConnectionsSec.
+ * @param {M365SecurityAndComplianceClientContext} client Reference to the service client.
+ */
+ constructor(client: M365SecurityAndComplianceClientContext) {
+ this.client = client;
+ }
+
+ /**
+ * Lists all private endpoint connections for a service.
+ * @param resourceGroupName The name of the resource group that contains the service instance.
+ * @param resourceName The name of the service instance.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ listByService(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase): Promise;
+ /**
+ * @param resourceGroupName The name of the resource group that contains the service instance.
+ * @param resourceName The name of the service instance.
+ * @param callback The callback
+ */
+ listByService(resourceGroupName: string, resourceName: string, callback: msRest.ServiceCallback): void;
+ /**
+ * @param resourceGroupName The name of the resource group that contains the service instance.
+ * @param resourceName The name of the service instance.
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ listByService(resourceGroupName: string, resourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
+ listByService(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ resourceGroupName,
+ resourceName,
+ options
+ },
+ listByServiceOperationSpec,
+ callback) as Promise;
+ }
+
+ /**
+ * Gets the specified private endpoint connection associated with the service.
+ * @param resourceGroupName The name of the resource group that contains the service instance.
+ * @param resourceName The name of the service instance.
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with
+ * the Azure resource
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ get(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, options?: msRest.RequestOptionsBase): Promise;
+ /**
+ * @param resourceGroupName The name of the resource group that contains the service instance.
+ * @param resourceName The name of the service instance.
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with
+ * the Azure resource
+ * @param callback The callback
+ */
+ get(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, callback: msRest.ServiceCallback): void;
+ /**
+ * @param resourceGroupName The name of the resource group that contains the service instance.
+ * @param resourceName The name of the service instance.
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with
+ * the Azure resource
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ get(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
+ get(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ resourceGroupName,
+ resourceName,
+ privateEndpointConnectionName,
+ options
+ },
+ getOperationSpec,
+ callback) as Promise;
+ }
+
+ /**
+ * Update the state of the specified private endpoint connection associated with the service.
+ * @param resourceGroupName The name of the resource group that contains the service instance.
+ * @param resourceName The name of the service instance.
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with
+ * the Azure resource
+ * @param properties The private endpoint connection properties.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ createOrUpdate(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, properties: Models.PrivateEndpointConnection, options?: msRest.RequestOptionsBase): Promise {
+ return this.beginCreateOrUpdate(resourceGroupName,resourceName,privateEndpointConnectionName,properties,options)
+ .then(lroPoller => lroPoller.pollUntilFinished()) as Promise;
+ }
+
+ /**
+ * Deletes a private endpoint connection.
+ * @param resourceGroupName The name of the resource group that contains the service instance.
+ * @param resourceName The name of the service instance.
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with
+ * the Azure resource
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ deleteMethod(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, options?: msRest.RequestOptionsBase): Promise {
+ return this.beginDeleteMethod(resourceGroupName,resourceName,privateEndpointConnectionName,options)
+ .then(lroPoller => lroPoller.pollUntilFinished());
+ }
+
+ /**
+ * Update the state of the specified private endpoint connection associated with the service.
+ * @param resourceGroupName The name of the resource group that contains the service instance.
+ * @param resourceName The name of the service instance.
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with
+ * the Azure resource
+ * @param properties The private endpoint connection properties.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ beginCreateOrUpdate(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, properties: Models.PrivateEndpointConnection, options?: msRest.RequestOptionsBase): Promise {
+ return this.client.sendLRORequest(
+ {
+ resourceGroupName,
+ resourceName,
+ privateEndpointConnectionName,
+ properties,
+ options
+ },
+ beginCreateOrUpdateOperationSpec,
+ options);
+ }
+
+ /**
+ * Deletes a private endpoint connection.
+ * @param resourceGroupName The name of the resource group that contains the service instance.
+ * @param resourceName The name of the service instance.
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with
+ * the Azure resource
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ beginDeleteMethod(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, options?: msRest.RequestOptionsBase): Promise {
+ return this.client.sendLRORequest(
+ {
+ resourceGroupName,
+ resourceName,
+ privateEndpointConnectionName,
+ options
+ },
+ beginDeleteMethodOperationSpec,
+ options);
+ }
+
+ /**
+ * Lists all private endpoint connections for a service.
+ * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ listByServiceNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise;
+ /**
+ * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param callback The callback
+ */
+ listByServiceNext(nextPageLink: string, callback: msRest.ServiceCallback): void;
+ /**
+ * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ listByServiceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
+ listByServiceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ nextPageLink,
+ options
+ },
+ listByServiceNextOperationSpec,
+ callback) as Promise;
+ }
+}
+
+// Operation Specifications
+const serializer = new msRest.Serializer(Mappers);
+const listByServiceOperationSpec: msRest.OperationSpec = {
+ httpMethod: "GET",
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.M365SecurityAndCompliance/privateLinkServicesForM365SecurityCenter/{resourceName}/privateEndpointConnections",
+ urlParameters: [
+ Parameters.subscriptionId,
+ Parameters.resourceGroupName,
+ Parameters.resourceName
+ ],
+ queryParameters: [
+ Parameters.apiVersion
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Mappers.PrivateEndpointConnectionListResult
+ },
+ default: {
+ bodyMapper: Mappers.ErrorDetails
+ }
+ },
+ serializer
+};
+
+const getOperationSpec: msRest.OperationSpec = {
+ httpMethod: "GET",
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.M365SecurityAndCompliance/privateLinkServicesForM365SecurityCenter/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}",
+ urlParameters: [
+ Parameters.subscriptionId,
+ Parameters.resourceGroupName,
+ Parameters.resourceName,
+ Parameters.privateEndpointConnectionName
+ ],
+ queryParameters: [
+ Parameters.apiVersion
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Mappers.PrivateEndpointConnection
+ },
+ default: {
+ bodyMapper: Mappers.ErrorDetails
+ }
+ },
+ serializer
+};
+
+const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
+ httpMethod: "PUT",
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.M365SecurityAndCompliance/privateLinkServicesForM365SecurityCenter/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}",
+ urlParameters: [
+ Parameters.subscriptionId,
+ Parameters.resourceGroupName,
+ Parameters.resourceName,
+ Parameters.privateEndpointConnectionName
+ ],
+ queryParameters: [
+ Parameters.apiVersion
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ requestBody: {
+ parameterPath: "properties",
+ mapper: {
+ ...Mappers.PrivateEndpointConnection,
+ required: true
+ }
+ },
+ responses: {
+ 200: {
+ bodyMapper: Mappers.PrivateEndpointConnection
+ },
+ 201: {
+ bodyMapper: Mappers.PrivateEndpointConnection
+ },
+ default: {
+ bodyMapper: Mappers.ErrorDetails
+ }
+ },
+ serializer
+};
+
+const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
+ httpMethod: "DELETE",
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.M365SecurityAndCompliance/privateLinkServicesForM365SecurityCenter/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}",
+ urlParameters: [
+ Parameters.subscriptionId,
+ Parameters.resourceGroupName,
+ Parameters.resourceName,
+ Parameters.privateEndpointConnectionName
+ ],
+ queryParameters: [
+ Parameters.apiVersion
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {},
+ 202: {},
+ 204: {},
+ default: {
+ bodyMapper: Mappers.ErrorDetails
+ }
+ },
+ serializer
+};
+
+const listByServiceNextOperationSpec: msRest.OperationSpec = {
+ httpMethod: "GET",
+ baseUrl: "https://management.azure.com",
+ path: "{nextLink}",
+ urlParameters: [
+ Parameters.nextPageLink
+ ],
+ queryParameters: [
+ Parameters.apiVersion
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Mappers.PrivateEndpointConnectionListResult
+ },
+ default: {
+ bodyMapper: Mappers.ErrorDetails
+ }
+ },
+ serializer
+};
diff --git a/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/operations/privateLinkResources.ts b/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/operations/privateLinkResources.ts
new file mode 100644
index 000000000000..db0f1eb71335
--- /dev/null
+++ b/sdk/m365securityandcompliance/arm-m365securityandcompliance/src/operations/privateLinkResources.ts
@@ -0,0 +1,148 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is
+ * regenerated.
+ */
+
+import * as msRest from "@azure/ms-rest-js";
+import * as Models from "../models";
+import * as Mappers from "../models/privateLinkResourcesMappers";
+import * as Parameters from "../models/parameters";
+import { M365SecurityAndComplianceClientContext } from "../m365SecurityAndComplianceClientContext";
+
+/** Class representing a PrivateLinkResources. */
+export class PrivateLinkResources {
+ private readonly client: M365SecurityAndComplianceClientContext;
+
+ /**
+ * Create a PrivateLinkResources.
+ * @param {M365SecurityAndComplianceClientContext} client Reference to the service client.
+ */
+ constructor(client: M365SecurityAndComplianceClientContext) {
+ this.client = client;
+ }
+
+ /**
+ * Gets the private link resources that need to be created for a service.
+ * @param resourceGroupName The name of the resource group that contains the service instance.
+ * @param resourceName The name of the service instance.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ listByService(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase): Promise;
+ /**
+ * @param resourceGroupName The name of the resource group that contains the service instance.
+ * @param resourceName The name of the service instance.
+ * @param callback The callback
+ */
+ listByService(resourceGroupName: string, resourceName: string, callback: msRest.ServiceCallback): void;
+ /**
+ * @param resourceGroupName The name of the resource group that contains the service instance.
+ * @param resourceName The name of the service instance.
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ listByService(resourceGroupName: string, resourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
+ listByService(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ resourceGroupName,
+ resourceName,
+ options
+ },
+ listByServiceOperationSpec,
+ callback) as Promise;
+ }
+
+ /**
+ * Gets a private link resource that need to be created for a service.
+ * @param resourceGroupName The name of the resource group that contains the service instance.
+ * @param resourceName The name of the service instance.
+ * @param groupName The name of the private link resource group.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ get(resourceGroupName: string, resourceName: string, groupName: string, options?: msRest.RequestOptionsBase): Promise;
+ /**
+ * @param resourceGroupName The name of the resource group that contains the service instance.
+ * @param resourceName The name of the service instance.
+ * @param groupName The name of the private link resource group.
+ * @param callback The callback
+ */
+ get(resourceGroupName: string, resourceName: string, groupName: string, callback: msRest.ServiceCallback): void;
+ /**
+ * @param resourceGroupName The name of the resource group that contains the service instance.
+ * @param resourceName The name of the service instance.
+ * @param groupName The name of the private link resource group.
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ get(resourceGroupName: string, resourceName: string, groupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
+ get(resourceGroupName: string, resourceName: string, groupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ resourceGroupName,
+ resourceName,
+ groupName,
+ options
+ },
+ getOperationSpec,
+ callback) as Promise