Skip to content

Commit

Permalink
Generated from 66114e58530dd7027b63182defcf1c8f73d1d502 (#1426)
Browse files Browse the repository at this point in the history
Remove incorrect pagination from examples.
  • Loading branch information
AutorestCI authored Mar 4, 2019
1 parent 39c0de8 commit 1d40c13
Show file tree
Hide file tree
Showing 4 changed files with 404 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ export {
ManagedServiceIdentity,
ManagedServiceIdentityUserAssignedIdentitiesValue,
HostingEnvironmentDiagnostics,
InboundEnvironmentEndpoint,
MetricDefinition,
MetricAvailabilily,
ResourceMetricCollection,
Expand All @@ -79,6 +80,9 @@ export {
Usage,
Operation,
ErrorEntity,
OutboundEnvironmentEndpoint,
EndpointDependency,
EndpointDetail,
AppServicePlanCollection,
AppServicePlan,
CsmUsageQuotaCollection,
Expand Down
134 changes: 134 additions & 0 deletions packages/@azure/arm-appservice/lib/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9106,6 +9106,56 @@ export interface AppServiceEnvironmentPatchResource extends ProxyOnlyResource {
sslCertKeyVaultSecretName?: string;
}

/**
* @interface
* An interface representing EndpointDetail.
* Current TCP connectivity information from the App Service Environment to a
* single endpoint.
*
*/
export interface EndpointDetail {
/**
* @member {string} [ipAddress] An IP Address that Domain Name currently
* resolves to.
*/
ipAddress?: string;
/**
* @member {number} [port] The port an endpoint is connected to.
*/
port?: number;
/**
* @member {number} [latency] The time in milliseconds it takes for a TCP
* connection to be created from the App Service Environment to this
* IpAddress at this Port.
*/
latency?: number;
/**
* @member {boolean} [isAccessable] Whether it is possible to create a TCP
* connection from the App Service Environment to this IpAddress at this
* Port.
*/
isAccessable?: boolean;
}

/**
* @interface
* An interface representing EndpointDependency.
* A domain name that a service is reached at, including details of the current
* connection status.
*
*/
export interface EndpointDependency {
/**
* @member {string} [domainName] The domain name of the dependency.
*/
domainName?: string;
/**
* @member {EndpointDetail[]} [endpointDetails] The IP Addresses and Ports
* used when connecting to DomainName.
*/
endpointDetails?: EndpointDetail[];
}

/**
* @interface
* An interface representing HostingEnvironmentDiagnostics.
Expand All @@ -9123,6 +9173,31 @@ export interface HostingEnvironmentDiagnostics {
diagnosicsOutput?: string;
}

/**
* @interface
* An interface representing InboundEnvironmentEndpoint.
* The IP Addresses and Ports that require inbound network access to and within
* the subnet of the App Service Environment.
*
*/
export interface InboundEnvironmentEndpoint {
/**
* @member {string} [description] Short text describing the purpose of the
* network traffic.
*/
description?: string;
/**
* @member {string[]} [endpoints] The IP addresses that network traffic will
* originate from in cidr notation.
*/
endpoints?: string[];
/**
* @member {string[]} [ports] The ports that network traffic will arrive to
* the App Service Environment at.
*/
ports?: string[];
}

/**
* @interface
* An interface representing MetricAvailabilily.
Expand Down Expand Up @@ -9175,6 +9250,27 @@ export interface MetricDefinition extends ProxyOnlyResource {
readonly displayName?: string;
}

/**
* @interface
* An interface representing OutboundEnvironmentEndpoint.
* Endpoints accessed for a common purpose that the App Service Environment
* requires outbound network access to.
*
*/
export interface OutboundEnvironmentEndpoint {
/**
* @member {string} [category] The type of service accessed by the App
* Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure
* Active Directory.
*/
category?: string;
/**
* @member {EndpointDependency[]} [endpoints] The endpoints that the App
* Service Environment reaches the service at.
*/
endpoints?: EndpointDependency[];
}

/**
* @interface
* An interface representing SkuInfo.
Expand Down Expand Up @@ -21341,6 +21437,25 @@ export type AppServiceEnvironmentsGetDiagnosticsItemResponse = HostingEnvironmen
};
};

/**
* Contains response data for the getInboundNetworkDependenciesEndpoints operation.
*/
export type AppServiceEnvironmentsGetInboundNetworkDependenciesEndpointsResponse = Array<InboundEnvironmentEndpoint> & {
/**
* 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: InboundEnvironmentEndpoint[];
};
};

/**
* Contains response data for the listMetricDefinitions operation.
*/
Expand Down Expand Up @@ -21588,6 +21703,25 @@ export type AppServiceEnvironmentsListOperationsResponse = Array<Operation> & {
};
};

/**
* Contains response data for the getOutboundNetworkDependenciesEndpoints operation.
*/
export type AppServiceEnvironmentsGetOutboundNetworkDependenciesEndpointsResponse = Array<OutboundEnvironmentEndpoint> & {
/**
* 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: OutboundEnvironmentEndpoint[];
};
};

/**
* Contains response data for the resume operation.
*/
Expand Down
128 changes: 128 additions & 0 deletions packages/@azure/arm-appservice/lib/models/mappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12483,6 +12483,68 @@ export const AppServiceEnvironmentPatchResource: msRest.CompositeMapper = {
}
};

export const EndpointDetail: msRest.CompositeMapper = {
serializedName: "EndpointDetail",
type: {
name: "Composite",
className: "EndpointDetail",
modelProperties: {
ipAddress: {
serializedName: "ipAddress",
type: {
name: "String"
}
},
port: {
serializedName: "port",
type: {
name: "Number"
}
},
latency: {
serializedName: "latency",
type: {
name: "Number"
}
},
isAccessable: {
serializedName: "isAccessable",
type: {
name: "Boolean"
}
}
}
}
};

export const EndpointDependency: msRest.CompositeMapper = {
serializedName: "EndpointDependency",
type: {
name: "Composite",
className: "EndpointDependency",
modelProperties: {
domainName: {
serializedName: "domainName",
type: {
name: "String"
}
},
endpointDetails: {
serializedName: "endpointDetails",
type: {
name: "Sequence",
element: {
type: {
name: "Composite",
className: "EndpointDetail"
}
}
}
}
}
}
};

export const HostingEnvironmentDiagnostics: msRest.CompositeMapper = {
serializedName: "HostingEnvironmentDiagnostics",
type: {
Expand All @@ -12505,6 +12567,44 @@ export const HostingEnvironmentDiagnostics: msRest.CompositeMapper = {
}
};

export const InboundEnvironmentEndpoint: msRest.CompositeMapper = {
serializedName: "InboundEnvironmentEndpoint",
type: {
name: "Composite",
className: "InboundEnvironmentEndpoint",
modelProperties: {
description: {
serializedName: "description",
type: {
name: "String"
}
},
endpoints: {
serializedName: "endpoints",
type: {
name: "Sequence",
element: {
type: {
name: "String"
}
}
}
},
ports: {
serializedName: "ports",
type: {
name: "Sequence",
element: {
type: {
name: "String"
}
}
}
}
}
}
};

export const MetricAvailabilily: msRest.CompositeMapper = {
serializedName: "MetricAvailabilily",
type: {
Expand Down Expand Up @@ -12572,6 +12672,34 @@ export const MetricDefinition: msRest.CompositeMapper = {
}
};

export const OutboundEnvironmentEndpoint: msRest.CompositeMapper = {
serializedName: "OutboundEnvironmentEndpoint",
type: {
name: "Composite",
className: "OutboundEnvironmentEndpoint",
modelProperties: {
category: {
serializedName: "category",
type: {
name: "String"
}
},
endpoints: {
serializedName: "endpoints",
type: {
name: "Sequence",
element: {
type: {
name: "Composite",
className: "EndpointDependency"
}
}
}
}
}
}
};

export const SkuInfo: msRest.CompositeMapper = {
serializedName: "SkuInfo",
type: {
Expand Down
Loading

0 comments on commit 1d40c13

Please sign in to comment.