GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  GCLOUD_COMPUTE_URL-MAPS_CREATE (1)

NAME

gcloud compute url-maps create - create a URL map

CONTENTS

SYNOPSIS


gcloud compute url-maps create NAME --default-service DEFAULT_SERVICE [--description DESCRIPTION] [GLOBAL-FLAG ...]

DESCRIPTION

gcloud compute url-maps create is used to create URL maps which map HTTP and HTTPS request URLs to backend services. Mappings are done using a longest-match strategy.

There are two components to a mapping: a host rule and a path matcher. A host rule maps one or more hosts to a path matcher. A path matcher maps request paths to backend services. For example, a host rule can map the hosts .google.com and google.com to a path matcher called www. The www path matcher in turn can map the path /search/ to the search backend service and everything else to a default backend service.

Host rules and patch matchers can be added to the URL map after the map is created by using ’gcloud compute url-maps edit’ or by using ’gcloud compute url-maps add-path-matcher’ and ’gcloud compute url-maps add-host-rule’.

POSITIONAL ARGUMENTS

NAME

The name of the URL map.

REQUIRED FLAGS

--default-service DEFAULT_SERVICE

A backend service that will be used for requests for which this URL map has no mappings.

OPTIONAL FLAGS

--description DESCRIPTION

An optional, textual description for the URL map.

GLOBAL FLAGS

Run $ gcloud help for a description of flags available to all commands.

Search for    or go to Top of page |  Section 1 |  Main Index


GCLOUD_COMPUTE_URL-MAPS_CREATE (1) -->

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.